/* ===================================================================
   ALLIVE Asesoría y Pensión — Landing page
   Paleta de marca (logo): turquesa + coral + dorado
   =================================================================== */

:root {
  /* Brand */
  --teal:        #0F7B8A;
  --teal-dark:   #0A5C68;
  --teal-deep:   #084A54;
  --coral:       #F05A4B;
  --coral-dark:  #D94636;
  --gold:        #D9A441;
  --gold-dark:   #C08F2E;
  --sand:        #EFE0CB;
  --sand-soft:   #FAF4EA;

  /* Neutrals */
  --ink:         #16323A;
  --ink-soft:    #46606A;
  --line:        #E2E1DC;
  --white:       #FFFFFF;
  --surface:     #FFFFFF;
  --surface-alt: #F6F3EC;

  /* Type */
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing / radius / shadow */
  --container: 1180px;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(16, 50, 58, .10);
  --shadow-lg: 0 24px 60px rgba(16, 50, 58, .16);
  --ring:      0 0 0 4px rgba(15, 123, 138, .28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 18px;            /* base grande para público mayor */
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--ink-soft); }

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container--narrow { max-width: 820px; }
.icon { width: 24px; height: 24px; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  background: var(--bg); color: var(--fg);
  padding: 14px 22px; border: 2px solid var(--bg); border-radius: 999px;
  cursor: pointer; min-height: 48px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 22px; height: 22px; }
.btn--primary { --bg: var(--teal); }
.btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn--gold { --bg: var(--gold); --fg: #2c2208; }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--ghost { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn--ghost:hover { background: rgba(15,123,138,.08); }
.btn--lg  { font-size: 1.08rem; padding: 16px 28px; min-height: 56px; }
.btn--sm  { padding: 10px 18px; min-height: 42px; font-size: .95rem; }
.btn--block { width: 100%; }

.link { color: var(--teal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--coral-dark); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral-dark); margin-bottom: .8rem;
}
.eyebrow--center { display: block; text-align: center; }
.eyebrow--light { color: var(--gold); }

.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--alt { background: var(--surface-alt); }
.section--teal { background: var(--teal); }
.section__head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__sub { font-size: 1.1rem; margin-top: .9rem; }
.on-teal { color: #fff; }
.on-teal-sub { color: rgba(255,255,255,.85); }

/* ---------- Brand / logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__gem { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: .22em; color: var(--teal-dark); }
.brand__tag  { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__tag  { color: rgba(255,255,255,.75); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { font-weight: 500; font-size: .98rem; color: var(--ink); white-space: nowrap; }
.nav__links a:not(.btn):hover { color: var(--teal); }
.nav__cta { color: #fff !important; }
.nav__toggle {
  display: none; background: transparent; border: none; color: var(--teal-dark);
  padding: 8px; cursor: pointer; min-width: 48px; min-height: 48px; align-items: center; justify-content: center;
}
.nav__toggle .icon { width: 30px; height: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--sand-soft); overflow: hidden; }
.hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.hero__shapes::before {
  content: ""; position: absolute; top: 0; right: 0; width: 52%; height: 100%;
  background: var(--teal);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__shapes::after {
  content: ""; position: absolute; bottom: 0; right: 0; width: 24%; height: 46%;
  background: var(--coral);
  clip-path: polygon(0 100%, 100% 28%, 100% 100%);
  opacity: .9;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; padding-block: clamp(48px, 7vw, 90px);
}
.hero__content .eyebrow { color: var(--coral-dark); }
.hero h1 { margin-bottom: 1rem; }
.hero .hl { color: var(--teal); }
.hero__lead { font-size: 1.18rem; max-width: 38ch; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.6rem; }
.hero__trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.hero__trust li { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .98rem; color: var(--teal-dark); }
.hero__trust .icon { width: 22px; height: 22px; color: var(--teal); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero__badge {
  position: absolute; bottom: -22px; left: -10px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow);
  max-width: 280px;
}
.hero__badge .icon { width: 30px; height: 30px; color: var(--coral); }
.hero__badge span { font-size: .9rem; color: var(--ink-soft); line-height: 1.35; }
.hero__badge strong { color: var(--ink); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Problem cards ---------- */
.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard__icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: #fdecea; color: var(--coral-dark); margin-bottom: 16px;
}
.pcard__icon .icon { width: 28px; height: 28px; }
.pcard h3 { margin-bottom: .4rem; }
.pcard p { font-size: .98rem; }

