/* =========================================================
   OGAS MISAEL · ESTUDIO JURÍDICO
   Dark editorial + gold — sistema de diseño
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --bg:            #0A0F1A;
  --bg-2:          #0E1726;
  --surface:       #131D2E;
  --surface-2:     #16213A;
  --line:          rgba(200, 162, 75, 0.14);
  --line-soft:     rgba(255, 255, 255, 0.07);

  --gold-deep:     #A07E2E;   /* bronce: números grandes */
  --gold:          #C8A24B;   /* base */
  --gold-light:    #D6B976;   /* champagne: hairlines */
  --gold-bright:   #E0BE6E;   /* hover/realce */
  --gold-soft:     rgba(200, 162, 75, 0.12);
  --gold-grad:     linear-gradient(120deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));

  --text:          #EEF1F6;
  --text-soft:     #C2CAD6;
  --muted:         #8C97A8;

  /* Type */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius:   18px;
  --radius-sm: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 18px 50px -18px rgba(200, 162, 75, 0.45);
  /* Elevación sutil de tarjetas en reposo (sin hover) */
  --card-rest: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 14px 34px -26px rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--bg); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--gold);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 200;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --btn-bg: var(--gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1305;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -16px rgba(200, 162, 75, 0.6); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 0 var(--gold-soft);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }

.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn--sm { padding: 11px 20px; font-size: 0.88rem; }
.btn--block { width: 100%; }

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
              box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 11px 0;
  background: rgba(10, 15, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--gold-bright);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.18rem; letter-spacing: 0.01em; }
.brand__sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-weight: 500;
}

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  font-size: 0.94rem;
  white-space: nowrap;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 8px;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--gold-bright); }

@media (max-width: 1024px) {
  .nav, .header__cta { display: none; }
}

/* Nav toggle (hamburger) */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 15, 26, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 100px 32px 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-menu__link:hover { color: var(--gold-bright); padding-left: 10px; }
.mobile-menu__cta { margin-top: 28px; }

/* =========================================================
   Section primitives
   ========================================================= */
.section { padding: clamp(72px, 11vw, 130px) 0; }

.section__head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__intro { margin-inline: auto; }

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gold);
  margin-bottom: 18px;
}
.section__eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
}
.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.section__intro {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.07rem;
  max-width: 60ch;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(200, 162, 75, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 70%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 14s ease-in-out infinite;
}
.hero__glow--1 {
  width: 520px; height: 520px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(200, 162, 75, 0.4), transparent 65%);
}
.hero__glow--2 {
  width: 460px; height: 460px;
  bottom: -180px; left: -140px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.45), transparent 65%);
  animation-delay: -6s;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 30%, transparent 75%);
}

.hero__inner { position: relative; z-index: 1; max-width: 880px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  padding: 9px 18px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 29, 46, 0.5);
  margin-bottom: 30px;
}
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(200, 162, 75, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.9rem, 8vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero__title-accent {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 60%, #a07e2e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 28px;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 60ch;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__badges {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.hero__badge {
  background: rgba(14, 23, 38, 0.7);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.4s var(--ease);
}
.hero__badge:hover { background: rgba(19, 29, 46, 0.95); }
.hero__badge strong {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--gold-bright);
}
.hero__badge span { font-size: 0.84rem; color: var(--muted); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.hero__scroll-line {
  width: 3px;
  height: 9px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@media (max-width: 720px) {
  .hero__badges { grid-template-columns: repeat(2, 1fr); }
  .hero__scroll { display: none; }
}

/* =========================================================
   Stats
   ========================================================= */
.stats {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(48px, 7vw, 72px) 0;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(clamp(20px, 4vw, 40px) / -2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 54px;
  background: var(--line-soft);
}
.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  color: var(--gold-bright);
  letter-spacing: -0.02em;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .stat:nth-child(2)::after { display: none; }
}

/* =========================================================
   Áreas
   ========================================================= */
.areas { background: var(--bg); }
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 30px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 0% 0%, var(--gold-soft), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.area-card > * { position: relative; z-index: 1; }
.area-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.area-card:hover::before { opacity: 1; }

.area-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gold-soft);
  border: 1px solid var(--line);
  color: var(--gold-bright);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.area-card__icon svg { width: 26px; height: 26px; }
.area-card:hover .area-card__icon { transform: translateY(-2px) scale(1.06); background: rgba(200, 162, 75, 0.2); }

.area-card__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.area-card__text { color: var(--text-soft); font-size: 0.98rem; flex-grow: 1; }
.area-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 4px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.area-card__more svg { width: 16px; height: 16px; }
.area-card:hover .area-card__more { opacity: 1; transform: translateX(0); }

.area-card--cta {
  background: linear-gradient(160deg, rgba(200, 162, 75, 0.16), rgba(19, 29, 46, 0.9));
  border-color: var(--line);
  justify-content: center;
}
.area-card--cta .area-card__title { color: var(--gold-bright); }
.area-card--cta .btn { margin-top: 8px; align-self: flex-start; }

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

/* =========================================================
   About
   ========================================================= */
.about { background: var(--bg-2); overflow-x: clip; }
.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about__media { position: relative; }
.about__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(200, 162, 75, 0.18), transparent 60%),
    linear-gradient(165deg, var(--surface-2), var(--bg));
  border: 1px solid var(--line);
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__monogram {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.about__portrait-note {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.about__badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1305;
  border-radius: 14px;
  box-shadow: var(--shadow-gold);
}
.about__badge-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; line-height: 1; }
.about__badge-text { font-size: 0.8rem; font-weight: 600; line-height: 1.25; }

