/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --navy:       #02084b;
  --navy-dark:  #010636;
  --navy-mid:   #030d6b;
  --navy-light: rgba(2, 8, 75, 0.08);
  --navy-faint: rgba(2, 8, 75, 0.04);

  --white:      #ffffff;
  --bg:         #ffffff;
  --bg-soft:    #f8f9fc;
  --bg-warm:    #f4f5f9;

  --gray-light: #a1a2a6;
  --gray-mid:   #5e5e5e;
  --gray-dark:  #4a4a4a;
  --gray-text:  #414141;

  --accent:     #02084b;
  --accent-hover: #030d6b;
  --green:      #25D366;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h:    70px;
  --radius:   12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(2, 8, 75, 0.07);
  --shadow:    0 8px 40px rgba(2, 8, 75, 0.10);
  --shadow-lg: 0 20px 60px rgba(2, 8, 75, 0.14);

  --max-w: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.02em; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--navy); color: #fff; }
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--navy); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Typography
   ============================================================= */
.section-kicker {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 60ch;
  line-height: 1.7;
}

.section-header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-sub {
  margin-inline: auto;
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.75rem;
  font-size: .95rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all .28s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
  box-shadow: 0 4px 20px rgba(2, 8, 75, 0.25);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(2, 8, 75, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(2, 8, 75, 0.3);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--navy-faint);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-dark);
  border: 2px solid #e0e2ec;
  gap: .5rem;
}
.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-block { width: 100%; justify-content: center; }

.btn-wa {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-wa:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* =============================================================
   6. Navigation
   ============================================================= */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out),
              padding .35s var(--ease-out);
  padding-block: 0;
}
.nav-wrap.is-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(2, 8, 75, 0.08), var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-logo-text em { font-style: italic; font-weight: 400; }

.nav-links {
  display: none;
  list-style: none;
  padding: 0;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-dark);
  padding: .5rem .75rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy); background: var(--navy-faint); }
.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: .55rem 1.1rem !important;
  border-radius: 50px !important;
  margin-left: .5rem;
}
.nav-cta:hover {
  background: var(--navy-dark) !important;
  color: #fff !important;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  padding: 0;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav open */
.nav-links.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 1.5rem var(--gutter) 2rem;
  gap: .25rem;
  box-shadow: 0 20px 40px rgba(2, 8, 75, 0.12);
  border-top: 1px solid rgba(2, 8, 75, 0.08);
}
.nav-links.is-open a {
  font-size: 1rem;
  width: 100%;
  padding: .7rem 1rem;
}
.nav-cta { margin-left: 0 !important; }

/* =============================================================
   6. Sections — shared
   ============================================================= */
.section {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7rem);
}

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(3, 13, 107, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(2, 8, 75, 0.07) 0%, transparent 60%),
    linear-gradient(160deg, #f4f5f9 0%, #f8f9fc 40%, #ffffff 100%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(2, 8, 75, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 8, 75, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 20%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 2rem;
}

.hero-kicker {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .7;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-kicker::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy-mid);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-mid);
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--gray-mid);
}
.trust-stars { color: #f5a623; letter-spacing: .05em; }
.trust-sep { color: var(--gray-light); }

/* Hero floating cards */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero-card-float {
  background: #fff;
  border: 1px solid rgba(2, 8, 75, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .75rem;
  animation: floatCard 4s ease-in-out infinite;
  max-width: 260px;
  width: 100%;
}
.hcf-2 { animation-delay: 1.2s; }
.hcf-3 { animation-delay: 2.4s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.hcf-icon { font-size: 1.5rem; flex-shrink: 0; }
.hcf-title { font-size: .85rem; font-weight: 600; color: var(--gray-dark); margin-bottom: .2rem; }
.hcf-status { font-size: .78rem; font-weight: 500; }
.hcf-status.is-ok { color: #16a34a; }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--gray-light);
  border-bottom: 2px solid var(--gray-light);
  transform: rotate(45deg);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: rotate(45deg) translateY(0); }
  50%       { opacity: 1;  transform: rotate(45deg) translateY(4px); }
}

/* =============================================================
   8. Servicios
   ============================================================= */
.services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-soft);
  border: 1px solid rgba(2, 8, 75, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out),
              border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
  border-radius: 3px 3px 0 0;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(2, 8, 75, 0.15);
  background: #fff;
}
.service-card:hover::before {
  transform: scaleX(1);
}

