/* =========================================================
   UNPLANMEJOR.CL — Landing premium Carlos Vera / Consalud
   Frontend puro: HTML5 + CSS3 + Vanilla JS
   ========================================================= */

/* 1. VARIABLES */
:root {
  --primary: #15966f;
  --primary-dark: #0b6f57;
  --primary-deep: #083d34;
  --primary-light: #dff6ee;
  --primary-soft: #eefaf6;
  --secondary: #113f43;
  --secondary-2: #0a2e33;

  --text: #183534;
  --text-strong: #0c2525;
  --text-soft: #647575;
  --text-on-dark: #f5fffb;

  --background: #f6faf8;
  --surface: #ffffff;
  --surface-alt: #f1f7f4;
  --border: rgba(15, 78, 66, .12);
  --border-strong: rgba(21, 150, 111, .28);

  --shadow-sm: 0 10px 30px rgba(8, 61, 52, .06);
  --shadow-md: 0 18px 50px rgba(8, 61, 52, .10);
  --shadow-lg: 0 28px 90px rgba(8, 61, 52, .14);
  --shadow-xl: 0 35px 110px rgba(4, 42, 36, .22);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --space-xs: .5rem;
  --space-sm: .75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --container: 1240px;
  --header-h: 82px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-standard: cubic-bezier(.2, .7, .2, 1);
}

/* 2. RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--background);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

[hidden] {
  display: none !important;
}

/* 3. BASE */
body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--primary);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--secondary-2);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
  position: relative;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.icon svg,
.icon-sm svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #dff8ed;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(21, 150, 111, .12);
}

.eyebrow.light .eyebrow-dot {
  background: #7fe1bc;
  box-shadow: 0 0 0 6px rgba(127, 225, 188, .12);
}

/* 4. TYPOGRAPHY */
h1,
h2,
h3,
.brand strong {
  color: var(--text-strong);
  font-family: "Manrope", "Inter", sans-serif;
  letter-spacing: -.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: .98;
  font-weight: 800;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 3.5vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 750;
}

p {
  margin-bottom: 0;
}

.section-lead {
  max-width: 680px;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.78;
}

.text-highlight {
  color: #7fe1bc;
}

/* 5. LAYOUT / SHARED */
.section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading p,
.faq-intro > p {
  color: var(--text-soft);
  font-size: 1.06rem;
}

.section-heading.align-left {
  max-width: 710px;
  margin-inline: 0;
  text-align: left;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: center;
}

/* 6. HEADER */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  background: linear-gradient(180deg, rgba(3, 34, 31, .72), rgba(3, 34, 31, .18));
  border-bottom: 1px solid transparent;
  transition:
    background .35s var(--ease-standard),
    box-shadow .35s var(--ease-standard),
    border-color .35s var(--ease-standard),
    backdrop-filter .35s var(--ease-standard);
}

.site-header.scrolled {
  color: var(--text);
  background: rgba(255, 255, 255, .9);
  border-color: rgba(16, 73, 63, .09);
  box-shadow: 0 8px 30px rgba(11, 48, 41, .08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-shell {
  width: 168px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 7px 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 26px rgba(3,32,29,.10);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s ease;
}

.brand:hover .brand-logo-shell {
  transform: translateY(-1px);
  box-shadow: 0 11px 30px rgba(3,32,29,.15);
}

.site-header.scrolled .brand-logo-shell {
  border-color: rgba(12,86,72,.10);
  box-shadow: 0 6px 20px rgba(8,61,52,.07);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 34px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: .18;
}

.brand-copy {
  display: grid;
  gap: 2px;
  white-space: nowrap;
}

.brand-copy strong {
  color: currentColor;
  font-size: .97rem;
  line-height: 1.15;
}

.brand-copy span {
  color: currentColor;
  opacity: .72;
  font-size: .7rem;
  line-height: 1.2;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav a,
.footer-col a,
.dev-credit {
  position: relative;
}

.desktop-nav a {
  color: currentColor;
  font-size: .88rem;
  font-weight: 600;
  opacity: .86;
}

.desktop-nav a::after,
.footer-col a::after,
.dev-credit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--ease-out);
}

.desktop-nav a:hover::after,
.footer-col a:hover::after,
.dev-credit:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: currentColor;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: .85;
}

