/* ═══════════════════════════════════════════════════════════════════
   AFCP TAX ADVISORS — Corporate Website Styles
   Archetype: Corporate Light (custom) — White + Navy Blue + Emerald
   ═══════════════════════════════════════════════════════════════════ */

/* ── Custom Properties ──────────────────────────────────────────── */
:root {
  --navy:       #1a237e;
  --navy-dark:  #0d1b6b;
  --navy-light: #283593;
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --green:      #059669;
  --green-light:#10b981;
  --green-pale: #d1fae5;
  --bg:         #ffffff;
  --bg-2:       #f8faff;
  --bg-3:       #f0f4ff;
  --ink:        #0f1729;
  --ink-soft:   #334155;
  --ink-mute:   #64748b;
  --line:       rgba(26,35,126,0.10);
  --white:      #ffffff;
  --shadow-sm:  0 1px 3px rgba(26,35,126,0.08), 0 1px 2px rgba(26,35,126,0.06);
  --shadow-md:  0 4px 16px rgba(26,35,126,0.10), 0 2px 6px rgba(26,35,126,0.06);
  --shadow-lg:  0 20px 60px rgba(26,35,126,0.14), 0 8px 24px rgba(26,35,126,0.08);
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h:      76px;
  --grad-blue:  linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  --grad-green: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  --grad-mix:   linear-gradient(135deg, var(--navy-dark) 0%, var(--blue) 50%, var(--green) 100%);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font: inherit; }
select, input, textarea { font: inherit; }

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.tc { text-align: center; }

/* ── Splash ─────────────────────────────────────────────────────── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  animation: splashSafety 0.01s 4.5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}
.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.splash-logo-img {
  width: 240px;
  max-width: 72vw;
  height: auto;
  display: block;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s var(--ease-out) forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Reveal animations ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* MANDATORY defensive rule — gotcha A.4.5 */
.reveal[data-split] { opacity: 1; transform: none; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad-mix);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(37,99,235,0.45); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.65);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
.btn-nav {
  background: var(--grad-mix);
  color: var(--white);
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: 0 2px 12px rgba(37,99,235,0.3);
}
.btn-nav:hover { box-shadow: 0 4px 20px rgba(37,99,235,0.4); }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(26,35,126,0.07);
}
.nav-inner {
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--navy); background: var(--bg-3); }

/* ── Nav Dropdown ────────────────────────────────────────────────── */
.nav-has-dd { position: relative; }
.nav-dd-trigger {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.9rem; font-weight: 500;
  color: var(--ink-soft);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-dd-trigger:hover { color: var(--navy); background: var(--bg-3); }
.nav-chevron {
  width: 14px; height: 14px; flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.nav-has-dd:hover .nav-chevron,
.nav-has-dd:focus-within .nav-chevron { transform: rotate(180deg); }

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(26,35,126,0.14), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--line);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 901;
}
.nav-has-dd:hover .nav-dd-menu,
.nav-has-dd:focus-within .nav-dd-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.875rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.nav-dd-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue); }
.nav-dd-item:hover { background: var(--bg-3); color: var(--navy); }
.nav-dd-item:hover svg { color: var(--green); }
/* Arrow notch */
.nav-dd-menu::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #fff;
  border-top: none;
  filter: drop-shadow(0 -2px 2px rgba(26,35,126,0.08));
}

.nav-actions { display: flex; align-items: center; gap: 0.875rem; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  border: 1.5px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  transition: border-color 0.2s, background 0.2s;
}
.lang-toggle:hover { border-color: var(--navy); background: var(--bg-3); }
.lang-opt { transition: color 0.2s; }
.lang-opt.active { color: var(--navy); }
.lang-sep { opacity: 0.35; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 899;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  padding: 1.5rem clamp(1rem, 4vw, 2rem);
  box-shadow: 0 8px 32px rgba(26,35,126,0.12);
  transform: translateY(-110%);
  transition: transform 0.35s var(--ease-out);
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer ul { display: flex; flex-direction: column; gap: 0.25rem; }
.nav-drawer .nav-link { display: block; padding: 0.75rem 1rem; font-size: 1rem; }
.nav-drawer .btn-nav { margin-top: 0.75rem; display: inline-flex; }
.drawer-sub .nav-sub-link {
  padding-left: 2rem;
  font-size: 0.875rem;
  color: var(--ink-mute);
  border-left: 2px solid var(--line);
  margin-left: 1rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.drawer-sub .nav-sub-link:hover { border-left-color: var(--green); color: var(--navy); }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,20,90,0.94) 0%,
    rgba(13,27,107,0.88) 40%,
    rgba(13,27,107,0.55) 68%,
    rgba(5,150,105,0.18) 100%
  );
}
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(16,185,129,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(37,99,235,0.30) 0%, transparent 60%);
  animation: meshPulse 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes meshPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08) rotate(3deg); }
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding-block: clamp(4rem, 8vh, 6rem);
  max-width: 780px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-wrap: balance;
  text-transform: uppercase;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #6ee7b7, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  max-width: 680px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-plus { color: var(--green-light); font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 0.25rem; letter-spacing: 0.02em; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.2); }
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.4); opacity: 0; }
}

