/* ============================================================
   Numerología Goan — styles.css
   Archetype: Professional Light (consulting / coaching)
   Palette: White · Light gray · Deep blue · Petrol · Gold
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --bg:           #ffffff;
  --bg-alt:       #f4f6f9;
  --bg-dark:      #1B3A5C;
  --bg-darker:    #142d47;
  --blue-deep:    #1B3A5C;
  --blue-petrol:  #2C5F6C;
  --blue-mid:     #2a4f72;
  --gray-900:     #111827;
  --gray-700:     #374151;
  --gray-500:     #6B7280;
  --gray-400:     #9CA3AF;
  --gray-300:     #D1D5DB;
  --gray-100:     #F3F4F6;
  --gold:         #B8966E;
  --gold-light:   #d4b48a;
  --gold-pale:    #f0e4d0;
  --white:        #ffffff;
  --line:         rgba(17, 24, 39, 0.1);
  --line-light:   rgba(255, 255, 255, 0.15);

  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:       0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-blue:  0 8px 32px rgba(27, 58, 92, 0.2);

  --nav-h:        72px;
  --container:    1160px;
  --section-py:   96px;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.45, 0, 0.55, 1);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* ── Typography helpers ─────────────────────────────────────── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label.light { color: var(--gold-light); }

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--gray-900);
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--blue-petrol);
}
.section-title.centered { text-align: center; margin-inline: auto; }

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 56ch;
  line-height: 1.7;
}
.section-sub.centered { text-align: center; margin-inline: auto; }

.section-note {
  font-size: 0.75rem;
  color: var(--gray-300);
  font-style: italic;
}
.section-note.centered { text-align: center; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--blue-deep);
  color: var(--white);
  border-color: var(--blue-deep);
}
@media (hover: hover) {
  .btn-primary:hover {
    background: var(--blue-mid);
    border-color: var(--blue-mid);
    transform: translateY(-1px);
    box-shadow: var(--shadow-blue);
  }
}
.btn-ghost {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--line);
}
@media (hover: hover) {
  .btn-ghost:hover {
    border-color: var(--blue-deep);
    background: rgba(27, 58, 92, 0.04);
  }
}
.btn-outline {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}
@media (hover: hover) {
  .btn-outline:hover {
    background: var(--blue-deep);
    color: var(--white);
  }
}
.btn-white {
  background: var(--white);
  color: var(--blue-deep);
  border-color: var(--white);
}
@media (hover: hover) {
  .btn-white:hover {
    background: var(--gold-pale);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--line-light);
}
@media (hover: hover) {
  .btn-outline-white:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
  }
}

/* ── Section alternates ─────────────────────────────────────── */
.section-alt { background: var(--bg-alt); }

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  margin-bottom: 4rem;
}

/* ── Reveal animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Safety net — override for split-text combos */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.nav-brand {
  flex-shrink: 0;
}
.nav-brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}
.nav-brand-name em {
  font-style: italic;
  color: var(--blue-petrol);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-700);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
@media (hover: hover) {
  .nav-link:hover {
    color: var(--blue-deep);
    background: rgba(27, 58, 92, 0.06);
  }
}
.nav-cta { margin-left: 0.75rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gray-700);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 0 1.5rem;
  box-shadow: var(--shadow-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding-block 0.4s var(--ease-out);
}
.nav-mobile.is-open {
  max-height: 400px;
  padding-block: 1rem 1.5rem;
}
.nav-mobile-link {
  font-size: 1rem;
  color: var(--gray-700);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  display: block;
}
.nav-mobile-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-self: flex-start;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg);
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 80%);
}

.hero-numbers .hn {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--s);
  font-weight: 300;
  opacity: var(--o);
  color: var(--blue-deep);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(44, 95, 108, 0.12) 0%, transparent 70%);
  top: -10%;
  right: 5%;
  animation: glowDrift1 18s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(184, 150, 110, 0.08) 0%, transparent 70%);
  bottom: 10%;
  left: 10%;
  animation: glowDrift2 22s ease-in-out infinite;
}
@keyframes glowDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-30px, 20px); }
}
@keyframes glowDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(20px, -25px); }
}

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

.hero-text { max-width: 580px; }

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease-out) forwards;
}

.hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  text-wrap: balance;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s var(--ease-out) forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--blue-petrol);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 46ch;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s var(--ease-out) forwards;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1.2s 0.6s var(--ease-out) forwards;
}