.header-phone:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  color: currentColor;
  background: rgba(255,255,255,.08);
}

.site-header.scrolled .menu-toggle {
  border-color: var(--border);
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: .28s var(--ease-out);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  z-index: 1100;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(3, 24, 22, .5);
  backdrop-filter: blur(4px);
  transition: .32s var(--ease-out);
}

.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 10px;
  right: 10px;
  bottom: 10px;
  width: min(390px, calc(100% - 20px));
  display: flex;
  flex-direction: column;
  padding: 26px;
  visibility: hidden;
  opacity: 0;
  transform: translateX(24px) scale(.98);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(63, 186, 145, .2), transparent 38%),
    linear-gradient(160deg, #0a4338, #072c2f 68%);
  box-shadow: var(--shadow-xl);
  transition: .34s var(--ease-out);
}

body.menu-open .mobile-menu-overlay,
body.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
}

body.menu-open .mobile-menu {
  transform: translateX(0) scale(1);
}

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.mobile-menu-head > div {
  display: grid;
  gap: 3px;
}

.mobile-menu-head strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
}

.mobile-menu-head span {
  color: rgba(255,255,255,.7);
  font-size: .78rem;
}

.menu-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 13px;
  color: #fff;
  background: rgba(255,255,255,.06);
}

.menu-close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
  margin: 30px 0;
}

.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.mobile-menu-contact {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.mobile-menu-contact > a:not(.btn) {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.84);
}

/* 7. HERO */
.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(106deg, rgba(4, 43, 38, .97) 0%, rgba(5, 61, 51, .92) 36%, rgba(6, 68, 54, .60) 58%, rgba(4, 34, 32, .18) 100%),
    url("../img/hero-family.webp") center center / cover no-repeat;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 34, 31, .15), transparent 35%, rgba(16, 105, 80, .08)),
    radial-gradient(circle at 74% 42%, rgba(87, 207, 158, .16), transparent 33%);
  pointer-events: none;
}

.hero-grid-overlay,
.premium-cta-grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, black, transparent 72%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-a {
  top: 20%;
  right: 18%;
  width: 310px;
  height: 310px;
  background: radial-gradient(circle, rgba(88, 220, 167, .14), rgba(88, 220, 167, 0) 68%);
}

.hero-orb-b {
  bottom: -160px;
  left: 28%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(12, 102, 86, .28), rgba(12, 102, 86, 0) 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 1320px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(56px, 6vw, 92px);
  align-items: start;
  padding-top: calc(var(--header-h) + 52px);
  padding-bottom: 72px;
}

.hero-content {
  max-width: 650px;
}

.hero-content h1 {
  color: #fff;
  text-wrap: balance;
}

.hero-lead {
  max-width: 620px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.08rem, 1.5vw, 1.23rem);
  line-height: 1.72;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 24px;
  margin-top: 28px;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: .94rem;
  font-weight: 600;
}

.check-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
  border: 1px solid rgba(148, 236, 201, .3);
  border-radius: 7px;
  color: #9bf0ce;
  background: rgba(127, 225, 188, .12);
}

.check-icon svg,
.mini-check svg,
.consent-box svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.hero-trust {
  color: rgba(255,255,255,.72);
  font-size: .84rem;
  font-weight: 600;
}

.hero-trust span {
  margin-inline: 5px;
  color: #8ce8c5;
}

.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(3, 39, 34, .18));
}

/* 8. BUTTONS */
.btn {
  --btn-bg: transparent;
  --btn-color: var(--text);
  --btn-border: transparent;
  position: relative;
  isolation: isolate;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 12px 19px;
  border: 1px solid var(--btn-border);
  border-radius: 13px;
  color: var(--btn-color);
  background: var(--btn-bg);
  font-family: "Inter", sans-serif;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  transition:
    transform .22s var(--ease-out),
    box-shadow .22s var(--ease-out),
    border-color .22s var(--ease-out),
    background .22s var(--ease-out),
    color .22s var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80%;
  left: -35%;
  width: 28%;
  height: 260%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: rotate(18deg) translateX(-180%);
  transition: transform .65s var(--ease-out);
}