.about__role {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 6px;
}
.about__text { margin-top: 22px; color: var(--text-soft); font-size: 1.07rem; }

.about__values { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.about__value { display: flex; gap: 16px; align-items: flex-start; }
.about__value-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1px solid var(--line);
  color: var(--gold-bright);
}
.about__value-icon svg { width: 20px; height: 20px; }
.about__value strong { display: block; font-size: 1.05rem; }
.about__value span { color: var(--muted); font-size: 0.95rem; }

.about__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 360px; }
  .about__badge { right: 0; }
}

/* =========================================================
   Process
   ========================================================= */
.process { background: var(--bg); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 30px 26px 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.process__step::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -10px;
  width: 20px;
  height: 1px;
  background: var(--line);
}
.process__step:last-child::after { display: none; }
.process__step:hover { transform: translateY(-5px); border-color: var(--line); }
.process__num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.55;
  letter-spacing: 0.02em;
}
.process__title { font-family: var(--font-serif); font-size: 1.22rem; font-weight: 600; margin-top: 10px; }
.process__text { margin-top: 10px; color: var(--text-soft); font-size: 0.96rem; }

.process__note {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 1rem;
}
.process__note svg { width: 24px; height: 24px; color: var(--gold-bright); flex-shrink: 0; }
.process__note strong { color: var(--gold-bright); }

@media (max-width: 880px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(2)::after { display: none; }
}
@media (max-width: 520px) {
  .process__steps { grid-template-columns: 1fr; }
  .process__step::after { display: none; }
}

/* =========================================================
   Perks
   ========================================================= */
.perks { background: var(--bg-2); }
.perks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.perk {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.perk:hover { transform: translateY(-5px); border-color: var(--line); }
.perk__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid var(--line);
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.perk__icon svg { width: 24px; height: 24px; }
.perk__title { font-family: var(--font-serif); font-size: 1.12rem; font-weight: 600; }
.perk__text { margin-top: 8px; color: var(--text-soft); font-size: 0.94rem; }

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

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--bg); overflow-x: clip; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.contact__methods { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.contact__method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
a.contact__method:hover { transform: translateX(4px); border-color: var(--line); }
.contact__method-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--gold-soft);
  color: var(--gold-bright);
  flex-shrink: 0;
}
.contact__method-icon svg { width: 22px; height: 22px; }
.contact__method-body { display: flex; flex-direction: column; }
.contact__method-body strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; }
.contact__method-body span { font-size: 1.05rem; color: var(--text); }

.contact__socials { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact__social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact__social svg { width: 18px; height: 18px; }
.contact__social:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* Form */
.contact__form {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact__form-title { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; }
.contact__form-sub { color: var(--muted); margin-top: 6px; margin-bottom: 24px; font-size: 0.95rem; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(10, 15, 26, 0.6);
  border: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 0.98rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #5f6b7c; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(10, 15, 26, 0.9);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C8A24B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field select option { background: var(--bg-2); color: var(--text); }

.contact__form-legal { margin-top: 14px; font-size: 0.8rem; color: var(--muted); text-align: center; }

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

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 80px);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 56px);
  padding-bottom: 48px;
}
.brand--footer { margin-bottom: 18px; }
.footer__tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--gold-bright); }
.footer__mat { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 11px; }
.footer__nav-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.footer__nav a, .footer__contact a, .footer__contact span {
  color: var(--text-soft);
  font-size: 0.96rem;
  transition: color 0.3s var(--ease);
  width: fit-content;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--gold-bright); }
