@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --teal: #375F9F;
  --teal-mid: #2d5085;
  --teal-light: #4a6fb8;
  --gold: #c8a24e;
  --gold-light: #e8d5a0;
  --gold-pale: #eef3fb;
  --white: #ffffff;
  --page-bg: #f7f8f9;
  --page-bg-2: #eef0f2;
  --ink: #1a1f2b;
  --text-body: #3d4451;
  --text-muted: #6b7280;
  --border-light: #e5e7eb;
  --gray: #9ca3af;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --container: 1140px;
  --transition: 0.3s ease;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--page-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), 90vw); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: auto; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 9999;
  background: #fff; color: #000; padding: 0.6rem 0.9rem; border-radius: 6px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

h1, h2, h3, h4 { margin: 0 0 0.6rem; line-height: 1.2; }
h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h3 { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 600; }
h4 { color: var(--ink); font-weight: 600; }
h1, h2, h3 { color: var(--ink); }
p { margin: 0; color: var(--text-muted); }

.hero h1, .page-hero h1, .hero h2, .page-hero h2, .hero h3, .page-hero h3 { color: #fff; }
.hero .eyebrow, .page-hero .eyebrow { color: rgba(255, 255, 255, 0.88); }
.hero .eyebrow::before, .page-hero .eyebrow::before { background: rgba(255, 255, 255, 0.45); }

.eyebrow {
  color: var(--teal-mid);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal-mid);
}
.section-intro { max-width: 58ch; font-size: 1.05rem; margin-top: 0.3rem; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .eyebrow { justify-content: center; }
.text-center .section-intro { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.btn:hover { transform: none; }
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--teal-mid);
  box-shadow: 0 4px 12px rgba(55, 95, 159, 0.25);
}
.btn-outline {
  border-color: var(--border-light);
  color: var(--ink);
  background: var(--white);
}
.btn-outline:hover {
  border-color: var(--teal-mid);
  color: var(--teal);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.2rem 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand img {
  height: 48px;
  width: auto;
  display: block;
  transition: height var(--transition), filter var(--transition);
}
/* Logo en blanco sobre el hero; sin filtro cuando la barra ya es clara */
.site-header:not(.scrolled) .brand img {
  filter: brightness(0) invert(1);
}
.site-header.scrolled .brand img {
  filter: none;
  height: 38px;
}
.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.88rem;
  position: relative;
  transition: color 0.2s;
}
.site-header.scrolled .main-nav a { color: var(--text-body); }
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-mid);
  transition: width 0.25s;
}
.main-nav a.btn::after { display: none; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.site-header.scrolled .main-nav a.btn-primary { color: #fff; }
.nav-cta { margin-left: 0.4rem; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.dropdown-arrow {
  font-size: 0.55rem;
  transition: transform 0.2s;
  line-height: 1;
}
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dropdown-menu a {
  display: block;
  padding: 0.45rem 1.1rem;
  font-size: 0.84rem;
  color: var(--text-body) !important;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover {
  background: var(--gold-pale);
  color: var(--teal) !important;
}
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a.active {
  color: var(--teal) !important;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span:not(.sr-only) {
  width: 24px;
  height: 2px;
  background: #f8fafc;
  display: block;
  transition: transform 0.3s, opacity 0.3s, background 0.2s;
}
.site-header.scrolled .nav-toggle span:not(.sr-only) { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:first-of-type:not(.sr-only) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-of-type(2):not(.sr-only) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:last-of-type:not(.sr-only) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 7rem 0 4rem;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(0.9);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(55, 95, 159, 0.88) 0%, rgba(55, 95, 159, 0.52) 50%, rgba(20, 40, 90, 0.38) 100%),
    linear-gradient(to top, var(--page-bg) 0%, transparent 25%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 1rem; }
.hero-copy .lead {
  font-size: 1.1rem;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
/* Primary CTA: mismo azul corporativo que el resto del sitio (sin dorado) */
.hero-actions .btn-primary {
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}
.hero-actions .btn-primary:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}
.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}
.hero-actions .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card-stack {
  display: grid;
  gap: 0.8rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: background var(--transition);
}
.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
}
.stat-card h3 { color: #c8daf7; font-size: 0.95rem; margin-bottom: 0.25rem; }
.stat-card p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; position: relative; background: var(--page-bg); }
.section-alt { background: var(--white); }

.stats-panel {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

/* ===== SERVICE GRID ===== */
.service-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  border-color: rgba(55, 95, 159, 0.22);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1;
}
.service-card h3 { margin-bottom: 0.4rem; color: var(--ink); }
.service-card p { color: var(--text-muted); font-size: 0.92rem; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-mid);
  transition: color 0.2s, gap 0.2s;
}
.service-card-link:hover {
  color: var(--teal);
  gap: 0.5rem;
}
.service-card-link span { transition: transform 0.2s; }

/* ===== EXPERTISE LIST (dark block) ===== */
.expertise-block {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  color: #fff;
}
.expertise-block h2 { color: #fff; margin-bottom: 0.3rem; }
.expertise-block .section-intro { color: rgba(255, 255, 255, 0.7); }
.expertise-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 2rem;
}
.expertise-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.expertise-list li i {
  color: var(--gold);
  font-size: 1rem;
  width: 1.2rem;
  text-align: center;
  flex-shrink: 0;
}

/* ===== TIMELINE ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}
.timeline-step {
  text-align: center;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.3rem 0.8rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
}
.timeline-step h3 { margin-bottom: 0.3rem; color: var(--ink); }
.timeline-step p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== STATS ===== */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal);
  display: block;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testimonial-card::before {
  content: "\201C";
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--teal-mid);
  opacity: 0.15;
  position: absolute;
  top: 0.4rem;
  left: 1rem;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}