.btn:hover::before {
  transform: rotate(18deg) translateX(520%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary {
  --btn-bg: var(--primary);
  --btn-color: #fff;
  box-shadow: 0 12px 30px rgba(21, 150, 111, .24);
}

.btn-primary:hover {
  --btn-bg: #118665;
  box-shadow: 0 16px 36px rgba(21, 150, 111, .32);
}

.btn-secondary {
  --btn-bg: #fff;
  --btn-color: var(--primary-dark);
  --btn-border: rgba(21, 150, 111, .22);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  --btn-bg: var(--primary-soft);
  --btn-border: rgba(21, 150, 111, .35);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  --btn-color: var(--primary-dark);
  --btn-border: rgba(21, 150, 111, .25);
}

.btn-whatsapp {
  --btn-bg: #1ea86f;
  --btn-color: #fff;
  box-shadow: 0 12px 30px rgba(13, 128, 83, .22);
}

.btn-whatsapp:hover {
  --btn-bg: #168e5e;
  box-shadow: 0 16px 36px rgba(13, 128, 83, .3);
}


/* WhatsApp principal del hero: orgánico, compacto y con iconografía correcta. */
.hero-whatsapp-btn {
  min-height: 64px;
  justify-content: flex-start;
  gap: 12px;
  padding: 8px 15px 8px 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px 28px 20px 28px;
  background:
    radial-gradient(circle at 12% -30%, rgba(255,255,255,.18), transparent 44%),
    linear-gradient(135deg, #1bb47b 0%, #119969 58%, #0b825d 100%);
  box-shadow: 0 18px 42px rgba(5,78,55,.28), inset 0 1px 0 rgba(255,255,255,.12);
  overflow: visible;
}

.hero-whatsapp-btn::before {
  content: none;
}

.hero-whatsapp-btn:hover {
  background:
    radial-gradient(circle at 18% -20%, rgba(255,255,255,.22), transparent 46%),
    linear-gradient(135deg, #20bd83 0%, #119e6c 58%, #087957 100%);
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(5,78,55,.34), inset 0 1px 0 rgba(255,255,255,.16);
}

.hero-wa-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px 20px 16px 20px;
  color: #108b62;
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 20px rgba(5,68,49,.16);
  transition: transform .28s var(--ease-out);
}

.hero-whatsapp-btn:hover .hero-wa-icon {
  transform: rotate(-2deg) scale(1.035);
}

.hero-wa-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-wa-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.hero-wa-copy strong {
  color: #fff;
  font-size: .92rem;
  line-height: 1.15;
}

.hero-wa-copy small {
  color: rgba(255,255,255,.72);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.15;
}

.hero-wa-arrow {
  width: 17px;
  height: 17px;
  margin-left: 2px;
  fill: none;
  stroke: rgba(255,255,255,.88);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease-out);
}

.hero-whatsapp-btn:hover .hero-wa-arrow {
  transform: translateX(4px);
}

.btn-light {
  --btn-bg: #fff;
  --btn-color: #0b4338;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}

.btn-outline-light {
  --btn-color: #fff;
  --btn-border: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  --btn-border: rgba(255,255,255,.55);
}

.btn-lg {
  min-height: 54px;
  padding: 15px 22px;
  border-radius: 15px;
  font-size: .96rem;
}

.btn-header {
  min-height: 44px;
  padding-inline: 16px;
}

/* 9. FORMS */
.hero-form-wrap {
  justify-self: end;
  width: 100%;
  max-width: 510px;
}

.form-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 28px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(249,253,251,.98));
  box-shadow:
    0 32px 90px rgba(2, 31, 27, .28),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 150, 111, .45), transparent);
}

.form-card-header {
  margin-bottom: 24px;
}

.form-card-header h2 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 2.2vw, 2.1rem);
}

.form-card-header p {
  color: var(--text-soft);
  font-size: .93rem;
}

.form-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 9px 6px 7px;
  border: 1px solid rgba(21, 150, 111, .18);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.form-badge-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
}

.form-badge-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}

.form-group {
  min-width: 0;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  margin-bottom: 7px;
  color: #284744;
  font-size: .79rem;
  font-weight: 750;
}

.form-label span {
  color: var(--primary);
}

.form-control {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  outline: none;
  border: 1px solid rgba(21, 82, 70, .16);
  border-radius: 12px;
  color: var(--text);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.8), inset 0 1px 2px rgba(5, 64, 53, .02);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease,
    background .2s ease;
}

