/* ==========================================================================
   Lisandro Dimasi Korbs — landing (desktop, base Figma 1440px, node 2004:2)
   Todas las medidas salen del frame de 1440 px y escalan con --s.
   ========================================================================== */

@font-face { font-family: "Proxima Nova"; src: url("../fonts/ProximaNova-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Proxima Nova"; src: url("../fonts/Proxima%20Nova%20Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Proxima Nova"; src: url("../fonts/Proxima%20Nova%20Extrabold.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Proxima Nova"; src: url("../fonts/Proxima%20Nova%20Black.otf") format("opentype"); font-weight: 900; font-display: swap; }

:root {
	--navy: #002D6F;
	--blue: #4B72B7;
	--red: #DC1C2E;
	--card: #D0D8E7;
	--white: #FFFFFF;
	--s: calc(100vw / 1440); /* main.js lo ajusta al ancho real sin la barra de scroll */
	--hdr: calc(64 * var(--s));
}

/* Reset con especificidad cero (:where) para no pisar los estilos de componentes */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; }
body.ldk { margin: 0; background: var(--white); color: var(--navy); font-family: "Proxima Nova", "Helvetica Neue", Arial, sans-serif; font-size: calc(16 * var(--s)); line-height: 1.25; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:where(.ldk) img { display: block; max-width: 100%; height: auto; }
:where(.ldk) a { color: inherit; text-decoration: none; }
:where(.ldk) :is(h1, h2, h3, h4, p) { margin: 0; }
:where(.ldk) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

main { display: block; overflow: hidden; }
section { position: relative; }
.wrap { position: relative; padding-left: calc(121 * var(--s)); padding-right: calc(121 * var(--s)); }

/* ---------- Tipografía común ---------- */
.eyebrow { font-size: calc(36 * var(--s)); font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .01em; color: var(--navy); }
.eyebrow--white { color: var(--white); }
.title { font-size: calc(30 * var(--s)); font-weight: 700; line-height: 1.1; color: var(--navy); }
.title--red { color: var(--red); }
.lead-bar { position: relative; padding-left: calc(23 * var(--s)); font-size: calc(16 * var(--s)); font-weight: 700; line-height: calc(20 * var(--s)); color: var(--navy); }
.lead-bar::before { content: ""; position: absolute; left: 0; top: calc(-6 * var(--s)); bottom: calc(-6 * var(--s)); width: calc(4 * var(--s)); background: var(--red); }
.lead-bar--white { color: var(--white); }

/* ---------- Header ---------- */
.hdr { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--hdr); background: var(--white); display: flex; align-items: center; padding: 0 calc(52 * var(--s)) 0 calc(97 * var(--s)); box-shadow: 0 calc(2 * var(--s)) calc(10 * var(--s)) rgba(0, 45, 111, .12); }
.hdr__logo img { width: calc(74 * var(--s)); }
.hdr__cta { position: absolute; left: calc(416 * var(--s)); display: flex; gap: calc(36 * var(--s)); }
.hdr__nav { margin-left: auto; display: flex; gap: calc(28 * var(--s)); }
.nav-link { position: relative; letter-spacing: .02em; font-size: calc(16 * var(--s)); font-weight: 700; text-transform: uppercase; color: var(--navy); white-space: nowrap; padding: calc(6 * var(--s)) 0; transition: color .2s; }
.nav-link--red { color: var(--red); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(-2 * var(--s)); height: calc(3 * var(--s)); background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link.is-active::after { transform: scaleX(1); }
.hdr__nav .nav-link.is-active { color: var(--red); }
/* Hover solo con mouse, y apagado después de un clic hasta que el puntero salga del link */
@media (hover: hover) {
	.nav-link:not(.no-hover):hover::after { transform: scaleX(1); }
	.nav-link:not(.no-hover):hover { color: var(--red); }
}

/* ---------- Hero ---------- */
/* El hero usa su propia escala --hs: la del ancho (--s), achicada si hace falta
   para que entre completo en el alto de la pantalla (main.js la calcula). */
.hero { --hs: var(--s); margin-top: var(--hdr); height: calc(610 * var(--hs)); color: var(--white); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; background-size: cover; background-position: center 60%; }
.hero__bg::before { content: ""; position: absolute; inset: calc(-10 * var(--s)); background: inherit; filter: blur(calc(3 * var(--s))); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(4, 16, 38, .42); }
.hero__inner { position: absolute; top: 0; bottom: 0; left: 50%; width: calc(1440 * var(--hs)); transform: translateX(-50%); }
.hero__arrows { position: absolute; left: calc(63 * var(--hs)); top: calc(72 * var(--hs)); width: calc(68 * var(--hs)); }
.hero__btns { position: absolute; top: calc(64 * var(--hs)); left: calc(364 * var(--hs)); display: flex; gap: calc(95 * var(--hs)); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: calc(68 * var(--hs)); padding: 0 calc(42 * var(--hs)); border-radius: calc(14 * var(--hs)); font-size: calc(26 * var(--hs)); font-weight: 700; text-transform: uppercase; color: var(--white); box-shadow: 0 calc(4 * var(--hs)) calc(10 * var(--hs)) rgba(0, 0, 0, .25); transition: transform .2s, filter .2s; }
.btn:hover { transform: translateY(calc(-2 * var(--hs))); filter: brightness(1.08); }
.btn--red { background: var(--red); min-width: calc(290 * var(--hs)); }
.btn--navy { background: var(--navy); min-width: calc(300 * var(--hs)); }
.hero__title { position: absolute; right: calc(795 * var(--hs)); top: calc(194 * var(--hs)); width: calc(620 * var(--hs)); text-align: right; font-size: calc(51 * var(--hs)); font-weight: 700; line-height: calc(61 * var(--hs)); text-transform: uppercase; }
.hero__line { display: block; white-space: nowrap; }
.hero__line .ch { visibility: hidden; }
.hero__line .ch.on { visibility: visible; }
.hero__brand { position: absolute; left: calc(716 * var(--hs)); top: calc(232 * var(--hs)); width: calc(625 * var(--hs)); opacity: 0; transition: opacity 1s ease .2s; }
.hero.is-in .hero__brand { opacity: 1; }
.hero__lead { position: absolute; left: 0; right: 0; top: calc(478 * var(--hs)); text-align: center; font-size: calc(25 * var(--hs)); line-height: calc(34 * var(--hs)); }
.hero__deco-blue { position: absolute; z-index: 2; left: calc(1163 * var(--hs)); top: calc(581 * var(--hs)); width: calc(218 * var(--hs)); height: calc(52 * var(--hs)); background: var(--blue); }
.hero__deco-red { position: absolute; z-index: 3; left: calc(1145 * var(--hs)); top: calc(602 * var(--hs)); width: calc(36 * var(--hs)); height: calc(36 * var(--hs)); background: var(--red); }

/* ---------- Proceso ---------- */
.proceso { height: calc(769 * var(--s)); }
.proceso .wrap { padding-top: calc(80 * var(--s)); }
.proceso .title { margin-top: calc(48 * var(--s)); }
.proceso .lead-bar { margin-top: calc(34 * var(--s)); }
.steps { position: absolute; inset: 0; pointer-events: none; }
.steps__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.steps__line polyline { fill: none; stroke: var(--red); stroke-width: 4; stroke-linejoin: miter; stroke-linecap: butt; }
.step { position: absolute; width: calc(320 * var(--s)); opacity: 0; transform: translateY(calc(8 * var(--s))); transition: opacity .45s ease, transform .45s ease; }
.step--1 { left: calc(130 * var(--s)); top: calc(598 * var(--s)); }
.step--2 { left: calc(378 * var(--s)); top: calc(490 * var(--s)); }
.step--3 { left: calc(635 * var(--s)); top: calc(384 * var(--s)); }
.step--4 { left: calc(949 * var(--s)); top: calc(274 * var(--s)); }
.step.is-in { opacity: 1; transform: none; }
.step__dot { position: absolute; left: calc(-11 * var(--s)); top: calc(-11 * var(--s)); width: calc(22 * var(--s)); height: calc(22 * var(--s)); border-radius: 50%; background: var(--red); }
.step__week { position: absolute; left: 0; bottom: calc(19 * var(--s)); font-size: calc(20 * var(--s)); font-weight: 700; white-space: nowrap; }
.step__title { position: absolute; left: 0; top: calc(20 * var(--s)); font-size: calc(20 * var(--s)); font-weight: 700; white-space: nowrap; }
.step__text { position: absolute; left: 0; top: calc(48 * var(--s)); font-size: calc(15 * var(--s)); line-height: calc(20 * var(--s)); white-space: nowrap; }
.btn-sm { display: inline-flex; align-items: center; justify-content: center; height: calc(34 * var(--s)); padding: 0 calc(14 * var(--s)); border-radius: calc(5 * var(--s)); background: var(--red); color: #fff; font-size: calc(14.5 * var(--s)); font-weight: 700; text-transform: uppercase; box-shadow: 0 calc(3 * var(--s)) calc(8 * var(--s)) rgba(0, 0, 0, .2); transition: filter .2s; }
.btn-sm:hover { filter: brightness(1.1); }
.proceso__cta { position: absolute; left: calc(1116 * var(--s)); top: calc(708 * var(--s)); width: calc(175 * var(--s)); }

/* ---------- Sobre mí ---------- */
.sobre { background: var(--navy); padding: calc(98 * var(--s)) 0 calc(86 * var(--s)); }
.sobre .wrap > *:not(.eyebrow) { margin-left: calc(10 * var(--s)); width: calc(1125 * var(--s)); }
.bio { position: relative; display: flex; margin-top: calc(39 * var(--s)); height: calc(318 * var(--s)); border-radius: calc(20 * var(--s)); background: var(--blue); box-shadow: 0 calc(6 * var(--s)) calc(18 * var(--s)) rgba(0, 0, 0, .35); }
.bio__text { flex: 1; padding: calc(52 * var(--s)) 0 0 calc(54 * var(--s)); color: var(--white); }
.bio__text h3 { font-size: calc(30 * var(--s)); font-weight: 700; line-height: 1.1; margin-bottom: calc(30 * var(--s)); }
.bio__text p { font-size: calc(15.5 * var(--s)); line-height: calc(19.5 * var(--s)); }
.bio__text p + p { margin-top: calc(17 * var(--s)); }
.bio__photo { flex: 0 0 auto; width: calc(426 * var(--s)); height: 100%; object-fit: cover; object-position: center 40%; border-radius: 0 calc(20 * var(--s)) calc(20 * var(--s)) 0; }
.bio__dots { position: absolute; left: calc(595 * var(--s)); top: calc(-20 * var(--s)); width: calc(130 * var(--s)); height: calc(52 * var(--s)); background-image: radial-gradient(circle, #fff calc(2.6 * var(--s)), transparent calc(3 * var(--s))); background-size: calc(16.5 * var(--s)) calc(16.5 * var(--s)); }
.bio__sq { position: absolute; z-index: 2; left: calc(726 * var(--s)); top: calc(-26 * var(--s)); width: calc(36 * var(--s)); height: calc(36 * var(--s)); background: var(--red); }
.sobre .title--red { margin-top: calc(56 * var(--s)); }
.sobre .lead-bar { margin-top: calc(30 * var(--s)); }
.map { margin-top: calc(34 * var(--s)); height: calc(387 * var(--s)); background: #e5e3df; overflow: hidden; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.sobre__sq { position: absolute; z-index: 3; left: calc(1165 * var(--s)); bottom: calc(-18 * var(--s)); width: calc(36 * var(--s)); height: calc(36 * var(--s)); background: var(--red); }

/* ---------- Casos de éxito (testimonios) ---------- */
.testi { padding: calc(68 * var(--s)) 0 calc(48 * var(--s)); }
.testi .title { margin-top: calc(48 * var(--s)); }
.testi .lead-bar { margin-top: calc(30 * var(--s)); }
.testi__arrows { position: absolute; right: calc(122 * var(--s)); top: calc(126 * var(--s)); display: flex; gap: calc(8 * var(--s)); }
.arrow { position: relative; width: calc(48 * var(--s)); height: calc(48 * var(--s)); border-radius: 50%; background: var(--navy); border: calc(1.5 * var(--s)) solid var(--navy); transition: background .25s, border-color .25s; }
.arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(11 * var(--s)); height: calc(11 * var(--s)); border-top: calc(3 * var(--s)) solid #fff; border-right: calc(3 * var(--s)) solid #fff; transform: translate(-65%, -50%) rotate(45deg); transition: border-color .25s; }
.arrow--prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.arrow:disabled { background: transparent; border-color: #c6ccd8; cursor: default; }
.arrow:disabled::before { border-color: #c6ccd8; }
.carousel { position: relative; margin-top: calc(52 * var(--s)); padding: calc(10 * var(--s)) 0 calc(30 * var(--s)); }
.carousel__track { display: flex; gap: calc(32 * var(--s)); transition: transform .9s cubic-bezier(.45, 0, .2, 1); will-change: transform; }
.tcard { position: relative; flex: 0 0 calc(377 * var(--s)); min-height: calc(180 * var(--s)); padding: calc(30 * var(--s)) calc(28 * var(--s)) calc(26 * var(--s)) calc(49 * var(--s)); border-radius: calc(18 * var(--s)); background: var(--card); box-shadow: 0 calc(6 * var(--s)) calc(14 * var(--s)) rgba(0, 45, 111, .18); }
.tcard:nth-child(3n):not(:last-child) { margin-right: calc(150 * var(--s)); } /* la página siguiente entra desde fuera de pantalla */
.tcard::before { content: ""; position: absolute; left: calc(25 * var(--s)); top: calc(32 * var(--s)); width: calc(4 * var(--s)); height: calc(112 * var(--s)); background: var(--red); }
.tcard__tag { font-size: calc(11.5 * var(--s)); font-weight: 700; text-transform: uppercase; color: var(--red); }
.tcard__name { margin-top: calc(6 * var(--s)); font-size: calc(17.5 * var(--s)); font-weight: 700; text-transform: uppercase; }
.tcard__quote { margin-top: calc(8 * var(--s)); font-size: calc(14.5 * var(--s)); line-height: calc(19 * var(--s)); text-wrap: balance; } /* renglones parejos, sin viudas */
.carousel__dots { display: flex; justify-content: center; align-items: center; gap: calc(18 * var(--s)); margin-top: calc(8 * var(--s)); }
.carousel__dots button { width: calc(8 * var(--s)); height: calc(8 * var(--s)); border-radius: calc(4 * var(--s)); background: #d6dae2; transition: width .4s, background .4s; }
.carousel__dots button.is-active { width: calc(28 * var(--s)); background: var(--red); }

/* ---------- FAQ ---------- */
.faq { padding: calc(96 * var(--s)) 0 calc(103 * var(--s)); }
.faq__grid { display: flex; align-items: flex-start; padding-left: calc(112 * var(--s)); }
.faq__head { width: calc(488 * var(--s)); padding-top: calc(4 * var(--s)); }
.faq__list { width: calc(718 * var(--s)); display: flex; flex-direction: column; gap: calc(13 * var(--s)); }
.faq__item { border-radius: calc(16 * var(--s)); background: #fff; border: calc(1 * var(--s)) solid #e3e7ee; box-shadow: 0 calc(2 * var(--s)) calc(6 * var(--s)) rgba(0, 45, 111, .06); transition: box-shadow .3s; }
.faq__item.is-open { box-shadow: 0 calc(6 * var(--s)) calc(20 * var(--s)) rgba(0, 45, 111, .16); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: calc(20 * var(--s)); height: calc(70 * var(--s)); padding: 0 calc(25 * var(--s)) 0 calc(29 * var(--s)); text-align: left; font-size: calc(22 * var(--s)); font-weight: 700; color: var(--navy); }
.faq__icon { position: relative; flex: 0 0 auto; width: calc(32 * var(--s)); height: calc(32 * var(--s)); border-radius: 50%; border: calc(2 * var(--s)) solid var(--navy); transition: background .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(14 * var(--s)); height: calc(2 * var(--s)); background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s, background .25s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open .faq__icon { background: var(--navy); }
.is-open .faq__icon::before, .is-open .faq__icon::after { background: #fff; }
.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq__a p { position: relative; max-width: calc(500 * var(--s)); margin: 0 0 0 calc(29 * var(--s)); padding-left: calc(21 * var(--s)); font-size: calc(13.5 * var(--s)); line-height: calc(19 * var(--s)); }
.faq__a p::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(4 * var(--s)); background: var(--red); }
.faq__a strong { font-weight: 700; }
.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div > p { margin-bottom: calc(29 * var(--s)); }
.faq__item.is-open .faq__q { height: calc(64 * var(--s)); margin-top: calc(4 * var(--s)); }

/* ---------- Contacto ---------- */
.contacto { padding: calc(76 * var(--s)) 0 calc(101 * var(--s)); color: #fff; }
.contacto__bg { position: absolute; inset: 0; overflow: hidden; background-size: cover; background-position: center 55%; }
.contacto__bg::before { content: ""; position: absolute; inset: calc(-10 * var(--s)); background: inherit; filter: blur(calc(2 * var(--s))); }
.contacto__bg::after { content: ""; position: absolute; inset: 0; background: rgba(4, 16, 38, .28); }
.contacto__stripes { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: repeating-linear-gradient(135deg, rgba(0, 46, 111, .7) 0 calc(3 * var(--s)), transparent calc(3 * var(--s)) calc(12 * var(--s))); -webkit-mask: linear-gradient(to bottom, transparent, #000 35%); mask: linear-gradient(to bottom, transparent, #000 35%); }
.contacto__dots { position: absolute; z-index: 2; left: calc(1188 * var(--s)); top: calc(-28 * var(--s)); width: calc(184 * var(--s)); height: calc(50 * var(--s)); background-image: radial-gradient(circle, var(--navy) calc(4 * var(--s)), transparent calc(4.6 * var(--s))); background-size: calc(30.6 * var(--s)) calc(25 * var(--s)); }
.contacto__bar { position: absolute; z-index: 3; left: calc(1357 * var(--s)); top: calc(-79 * var(--s)); width: calc(14 * var(--s)); height: calc(153 * var(--s)); background: var(--red); }
.contacto .wrap { padding-left: calc(112 * var(--s)); }
.contacto .lead-bar { margin-top: calc(30 * var(--s)); margin-left: calc(10 * var(--s)); font-size: calc(14.5 * var(--s)); }
.form-card { position: relative; margin-top: calc(48 * var(--s)); margin-left: calc(10 * var(--s)); width: calc(828 * var(--s)); min-height: calc(403 * var(--s)); padding: calc(22 * var(--s)) calc(20 * var(--s)) calc(36 * var(--s)) calc(22 * var(--s)); border-radius: calc(24 * var(--s)); background: var(--blue); box-shadow: 0 calc(8 * var(--s)) calc(24 * var(--s)) rgba(0, 0, 0, .3); }
.form-card__note { position: absolute; left: calc(22 * var(--s)); bottom: calc(18 * var(--s)); font-size: calc(11 * var(--s)); }

/* Contact Form 7 dentro de la tarjeta */
.form-card .wpcf7 { margin: 0; }
.form-card form { position: relative; }
.form-card label { display: block; font-size: calc(15 * var(--s)); font-weight: 700; color: #fff; margin-bottom: calc(21 * var(--s)); }
.form-card .wpcf7-form-control-wrap { display: block; margin-top: calc(9 * var(--s)); }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card select { display: block; width: calc(319 * var(--s)); height: calc(25 * var(--s)); padding: 0 calc(8 * var(--s)); border: 0; border-radius: calc(2 * var(--s)); background: #fff; color: var(--navy); font: inherit; font-size: calc(14 * var(--s)); font-weight: 400; }
.form-card select { appearance: none; -webkit-appearance: none; color: #8a93a6; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a93a6' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right calc(8 * var(--s)) center; background-size: calc(12 * var(--s)) auto; }
.form-card select.has-value { color: var(--navy); }
.form-card textarea { display: block; width: calc(441 * var(--s)); height: calc(104 * var(--s)); padding: calc(8 * var(--s)); border: 0; border-radius: calc(2 * var(--s)); background: #fff; color: var(--navy); font: inherit; font-size: calc(14 * var(--s)); resize: none; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: calc(2 * var(--s)) solid var(--navy); outline-offset: 0; }
.form-card label:last-of-type { margin-bottom: 0; }
.form-card input[type="submit"], .form-card button[type="submit"] { position: absolute; right: 0; bottom: 0; height: calc(31 * var(--s)); padding: 0 calc(12 * var(--s)); border: 0; border-radius: calc(5 * var(--s)); background: var(--red); color: #fff; font: inherit; font-size: calc(14 * var(--s)); font-weight: 700; text-transform: uppercase; cursor: pointer; box-shadow: 0 calc(3 * var(--s)) calc(8 * var(--s)) rgba(0, 0, 0, .25); transition: filter .2s; }
.form-card input[type="submit"]:hover { filter: brightness(1.1); }
.form-card .wpcf7-spinner { position: absolute; right: calc(300 * var(--s)); bottom: calc(6 * var(--s)); margin: 0; }
.form-card .wpcf7-not-valid-tip { font-size: calc(12 * var(--s)); color: #ffd6da; margin-top: calc(3 * var(--s)); }
.form-card .wpcf7-response-output { position: absolute; left: calc(470 * var(--s)); right: 0; top: calc(60 * var(--s)); margin: 0 !important; padding: calc(10 * var(--s)) calc(14 * var(--s)) !important; border-radius: calc(8 * var(--s)); border: 0 !important; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: calc(14 * var(--s)); }
.form-card .wpcf7 form.init .wpcf7-response-output, .form-card .wpcf7 form.resetting .wpcf7-response-output, .form-card .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.form-card br { display: none; }

/* ---------- Footer ---------- */
.ftr { min-height: calc(127 * var(--s)); background: var(--navy); color: #fff; display: flex; align-items: flex-start; padding: calc(28 * var(--s)) calc(122 * var(--s)) calc(20 * var(--s)); }
.ftr__brand img { width: calc(202 * var(--s)); }
.ftr__brand p { margin-top: calc(14 * var(--s)); font-size: calc(11 * var(--s)); }
.ftr__col { list-style: none; margin: calc(14 * var(--s)) 0 0; padding: 0; display: flex; flex-direction: column; gap: calc(9 * var(--s)); font-size: calc(14 * var(--s)); }
.ftr__col:nth-of-type(1) { margin-left: auto; }
.ftr__col + .ftr__col { margin-left: calc(38 * var(--s)); }
.ftr__col a { display: flex; align-items: center; gap: calc(9 * var(--s)); }
.ftr__col a:hover { text-decoration: underline; }
.ico { display: inline-block; width: calc(16 * var(--s)); height: calc(16 * var(--s)); background: #fff; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ico--ig { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='6' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.3'/%3E%3C/svg%3E"); }
.ico--wa { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6a9.4 9.4 0 0 0-8.1 14.2L2.6 21.4l4.7-1.2A9.4 9.4 0 1 0 12 2.6z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8.7 7.3c.3-.3.8-.3 1 .1l1 1.9c.1.3.1.6-.1.8l-.6.6a7 7 0 0 0 3.3 3.3l.6-.6c.2-.2.5-.3.8-.1l1.9 1c.4.2.4.7.1 1l-.8.8c-.6.6-1.6.7-2.4.3a10.6 10.6 0 0 1-5.4-5.4c-.4-.8-.3-1.8.3-2.4z'/%3E%3C/svg%3E"); }
.ico--tel { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 013 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.ico--mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='2' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M3 6l9 7 9-7' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }

/* ---------- Entradas al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(calc(24 * var(--s))); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .step, .hero__brand { opacity: 1 !important; transform: none !important; transition: none !important; }
	.hero__line .ch { visibility: visible; }
}

/* Barra de admin de WordPress */
.admin-bar .hdr { top: 32px; }

/* Botón flotante de WhatsApp (siempre visible, esquina inferior derecha) */
.wa-float { position: fixed; z-index: 60; right: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .28); transform: translateY(var(--lift, 0px)); transition: box-shadow .2s ease; }
.wa-float:hover { transform: translateY(var(--lift, 0px)) scale(1.07); box-shadow: 0 8px 22px rgba(0, 0, 0, .32); }
.wa-float .ico { width: 32px; height: 32px; background: #fff; }
@media (max-width: 767px) {
	.wa-float { right: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; }
	.wa-float .ico { width: 30px; height: 30px; }
}
/* iPhone (Safari): la barra del navegador flota sobre el borde inferior; el botón va por encima */
@supports (-webkit-touch-callout: none) {
	@media (max-width: 767px) {
		.wa-float { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
	}
}

/* Elementos que solo existen en mobile */
.m-only, .m-break, .m-br, .tcard--m-only { display: none; }

/* ==========================================================================
   MOBILE (Figma 390px, node 2293:444) — escala --m: 1px a 390px de ancho
   ========================================================================== */
@media (max-width: 767px) {
	:root { --m: min(calc(100vw / 390), 1.35px); --hdr: calc(71 * var(--m)); }
	body.ldk { font-size: calc(16 * var(--m)); }
	.m-only { display: block; }
	/* Cortes de texto: .m-br = salto solo en mobile; br.d-br = salto solo en web; .m-break = punto y aparte solo en mobile */
	.m-br { display: block; }
	.tcard--m-only { display: block; }
	br.d-br, .lead-bar br.d-br { display: none !important; }
	.step__text .m-break { display: block; height: calc(8 * var(--m)); }
	.wrap { padding-left: calc(24 * var(--m)); padding-right: calc(24 * var(--m)); }
	.admin-bar .hdr { top: 46px; }

	/* Tipografía común mobile: el "eyebrow" pasa a ser un rótulo chico con barra roja */
	.eyebrow, .kicker { position: relative; display: block; padding-left: calc(14 * var(--m)); font-size: calc(13 * var(--m)); font-weight: 700; line-height: calc(17 * var(--m)); letter-spacing: 0; text-transform: uppercase; color: var(--navy); }
	.eyebrow::before, .kicker::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(4 * var(--m)); background: var(--red); }
	.eyebrow--white, .kicker--white { color: #fff; }
	/* FAQ y contacto: el h2 se muestra como título grande (el rótulo es .kicker) */
	.faq__title, .contacto .eyebrow { padding-left: 0; margin-top: calc(18 * var(--m)); font-size: calc(28 * var(--m)); line-height: calc(34 * var(--m)); text-transform: none; }
	.faq__title::before, .contacto .eyebrow::before { display: none; }
	.title { margin-top: calc(18 * var(--m)) !important; font-size: calc(27 * var(--m)); line-height: calc(33 * var(--m)); }
	.lead-bar { margin-top: calc(22 * var(--m)) !important; margin-left: 0 !important; padding-left: calc(18 * var(--m)); font-size: calc(16 * var(--m)) !important; font-weight: 400; line-height: calc(23 * var(--m)); }
	.lead-bar br { display: none; }
	.lead-bar::before { top: 0; bottom: 0; width: calc(3 * var(--m)); }

	/* Header: se esconde al bajar y vuelve al subir (main.js agrega .hdr--hidden) */
	.hdr { padding: 0 calc(22 * var(--m)) 0 calc(24 * var(--m)); transition: transform .3s ease; }
	.hdr--hidden { transform: translateY(-110%); }
	.hdr__logo img { width: calc(57 * var(--m)); }
	.hdr__cta { display: none; }
	.hdr__nav { gap: calc(16 * var(--m)); }
	.nav-link { font-size: calc(12 * var(--m)); letter-spacing: 0; padding: calc(4 * var(--m)) 0; }
	.nav-link::after { height: calc(2 * var(--m)); bottom: 0; }

	/* Hero: flujo vertical (logo, titular, texto, botones) */
	.hero { height: auto; padding: calc(40 * var(--m)) calc(24 * var(--m)) calc(35 * var(--m)); }
	.hero__inner { position: relative; left: auto; top: auto; bottom: auto; width: auto; transform: none; display: flex; flex-direction: column; }
	.hero__arrows, .hero__deco-blue, .hero__deco-red { display: none; }
	.hero__brand { position: static; order: 1; width: calc(225 * var(--m)); transform: none; }
	.hero__title { position: static; order: 2; width: auto; min-height: calc(193 * var(--m)); margin-top: calc(32 * var(--m)); text-align: left; font-size: calc(34 * var(--m)); line-height: calc(38.5 * var(--m)); }
	.hero__line { display: inline; white-space: normal; }
	.hero__line .ch { visibility: visible; display: none; }
	.hero__line .ch.on { display: inline; }
	.hero__title.is-typing::after { content: "|"; font-weight: 400; animation: caret .8s steps(1) infinite; }
	.hero__lead { position: static; order: 3; margin-top: calc(28 * var(--m)); text-align: left; font-size: calc(16.5 * var(--m)); line-height: calc(25.7 * var(--m)); }
	.hero__btns { position: static; order: 4; margin-top: calc(28 * var(--m)); flex-direction: column; gap: calc(12 * var(--m)); }
	.btn { width: 100%; min-width: 0; height: calc(56 * var(--m)); padding: 0; border-radius: calc(10 * var(--m)); font-size: calc(15.5 * var(--m)); box-shadow: 0 calc(3 * var(--m)) calc(8 * var(--m)) rgba(0, 0, 0, .25); }
	.btn--navy { border: 1px solid rgba(255, 255, 255, .35); }

	/* Proceso: una etapa por vez, carrusel vertical con puntos y flechas */
	.proceso { height: auto; padding-bottom: calc(28 * var(--m)); }
	.proceso .wrap { padding-top: calc(34 * var(--m)); }
	.steps { position: relative; inset: auto; height: calc(165 * var(--m)); margin: calc(22 * var(--m)) calc(24 * var(--m)) 0; overflow: hidden; pointer-events: auto; }
	.steps__line { display: none; }
	.step, .step--1, .step--2, .step--3, .step--4 { left: 0; top: 0; width: 100%; height: 100%; padding-left: calc(36 * var(--m)); opacity: 1; transform: translateY(calc(var(--off, 0) * 100%)); transition: transform .6s cubic-bezier(.45, 0, .2, 1); }
	.step::before { content: ""; position: absolute; left: calc(8.5 * var(--m)); top: calc(18 * var(--m)); bottom: calc(-6 * var(--m)); width: calc(1.5 * var(--m)); background: #d6dae2; }
	.step__dot { left: calc(3 * var(--m)); top: calc(3 * var(--m)); width: calc(13 * var(--m)); height: calc(13 * var(--m)); }
	.step__week { position: static; font-size: calc(12 * var(--m)); color: var(--blue); }
	.step__title { position: static; margin-top: calc(12 * var(--m)); font-size: calc(21 * var(--m)); }
	.step__text { position: static; margin-top: calc(10 * var(--m)); font-size: calc(15.5 * var(--m)); line-height: calc(23 * var(--m)); white-space: normal; }
	.step__text br { display: none; }
	.steps__nav { display: flex; flex-direction: column; align-items: center; gap: calc(12 * var(--m)); margin-top: calc(6 * var(--m)); }
	.steps__dots { display: flex; gap: calc(8 * var(--m)); }
	.steps__dots span { width: calc(7 * var(--m)); height: calc(7 * var(--m)); border-radius: 50%; background: #d6dae2; transition: background .3s; }
	.steps__dots span.is-active { background: var(--red); }
	.steps__arrows { display: flex; gap: calc(8 * var(--m)); }
	.arrow { width: calc(34 * var(--m)); height: calc(34 * var(--m)); border-width: 1.5px; }
	.arrow::before { width: calc(8 * var(--m)); height: calc(8 * var(--m)); border-top-width: 2px; border-right-width: 2px; }
	.arrow--up::before { transform: translate(-50%, -25%) rotate(-45deg); }
	.arrow--down::before { transform: translate(-50%, -75%) rotate(135deg); }
	.proceso__cta { position: static; display: flex; width: auto; height: calc(50 * var(--m)); margin: calc(22 * var(--m)) calc(24 * var(--m)) 0; border-radius: calc(8 * var(--m)); font-size: calc(14.5 * var(--m)); }

	/* Sobre mí: foto arriba, texto abajo */
	.sobre { padding: calc(34 * var(--m)) 0 calc(40 * var(--m)); }
	.sobre .wrap > *:not(.eyebrow) { margin-left: 0; width: auto; }
	.bio { flex-direction: column; height: auto; margin-top: calc(22 * var(--m)); border-radius: calc(16 * var(--m)); }
	.bio__photo { order: -1; width: 100%; height: calc(252 * var(--m)); border-radius: calc(16 * var(--m)) calc(16 * var(--m)) 0 0; object-position: center 35%; }
	.bio__text { padding: calc(26 * var(--m)) calc(24 * var(--m)) calc(30 * var(--m)); }
	.bio__text h3 { font-size: calc(24 * var(--m)); line-height: calc(29 * var(--m)); margin-bottom: calc(20 * var(--m)); }
	.bio__text p { font-size: calc(16 * var(--m)); line-height: calc(25 * var(--m)); }
	.bio__text p + p { margin-top: calc(18 * var(--m)); }
	.bio__text br { display: none; }
	.bio__text .m-break { display: block; height: calc(18 * var(--m)); } /* punto y aparte solo en mobile */
	.bio__dots, .bio__sq, .sobre__sq { display: none; }
	.sobre .title--red { margin-top: calc(40 * var(--m)) !important; color: #fff; font-size: calc(24 * var(--m)); }
	.map { height: calc(300 * var(--m)); margin-top: calc(26 * var(--m)); border-radius: calc(12 * var(--m)); } /* más alto que en Figma (170) para que entre la ficha de cada pin */

	/* Casos de éxito: una tarjeta por vez, flechas abajo */
	.testi { padding: calc(34 * var(--m)) 0 calc(28 * var(--m)); }
	.carousel { margin-top: calc(26 * var(--m)); padding: calc(4 * var(--m)) 0 calc(14 * var(--m)); overflow: hidden; width: auto; }
	.carousel__track { gap: calc(16 * var(--m)); }
	.tcard, .tcard:nth-child(3n):not(:last-child) { flex: 0 0 100%; margin-right: 0; min-height: calc(183 * var(--m)); padding: calc(24 * var(--m)) calc(20 * var(--m)) calc(24 * var(--m)) calc(38 * var(--m)); border-radius: calc(16 * var(--m)); box-shadow: none; }
	.tcard::before { left: calc(20 * var(--m)); top: calc(24 * var(--m)); bottom: calc(24 * var(--m)); height: auto; width: calc(3 * var(--m)); }
	.tcard__tag { font-size: calc(11 * var(--m)); }
	.tcard__name { margin-top: calc(8 * var(--m)); font-size: calc(15.5 * var(--m)); }
	.tcard__quote { margin-top: calc(10 * var(--m)); font-size: calc(15 * var(--m)); line-height: calc(23 * var(--m)); }
	.carousel__dots { gap: calc(9 * var(--m)); margin-top: calc(4 * var(--m)); }
	.carousel__dots button, .carousel__dots button.is-active { width: calc(7 * var(--m)); height: calc(7 * var(--m)); border-radius: 50%; }
	.testi__arrows { position: static; justify-content: center; margin-top: calc(12 * var(--m)); }
	.testi .wrap { display: flex; flex-direction: column; }
	.testi__arrows { order: 10; }

	/* FAQ */
	.faq { padding: calc(34 * var(--m)) 0 calc(36 * var(--m)); background: #F3F5F9; }
	.faq__grid { display: block; padding-left: calc(24 * var(--m)); }
	.faq__head { width: auto; padding-top: 0; }
	.faq__list { width: auto; margin-top: calc(26 * var(--m)); gap: calc(16 * var(--m)); }
	.faq__item { border-radius: calc(14 * var(--m)); }
	.faq__q, .faq__item.is-open .faq__q { height: auto; min-height: calc(72 * var(--m)); margin-top: 0; padding: calc(16 * var(--m)) calc(18 * var(--m)) calc(16 * var(--m)) calc(20 * var(--m)); gap: calc(14 * var(--m)); font-size: calc(17.5 * var(--m)); line-height: calc(22 * var(--m)); }
	.faq__icon { width: calc(28 * var(--m)); height: calc(28 * var(--m)); border-width: 1.5px; }
	.faq__icon::before, .faq__icon::after { width: calc(12 * var(--m)); height: 1.5px; }
	.faq__a p { max-width: none; margin-left: calc(20 * var(--m)); margin-right: calc(20 * var(--m)); padding-left: calc(14 * var(--m)); font-size: calc(15 * var(--m)); line-height: calc(22 * var(--m)); }
	.faq__a > div > p { margin-bottom: calc(20 * var(--m)); }
	.faq__a p::before { width: calc(3 * var(--m)); }

	/* Contacto */
	.contacto { padding: calc(34 * var(--m)) 0 calc(36 * var(--m)); }
	.contacto__dots, .contacto__bar { display: none; }
	.contacto .wrap { padding-left: calc(24 * var(--m)); }
	.contacto .lead-bar { font-size: calc(16 * var(--m)) !important; }
	.form-card { width: auto; min-height: 0; margin: calc(26 * var(--m)) 0 0; padding: calc(22 * var(--m)) calc(12 * var(--m)) calc(16 * var(--m)); border-radius: calc(18 * var(--m)); }
	.form-card label { font-size: calc(15 * var(--m)); margin-bottom: calc(18 * var(--m)); }
	.form-card .wpcf7-form-control-wrap { margin-top: calc(10 * var(--m)); }
	.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card select { width: 100%; height: calc(29 * var(--m)); border-radius: calc(5 * var(--m)); font-size: 16px; }
	.form-card select { background-position: right calc(10 * var(--m)) center; }
	.form-card textarea { width: 100%; height: calc(128 * var(--m)); border-radius: calc(5 * var(--m)); font-size: 16px; }
	.form-card label:last-of-type { margin-bottom: calc(66 * var(--m)); }
	.form-card__note { position: absolute; left: calc(12 * var(--m)); right: calc(12 * var(--m)); bottom: calc(86 * var(--m)); font-size: calc(12 * var(--m)); line-height: calc(18 * var(--m)); }
	.form-card input[type="submit"], .form-card button[type="submit"] { position: relative; display: block; width: 100%; height: calc(52 * var(--m)); border-radius: calc(8 * var(--m)); font-size: calc(16 * var(--m)); }
	.form-card .wpcf7-spinner { right: 50%; bottom: calc(-26 * var(--m)); }
	.form-card .wpcf7-response-output { position: static; margin-top: calc(14 * var(--m)) !important; }

	/* Footer */
	.ftr { flex-wrap: wrap; align-items: center; min-height: 0; padding: calc(16 * var(--m)) calc(24 * var(--m)) calc(14 * var(--m)); }
	.ftr__brand { display: contents; }
	.ftr__brand img { width: calc(118 * var(--m)); }
	.ftr__brand p { order: 10; width: 100%; margin-top: calc(14 * var(--m)); padding-top: calc(12 * var(--m)); border-top: 1px solid rgba(255, 255, 255, .25); font-size: calc(9.5 * var(--m)); }
	/* Íconos en fila: teléfono, mail, WhatsApp, Instagram */
	.ftr__col, .ftr__col + .ftr__col { display: contents; margin: 0; }
	.ftr__col li { margin-left: calc(10 * var(--m)); }
	.ftr__col:nth-of-type(1) li:nth-child(2) { order: 1; margin-left: auto; } /* teléfono */
	.ftr__col:nth-of-type(2) li:nth-child(2) { order: 2; } /* mail */
	.ftr__col:nth-of-type(1) li:nth-child(1) { order: 3; } /* WhatsApp */
	.ftr__col:nth-of-type(2) li:nth-child(1) { order: 4; } /* Instagram */
	.ftr__col a { font-size: 0; gap: 0; }
	.ftr__col li, .ico { flex-shrink: 0; }
	.ico { width: calc(22 * var(--m)); height: calc(22 * var(--m)); }

	/* Ajustes tras comparar con el prototipo */
	.form-card select { background-size: calc(12 * var(--m)) auto; }
	.title { font-size: calc(28.5 * var(--m)); line-height: calc(34 * var(--m)); }
	.lead-bar br { display: inline; }
	.hero__title { font-size: calc(35.5 * var(--m)); line-height: calc(39.5 * var(--m)); min-height: calc(198 * var(--m)); }
	.hero__lead { max-width: none; }
	/* Tamaños para que cada renglón pedido entre en una línea a 390px */
	.bio__text h3 { font-size: calc(22.5 * var(--m)); white-space: nowrap; }
	.bio__text p { font-size: calc(14.5 * var(--m)); line-height: calc(23 * var(--m)); }
	.tcard__quote { font-size: calc(14.2 * var(--m)); }
	.faq__a p { font-size: calc(14.6 * var(--m)); }
	.form-card__note { white-space: nowrap; font-size: calc(10.3 * var(--m)); }
	.form-card label:last-of-type { margin-bottom: calc(48 * var(--m)); }
}