/* ── Section shared ─────────────────────────────────────────────── */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.875rem;
}
.section-kicker.tc {
  display: flex;
  justify-content: center;
}
.section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--ink-mute);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ── Sobre / About ──────────────────────────────────────────────── */
.sobre { background: var(--bg-2); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.sobre-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.sobre-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.sobre-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--grad-mix);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(26,35,126,0.3);
}
.badge-num {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.badge-num sup { font-size: 1.5rem; vertical-align: super; }
.badge-label { font-size: 0.75rem; opacity: 0.85; line-height: 1.35; margin-top: 0.25rem; display: block; }
.sobre-text { display: flex; flex-direction: column; gap: 0; }
.sobre-lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.sobre-body {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.sobre-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.pillar-icon {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
}

/* ── Mission / Vision ───────────────────────────────────────────── */
.mv-section { background: var(--navy-dark); }
.mv-section .section-kicker { color: var(--green-light); }
.mv-section .section-title { color: var(--white); }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.mv-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.mv-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
}
.mv-card--vision { background: rgba(5,150,105,0.12); border-color: rgba(16,185,129,0.25); }
.mv-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.mv-icon-wrap svg { width: 28px; height: 28px; color: var(--green-light); }
.mv-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.875rem;
}
.mv-card p { color: rgba(255,255,255,0.72); font-size: 0.9375rem; line-height: 1.75; }

/* ── Valores ────────────────────────────────────────────────────── */
.valores-section { background: var(--bg); }
.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.valor-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.28s var(--ease), transform 0.28s var(--ease), border-color 0.28s;
}
.valor-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease-out);
}
.valor-card:hover {
  border-color: rgba(5,150,105,0.2);
  box-shadow: 0 8px 32px rgba(26,35,126,0.10);
  transform: translateY(-4px);
}
.valor-card:hover::after {
  transform: scaleX(1);
}
.valor-icon {
  width: 48px; height: 48px;
  background: var(--bg-3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--navy);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.valor-card:hover .valor-icon {
  background: var(--navy);
  color: var(--white);
  transform: scale(1.08);
}
.valor-icon svg { width: 22px; height: 22px; }
.valor-card h4 {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* ── Services ───────────────────────────────────────────────────── */
.servicios-section { background: var(--bg-2); }
.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}
.service-tab {
  padding: 0.875rem 1.75rem;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-mute);
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s var(--ease), border-color 0.25s var(--ease);
  letter-spacing: 0.01em;
}
.service-tab:hover { color: var(--navy); border-bottom-color: rgba(26,35,126,0.25); }
.service-tab.active {
  color: var(--navy);
  border-bottom-color: var(--green);
  background: transparent;
  box-shadow: none;
}
.services-panel { display: none; }
.services-panel.active { display: block; }