.form-control::placeholder {
  color: #9aa9a6;
}

.form-control:hover {
  border-color: rgba(21, 150, 111, .26);
}

.form-control:focus {
  border-color: rgba(21, 150, 111, .64);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(21, 150, 111, .09);
}

.form-group.has-error .form-control,
.form-control[aria-invalid="true"] {
  border-color: #c95050;
  box-shadow: 0 0 0 4px rgba(201, 80, 80, .08);
}

.form-group.has-success .form-control {
  border-color: rgba(21, 150, 111, .5);
}

.form-error {
  min-height: 16px;
  display: block;
  margin-top: 5px;
  color: #b34242;
  font-size: .72rem;
  line-height: 1.35;
}

.consent {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: #526966;
  font-size: .77rem;
  line-height: 1.45;
}

.consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-box {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border: 1px solid rgba(21, 82, 70, .22);
  border-radius: 6px;
  color: #fff;
  background: #fff;
  transition: .2s ease;
}

.consent-box svg {
  opacity: 0;
  transform: scale(.7);
  transition: .2s var(--ease-out);
}

.consent input:checked + .consent-box {
  border-color: var(--primary);
  background: var(--primary);
}

.consent input:checked + .consent-box svg {
  opacity: 1;
  transform: scale(1);
}

.consent input:focus-visible + .consent-box {
  box-shadow: 0 0 0 4px rgba(21, 150, 111, .12);
}

.consent-error {
  margin-top: -12px;
}

.btn-submit {
  width: 100%;
  min-height: 55px;
  margin-top: 2px;
}

.btn-submit.is-loading {
  pointer-events: none;
  opacity: .86;
}

.btn-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.btn-submit.is-loading .btn-spinner {
  display: block;
}

.btn-submit.is-loading .btn-arrow {
  display: none;
}

.form-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: -7px;
  color: #46645f;
  font-size: .75rem;
  font-weight: 700;
}

.mini-check {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
}

.privacy-note {
  margin-top: -7px;
  color: #899896;
  text-align: center;
  font-size: .69rem;
  line-height: 1.4;
}

.form-success-state {
  min-height: 520px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 30px 14px;
  text-align: center;
}

.success-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: var(--primary);
  background: var(--primary-soft);
}

.success-icon svg {
  width: 70px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success-state h3 {
  margin-bottom: 0;
  font-size: 1.65rem;
}

.form-success-state p {
  max-width: 350px;
  color: var(--text-soft);
}

.success-demo-note {
  font-size: .72rem;
}

.success-demo-note code {
  color: var(--primary-dark);
  font-weight: 700;
}

/* 10. TRUST BAR */
.trust-section {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 15px 22px;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item h3 {
  margin-bottom: 3px;
  font-size: .9rem;
}

.trust-item p {
  color: var(--text-soft);
  font-size: .75rem;
  line-height: 1.4;
}

/* 11. PERSONAL FIT / HUMAN */
.personal-fit {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(21, 150, 111, .06), transparent 30%),
    #fff;
}

.criteria-list {
  display: grid;
  gap: 17px;
  margin-top: 32px;
}

.criteria-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: start;
  max-width: 640px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  transition: .32s var(--ease-out);
}

.criteria-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.criteria-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.criteria-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.criteria-item h3 {
  margin-bottom: 4px;
  font-size: .98rem;
}

.criteria-item p {
  color: var(--text-soft);
  font-size: .86rem;
}

.fit-visual {
  position: relative;
  min-height: 610px;
}

.image-frame {
  position: absolute;
  inset: 30px 0 0 70px;
  overflow: hidden;
  border-radius: 34px 34px 120px 34px;
  box-shadow: var(--shadow-lg);
}

.image-frame::after,
.human-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 61, 52, .17));
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

.fit-visual:hover .image-frame img {
  transform: scale(1.025);
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 215px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 18px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 20px 50px rgba(5, 61, 51, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: float-soft 6.5s ease-in-out infinite;
}

.floating-card-a {
  top: 0;
  left: 0;
}

.floating-card-b {
  right: -16px;
  bottom: 48px;
  animation-delay: -2.3s;
}

.floating-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #fff;
  background: var(--primary);
}

