/* =========================================================
   Dra. Cintia M. Ortenzi · Estudio Jurídico Integral
   ========================================================= */

:root {
  --navy-950: #0a1320;
  --navy-900: #0e1a2b;
  --navy-800: #14243a;
  --navy-700: #1e3352;
  --gold-600: #a8834b;
  --gold-500: #b8935a;
  --gold-300: #d9bf8c;
  --gold-100: #f1e6cf;
  --ivory: #f8f5ef;
  --paper: #fffdf9;
  --ink: #1a2130;
  --muted: #5a6373;
  --line: rgba(14, 26, 43, .12);
  --line-light: rgba(255, 255, 255, .14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, .06), 0 2px 8px rgba(14, 26, 43, .05);
  --shadow-md: 0 10px 30px -10px rgba(14, 26, 43, .25);
  --shadow-lg: 0 30px 60px -20px rgba(14, 26, 43, .35);

  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

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

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.2em;
}
.ico--sm { width: .9em; height: .9em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem;
  font: 600 .98rem/1 var(--sans);
  letter-spacing: .01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .7rem 1.15rem; font-size: .9rem; }
.btn--gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 8px 22px -10px rgba(184, 147, 90, .9); }
.btn--gold:hover { background: var(--gold-300); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { color: var(--navy-900); border-color: rgba(14, 26, 43, .25); }
.btn--ghost:hover { border-color: var(--navy-900); background: rgba(14, 26, 43, .04); }
.btn--outline-light { color: #fff; border-color: var(--line-light); background: transparent; }
.btn--outline-light:hover { border-color: var(--gold-300); color: var(--gold-300); }

/* ---------- Tipografía de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin: 0 0 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--gold-300); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tint { background: var(--paper); border-block: 1px solid var(--line); }
.section--dark {
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(184, 147, 90, .13), transparent 60%),
    var(--navy-900);
  color: #dfe5ee;
}
.section--dark .section__title { color: #fff; }
.section--dark .section__lead { color: #aeb8c7; }

.section__head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head--left .eyebrow { justify-content: flex-start; }

.section__title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -.005em;
  text-wrap: balance;
}
.section__lead { margin-top: 1.1rem; color: var(--muted); font-size: 1.08rem; text-wrap: pretty; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  background: rgba(248, 245, 239, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy-900); }
.brand__logo { height: 52px; width: auto; flex: none; }
.brand__text { display: flex; white-space: nowrap; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.brand__role { margin-top: .3rem; font-size: .66rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.6rem; list-style: none; }
.nav__list a {
  position: relative; text-decoration: none;
  font-size: .93rem; font-weight: 500; color: var(--navy-800);
  padding: .4rem 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(1.25rem, 5vh, 4.5rem)) 0 clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(184, 147, 90, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(30, 51, 82, .07), transparent 60%),
    var(--ivory);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.3rem, min(5.6vw, 8.4vh), 4.6rem);
  line-height: 1.02;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold-600); }
.hero__lead { margin: clamp(.9rem, 2.6vh, 1.6rem) 0 clamp(1.2rem, 3.6vh, 2.2rem); font-size: 1.15rem; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2rem;
  margin-top: clamp(1.4rem, 4vh, 2.6rem); padding-top: clamp(1rem, 3vh, 1.8rem); border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--muted);
}
.hero__facts li { display: inline-flex; align-items: center; gap: .55rem; }
.hero__facts strong { color: var(--navy-900); }
.hero__facts .ico { color: var(--gold-600); }

.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.stars svg { width: 15px; height: 15px; }
.stars--sm svg { width: 12px; height: 12px; }

.hero__media {
  position: relative; isolation: isolate; justify-self: center;
  /* la foto se achica en pantallas bajas para que el botón de WhatsApp quede visible al entrar */
  width: min(440px, 100%, calc((100vh - var(--header-h) - 5rem) * .8));
  width: min(440px, 100%, calc((100svh - var(--header-h) - 5rem) * .8));
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-800);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.92); }
.hero__media::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1.5px solid var(--gold-500);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  z-index: -1;
}
.hero__badge {
  position: absolute; left: -1.5rem; bottom: 2rem;
  display: flex; align-items: center; gap: .85rem;
  padding: .9rem 1.2rem .9rem .9rem;
  background: rgba(14, 26, 43, .94); color: #fff;
  border-radius: 14px; box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}