/* ── Service Panel Hero ──────────────────────────────────────────── */
.svc-panel-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(26,35,126,0.03) 0%, rgba(5,150,105,0.04) 100%);
  border-radius: 20px;
  border: 1px solid var(--line);
}
.svc-panel-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 8px 32px rgba(26,35,126,0.12);
}
.svc-panel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-panel-info { display: flex; flex-direction: column; gap: 1rem; }
.svc-panel-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.svc-panel-info h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.svc-panel-desc {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-soft);
  font-weight: 400;
}
.svc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  align-self: flex-start;
  transition: opacity 0.2s, transform 0.2s var(--ease);
  letter-spacing: 0.01em;
}
.svc-cta-btn svg { width: 16px; height: 16px; transition: transform 0.2s; }
.svc-cta-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.svc-cta-btn:hover svg { transform: translateX(3px); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.services-grid--center {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  max-width: 800px;
  margin-inline: auto;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.625rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.service-card:hover {
  border-color: rgba(37,99,235,0.18);
  box-shadow: 0 16px 48px rgba(26,35,126,0.10), 0 4px 12px rgba(26,35,126,0.06);
  transform: translateY(-6px);
}
.service-card:hover::after { transform: scaleX(1); }
.sc-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(37,99,235,0.09) 0%, rgba(5,150,105,0.13) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.sc-icon svg { width: 26px; height: 26px; }
.service-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

/* ── Why AFCP ───────────────────────────────────────────────────── */
.porque-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.porque-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.porque-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.porque-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,107,0.93) 0%, rgba(5,150,105,0.80) 100%);
}
.porque-section .container { position: relative; z-index: 1; }
.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.porque-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.porque-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.pc-num {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green-light);
  margin-bottom: 0.75rem;
  display: block;
}
.pc-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1rem;
}
.pc-icon svg { width: 22px; height: 22px; }
.porque-card h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.625rem;
}
.porque-card p { font-size: 0.875rem; color: rgba(255,255,255,0.70); line-height: 1.7; }

/* ── Testimonials ───────────────────────────────────────────────── */
.testi-section { background: var(--bg); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}
.testi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-mix);
}
.testi-card:hover { box-shadow: 0 12px 48px rgba(26,35,126,0.12); transform: translateY(-5px); }
.testi-stars { font-size: 0.9rem; color: #f59e0b; letter-spacing: 0.12em; }
.testi-card blockquote {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid var(--green-pale);
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-top: 1px solid var(--line);
  padding-top: 1.125rem;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-mix);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26,35,126,0.25);
}
.testi-author strong { display: block; font-size: 0.875rem; color: var(--ink); font-weight: 700; }
.testi-author span { display: block; font-size: 0.775rem; color: var(--ink-mute); margin-top: 2px; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-section { background: var(--bg-2); }
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.faq-header .section-kicker { text-align: left; }
.faq-header .section-title { text-align: left; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--navy); }
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--navy);
  transition: transform 0.35s var(--ease-out);
}
.faq-item[data-open="true"] .faq-icon { transform: rotate(180deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-out);
}
.faq-item[data-open="true"] .faq-a { max-height: 300px; }
.faq-a p {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-mute);
  line-height: 1.75;
}