.callout {
  margin-top: 40px; display: flex; align-items: center; gap: 14px; justify-content: center;
  text-align: center; background: #fdecea; color: var(--coral-dark);
  border: 1px solid #f6cfca; border-radius: var(--radius); padding: 20px 26px;
  font-size: 1.12rem; font-weight: 500;
}
.callout strong { color: var(--coral-dark); }
.callout .icon { color: var(--coral-dark); flex: none; }

/* ---------- Split (nosotros) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split__content h2 { margin: .4rem 0 1rem; }
.split__content p { font-size: 1.08rem; margin-bottom: 1rem; }
.split__content strong { color: var(--ink); }
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
.stat {
  flex: 1 1 140px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow);
}
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--teal); }
.stat__label { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Service cards ---------- */
.scard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.scard::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--coral)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.scard:hover::before { transform: scaleX(1); }
.scard__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: #e4f1f2; color: var(--teal-dark); margin-bottom: 18px; }
.scard__icon .icon { width: 30px; height: 30px; }
.scard h3 { margin-bottom: .5rem; font-size: 1.28rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; max-width: 860px; margin: 0 auto; display: grid; gap: 18px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 22px 24px;
}
.step__num {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); color: #2c2208; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}
.step h3 { color: #fff; margin-bottom: .25rem; }
.step p { color: rgba(255,255,255,.82); margin: 0; }

/* ---------- Why ---------- */
.why { text-align: center; padding: 26px 18px; }
.why__icon {
  display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(140deg, #e4f1f2, #fdecea); color: var(--teal-dark); margin-bottom: 16px;
}
.why__icon .icon { width: 34px; height: 34px; }
.why h3 { margin-bottom: .4rem; }
.why p { font-size: .95rem; }

/* ---------- Casos (carrusel) ---------- */
.cases { position: relative; max-width: 960px; margin: 0 auto; }
.cases__viewport { overflow: hidden; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; touch-action: pan-y; }
.cases__viewport:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cases__track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.case { flex: 0 0 100%; display: grid; grid-template-columns: 320px 1fr; min-width: 0; }

.case__aside {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff; padding: 38px 32px; display: flex; flex-direction: column;
}
.case__aside::after { content: ""; position: absolute; right: -45px; bottom: -45px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.06); }
.case__quote { font-family: var(--font-head); font-weight: 800; font-size: 5rem; line-height: .7; color: rgba(255,255,255,.22); }
.case__avatar { width: 66px; height: 66px; border-radius: 50%; background: var(--gold); color: #3a2c06; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; margin: 6px 0 16px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.case__name { color: #fff; font-size: 1.35rem; margin-bottom: 12px; }
.case__tag { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.16); padding: 6px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; width: fit-content; }
.case__tag .icon { width: 18px; height: 18px; color: var(--gold); }
.case__headline { color: rgba(255,255,255,.95); font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.35; margin-top: auto; padding-top: 24px; position: relative; z-index: 1; }

.case__body { padding: 36px 38px; }
.case__steps { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 20px; }
.case__steps::before { content: ""; position: absolute; left: 17px; top: 16px; bottom: 30px; width: 2px; background: var(--line); }
.case__step { display: flex; gap: 16px; position: relative; }
.case__dot { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e4f1f2; color: var(--teal-dark); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); z-index: 1; }
.case__dot .icon { width: 18px; height: 18px; }
.case__step h4 { font-family: var(--font-head); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--coral-dark); margin-bottom: 3px; }
.case__step p { margin: 0; font-size: .98rem; color: var(--ink-soft); }
.case__step--result .case__dot { background: var(--teal); color: #fff; box-shadow: 0 0 0 1px var(--teal); }
.case__step--result h4 { color: var(--teal-dark); }
.case__step--result p { color: var(--ink); font-weight: 500; }

.case__lesson { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; background: #fdf4e1; border-left: 4px solid var(--gold); border-radius: 12px; padding: 14px 16px; }
.case__lesson .icon { flex: none; width: 24px; height: 24px; color: var(--gold-dark); margin-top: 2px; }
.case__lesson span { font-size: .96rem; color: var(--ink); }
.case__lesson strong { color: var(--gold-dark); }

.cases__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 26px; }
.cases__btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--teal); background: #fff; color: var(--teal-dark); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.cases__btn:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.cases__btn .icon { width: 24px; height: 24px; }
.cases__btn--prev .icon { transform: rotate(180deg); }
.cases__dots { display: flex; align-items: center; gap: 10px; }
.cases__dot { width: 11px; height: 11px; padding: 0; border: none; border-radius: 999px; background: var(--line); cursor: pointer; transition: background .2s, width .2s; }
.cases__dot[aria-selected="true"] { background: var(--coral); width: 30px; }