.sc-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.sc-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .1rem;
}
.sc-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .2rem;
}
.sc-subtitle {
  font-size: .78rem;
  color: var(--gray-light);
  font-weight: 500;
  letter-spacing: .03em;
}
.sc-desc {
  font-size: .93rem;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.sc-cta {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap .2s var(--ease-out), opacity .2s;
  opacity: .7;
}
.sc-cta:hover { opacity: 1; gap: .6rem; }

/* =============================================================
   9. Proceso
   ============================================================= */
.process {
  background: var(--bg);
  overflow: hidden;
}
.process-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(2, 8, 75, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.steps-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  position: relative;
}

/* Vertical line connecting steps */
.steps-list::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy) 0%, rgba(2, 8, 75, 0.1) 100%);
  border-radius: 2px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1px 1fr;
  gap: 0 1.25rem;
  align-items: start;
  padding-bottom: 2.5rem;
}
.step:last-child { padding-bottom: 0; }

.step-number {
  width: 48px; height: 48px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(2, 8, 75, 0.08);
}

.step-connector { display: none; }

.step-body {
  padding-top: .6rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .35rem;
}
.step-desc {
  font-size: .93rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

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

/* =============================================================
   10. Por qué elegirnos
   ============================================================= */
.why {
  background: var(--bg-soft);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.why-card {
  background: #fff;
  border: 1px solid rgba(2, 8, 75, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.why-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}
.why-desc {
  font-size: .93rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

.why-stats {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  align-items: center;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  vertical-align: super;
}
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .35rem;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  display: none;
}

/* =============================================================
   11. Testimonios
   ============================================================= */
.reviews {
  background: var(--bg);
  overflow: hidden;
}
.reviews-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 60%, rgba(2, 8, 75, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.reviews-google-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-mid);
  background: var(--bg-soft);
  border: 1px solid rgba(2, 8, 75, 0.08);
  padding: .4rem .85rem;
  border-radius: 50px;
  margin-top: 1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.review-card {
  background: var(--bg-soft);
  border: 1px solid rgba(2, 8, 75, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.rc-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.rc-text {
  font-size: .97rem;
  color: var(--gray-dark);
  line-height: 1.7;
  font-style: normal;
  margin-bottom: 1.25rem;
  quotes: '"' '"';
}
.rc-author {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.rc-avatar {
  width: 40px; height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}
.rc-name { font-size: .9rem; font-weight: 600; color: var(--gray-dark); }
.rc-origin { font-size: .78rem; color: var(--gray-light); }

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

/* =============================================================
   12. FAQ
   ============================================================= */
.faq { background: var(--bg-soft); }

.faq-list {
  max-width: 760px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(2, 8, 75, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s;
}
.faq-item.is-open {
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-size: .97rem;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  transition: background .2s;
}
.faq-q:hover { background: var(--navy-faint); }
.faq-q[aria-expanded="true"] { background: var(--navy-faint); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--gray-light);
  transition: transform .3s var(--ease-out), color .2s;
}
.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--navy);
}

.faq-a {
  padding: 0 1.5rem 1.25rem;
  font-size: .93rem;
  color: var(--gray-mid);
  line-height: 1.7;
}
.faq-a[hidden] { display: none; }

.faq-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}
.faq-footer p { color: var(--gray-mid); font-size: .95rem; }

/* =============================================================
   13. Sobre nosotros
   ============================================================= */
.about { background: var(--bg); overflow: hidden; }
.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.about-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(2, 8, 75, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
}

.about-photos-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: .75rem;
  align-items: start;
}

.about-photo {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: block;
}

.about-photo-main {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: 3/4;
  object-position: center top;
}

.about-photo-secondary {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 3/4;
  object-position: center top;
  margin-top: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--navy);
  border: 3px solid #fff;
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  z-index: 2;
}
.about-badge span { font-size: 1.35rem; flex-shrink: 0; }

.about-text {
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: .97rem;
}
.about-text strong { color: var(--gray-dark); font-weight: 600; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 1.5rem 0 2rem;
}
.av-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .93rem;
  color: var(--gray-dark);
}
.av-check {
  width: 20px; height: 20px;
  background: rgba(2, 8, 75, 0.08);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================================
   14. Contacto
   ============================================================= */
.contact { background: var(--bg-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-cta-wa {
  margin-bottom: 2rem;
}
.wa-note {
  font-size: .8rem;
  color: var(--gray-light);
  margin-top: .5rem;
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cd-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(2, 8, 75, 0.07);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s var(--ease-out);
  text-decoration: none;
}
a.cd-item:hover {
  border-color: rgba(2, 8, 75, 0.2);
  transform: translateX(3px);
}
.cd-icon { font-size: 1.25rem; flex-shrink: 0; line-height: 1.5; }
.cd-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-light); margin-bottom: .2rem; }
.cd-value { font-size: .93rem; color: var(--gray-dark); line-height: 1.5; }

/* Formulario */
.contact-form-wrap {
  background: #fff;
  border: 1px solid rgba(2, 8, 75, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.cf-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.cf-field {
  margin-bottom: 1.1rem;
}
.cf-field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid rgba(2, 8, 75, 0.12);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--gray-text);
  background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(2, 8, 75, 0.08);
}
.cf-field textarea { resize: vertical; min-height: 110px; }
.cf-note {
  font-size: .78rem;
  color: var(--gray-light);
  text-align: center;
  margin-top: .75rem;
}

/* Mapa */
.map-wrap {
  background: #fff;
  border: 1px solid rgba(2, 8, 75, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(2, 8, 75, 0.07);
}
.map-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}
.map-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  transition: opacity .2s;
}
.map-link:hover { opacity: .7; }
.map-container iframe { display: block; }