.footer__socials { display: flex; gap: 16px; margin-top: 6px; }
.footer__socials a { color: var(--gold); font-size: 0.9rem; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.86rem;
}
.footer__credit { font-style: italic; }

@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* =========================================================
   Floating WhatsApp
   ========================================================= */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4b);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transform: translateY(20px) scale(0.8);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float.is-visible { transform: translateY(0) scale(1); opacity: 1; }
.wa-float:hover { box-shadow: 0 16px 38px -8px rgba(37, 211, 102, 0.8); transform: translateY(-3px) scale(1.05); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: pulse-ring 2.4s ease-out infinite;
}

/* =========================================================
   Testimonios
   ========================================================= */
.testimonials { background: var(--bg); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial { display: flex; }
.testimonial__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.testimonial__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 100% 0%, var(--gold-soft), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.testimonial__inner > * { position: relative; z-index: 1; }
.testimonial:hover .testimonial__inner {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.testimonial:hover .testimonial__inner::before { opacity: 1; }

.testimonial__quote-mark {
  position: absolute;
  top: 8px;
  right: 22px;
  font-family: var(--font-serif);
  font-size: 5.5rem;
  line-height: 1;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
}

.testimonial__stars { display: inline-flex; gap: 3px; color: var(--gold-bright); }
.testimonial__stars svg { width: 17px; height: 17px; }
.testimonial__star--empty { color: var(--gold); opacity: 0.4; }

.testimonial__text {
  flex-grow: 1;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.62;
  font-style: normal;
}

.testimonial__person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.testimonial__avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.testimonial__id { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial__name { font-size: 1.02rem; font-weight: 600; color: var(--text); }
.testimonial__area {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 500;
}

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

/* =========================================================
   FAQ (acordeón)
   ========================================================= */
.faq { background: var(--bg-2); }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
}

.faq__item {
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.faq__item:hover { border-color: var(--line); }
.faq__item.is-open {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.faq__heading { margin: 0; font: inherit; font-weight: inherit; }

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(22px, 4vw, 30px);
  text-align: left;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.faq__trigger:hover { color: var(--gold-bright); }
.faq__trigger:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: -2px;
  border-radius: var(--radius);
}

.faq__question {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.faq__item.is-open .faq__question { color: var(--gold-bright); }

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-bright);
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__trigger:hover .faq__icon,
.faq__item.is-open .faq__icon { background: rgba(200, 162, 75, 0.2); }
.faq__item.is-open .faq__icon { transform: rotate(135deg); }
.faq__item.is-open .faq__icon::after { opacity: 0; }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__answer {
  overflow: hidden;
  min-height: 0;
}
.faq__answer p {
  padding: 0 clamp(22px, 4vw, 30px) 26px;
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 64ch;
}
.faq__answer strong { color: var(--gold-bright); }

.faq__cta {
  margin-top: clamp(28px, 4vw, 40px);
  max-width: 860px;
  color: var(--muted);
  font-size: 1rem;
}
.faq__cta-link {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq__cta-link:hover { color: var(--gold-bright); border-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .faq__panel,
  .faq__icon,
  .faq__icon::before,
  .faq__icon::after { transition: none; }
}

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Variantes direccionales del reveal (coreografía) */
.reveal[data-reveal="left"]  { transform: translateX(-32px); }
.reveal[data-reveal="right"] { transform: translateX(32px); }
.reveal[data-reveal="scale"] { transform: scale(0.96) translateY(18px); }
.reveal[data-reveal="left"].is-visible,
.reveal[data-reveal="right"].is-visible,
.reveal[data-reveal="scale"].is-visible { transform: none; }

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 162, 75, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(200, 162, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 162, 75, 0); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* =========================================================
   Logo subido (reemplaza el monograma "O")
   ========================================================= */
.brand__logo { width: 100%; height: 100%; object-fit: contain; padding: 5px; }

/* =========================================================
   Reels (embeds de Instagram)
   ========================================================= */
.reels { background: var(--bg); }
.reels__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.reel-card {
  width: 326px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reel-card__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  text-align: center;
  color: var(--gold-bright);
  letter-spacing: -0.01em;
}
/* Estado previo / fallback sin JS del embed */
.reel-card .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.reel-card .instagram-media > a {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 24px;
  text-align: center;
  font-weight: 600;
  color: var(--gold);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
}
.reels__cta { margin-top: clamp(34px, 5vw, 48px); text-align: center; }

/* =========================================================
   Hero · canvas de partículas (polvo dorado / constelación)
   ========================================================= */
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(125% 100% at 76% 8%, #000 0%, rgba(0,0,0,0.55) 46%, transparent 84%);
          mask-image: radial-gradient(125% 100% at 76% 8%, #000 0%, rgba(0,0,0,0.55) 46%, transparent 84%);
}
.hero__particles.is-on { opacity: 1; }
@media (max-width: 760px) { .hero__particles { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero__particles { display: none !important; } }

/* =========================================================
   Barra de progreso de lectura
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  box-shadow: 0 0 12px -2px rgba(200, 162, 75, 0.6);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }

/* =========================================================
   Botones dorados · brillo (sheen) al hover
   ========================================================= */
.btn--gold { overflow: hidden; }
.btn--gold > * { position: relative; z-index: 1; }
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn--gold:hover::after { animation: btnSheen 0.85s var(--ease); }
@keyframes btnSheen { from { left: -130%; } to { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn--gold::after { display: none; } }

/* =========================================================
   Tarjetas · tilt 3D sutil + brillo que sigue al cursor
   ========================================================= */
.areas__grid, .testimonials__grid { perspective: 1100px; }
.area-card, .testimonial__inner { --mx: 50%; --my: 50%; transform-style: preserve-3d; }
.area-card::after, .testimonial__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(224, 190, 110, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.area-card:hover::after, .testimonial:hover .testimonial__inner::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .area-card, .testimonial__inner { transform: none !important; }
}

/* =========================================================
   Testimonios · pop-in escalonado de estrellas al revelarse
   ========================================================= */
.testimonial__stars svg {
  opacity: 0;
  transform: scale(0.4) rotate(-12deg);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.testimonial.is-visible .testimonial__stars svg { opacity: 1; transform: none; }
.testimonial.is-visible .testimonial__stars svg:nth-child(1) { transition-delay: 0.10s; }
.testimonial.is-visible .testimonial__stars svg:nth-child(2) { transition-delay: 0.18s; }
.testimonial.is-visible .testimonial__stars svg:nth-child(3) { transition-delay: 0.26s; }
.testimonial.is-visible .testimonial__stars svg:nth-child(4) { transition-delay: 0.34s; }
.testimonial.is-visible .testimonial__stars svg:nth-child(5) { transition-delay: 0.42s; }
@media (prefers-reduced-motion: reduce) {
  .testimonial__stars svg { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Links · subrayado animado refinado
   ========================================================= */
.nav__link::after { transform-origin: center; }
.nav__link.is-active::after { transform-origin: left; }
.link-underline { position: relative; }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .nav__link::after, .link-underline::after { transition: none; }
}

/* =========================================================
   WhatsApp flotante · etiqueta y respiración sutil
   ========================================================= */
.wa-float::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  pointer-events: none;
}
.wa-float:hover::before { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.wa-float.is-visible { animation: waBreath 4.5s ease-in-out 1.5s infinite; }
@keyframes waBreath {
  0%, 92%, 100% { transform: translateY(0) scale(1); }
  96% { transform: translateY(-2px) scale(1.06); }
}
@media (max-width: 600px) { .wa-float::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .wa-float.is-visible { animation: none; }
  .wa-float::before { transition: none; }
}

/* =========================================================
   Ajustes responsive (auditoría multi-breakpoint)
   ========================================================= */
/* Hero en viewports bajos / mobile landscape */
@media (max-height: 600px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 104px 0 56px; }
  .hero__badges { margin-top: 28px; }
  .hero__scroll { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 116px 0 64px; }
}
/* Badges del hero: tipografía que escala en mobile chico */
.hero__badge strong { font-size: clamp(1.12rem, 4.5vw, 1.32rem); }
@media (max-width: 420px) {
  .hero__badge { padding: 16px 14px; }
}
/* Anclas: scroll-padding acorde a la altura real del header */
@media (max-width: 600px) {
  html { scroll-padding-top: 74px; }
}
/* Badge flotante del about no sobresale en tablet */
@media (max-width: 1024px) {
  .about__badge { right: 0; bottom: 16px; }
}
/* Targets táctiles ≥44px en mobile */
@media (max-width: 760px) {
  .footer__nav a, .footer__contact a {
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .contact__social { min-height: 44px; }
  .area-card--cta .btn,
  .btn--sm { min-height: 44px; }
}
/* Comilla decorativa del testimonio no se pega al texto en mobile */
@media (max-width: 600px) {
  .testimonial__quote-mark { font-size: 4rem; right: 16px; top: 4px; }
}
/* Inputs ≥16px en mobile para evitar auto-zoom de iOS */
@media (max-width: 600px) {
  .field input, .field select, .field textarea { font-size: 16px; }
}

/* =========================================================
   PULIDO PROFESIONAL
   ========================================================= */

/* --- Grano global: mata el banding del navy, da textura premium --- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Costuras entre secciones: divisores con degradé que no llega a los bordes --- */
.stats { border-top: none; border-bottom: none; position: relative; }
.stats::before, .stats::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.stats::before { top: 0; }
.stats::after { bottom: 0; }

/* --- Tarjetas con definición en reposo (no sólo en hover) --- */
.area-card, .perk, .process__step, .testimonial__inner, .faq__item {
  box-shadow: var(--card-rest);
}

/* --- Stats: número con oro real + sufijo más chico --- */
.stat__num {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__suffix { font-size: 0.55em; font-weight: 500; }
.stat__num.is-counted { animation: countGlow 0.9s var(--ease); }
@keyframes countGlow { 40% { filter: drop-shadow(0 0 14px rgba(224, 190, 110, 0.45)); } }

/* --- Grilla de Áreas: la tarjeta ancha ocupa 2 columnas (cierra la fila) --- */
@media (min-width: 921px) {
  .area-card--wide { grid-column: span 2; }
}

/* --- Jerarquía tipográfica: H1 más robusto, mayor salto vs H2 --- */
.hero__title { font-weight: 460; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.7rem); }

/* --- Cascada de entrada del hero (auto, sin JS, reduced-motion safe) --- */
.hero__eyebrow, .hero__title, .hero__lead, .hero__actions, .hero__badges {
  opacity: 0;
  animation: heroIn 0.9s var(--ease) forwards;
}
.hero__eyebrow { animation-delay: 0.10s; }
.hero__title  { animation-delay: 0.22s; }
.hero__lead   { animation-delay: 0.38s; }
.hero__actions{ animation-delay: 0.52s; }
.hero__badges { animation-delay: 0.66s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Sheen del acento "con criterio" (una pasada) */
.hero__title-accent { background-size: 220% 100%; animation: accentSheen 1.7s var(--ease) 0.7s both; }
@keyframes accentSheen { from { background-position: 130% 0; } to { background-position: 0 0; } }

/* --- FAQ: contenido entra con fade + icono con micro-overshoot --- */
.faq__answer p { opacity: 0; transform: translateY(-6px); transition: opacity 0.35s var(--ease) 0.05s, transform 0.35s var(--ease) 0.05s; }
.faq__item.is-open .faq__answer p { opacity: 1; transform: none; }
.faq__icon { transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.5s var(--ease); }

/* --- Proceso: trazado de los conectores al revelarse --- */
.process__step::after { transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease) 0.15s; }
.process__step.is-visible::after { transform: scaleX(1); }

/* --- Barra de acción fija en mobile (Llamar + WhatsApp) --- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 85;
  display: none;
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  font-weight: 600;
  font-size: 0.96rem;
}
.mobile-cta a svg { width: 19px; height: 19px; }
.mobile-cta .call { color: var(--text); }
.mobile-cta .call:active { background: rgba(255, 255, 255, 0.05); }
.mobile-cta .wa { background: linear-gradient(135deg, #25d366, #128c4b); color: #fff; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  .wa-float { display: none; }
  body { padding-bottom: 58px; }
}

/* --- Reels: shimmer mientras carga el embed (reserva altura) --- */
.reel-card .instagram-media { position: relative; }
.reel-card .instagram-media:not(.instagram-media-rendered)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.06) 50%, transparent 75%);
  transform: translateX(-100%);
  animation: shimmer 1.6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* --- Foco visible propio + targets táctiles --- */
.nav-toggle:focus-visible, .wa-float:focus-visible, .mobile-cta a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
@media (hover: none) {
  .nav__link, .mobile-menu__link { min-height: 44px; display: flex; align-items: center; }
}

/* --- Form: mensaje de estado accesible --- */
.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
  color: var(--muted);
}
.form-status.is-error { color: #e0907f; }
.form-status.is-ok { color: #8fe0ad; }

/* --- Footer: disclaimer legal + enlaces --- */
.footer__disclaimer { padding-bottom: 16px; }
.footer__disclaimer p {
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 88ch;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  margin: 0;
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: var(--text-soft); font-size: 0.86rem; transition: color 0.3s var(--ease); }
.footer__legal a:hover { color: var(--gold-bright); }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__eyebrow, .hero__title, .hero__lead, .hero__actions, .hero__badges { opacity: 1; animation: none; }
  .process__step::after { transform: scaleX(1); }
  .faq__answer p { opacity: 1; transform: none; }
  .reel-card .instagram-media::after { display: none; }
}