.floating-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-card div {
  display: grid;
  gap: 1px;
}

.floating-card strong {
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: .82rem;
}

.floating-card span {
  color: var(--text-soft);
  font-size: .7rem;
}

.visual-dots {
  position: absolute;
  right: -30px;
  top: 56px;
  width: 140px;
  height: 140px;
  opacity: .55;
  background-image: radial-gradient(rgba(21, 150, 111, .38) 1.4px, transparent 1.4px);
  background-size: 14px 14px;
}

/* 12. BENEFITS */
.benefits-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 90% 0%, rgba(21, 150, 111, .08), transparent 26%),
    linear-gradient(180deg, #f8fbfa 0%, #eef6f2 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.benefit-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 268px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.97), rgba(251,254,252,.93));
  box-shadow: 0 10px 28px rgba(8, 61, 52, .035);
  transition:
    transform .36s var(--ease-out),
    box-shadow .36s var(--ease-out),
    border-color .36s var(--ease-out);
}

.benefit-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background: radial-gradient(260px circle at var(--mouse-x) var(--mouse-y), rgba(21, 150, 111, .1), transparent 70%);
  transition: opacity .35s ease;
}

.benefit-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  opacity: .75;
  background: linear-gradient(90deg, transparent, rgba(21, 150, 111, .28), transparent);
}

.benefit-card:hover {
  border-color: rgba(21, 150, 111, .28);
  box-shadow: 0 22px 60px rgba(8, 61, 52, .1);
  transform: translateY(-6px);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(21, 150, 111, .16);
  border-radius: 17px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  transition: .34s var(--ease-out);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.benefit-card p {
  max-width: 320px;
  color: var(--text-soft);
  font-size: .91rem;
}

.card-accent {
  position: absolute;
  z-index: -1;
  right: -34px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  opacity: .22;
  background: radial-gradient(circle, rgba(21,150,111,.36), transparent 66%);
  transition: transform .4s var(--ease-out), opacity .4s ease;
}

.benefit-card:hover .card-accent {
  transform: scale(1.15);
  opacity: .4;
}

.variant-a:hover .benefit-icon {
  transform: translateY(-3px) scale(1.04);
}

.variant-b:hover .benefit-icon {
  transform: scale(1.07);
  box-shadow: 0 0 0 7px rgba(21, 150, 111, .07);
}

.variant-c::after {
  transform: translateX(-40%);
  transition: transform .55s var(--ease-out);
}
.variant-c:hover::after {
  transform: translateX(40%);
}

.variant-d:hover {
  border-color: rgba(21, 150, 111, .4);
}
.variant-d:hover .benefit-icon {
  transform: rotate(2deg) translateY(-2px);
}

.variant-e {
  background:
    radial-gradient(circle at 95% 0%, rgba(21, 150, 111, .08), transparent 36%),
    #fff;
}
.variant-e:hover .benefit-icon {
  background: #d9f3e8;
}

.card-arrow {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: var(--primary);
  opacity: .45;
  transition: .3s var(--ease-out);
}
.card-arrow svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.variant-f:hover .card-arrow {
  opacity: 1;
  transform: translateX(6px);
}

/* 13. PROCESS */
.process-section {
  background: #fff;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 64px;
}

.process-line {
  position: absolute;
  top: 48px;
  left: 16.6%;
  right: 16.6%;
  height: 1px;
  background: linear-gradient(90deg, rgba(21,150,111,.1), rgba(21,150,111,.5), rgba(21,150,111,.1));
}

.process-step {
  position: relative;
  z-index: 1;
  min-height: 270px;
  padding: 0 28px 28px;
  text-align: center;
}

.step-number {
  position: absolute;
  top: -34px;
  left: 50%;
  z-index: -1;
  color: rgba(13, 99, 77, .05);
  font-family: "Manrope", sans-serif;
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  transform: translateX(-50%);
}

.step-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  border: 8px solid #fff;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #0d7c60);
  box-shadow: 0 16px 38px rgba(21,150,111,.22);
}

.step-icon svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.process-step p {
  color: var(--text-soft);
  font-size: .91rem;
}