@media (max-width: 760px) {
  .case { grid-template-columns: 1fr; }
  .case__aside { padding: 26px 24px; }
  .case__quote { font-size: 3.4rem; }
  .case__name { font-size: 1.25rem; }
  .case__headline { margin-top: 14px; padding-top: 14px; }
  .case__body { padding: 26px 22px; }
}

.disclaimer { text-align: center; font-size: .9rem; color: var(--ink-soft); margin-top: 30px; font-style: italic; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { color: var(--teal); transition: transform .25s; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__body { padding: 0 22px 20px; }
.faq__body p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); color: #fff; padding: clamp(56px, 8vw, 90px) 0; text-align: center; }
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.15rem; margin-bottom: 2rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.req { color: var(--coral-dark); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: var(--ring); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--coral-dark); }
.error { color: var(--coral-dark); font-size: .85rem; min-height: 1em; font-weight: 500; }

/* Teléfono: país + input */
.phone { display: flex; gap: 8px; }
.phone__country {
  flex: 0 0 auto; width: auto; min-width: 96px; font: inherit; font-size: 1rem;
  padding: 13px 8px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); min-height: 48px; cursor: pointer;
}
.phone__country:focus { outline: none; border-color: var(--teal); box-shadow: var(--ring); }
.phone__input { flex: 1 1 auto; min-width: 0; }

.btn__spinner { display: none; animation: spin 0.8s linear infinite; }
.is-loading .btn__label { opacity: .7; }
.is-loading .btn__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__status { grid-column: 1/-1; margin-top: 12px; font-weight: 600; font-size: .98rem; }
.form__status.ok  { color: var(--teal-dark); }
.form__status.err { color: var(--coral-dark); }
.form__alt { margin-top: 12px; font-size: .95rem; color: var(--ink-soft); }

.contact__info h3 { font-size: 1.3rem; margin-bottom: 18px; }
.contact__list { list-style: none; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #e4f1f2; color: var(--teal-dark); }
.contact__list strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--ink); }
.contact__list a { color: var(--teal-dark); font-weight: 500; word-break: break-word; }
.contact__list a:hover { color: var(--coral-dark); text-decoration: underline; }
.contact__social { display: flex; gap: 12px; margin: 22px 0; }
.contact__social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--teal); color: #fff; transition: transform .15s, background .2s; }
.contact__social a:hover { transform: translateY(-2px); background: var(--teal-dark); }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.contact__map iframe { width: 100%; height: 240px; border: 0; display: block; }
.map-facade {
  width: 100%; height: 240px; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #e4f1f2, #f4ece0); color: var(--teal-dark); text-align: center; padding: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
}
.map-facade .icon { width: 38px; height: 38px; color: var(--coral); }
.map-facade__hint { font-family: var(--font-body); font-weight: 500; font-size: .85rem; color: var(--ink-soft); }
.map-facade__link { display: block; text-align: center; padding: 10px; font-size: .9rem; font-weight: 600; color: var(--teal-dark); background: var(--surface-alt); }
.map-facade__link:hover { color: var(--coral-dark); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-deep); color: rgba(255,255,255,.85); padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer__desc { margin-top: 16px; font-size: .95rem; max-width: 34ch; color: rgba(255,255,255,.7); }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a:hover { color: var(--gold); }
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact a { display: flex; align-items: center; gap: 10px; word-break: break-word; }
.footer__contact a:hover { color: var(--gold); }
.footer__contact .icon { color: var(--gold); width: 20px; height: 20px; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; transition: background .2s, transform .15s; }
.footer__social a:hover { background: var(--gold); color: #2c2208; transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0; font-size: .85rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { color: rgba(255,255,255,.6); margin: 0; }
.footer__legal { font-style: italic; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .15s;
}
.wa-float .icon { width: 34px; height: 34px; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }

  /* Navegación: menú hamburguesa antes de que se apriete */
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 8px 22px 22px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s; max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 1.05rem; white-space: normal; }
  .nav__cta { margin-top: 14px; border: none; }
  .nav__links a.nav__cta { border-bottom: none; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__shapes::before { right: 0; width: 100%; height: 52%; clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%); opacity: .12; }
  .hero__shapes::after { display: none; }
  .hero__media { order: -1; }
  .hero__lead { max-width: none; }

  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .grid--2, .grid--3, .grid--5 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__badge { position: static; margin: 16px auto 0; max-width: none; }
  .why { padding: 18px 12px; }
}
@media (max-width: 420px) {
  .container { padding-inline: 16px; }
  .btn { width: 100%; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
