/* =============================================
   EUROTRANS MAROC - Site Web Corporate
   Transitaire Agréé au Maroc
   Design Premium & Moderne
   ============================================= */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Couleurs Principales */
  --navy: #0c2340;
  --navy-light: #1a3a5c;
  --navy-dark: #061526;
  --blue-accent: #3b82f6;
  --gold: #d4a853;
  --gold-light: #e8c479;
  --gold-dark: #b8923d;
  
  /* Couleurs Neutres */
  --white: #ffffff;
  --off-white: #f9fafb;
  --gray-50: #f3f4f6;
  --gray-100: #e5e7eb;
  --gray-200: #d1d5db;
  --gray-300: #9ca3af;
  --gray-400: #6b7280;
  --gray-500: #4b5563;
  --gray-600: #374151;
  --gray-700: #1f2937;
  --black: #111827;
  
  /* Couleurs Sémantiques */
  --success: #10b981;
  --error: #ef4444;
  
  /* Typographie */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Espacements */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Bordures */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Ombres */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 10px 40px -10px rgba(212, 168, 83, 0.4);
  
  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
  background-color: var(--white);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

input, textarea, select {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

/* ===== UTILITAIRES ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

@media (max-width: 768px) {
  .section {
    padding: var(--space-16) 0;
  }
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px -10px rgba(212, 168, 83, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
  color: var(--gray-600);
}

.header.scrolled .nav-link:hover {
  color: var(--navy);
}

.header.scrolled .logo-text {
  color: var(--navy);
}

.header.scrolled .logo-sub {
  color: var(--gray-400);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

@media (max-width: 768px) {
  .header-inner {
    height: 70px;
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.logo-content {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  transition: color var(--duration-normal);
}

.logo-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--duration-normal);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--duration-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--duration-normal) var(--ease-out);
}

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

.nav-cta {
  padding: var(--space-3) var(--space-6);
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Menu Mobile */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle-icon {
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--duration-fast);
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: inherit;
  transition: all var(--duration-fast);
}

.menu-toggle-icon::before {
  top: -8px;
}

.menu-toggle-icon::after {
  bottom: -8px;
}

.header.scrolled .menu-toggle-icon,
.header.scrolled .menu-toggle-icon::before,
.header.scrolled .menu-toggle-icon::after {
  background: var(--navy);
}

.menu-toggle.active .menu-toggle-icon {
  background: transparent;
}

.menu-toggle.active .menu-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .menu-toggle-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #0c2340 !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-8);
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out);
    z-index: 9999;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: var(--space-5) 0;
    font-size: 1.5rem;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-link:hover,
  .nav-link.active {
    color: #d4a853 !important;
  }
  
  .nav-cta {
    margin-top: var(--space-8);
    width: 80%;
    max-width: 300px;
    text-align: center;
    padding: var(--space-4) var(--space-6);
    background: #d4a853 !important;
    color: #0c2340 !important;
    border-radius: 8px;
    font-weight: 600;
  }

  .header .menu-toggle {
    z-index: 10000;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(212, 168, 83, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-24) 0;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: calc(90px + var(--space-16)) 0 var(--space-16);
  }
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(212, 168, 83, 0.2);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: var(--space-6);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero-title span {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-10);
  max-width: 540px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-buttons {
    justify-content: center;
  }
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .hero-visual {
    order: -1;
  }
}

.hero-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-2xl);
}

.hero-card-header {
  text-align: center;
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.hero-card-title {
  font-size: 1.25rem;
  color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.hero-stat {
  text-align: center;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
}

.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-2);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
  background: var(--off-white);
}

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

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.service-text {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15) 0%, rgba(212, 168, 83, 0.05) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feature-content h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.feature-content p {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: calc(90px + var(--space-16)) 0 var(--space-16);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  text-align: center;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration-fast);
}

.page-hero-breadcrumb a:hover {
  color: var(--gold);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.about-visual {
  position: relative;
}

.about-image-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  text-align: center;
  color: var(--white);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-image-icon {
  font-size: 5rem;
  margin-bottom: var(--space-6);
}

.about-image-title {
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.4;
}

.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--space-6);
}

.about-text p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

/* Values */
.values-section {
  background: var(--off-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(12, 35, 64, 0.08) 0%, rgba(12, 35, 64, 0.03) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.value-title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.value-text {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* Expertise */
.expertise-section {
  background: var(--navy-dark);
}

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

@media (max-width: 1024px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

.expertise-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast);
}

.expertise-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 168, 83, 0.3);
}

.expertise-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.expertise-content h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.expertise-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--space-8);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  color: var(--white);
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

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

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

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.contact-item-content h4 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.contact-item-content p,
.contact-item-content a {
  color: var(--white);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.contact-item-content a:hover {
  color: var(--gold);
}

.contact-hours {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hours h4 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.contact-hours ul li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  margin-bottom: var(--space-2);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.contact-form-wrapper > p {
  color: var(--gray-400);
  margin-bottom: var(--space-8);
}

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

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: var(--space-2);
}

.form-label .required {
  color: var(--error);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-4);
  background: var(--gray-50);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  color: var(--gray-700);
  transition: all var(--duration-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(12, 35, 64, 0.1);
}

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

.form-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: var(--space-6);
}

.form-submit {
  width: 100%;
}

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

.map-placeholder {
  height: 320px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  text-align: center;
}

.map-placeholder-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding-top: var(--space-20);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-12);
  padding-bottom: var(--space-12);
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.footer-brand .logo {
  margin-bottom: var(--space-5);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.footer-badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-badge {
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.footer-section h4 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-5);
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--duration-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: var(--space-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item span:first-child {
  color: var(--gold);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast);
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ===== ANIMATIONS ===== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* Stagger children */
.stagger-children .animate-in:nth-child(1) { transition-delay: 0ms; }
.stagger-children .animate-in:nth-child(2) { transition-delay: 100ms; }
.stagger-children .animate-in:nth-child(3) { transition-delay: 200ms; }
.stagger-children .animate-in:nth-child(4) { transition-delay: 300ms; }
.stagger-children .animate-in:nth-child(5) { transition-delay: 400ms; }
.stagger-children .animate-in:nth-child(6) { transition-delay: 500ms; }

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* ===== CAPTCHA ===== */
.captcha-container {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.captcha-question {
  flex: 1;
  padding: var(--space-4);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.08) 0%, rgba(212, 168, 83, 0.03) 100%);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-serif);
  text-align: center;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
  letter-spacing: 4px;
}

.captcha-question:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15) 0%, rgba(212, 168, 83, 0.08) 100%);
}

.captcha-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-size: 1.25rem;
  transition: all var(--duration-fast);
  cursor: pointer;
}

.captcha-refresh:hover {
  transform: scale(1.05) rotate(180deg);
  box-shadow: var(--shadow-lg);
}

.captcha-refresh:active {
  transform: scale(0.95);
}

.form-hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: var(--space-2);
  font-style: italic;
}

/* ===== CAPTCHA MOBILE ===== */
@media (max-width: 768px) {
  .captcha-container {
    gap: var(--space-2);
  }
  
  .captcha-question {
    font-size: 1.25rem;
    padding: var(--space-3);
    min-height: 50px;
    letter-spacing: 3px;
  }
  
  .captcha-refresh {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }
}

/* ===== PRINT ===== */
@media print {
  .header, .footer, .btn {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}