/* 14. PREMIUM CTA */
.premium-cta {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  color: #fff;
  background:
    linear-gradient(135deg, #073b33 0%, #0b5f4e 52%, #0c473e 100%);
}

.premium-cta-grid {
  opacity: .08;
  mask-image: none;
}

.premium-cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.premium-cta-glow-a {
  top: -140px;
  right: 8%;
  width: 390px;
  height: 390px;
  background: radial-gradient(circle, rgba(109, 224, 179, .22), transparent 68%);
}

.premium-cta-glow-b {
  bottom: -190px;
  left: 14%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(24, 118, 98, .34), transparent 68%);
}

.premium-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: end;
}

.premium-cta-copy {
  max-width: 780px;
}

.premium-cta-copy h2 {
  color: #fff;
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
}

.premium-cta-copy p {
  max-width: 650px;
  color: rgba(255,255,255,.74);
  font-size: 1rem;
}

.premium-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 15. HUMAN */
.human-section {
  background: #f8fbfa;
}

.human-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.human-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 32px 32px 80px 32px;
  box-shadow: var(--shadow-md);
}

.human-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

.human-visual:hover img {
  transform: scale(1.025);
}

.human-visual-chip {
  position: absolute;
  z-index: 3;
  left: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.human-visual-chip .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--primary);
}

.human-visual-chip .icon svg {
  width: 23px;
}

.human-visual-chip > div {
  display: grid;
}

.human-visual-chip strong {
  font-family: "Manrope", sans-serif;
  font-size: .82rem;
}

.human-visual-chip span {
  color: var(--text-soft);
  font-size: .72rem;
}

.human-copy .section-lead {
  margin-bottom: 28px;
}

.human-note {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  margin-bottom: 30px;
  padding: 17px;
  border: 1px solid rgba(21,150,111,.16);
  border-radius: 18px;
  color: #44625e;
  background: rgba(230, 247, 240, .65);
}

.human-note-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--primary-dark);
  background: #fff;
}

.human-note-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.human-note p {
  font-size: .86rem;
  line-height: 1.6;
}

/* 16. FAQ */
.faq-section {
  border-top: 1px solid var(--border);
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(52px, 7vw, 100px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}

.faq-contact-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--primary-dark);
  font-weight: 800;
}

.faq-contact-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s var(--ease-out);
}

.faq-contact-link:hover svg {
  transform: translateX(4px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.faq-item:hover {
  border-color: rgba(21,150,111,.23);
  background: #fcfefd;
}

.faq-item.is-open {
  border-color: rgba(21,150,111,.28);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border: 0;
  color: var(--text-strong);
  background: transparent;
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: .98rem;
  font-weight: 750;
}

.faq-toggle {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--primary-dark);
  background: var(--primary-soft);
  transition: transform .3s var(--ease-out), background .3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out), opacity .3s ease;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-toggle {
  transform: rotate(180deg);
  background: #d9f3e8;
}

.faq-question[aria-expanded="true"] .faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s var(--ease-out);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 22px 22px;
  color: var(--text-soft);
  font-size: .91rem;
}

/* 17. FINAL CTA */
.final-cta {
  padding: 76px 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 90% 10%, rgba(21,150,111,.1), transparent 26%),
    var(--primary-soft);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.final-cta-copy {
  max-width: 720px;
}

.final-cta-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.final-cta-copy p {
  color: var(--text-soft);
}

.final-cta-actions {
  display: flex;
  gap: 12px;
}

/* 18. FOOTER */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  color: rgba(255,255,255,.78);
  background:
    radial-gradient(circle at 80% 0%, rgba(35, 139, 110, .15), transparent 32%),
    #062c2e;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.footer-grid,
.footer-legal {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(170px, .55fr));
  gap: 72px;
  padding-bottom: 48px;
}

.brand-footer {
  color: #fff;
}