.hero-diagram {
  width: min(340px, 100%);
  color: var(--blue-deep);
  position: relative;
}
.hero-diagram::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(44, 95, 108, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-diagram svg {
  width: 100%;
  height: auto;
  animation: rotateSlow 60s linear infinite;
  transform-origin: center;
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gray-300));
  margin-inline: auto;
  animation: scrollDrop 2s 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollDrop {
  0%, 100% { transform: scaleY(0); opacity: 0; transform-origin: top; }
  40%       { transform: scaleY(1); opacity: 1; }
  80%       { transform: scaleY(1); opacity: 0; transform-origin: bottom; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── QUÉ ES ─────────────────────────────────────────────────── */
.section-que-es {
  padding-block: var(--section-py);
}
.que-es-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.que-es-left { padding-top: 0.5rem; }
.que-es-left .section-title { max-width: 14ch; }
.que-es-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}
.que-es-body:last-of-type { margin-bottom: 2.5rem; }

.que-es-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-number {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--blue-deep);
  line-height: 1;
}
.stat-number::after { content: "+"; font-size: 1.8rem; color: var(--gold); }
.stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── SERVICIOS ──────────────────────────────────────────────── */
.section-servicios { padding-block: var(--section-py); }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  max-width: 820px;
  margin-inline: auto;
}

.servicio-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), border-color 0.3s;
}
@media (hover: hover) {
  .servicio-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(27, 58, 92, 0.2);
  }
}
.servicio-card-featured {
  border-color: var(--blue-petrol);
  box-shadow: var(--shadow-blue);
}
.servicio-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-petrol);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.servicio-icon {
  width: 56px;
  height: 56px;
  color: var(--blue-petrol);
  flex-shrink: 0;
  background: rgba(44, 95, 108, 0.08);
  border-radius: var(--radius);
  padding: 6px;
  box-sizing: border-box;
}
.servicio-icon svg *  { stroke-width: 1.5; opacity: 1; }
.servicio-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.servicio-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--gray-900);
  line-height: 1.2;
}
.servicio-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-500);
}
.servicio-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.servicio-items li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding-left: 1.1rem;
  position: relative;
}
.servicio-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.servicio-nota {
  font-size: 0.68rem;
  color: var(--gray-400);
  line-height: 1.4;
  margin-top: -0.25rem;
}
.servicio-nota sup { font-size: 0.58rem; }

.servicio-cta { align-self: flex-start; margin-top: auto; }

/* ── SUSANA ─────────────────────────────────────────────────── */
.section-susana { padding-block: var(--section-py); }

.susana-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.susana-photo { position: relative; }
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.photo-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80%;
  height: 80%;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
}

.susana-bio { margin-top: 1.75rem; }

.susana-bio p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}
.susana-bio p:last-child { margin-bottom: 2rem; }

.susana-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.credential {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.credential-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.2em;
  display: inline-flex;
}

/* ── BENEFICIOS ─────────────────────────────────────────────── */
.section-beneficios { padding-block: var(--section-py); }

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.beneficio-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
@media (hover: hover) {
  .beneficio-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
  }
}
.beneficio-icon {
  width: 48px;
  height: 48px;
  color: var(--blue-petrol);
  flex-shrink: 0;
  background: rgba(44, 95, 108, 0.08);
  border-radius: var(--radius-sm);
  padding: 6px;
  box-sizing: border-box;
}
.beneficio-icon svg * { stroke-width: 1.5; opacity: 1; }
.beneficio-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gray-900);
  line-height: 1.3;
}
.beneficio-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--gray-500);
}

/* ── TESTIMONIOS ────────────────────────────────────────────── */
.section-testimonios { padding-block: var(--section-py); }

/* Slider wrapper — positions arrows relative to the slider */
.testimonios-slider-wrap {
  position: relative;
  padding-inline: 3.5rem;
}

/* Sliding window */
.testimonios-slider {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* Track — flex row of all cards */
.testimonios-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}

/* Slide = flex item; handles sizing + lateral gap */
.slide {
  flex: 0 0 calc(100% / 3);
  min-width: 0;
  box-sizing: border-box;
  padding-inline: 0.625rem;
}

/* Card = visual box inside the slide */
.testimonio-card {
  height: 100%;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow 0.3s var(--ease-out);
}
@media (hover: hover) {
  .testimonio-card:hover {
    box-shadow: var(--shadow);
  }
}
.testimonio-quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 0.8;
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  pointer-events: none;
  user-select: none;
}
.testimonio-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-500);
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
}
.testimonio-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.testimonio-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  flex-shrink: 0;
}
.testimonio-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-900);
  font-style: normal;
}
.testimonio-role {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.1rem;
}

/* ── SLIDER ARROWS & DOTS ───────────────────────────────────── */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  z-index: 2;
  flex-shrink: 0;
}
.slider-btn-prev { left: 0; }
.slider-btn-next { right: 0; }
@media (hover: hover) {
  .slider-btn:hover {
    background: var(--blue-deep);
    border-color: var(--blue-deep);
    color: var(--white);
    box-shadow: var(--shadow-blue);
    transform: translateY(-50%) scale(1.06);
  }
}
.slider-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  padding: 0;
  transition: background 0.25s, transform 0.25s, width 0.25s;
  cursor: pointer;
}
.slider-dot.is-active {
  background: var(--blue-deep);
  width: 24px;
  border-radius: 4px;
}
@media (hover: hover) {
  .slider-dot:hover { background: var(--blue-petrol); }
}

