/* ============================================
   VALQUEN SRL — Corporate Website Styles
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --color-primary: #1B3A5C;
  --color-primary-dark: #0F2440;
  --color-primary-light: #2A5580;
  --color-secondary: #808080;
  --color-secondary-dark: #606060;
  --color-secondary-light: #A0A0A0;
  --color-accent: #2C7DA0;
  --color-accent-light: #3A9BC5;
  --color-bg-dark: #0D1B2A;
  --color-bg-darker: #081422;
  --color-bg-light: #F5F7FA;
  --color-bg-white: #FFFFFF;
  --color-text-dark: #1A1A2E;
  --color-text-medium: #4A5568;
  --color-text-light: #718096;
  --color-text-white: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-light: #EDF2F7;
  --color-success: #38A169;
  --color-overlay: rgba(13, 27, 42, 0.75);
  --color-overlay-heavy: rgba(13, 27, 42, 0.88);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;
  --font-size-5xl: 3.5rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --navbar-height: 80px;
  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 20px rgba(27, 58, 92, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(27, 58, 92, 0.18);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-padding {
  padding: var(--space-5xl) 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
}

.section-subtitle {
  font-size: var(--font-size-md);
  color: var(--color-text-medium);
  max-width: 600px;
  line-height: var(--line-height-relaxed);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--color-secondary);
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.btn:active::before {
  animation: ripple 0.6s ease-out;
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  border-color: var(--color-secondary);
}

.btn-primary:hover {
  background: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(128, 128, 128, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(128, 128, 128, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: var(--color-text-white);
  color: var(--color-primary);
  border-color: var(--color-text-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 58, 92, 0.3);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.navbar-logo img {
  height: 50px;
  width: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-nav a {
  color: var(--color-text-white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.5px;
  position: relative;
  padding: var(--space-sm) 0;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-base);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-cta {
  margin-left: var(--space-lg);
}

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: var(--font-size-sm);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.92) 0%,
    rgba(27, 58, 92, 0.75) 50%,
    rgba(13, 27, 42, 0.85) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding-top: var(--navbar-height);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: rgba(232, 168, 37, 0.15);
  border: 1px solid rgba(232, 168, 37, 0.3);
  border-radius: var(--border-radius-full);
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 1px;
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
}

.hero-label svg {
  width: 16px;
  height: 16px;
  fill: var(--color-secondary);
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-white);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-lg);
}

.hero-title span {
  color: var(--color-secondary);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero-stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  font-weight: var(--font-weight-medium);
}

.counter-active {
  animation: counter-pulse 0.6s ease-out;
}

@keyframes counter-pulse {
  0% {
    color: var(--color-secondary);
    text-shadow: 0 0 10px rgba(232, 168, 37, 0.4);
  }
  100% {
    color: var(--color-secondary);
    text-shadow: none;
  }
}

/* Animated line on the right side */
.hero-decoration {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  opacity: 0.08;
}

.hero-decoration svg {
  width: 500px;
  height: 500px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--color-bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

.about-image-badge {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-image-badge .badge-number {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
}

.about-image-badge .badge-text {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text p {
  color: var(--color-text-medium);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-relaxed);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
}

.about-feature:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.about-feature:hover .about-feature-icon {
  background: var(--color-secondary);
}

.about-feature:hover .about-feature-text {
  color: var(--color-text-white);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
}

.about-feature-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-text-white);
}

.about-feature-text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
  transition: color var(--transition-base);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--color-bg-light);
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.services-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(27, 58, 92, 0.2);
  border-color: var(--color-secondary-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-xl);
  transition: all var(--transition-base);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  transform: scale(1.05);
}

.service-card-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--color-text-white);
}

.service-card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
}

.service-card-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-medium);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-lg);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-secondary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-base);
  cursor: pointer;
}

.service-card:hover .service-card-link {
  transform: translateY(0);
  opacity: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}

.service-card:hover::after {
  left: 100%;
}

/* ============================================
   SERVICE MODAL
   ============================================ */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
}

.service-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.service-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8) translateY(20px);
  background: var(--color-bg-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-3xl);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  opacity: 0;
}

.service-modal-overlay.active .service-modal {
  transform: translate(-50%, -50%) scale(1) translateY(0);
  opacity: 1;
}

.service-modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-text-dark);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

.service-modal-close:hover {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  transform: rotate(90deg);
}

.service-modal-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-2xl);
}

.service-modal-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

.service-modal-desc {
  font-size: var(--font-size-base);
  color: var(--color-text-medium);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-2xl);
}