.brand-footer {
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo-shell {
  width: 176px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 15px;
  background: rgba(255,255,255,.96);
}

.footer-consalud-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.footer-brand p {
  max-width: 420px;
  margin-top: 18px;
  color: rgba(255,255,255,.58);
  font-size: .88rem;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-col h3 {
  margin-bottom: 7px;
  color: #fff;
  font-size: .88rem;
}

.footer-col a,
.footer-col span {
  width: fit-content;
  color: rgba(255,255,255,.66);
  font-size: .83rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-legal {
  padding: 26px 0 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-legal > p {
  max-width: 920px;
  color: rgba(255,255,255,.48);
  font-size: .72rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  color: rgba(255,255,255,.55);
  font-size: .76rem;
}

.dev-credit {
  color: rgba(255,255,255,.72);
  font-weight: 700;
  transition: color .2s ease, opacity .2s ease;
}

.dev-credit:hover {
  color: #fff;
}

/* 19. WHATSAPP */
.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 28px;
  bottom: 28px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #1ca76f;
  box-shadow: 0 18px 42px rgba(9, 109, 72, .32);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 24px 52px rgba(9, 109, 72, .4);
}

.whatsapp-float.pulse-once::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(28,167,111,.4);
  border-radius: 50%;
  animation: whatsapp-pulse 2.2s ease-out 1;
}

.whatsapp-tooltip {
  position: absolute;
  right: 74px;
  padding: 9px 11px;
  visibility: hidden;
  opacity: 0;
  border-radius: 10px;
  color: #fff;
  background: #073a33;
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(6px);
  transition: .2s var(--ease-out);
}

.whatsapp-float:hover .whatsapp-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.mobile-sticky-cta {
  position: fixed;
  z-index: 950;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  grid-template-columns: .86fr 1.14fr;
  gap: 8px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(12, 70, 59, .09);
  border-radius: 17px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(6, 47, 40, .18);
  backdrop-filter: blur(14px);
  transform: translateY(14px);
  transition: .28s var(--ease-out);
}

.mobile-sticky-cta.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* 20. ANIMATIONS */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

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

@keyframes whatsapp-pulse {
  0% { opacity: .55; transform: scale(.92); }
  70% { opacity: 0; transform: scale(1.36); }
  100% { opacity: 0; transform: scale(1.36); }
}

/* 21. ACCESSIBILITY */
:focus-visible {
  outline: 3px solid rgba(57, 188, 144, .46);
  outline-offset: 3px;
}

.btn:focus-visible,
.form-control:focus-visible,
.faq-question:focus-visible,
.menu-toggle:focus-visible,
.menu-close:focus-visible {
  outline: 3px solid rgba(57, 188, 144, .35);
  outline-offset: 3px;
}

/* 22. RESPONSIVE */
@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    grid-template-columns: 1fr .88fr;
    gap: 42px;
  }

  .benefits-grid {
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 74px;
  }

  .section {
    padding: 92px 0;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,43,38,.3), rgba(4,43,38,.16));
    pointer-events: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    width: min(calc(100% - 40px), 860px);
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 84px;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-form-wrap {
    justify-self: stretch;
    max-width: 680px;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .split-layout,
  .human-grid {
    grid-template-columns: 1fr;
  }

  .fit-visual {
    min-height: 620px;
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }

  .image-frame {
    inset: 34px 40px 0 84px;
  }

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

  .premium-cta-inner,
  .final-cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .human-visual {
    min-height: 560px;
    max-width: 820px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .btn-header {
    display: none;
  }

  .brand-logo-shell {
    width: 150px;
    height: 48px;
    border-radius: 13px;
  }

  .brand-divider,
  .site-header .brand-copy {
    display: none;
  }

  .hero {
    color: #fff;
    background:
      linear-gradient(180deg, rgba(3, 36, 32, .92) 0%, rgba(5, 61, 51, .86) 42%, rgba(5, 49, 42, .84) 100%),
      url("../img/hero-family.webp") 62% center / cover no-repeat;
  }

  .hero-inner {
    width: min(calc(100% - 32px), 720px);
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 76px;
  }

  h1 {
    font-size: clamp(2.75rem, 10.5vw, 4.4rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-card {
    padding: 24px;
    border-radius: 24px;
  }

  .trust-section {
    padding: 18px 0;
  }

  .trust-item {
    grid-template-columns: 42px 1fr;
    padding: 14px;
  }

  .trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 230px;
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 44px;
  }

  .process-line {
    top: 0;
    bottom: 0;
    left: 41px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .process-step {
    display: grid;
    grid-template-columns: 82px 1fr;
    grid-template-areas:
      "icon title"
      "icon text";
    gap: 6px 22px;
    min-height: 180px;
    padding: 0 0 34px;
    text-align: left;
  }

  .step-number {
    top: -6px;
    left: auto;
    right: 0;
    font-size: 4.5rem;
    transform: none;
  }

  .step-icon {
    grid-area: icon;
    margin: 0;
  }

  .process-step h3 {
    grid-area: title;
    margin-top: 10px;
  }

  .process-step p {
    grid-area: text;
  }

  .premium-cta {
    padding: 76px 0;
  }

  .premium-cta-actions,
  .final-cta-actions {
    width: 100%;
  }

  .premium-cta-actions .btn,
  .final-cta-actions .btn {
    flex: 1 1 220px;
  }

  .fit-visual {
    min-height: 540px;
  }

  .image-frame {
    inset: 36px 20px 0 48px;
    border-radius: 28px 28px 88px 28px;
  }

  .floating-card {
    min-width: 198px;
    padding: 12px 14px;
  }

  .floating-card-b {
    right: 0;
  }

  .human-visual {
    min-height: 430px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }

  .mobile-sticky-cta {
    display: grid;
  }

  body.mobile-cta-visible {
    padding-bottom: 88px;
  }

  body.mobile-cta-visible .whatsapp-float {
    bottom: 98px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 66px 0;
  }

  .hero-inner {
    gap: 34px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-whatsapp-btn {
    width: min(100%, 340px) !important;
    align-self: flex-start;
  }

  .hero-trust {
    text-align: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2),
  .trust-item:nth-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 36px;
    text-align: left;
  }

  .section-heading .eyebrow {
    margin-inline: 0;
  }

  .criteria-item {
    grid-template-columns: 44px 1fr;
    padding: 14px;
  }

  .criteria-icon {
    width: 44px;
    height: 44px;
  }

  .fit-visual {
    min-height: 455px;
  }

  .image-frame {
    inset: 34px 0 0 26px;
  }

  .floating-card {
    min-width: 180px;
    max-width: 225px;
  }

  .floating-card-a {
    left: 0;
  }

  .floating-card-b {
    right: -2px;
    bottom: 22px;
  }

  .visual-dots {
    display: none;
  }

  .human-visual {
    min-height: 360px;
    border-radius: 24px 24px 56px 24px;
  }

  .human-visual-chip {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .faq-question {
    padding: 18px;
    font-size: .93rem;
  }

  .faq-answer p {
    padding: 0 18px 18px;
  }

  .final-cta {
    padding: 64px 0;
  }

  .premium-cta-actions,
  .final-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 34px;
  }

  .site-footer {
    padding-top: 58px;
  }
}

@media (max-width: 420px) {
  .container,
  .hero-inner {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo-shell {
    width: 137px;
    height: 44px;
    padding: 6px 8px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  h1 {
    font-size: clamp(2.55rem, 12.5vw, 3.35rem);
  }

  .form-card {
    padding: 20px 17px;
    border-radius: 21px;
  }

  .form-card-header h2 {
    font-size: 1.52rem;
  }

  .fit-visual {
    min-height: 405px;
  }

  .floating-card {
    min-width: 160px;
    padding: 10px;
  }

  .floating-icon {
    width: 38px;
    height: 38px;
  }

  .floating-card strong {
    font-size: .75rem;
  }

  .floating-card span {
    font-size: .65rem;
  }

  .benefit-card {
    padding: 24px;
  }

  .process-step {
    grid-template-columns: 68px 1fr;
    gap: 6px 18px;
  }

  .process-line {
    left: 34px;
  }

  .step-icon {
    width: 68px;
    height: 68px;
    border-radius: 21px;
  }

  .mobile-menu {
    padding: 22px;
  }

  .mobile-sticky-cta {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
}

/* 23. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .floating-card {
    animation: none !important;
  }
}

/* 24. POINTER / TOUCH */
@media (hover: none), (pointer: coarse) {
  .benefit-card::before {
    display: none;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* WordPress Core integration */
.upm-honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.upm-form-global-error{padding:10px 12px;border-radius:10px;background:#fff0f0;color:#9e3434;font-size:.78rem}

/* WordPress admin bar compatibility */
body.admin-bar .site-header{top:32px}body.admin-bar .mobile-menu{top:42px}@media(max-width:782px){body.admin-bar .site-header{top:46px}body.admin-bar .mobile-menu{top:56px}}