/* Responsive: 2 slides on tablet, 1 on mobile */
@media (max-width: 900px) {
  .testimonios-slider-wrap { padding-inline: 3rem; }
  .slide { flex: 0 0 50%; }
}
@media (max-width: 600px) {
  .testimonios-slider-wrap { padding-inline: 2.5rem; }
  .slide { flex: 0 0 100%; }
  .slider-btn { width: 36px; height: 36px; }
}

/* ── FORMULARIO DE CONTACTO ─────────────────────────────────── */
.section-form { padding-block: var(--section-py); }

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.form-info { padding-top: 0.5rem; }

.form-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-500);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  max-width: 38ch;
}

/* Form card */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Fila de dos campos */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  letter-spacing: 0.01em;
}

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

.form-label-opt {
  font-weight: 400;
  color: var(--gray-400);
  font-size: 0.75rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder { color: var(--gray-400); }

.form-input:focus {
  border-color: var(--blue-petrol);
  box-shadow: 0 0 0 3px rgba(44, 95, 108, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* Botón submit */
.form-submit {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.form-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  animation: spinForm 0.7s linear infinite;
  flex-shrink: 0;
}

.form-submit.is-loading .form-submit-spinner { display: block; }
.form-submit.is-loading .form-submit-label  { opacity: 0.7; }

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

/* Feedback states */
.form-feedback {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2.25rem 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.form-feedback:not([hidden]) { display: flex; }

.form-success {
  background: rgba(44, 95, 108, 0.06);
  border: 1px solid rgba(44, 95, 108, 0.2);
}

.form-error {
  background: rgba(200, 60, 60, 0.05);
  border: 1px solid rgba(200, 60, 60, 0.2);
}

.form-feedback-icon {
  margin-bottom: 0.25rem;
}

.form-success .form-feedback-icon { color: var(--blue-petrol); }
.form-error  .form-feedback-icon  { color: #c83c3c; }

.form-feedback-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--gray-900);
}

.form-feedback-sub {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 38ch;
}

.form-error .form-feedback-sub a {
  color: var(--blue-petrol);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .form-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-intro   { max-width: none; }
}

@media (max-width: 600px) {
  .form-wrap { padding: 1.75rem 1.25rem; }
  .form-row  { grid-template-columns: 1fr; }
}

/* ── CTA PRINCIPAL ──────────────────────────────────────────── */
.section-cta {
  position: relative;
  background: var(--bg-dark);
  padding-block: 7rem;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 95, 108, 0.5) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  filter: blur(60px);
}
.cta-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 150, 110, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
  filter: blur(60px);
}
.cta-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cta-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  text-wrap: balance;
  max-width: 20ch;
}
.cta-title em {
  font-style: italic;
  color: var(--gold-light);
}
.cta-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 50ch;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  padding-top: 4rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
}
.footer-name em {
  font-style: italic;
  color: var(--gold-light);
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
@media (hover: hover) {
  .footer-link:hover { color: var(--white); }
}
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.75rem;
}
.footer-social-link {
  color: rgba(255,255,255,0.55);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s, transform 0.2s;
}
@media (hover: hover) {
  .footer-social-link:hover {
    color: var(--gold-light);
    transform: translateY(-2px);
  }
}
.footer-bottom { padding-block: 1.5rem; }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .beneficios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .beneficios-grid .beneficio-item:nth-child(4),
  .beneficios-grid .beneficio-item:nth-child(5) {
    grid-column: span 1;
  }
  .beneficios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  :root { --section-py: 56px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
  .nav { height: auto; min-height: var(--nav-h); }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding-block: 4rem;
  }
  .hero-text { max-width: 100%; }
  .hero-sub, .hero-actions { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-diagram { width: min(260px, 70vw); }
  .hero-scroll-hint { display: none; }

  .que-es-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .que-es-stats { flex-wrap: wrap; gap: 1.5rem; }

  .servicios-grid { grid-template-columns: 1fr; max-width: 440px; }

  .susana-grid { grid-template-columns: 1fr; gap: 3rem; }
  .susana-photo { max-width: 340px; margin-inline: auto; }
  .photo-accent { display: none; }

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

  .testimonios-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { flex-direction: row; }
}

@media (max-width: 600px) {
  :root {
    --section-py: 48px;
    --nav-h: 60px;
  }

  .hero-content { padding-block: 3rem; }
  .hero-diagram { width: min(220px, 60vw); }
  .que-es-stats { flex-direction: column; gap: 1.25rem; }
  .beneficios-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .section-cta { padding-block: 5rem; }
}

/* ── Accessibility ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-glow-1, .hero-glow-2 { animation: none; }
  .hero-diagram svg { animation: none; }
  .scroll-line { animation: none; }
}

:focus-visible {
  outline: 2px solid var(--blue-petrol);
  outline-offset: 3px;
  border-radius: 2px;
}