.testimonial-author { font-weight: 600; color: var(--ink); font-size: 0.88rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-grid { max-width: 760px; margin: 2rem auto 0; display: grid; gap: 0.6rem; }
details {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
details[open] { border-color: rgba(55, 95, 159, 0.28); }
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-size: 0.95rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--teal-mid);
  transition: transform 0.25s;
}
details[open] summary::after { transform: rotate(45deg); }
details .faq-body { padding: 0 1.1rem 0.9rem; }

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  padding: 3.5rem 0 5rem;
  background: var(--page-bg);
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.cta-inner h2 { color: #fff; margin-bottom: 0.3rem; }
.cta-inner p { max-width: 48ch; margin: 0 auto 1.3rem; color: rgba(255, 255, 255, 0.7); }
.cta-inner .btn-primary {
  background: #fff;
  color: var(--teal);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.cta-inner .btn-primary:hover {
  background: #f0f4fb;
  color: var(--teal-mid);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-info-list li { display: flex; align-items: flex-start; gap: 0.8rem; }
.contact-info-list h3 { color: var(--ink); }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-pale);
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}
.contact-form { display: grid; gap: 0.9rem; }
.form-group { display: grid; gap: 0.3rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal-mid);
  box-shadow: 0 0 0 2px rgba(55, 95, 159, 0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

/* Request a quote — layout tipo referencia (rejilla, campos grises, título destacado) */
.contact-form.quote-form {
  gap: 0.85rem;
  background: var(--white);
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.quote-form-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #dc2626;
  line-height: 1.2;
}
.quote-form .form-group--quote {
  gap: 0;
  margin: 0;
}
.quote-form .form-group--quote input,
.quote-form .form-group--quote textarea {
  width: 100%;
  box-sizing: border-box;
  background: #eeeeee;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quote-form .form-group--quote textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.quote-form .form-group--quote input::placeholder,
.quote-form .form-group--quote textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}
.quote-form .form-group--quote input:focus,
.quote-form .form-group--quote textarea:focus {
  border-color: rgba(55, 95, 159, 0.35);
  box-shadow: 0 0 0 2px rgba(55, 95, 159, 0.12);
}
.quote-form .form-group--message {
  max-width: min(100%, 50%);
}
.quote-form .quote-form-submit {
  width: 100%;
  margin-top: 0.35rem;
  text-transform: none;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 8rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.page-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.32) saturate(0.85);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(55, 95, 159, 0.82) 0%, rgba(55, 95, 159, 0.52) 55%, var(--page-bg) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p {
  max-width: 52ch;
  margin-inline: auto;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.feature-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.feature-item:hover {
  box-shadow: var(--shadow-md);
}
.feature-item h3 { color: var(--ink); }
.feature-item p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.8rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.team-card h3 { color: var(--ink); }
.team-card p { color: var(--text-muted); }
.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--teal);
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}
.team-avatar--photo {
  background: var(--border-light);
  overflow: hidden;
  padding: 0;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}
.team-avatar--photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== MAP ===== */
.map-visual {
  margin: 0;
  position: relative;
  height: min(48vh, 420px);
  overflow: hidden;
  border-top: 1px solid var(--border-light);
}
.map-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.map-visual-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.2rem 1.3rem;
  background: linear-gradient(to top, rgba(55, 95, 159, 0.92), transparent);
  text-align: center;
}
.map-visual-caption h3 { color: #fff; font-size: 1.05rem; margin: 0 0 0.3rem; }
.map-visual-caption p { color: rgba(255, 255, 255, 0.8); font-size: 0.88rem; max-width: 40rem; margin: 0 auto; }

/* ===== MISSION CARDS ===== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.mission-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.mission-card h3 { color: var(--teal); margin-bottom: 0.4rem; }
.mission-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0a0f14;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0 1.3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}
.footer-brand img {
  display: block;
  width: auto;
  max-width: min(200px, 100%);
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
  margin: 0;
  flex-shrink: 0;
}
.footer-brand p {
  font-size: 0.85rem;
  max-width: 28ch;
  color: var(--gray);
  margin: 0;
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.footer-col a {
  display: block;
  color: var(--gray);
  font-size: 0.88rem;
  padding: 0.2rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== REVEAL ANIMATIONS (subtle) ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-25px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-right { opacity: 0; transform: translateX(25px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; }
  .expertise-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: rgba(255, 255, 255, 0.99);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 4.5rem 1.8rem 2rem;
    gap: 1rem;
    transition: right 0.35s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
  }
  .main-nav.is-open { right: 0; }
  .main-nav a { font-size: 1rem; color: var(--text-body) !important; }
  .main-nav a:hover, .main-nav a.active { color: var(--ink) !important; }
  .main-nav a.btn-primary { color: #fff !important; }
  .nav-toggle { display: inline-flex; z-index: 1001; }
  .nav-cta { margin-left: 0; }
  .dropdown-menu {
    position: static;
    transform: none;
    min-width: auto;
    margin-top: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .dropdown-menu::before { display: none; }
  .nav-dropdown.is-open .dropdown-menu { max-height: 600px; }
  .nav-dropdown:hover .dropdown-menu { max-height: 0; }
  .nav-dropdown.is-open:hover .dropdown-menu { max-height: 600px; }
  .dropdown-menu a {
    padding: 0.35rem 0;
    font-size: 0.9rem;
  }
  .hero { min-height: auto; padding: 7rem 0 3rem; }
  .hero-visual { display: none; }
  .service-grid, .timeline, .feature-grid, .stats-bar { grid-template-columns: 1fr; }
  .footer-grid, .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form .form-group--message { max-width: 100%; }
}

.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2rem; }

.glass-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.glass-card h3 { color: var(--ink); }

@media print {
  .site-header, .nav-toggle { display: none !important; }
  .hero { min-height: auto; padding-top: 2rem; }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.6rem;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  padding: 3px 4px;
  line-height: 0;
  opacity: 0.45;
  transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
}
.lang-btn img {
  display: block;
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  pointer-events: none;
}
.lang-btn:hover { opacity: 0.85; transform: scale(1.1); }
.lang-btn.active {
  opacity: 1;
  border-color: rgba(255,255,255,0.6);
}
.site-header.scrolled .lang-btn.active {
  border-color: var(--teal-mid);
}
.lang-btn:focus-visible {
  outline: 2px solid var(--teal-mid);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .lang-switcher {
    position: fixed;
    bottom: 1.2rem;
    right: 1.2rem;
    z-index: 1100;
    background: rgba(255,255,255,0.97);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 0.35rem 0.45rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
    margin-left: 0;
    gap: 0.35rem;
  }
  .lang-btn {
    opacity: 0.55;
    padding: 2px 3px;
  }
  .lang-btn img {
    width: 32px;
    height: 22px;
  }
  .lang-btn.active {
    opacity: 1;
    border-color: var(--teal-mid);
  }
}