/* =============================================================
   15. Footer
   ============================================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
}
.footer-logo-mark {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
}
.footer-logo span:last-child {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
}
.footer-logo em { font-style: italic; font-weight: 400; }
.footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: .35rem;
}
.footer-address { font-size: .82rem; color: rgba(255,255,255,0.35); }

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.fl-heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: .85rem;
}
.fl-col ul { display: flex; flex-direction: column; gap: .55rem; }
.fl-col li a {
  font-size: .87rem;
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.fl-col li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
  padding-block: 1.25rem;
  text-align: center;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 1rem; font-size: .8rem; }
.footer-legal a { color: rgba(255,255,255,0.35); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* =============================================================
   16. WhatsApp Flotante
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  background: var(--green);
  color: #fff;
  border-radius: 50px;
  padding: .85rem 1.25rem .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 2px 10px rgba(0,0,0,0.15);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5), 0 4px 15px rgba(0,0,0,0.15);
}
.wa-float-label {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* =============================================================
   17. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
/* Defensive: elements with data-split must never be invisible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.services-grid .reveal:nth-child(1) { transition-delay: .05s; }
.services-grid .reveal:nth-child(2) { transition-delay: .10s; }
.services-grid .reveal:nth-child(3) { transition-delay: .15s; }
.services-grid .reveal:nth-child(4) { transition-delay: .20s; }
.services-grid .reveal:nth-child(5) { transition-delay: .25s; }
.services-grid .reveal:nth-child(6) { transition-delay: .30s; }

.why-grid .reveal:nth-child(1) { transition-delay: .05s; }
.why-grid .reveal:nth-child(2) { transition-delay: .12s; }
.why-grid .reveal:nth-child(3) { transition-delay: .19s; }
.why-grid .reveal:nth-child(4) { transition-delay: .26s; }

.reviews-grid .reveal:nth-child(1) { transition-delay: .05s; }
.reviews-grid .reveal:nth-child(2) { transition-delay: .10s; }
.reviews-grid .reveal:nth-child(3) { transition-delay: .15s; }
.reviews-grid .reveal:nth-child(4) { transition-delay: .20s; }
.reviews-grid .reveal:nth-child(5) { transition-delay: .25s; }

.faq-list .reveal:nth-child(1) { transition-delay: .03s; }
.faq-list .reveal:nth-child(2) { transition-delay: .06s; }
.faq-list .reveal:nth-child(3) { transition-delay: .09s; }
.faq-list .reveal:nth-child(4) { transition-delay: .12s; }
.faq-list .reveal:nth-child(5) { transition-delay: .15s; }
.faq-list .reveal:nth-child(6) { transition-delay: .18s; }
.faq-list .reveal:nth-child(7) { transition-delay: .21s; }
.faq-list .reveal:nth-child(8) { transition-delay: .24s; }

.steps-list .reveal:nth-child(1) { transition-delay: .05s; }
.steps-list .reveal:nth-child(2) { transition-delay: .12s; }
.steps-list .reveal:nth-child(3) { transition-delay: .19s; }
.steps-list .reveal:nth-child(4) { transition-delay: .26s; }
.steps-list .reveal:nth-child(5) { transition-delay: .33s; }

/* =============================================================
   18. Responsive — tablet 720px
   ============================================================= */
@media (min-width: 540px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-card-float { max-width: 200px; }
}

@media (min-width: 720px) {
  .nav-burger { display: none; }
  .nav-links { display: flex; }
  .nav-links.is-open { display: flex; flex-direction: row; position: static; background: none; padding: 0; box-shadow: none; border-top: none; }

  .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero-visual {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .hero-card-float { max-width: 280px; }
  .hcf-2 { margin-left: 2.5rem; }
  .hcf-3 { margin-left: 1.25rem; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: block; }

  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.5fr 1fr; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }

  .about-inner { grid-template-columns: 1fr 1.2fr; }
  .about-image { order: -1; }
}

@media (min-width: 1280px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   19. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-card-float { animation: none; }
  .scroll-arrow { animation: none; }
  /* No desactivar: reveal fades, hover tilt, accordeon */
}