/* ── Contact ────────────────────────────────────────────────────── */
.contacto-section { background: var(--bg); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  margin-top: 3rem;
}
.office {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.office:last-of-type { margin-bottom: 0; }
.office-icon {
  width: 40px; height: 40px;
  background: var(--bg-3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.office-icon svg { width: 20px; height: 20px; }
.office h4 {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.office p { font-size: 0.875rem; color: var(--ink-mute); line-height: 1.65; }
.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.contact-link svg { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; }
.contact-link:hover { color: var(--navy); }

/* Form */
.contacto-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group:last-of-type { margin-bottom: 0; }
.form-group label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 1rem;
}
.btn-arrow { width: 18px; height: 18px; }
.form-success {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem;
  background: var(--green-pale);
  border-radius: 10px;
  margin-top: 1rem;
  border: 1px solid rgba(5,150,105,0.25);
}
.form-success svg { width: 24px; height: 24px; flex-shrink: 0; }
.form-success p { font-size: 0.9rem; font-weight: 500; color: #065f46; }

.map-wrap { margin-top: 3rem; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }

/* ── Footer ─────────────────────────────────────────────────────── */
.footer { background: var(--navy-dark); padding-top: 4rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3rem;
}
.footer-tagline {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { background: var(--green); color: var(--white); }
.footer-col h5 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a, .footer-col p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  line-height: 1.6;
}
.footer-col a:hover { color: var(--green-light); }
.footer-col address { display: flex; flex-direction: column; gap: 0.875rem; }
.footer-col address p { font-size: 0.825rem; color: rgba(255,255,255,0.55); }
.footer-col address strong { color: rgba(255,255,255,0.8); font-size: 0.875rem; }
.footer-col address a { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.footer-col address a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.5rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.40); }

/* ── WhatsApp FAB ────────────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,0.25);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.whatsapp-fab svg { width: 30px; height: 30px; position: relative; }
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 28px rgba(37,211,102,0.55); }
.whatsapp-tooltip {
  position: absolute;
  right: 66px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s, transform 0.2s;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a1a;
}
.whatsapp-fab:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ── Back to top ─────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 800;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-mix);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26,35,126,0.35);
  transition: transform 0.2s var(--ease), opacity 0.3s, box-shadow 0.2s;
  opacity: 0;
}
.back-to-top:not([hidden]) { opacity: 1; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(26,35,126,0.45); }
.back-to-top svg { width: 20px; height: 20px; }

/* ── Footer logo image ───────────────────────────────────────────── */
.footer-logo-link {
  display: inline-block;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-logo-link:hover { opacity: 0.9; transform: translateY(-2px); }
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  background: rgba(255,255,255,0.96);
  padding: 7px 14px;
  border-radius: 10px;
}

/* ── Premium form focus ──────────────────────────────────────────── */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.10);
}

/* ── Mobile tab fix ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .services-tabs {
    border-bottom: none;
    gap: 0.375rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .service-tab {
    border: 1.5px solid var(--line);
    border-radius: 50px;
    border-bottom: 1.5px solid var(--line);
    margin-bottom: 0;
    padding: 0.55rem 1.1rem;
    font-size: 0.825rem;
  }
  .service-tab.active {
    background: var(--grad-mix);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37,99,235,0.25);
  }
}

/* ── Nav active link ─────────────────────────────────────────────── */
.nav-link--active {
  color: var(--navy) !important;
  font-weight: 700 !important;
}
.nav-dd-trigger.nav-link--active span { color: var(--navy); font-weight: 700; }

/* ── Btn large ───────────────────────────────────────────────────── */
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

/* ── Page Hero (sub-pages) ───────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--nav-h);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,27,107,0.82) 0%, rgba(37,99,235,0.65) 50%, rgba(5,150,105,0.55) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.page-hero-content h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.page-hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.65;
}

/* ── Breadcrumb ─────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}
.breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ── Services Overview Cards (home page) ─────────────────────────── */
.svc-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.svc-overview-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s;
  position: relative;
  overflow: hidden;
}
.svc-overview-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-mix);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.svc-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26,35,126,0.12);
  border-color: rgba(37,99,235,0.18);
}
.svc-overview-card:hover::after { transform: scaleX(1); }
.svc-overview-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.svc-overview-card p {
  font-size: 0.875rem;
  color: var(--ink-mute);
  line-height: 1.65;
  flex: 1;
}
.soc-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(37,99,235,0.09) 0%, rgba(5,150,105,0.13) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.soc-icon svg { width: 24px; height: 24px; }
.soc-arrow {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
  transition: gap 0.2s var(--ease);
}
.svc-overview-card:hover .soc-arrow { gap: 0.625rem; }

/* ── CTA Banner ──────────────────────────────────────────────────── */
.cta-banner {
  background: var(--grad-mix);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}
.cta-banner-inner h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.cta-banner-inner p {
  font-size: clamp(0.9rem, 1.8vw, 1.0625rem);
  color: rgba(255,255,255,0.80);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
}
.cta-banner .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}

/* ── Contact info column ─────────────────────────────────────────── */
.contacto-info { padding-top: 0.5rem; }

/* ═══════════════════════════════════════ RESPONSIVE ════════════════ */

@media (max-width: 1100px) {
  .valores-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .svc-overview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-burger { display: flex; }
  .lang-toggle { font-size: 0.75rem; }

  .svc-panel-hero { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
  .svc-panel-img { aspect-ratio: 16/9; }
  .svc-panel-info h3 { font-size: 1.5rem; }

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-img-wrap { max-height: 380px; overflow: hidden; }
  .sobre-img-wrap img { height: 380px; }
  .sobre-badge { right: 1rem; bottom: -1rem; }

  .mv-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .porque-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { min-height: 38vh; }
}

@media (max-width: 600px) {
  .hero-stats { flex-direction: column; gap: 1.25rem; align-items: flex-start; }
  .stat-divider { width: 40px; height: 1px; }
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .porque-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 0.25rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .back-to-top { bottom: 1.25rem; right: 1.25rem; }
  .logo-img { height: 38px; }
  .svc-overview-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 32vh; }
  .btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
}