.service-modal-features {
  list-style: none;
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.service-modal-features li {
  padding: var(--space-sm) 0;
  color: var(--color-text-medium);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.service-modal-features li::before {
  content: '✓';
  color: var(--color-secondary);
  font-weight: bold;
  flex-shrink: 0;
}

.service-modal-btn {
  width: 100%;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients {
  background: var(--color-bg-dark);
  overflow: hidden;
}

.clients .section-title {
  color: var(--color-text-white);
}

.clients .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.clients-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.clients-track {
  display: flex;
  gap: var(--space-3xl);
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-md);
  transition: all var(--transition-base);
}

.client-logo:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 168, 37, 0.3);
  transform: scale(1.05);
}

.client-logo img {
  max-width: 120px;
  max-height: 50px;
  object-fit: contain;
  filter: brightness(1.2) contrast(1.1);
  opacity: 0.8;
  transition: all var(--transition-base);
}

.client-logo:hover img {
  opacity: 1;
  filter: brightness(1.4) contrast(1.2);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--color-bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--border-radius-md);
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-text-white);
}

.contact-item-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: var(--font-weight-semibold);
}

.contact-item-value {
  font-size: var(--font-size-base);
  color: var(--color-text-dark);
  font-weight: var(--font-weight-medium);
}

.contact-item-value a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.contact-item-value a:hover {
  color: var(--color-secondary);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-bg-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  color: var(--color-text-dark);
  background: var(--color-bg-white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
  background: linear-gradient(to bottom, var(--color-bg-white) 0%, rgba(27, 58, 92, 0.02) 100%);
  transition: all var(--transition-base);
}

.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
  border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form validation */
.form-group input[style*="borderColor"][style*="#E53E3E"],
.form-group textarea[style*="borderColor"][style*="#E53E3E"] {
  border-color: #E53E3E !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group input:valid,
.form-group textarea:valid {
  border-color: var(--color-success);
}

.form-error {
  display: none;
  font-size: var(--font-size-sm);
  color: #E53E3E;
  margin-top: 4px;
  animation: fadeIn 0.3s ease;
}

.form-group.error .form-error {
  display: block;
}

.form-submit {
  align-self: flex-start;
}

.form-submit .btn {
  width: 100%;
  padding: 16px 40px;
  transition: all var(--transition-base);
}

.form-submit .btn.loading {
  background: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  pointer-events: none;
  opacity: 0.8;
}

.form-submit .btn.loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: var(--color-bg-dark);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.form-submit .btn.success {
  background: var(--color-success);
  border-color: var(--color-success);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Map */
.contact-map {
  margin-top: var(--space-3xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* Schedule */
.contact-schedule {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--color-secondary);
}

.contact-schedule h4 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-schedule p {
  font-size: var(--font-size-sm);
  color: var(--color-text-medium);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-darker);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 50px;
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--line-height-relaxed);
  max-width: 300px;
}

.footer-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-xl);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-links a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-md);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-secondary);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
}

.footer-copyright {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.6);
}

.footer-social a:hover svg {
  fill: var(--color-bg-dark);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-bubble {
  position: absolute;
  bottom: 80px;
  right: 0;
  background: var(--color-bg-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  width: 280px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 998;
}

.whatsapp-bubble.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 0 solid transparent;
  border-top: 10px solid var(--color-bg-white);
}

.whatsapp-bubble-header {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-md);
  position: relative;
}

.whatsapp-bubble-header svg {
  width: 32px;
  height: 32px;
  fill: #25D366;
  flex-shrink: 0;
}

.whatsapp-bubble-title {
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  font-size: var(--font-size-sm);
}

.whatsapp-bubble-subtitle {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  margin-top: 2px;
}

.whatsapp-bubble-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.whatsapp-bubble-close:hover {
  color: var(--color-text-dark);
}

.whatsapp-bubble-message {
  font-size: var(--font-size-sm);
  color: var(--color-text-medium);
  line-height: var(--line-height-relaxed);
}

.whatsapp-float {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.15);
  }
  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --font-size-5xl: 2.75rem;
    --font-size-4xl: 2.25rem;
    --font-size-3xl: 2rem;
  }

  .about-grid {
    gap: var(--space-2xl);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 1.875rem;
    --font-size-3xl: 1.625rem;
    --container-padding: 1.25rem;
    --navbar-height: 70px;
  }

  .section-padding {
    padding: var(--space-3xl) 0;
  }

  /* Mobile Nav */
  .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-bg-dark);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    transition: right var(--transition-base);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .navbar-nav.active {
    right: 0;
  }

  .navbar-nav a {
    font-size: var(--font-size-lg);
  }

  .navbar-cta {
    margin-left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .hero-stat {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }

  .hero-stat-number {
    font-size: var(--font-size-2xl);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-decoration {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 350px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* WhatsApp */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .service-modal {
    padding: var(--space-2xl);
    max-width: 95vw;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-5xl: 1.875rem;
    --font-size-4xl: 1.625rem;
    --font-size-3xl: 1.375rem;
  }

  .hero-label {
    font-size: var(--font-size-xs);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

  .contact-form-wrapper {
    padding: var(--space-lg);
  }
}