.hero__badge img { height: 44px; width: auto; flex: none; }
.hero__badge strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: .02em; }
.hero__badge span { font-size: .8rem; color: #aeb8c7; }

/* ---------- Valores ---------- */
.values { background: var(--navy-900); color: #cfd7e3; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { display: flex; gap: 1rem; align-items: baseline; padding: 1.8rem 1.5rem; border-left: 1px solid var(--line-light); }
.value:first-child { border-left: 0; padding-left: 0; }
.value p { margin: 0; font-size: .98rem; }
.value strong { color: #fff; font-weight: 600; }
.value__num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-300); line-height: 1; }

/* ---------- Áreas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.area {
  position: relative;
  padding: 2rem 1.75rem 1.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.area::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.area:hover::after { transform: scaleX(1); }
.area__icon {
  width: 52px; height: 52px; padding: 13px; margin-bottom: 1.3rem;
  border-radius: 12px; background: var(--gold-100); color: var(--gold-600);
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.area h3 { font-family: var(--serif); font-size: 1.55rem; color: var(--navy-900); margin-bottom: .5rem; }
.area p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.about__seal {
  max-width: 460px; margin-inline: auto;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid rgba(217, 191, 140, .35);
  outline: 1px solid rgba(217, 191, 140, .18); outline-offset: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
  border-radius: 4px;
  text-align: center;
}
.about__seal img { width: 100%; height: auto; }

.about__copy .section__title { margin-bottom: 1.6rem; }
.about__copy p { color: #c3ccd9; }
.about__copy strong { color: #fff; font-weight: 600; }
.about__quote {
  margin: 2rem 0;
  padding: .3rem 0 .3rem 1.5rem;
  border-left: 2px solid var(--gold-500);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.35rem, 2.3vw, 1.7rem); line-height: 1.35;
  color: var(--gold-100);
}
.about__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.about__tags li {
  padding: .45rem .95rem; font-size: .85rem; font-weight: 500;
  border: 1px solid var(--line-light); border-radius: 999px; color: #dfe5ee;
}
.tag-pride { position: relative; padding-left: 2.1rem !important; }
.tag-pride::before {
  content: ""; position: absolute; left: .85rem; top: 50%; translate: 0 -50%;
  width: 14px; height: 10px; border-radius: 2px;
  background: linear-gradient(#e40303 0 16.6%, #ff8c00 0 33.3%, #ffed00 0 50%, #008026 0 66.6%, #004dff 0 83.3%, #750787 0);
}

/* ---------- Pasos ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.step { position: relative; padding: 0 .5rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: calc(56px + 1rem); right: -.5rem;
  height: 1px; background: repeating-linear-gradient(90deg, var(--gold-500) 0 6px, transparent 6px 12px);
  opacity: .6;
}
.step__n {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 1.3rem;
  border-radius: 50%; border: 1.5px solid var(--gold-500);
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--navy-900);
  background: var(--ivory);
}
.step h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy-900); margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Formación ---------- */
.edu { display: grid; grid-template-columns: .75fr 1.25fr; gap: 1.5rem; align-items: start; }
.edu__main {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  padding: 2.4rem 2.2rem;
  background: var(--navy-900); color: #c3ccd9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.edu__main::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px;
  border-radius: 50%; border: 1px solid rgba(217, 191, 140, .25);
  box-shadow: 0 0 0 24px rgba(217, 191, 140, .05), 0 0 0 48px rgba(217, 191, 140, .03);
}
.edu__icon { width: 46px; height: 46px; color: var(--gold-300); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.4rem; }
.edu__label { margin: 0 0 .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.edu__main h3 { font-family: var(--serif); font-size: 2.6rem; color: #fff; line-height: 1.05; margin-bottom: .8rem; }
.edu__main p:last-child { margin: 0; font-size: 1.02rem; }

.edu__list { display: grid; gap: .9rem; }
.course {
  display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: start;
  padding: 1.4rem 1.6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}
.course:hover { border-color: rgba(184, 147, 90, .5); box-shadow: var(--shadow-sm); }
.course__date {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600); padding-top: .35rem;
}
.course h3 { font-family: var(--serif); font-size: 1.38rem; line-height: 1.2; color: var(--navy-900); margin-bottom: .35rem; }
.course p { margin: 0; font-size: .93rem; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.chips li {
  padding: .35rem .8rem; font-size: .84rem; font-weight: 500;
  background: var(--gold-100); color: var(--navy-800); border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-wrap .section__head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.faq-wrap .btn { margin-top: 1.8rem; }
.faq { display: grid; gap: .8rem; }
.faq__item {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.faq__item[open] { background: #fff; box-shadow: var(--shadow-sm); border-color: rgba(184, 147, 90, .45); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: center;
  padding: 1.25rem 1.4rem;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.25; color: var(--navy-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__tag {
  grid-column: 1 / -1;
  font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600);
}
.faq__ico {
  grid-row: 2; grid-column: 2;
  width: 32px; height: 32px; padding: 7px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--navy-900);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s;
}
.faq__item[open] .faq__ico { transform: rotate(45deg); background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.faq__body { padding: 0 1.4rem 1.4rem; color: var(--muted); font-size: 1rem; }
.faq__body p:last-child { margin-bottom: 0; }
.faq__body ul { margin: 0 0 1em 1.2rem; }
.faq__body li { margin-bottom: .25rem; }
.faq__body li::marker { color: var(--gold-500); }
.faq__body strong { color: var(--navy-900); }
.faq__body a { color: var(--navy-700); font-weight: 600; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }

/* ---------- Reseñas ---------- */
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.75rem; flex-wrap: wrap; }
.rating {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 1rem 1.4rem; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.rating:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rating__score { font-family: var(--serif); font-size: 3.2rem; font-weight: 600; line-height: 1; color: var(--navy-900); }
.rating__meta { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; color: var(--muted); }
.rating__meta .stars svg { width: 18px; height: 18px; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review {
  position: relative; margin: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
  padding: 2.2rem 2rem 1.8rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.review:nth-child(1) { background: var(--navy-900); border-color: var(--navy-900); }
.review:nth-child(1) blockquote { color: #fff; }
.review:nth-child(1) figcaption strong { color: #fff; }
.review__quote { width: 34px; height: 34px; color: var(--gold-500); }
.review blockquote {
  margin: 0; font-family: var(--serif); font-size: 1.42rem; line-height: 1.38; color: var(--navy-900);
  text-wrap: pretty;
}
.review figcaption { display: flex; align-items: center; gap: .8rem; font-size: .95rem; }
.review figcaption > span:last-child { display: flex; flex-direction: column; gap: .15rem; }
.review figcaption strong { color: var(--navy-900); }
.review__avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-600); font-weight: 700;
}

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; align-items: start; }
.form {
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-light); border-radius: var(--radius-lg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1.1rem; }
.field > span { display: block; margin-bottom: .45rem; font-size: .88rem; font-weight: 600; color: #dfe5ee; }
.field em { font-style: normal; font-weight: 400; color: #8f9bb0; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem;
  font: inherit; font-size: 1rem; color: #fff;
  background: rgba(10, 19, 32, .55);
  border: 1px solid var(--line-light); border-radius: 10px;
  transition: border-color .25s, box-shadow .25s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9bf8c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem; }
.field select option { color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-300); box-shadow: 0 0 0 3px rgba(217, 191, 140, .2);
}
.field .is-invalid { border-color: #e88a7d; }
.form__error { margin: -.2rem 0 1rem; color: #f2a497; font-size: .9rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.form__note { margin: 1.1rem 0 0; font-size: .82rem; color: #8f9bb0; }

.info {
  padding: clamp(1.6rem, 3.5vw, 2.2rem);
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-lg);
}
.info__list { list-style: none; display: grid; gap: 1.2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.info__list li { display: flex; gap: .95rem; align-items: flex-start; }
.info__list .ico {
  width: 40px; height: 40px; padding: 10px; border-radius: 10px;
  background: var(--gold-100); color: var(--gold-600);
}
.info__list span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.info__list a { text-decoration: none; font-weight: 600; color: var(--navy-900); line-height: 1.45; word-break: break-word; }
.info__list a:hover { color: var(--gold-600); }

.hours { padding-top: 1.5rem; }
.hours__head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-weight: 700; color: var(--navy-900); margin-bottom: .9rem; }
.hours__head .ico { color: var(--gold-600); }
.hours__status {
  margin-left: auto; padding: .25rem .7rem; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em;
}
.hours__status:empty { display: none; }
.hours__status.is-open { background: #e3f3e6; color: #1f6b33; }
.hours__status.is-closed { background: #f6e5e2; color: #96392a; }
.hours__table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours__table th { text-align: left; font-weight: 500; color: var(--muted); padding: .42rem 0; }
.hours__table td { text-align: right; color: var(--navy-900); font-weight: 500; padding: .42rem 0; font-variant-numeric: tabular-nums; }
.hours__table tr + tr { border-top: 1px dashed var(--line); }
.hours__table tr.is-today th, .hours__table tr.is-today td { color: var(--gold-600); font-weight: 700; }
.hours__note { margin: .8rem 0 0; font-size: .8rem; color: var(--muted); }

.map {
  position: relative; margin-top: 1.5rem;
  height: 380px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--navy-800);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }
.map__btn { position: absolute; right: 1.2rem; bottom: 1.2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #aeb8c7; padding: 4rem 0 1.5rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-light); }
.footer__logo { display: inline-block; }
.footer__logo img { width: 230px; height: auto; }
.footer__brand p { margin: 1.2rem 0 0; max-width: 30ch; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: .65rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold-300); }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: .6rem; }
.footer__contact .ico { color: var(--gold-300); }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .82rem; color: #7d8899; }
.footer__legal p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::before { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  .header.nav-open { background: var(--ivory); box-shadow: 0 1px 0 var(--line); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.5rem 1.25rem 2rem;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(14, 26, 43, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: .85rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__cta { justify-content: center; }
}

@media (max-width: 960px) {

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; width: min(260px, 60%); }
  .hero__copy { text-align: center; }
  .hero__copy .eyebrow { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__facts { justify-content: center; }
  .hero__badge { left: 50%; translate: -50% 0; bottom: -1.4rem; white-space: nowrap; width: max-content; }
  .hero__media { margin-bottom: 1.5rem; }

  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value { padding: 1.4rem 1.2rem; }
  .value:nth-child(odd) { border-left: 0; padding-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line-light); }

  .areas { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__seal { max-width: 380px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .step:nth-child(2)::after { display: none; }
  .edu, .faq-wrap, .contact { grid-template-columns: 1fr; }
  .edu__main, .faq-wrap .section__head { position: static; }
  .reviews { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand__logo { height: 44px; }
  .brand__name { font-size: 1.15rem; }
  .hero__actions .btn { width: 100%; }
  /* celular: foto chica y botón de WhatsApp antes del texto largo, visible sin hacer scroll */
  .hero__media { width: clamp(110px, 19vh, 150px); margin-bottom: 1.4rem; }
  .hero__media::before { inset: -8px 8px 8px -8px; }
  .hero__badge { display: none; }
  .hero__copy { display: flex; flex-direction: column; }
  .hero__copy .eyebrow { order: 1; margin-bottom: .7rem; }
  .hero__title { order: 2; }
  .hero__actions { order: 3; margin-top: 1.4rem; }
  .hero__lead { order: 4; margin: 1.6rem 0 0; }
  .hero__facts { order: 5; }
  .eyebrow { font-size: .7rem; letter-spacing: .16em; }
  .hero .eyebrow::before { display: none; }
  .hero__facts { gap: .6rem 1.4rem; }
  .areas { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .values__grid { grid-template-columns: 1fr; }
  .value, .value:nth-child(odd) { border-left: 0; padding: 1.1rem 0; }
  .value + .value { border-top: 1px solid var(--line-light); }
  .course { grid-template-columns: 1fr; gap: .4rem; padding: 1.25rem; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__actions .btn { width: 100%; }
  .rating { width: 100%; }
  .map { height: 320px; }
  .map__btn { left: 1rem; right: 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .faq__item summary { font-size: 1.22rem; padding: 1.1rem 1.15rem; }
  .faq__body { padding: 0 1.15rem 1.2rem; }
}
