/* =====================================================================
   JOINTERRA · ROMÂNIA — landing v2 (fusión HTML + HTML2)
   Paleta y tipografía alineadas con los creativos de Meta (scent):
   azul marino -> azul, amarillo de urgencia, Montserrat 800/900.
   ===================================================================== */

/* --- Tipografía local (TEMPLATE_FUNNEL §8.B.1: font-display obligatorio) --- */
@font-face {
	font-family: 'Montserrat';
	src: url("../fonts/montserrat-latin-800.woff2") format("woff2");
	font-weight: 800; font-style: normal; font-display: fallback;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Montserrat';
	src: url("../fonts/montserrat-latin-ext-800.woff2") format("woff2");
	font-weight: 800; font-style: normal; font-display: fallback;
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Montserrat';
	src: url("../fonts/montserrat-latin-900.woff2") format("woff2");
	font-weight: 900; font-style: normal; font-display: fallback;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Montserrat';
	src: url("../fonts/montserrat-latin-ext-900.woff2") format("woff2");
	font-weight: 900; font-style: normal; font-display: fallback;
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--navy: #0b2a5b;
	--blue: #2b64a0;
	--blue-dk: #1d4c84;
	--sky: #eaf2fb;
	--sky-2: #d6e6f7;
	--yellow: #ffd21f;
	--yellow-dk: #f0b800;
	--red: #e3342f;
	--ink: #0e1a2b;
	--muted: #5b6b82;
	--line: #dbe3ee;
	--white: #fff;
	--green: #12924a;
	--radius: 18px;
	--shadow: 0 18px 40px rgba(11, 42, 91, .18);
	--head: 'Montserrat', 'Arial Black', 'Segoe UI', Arial, sans-serif;
	--body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--white);
}
img { max-width: 100%; display: block; }
img[width][height] { height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
a { color: inherit; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section-title { font-size: clamp(28px, 5.4vw, 44px); text-align: center; margin-bottom: 14px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.hl { color: var(--blue); }
.mark {
	background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
	padding: 0 .08em;
}

/* --- Botón principal --- */
.btn {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	width: 100%; min-height: 64px; padding: 12px 22px;
	border: 0; border-radius: 14px; cursor: pointer;
	background: linear-gradient(180deg, #ffe15a 0%, var(--yellow) 45%, var(--yellow-dk) 100%);
	box-shadow: 0 5px 0 #c99600, 0 12px 24px rgba(240, 184, 0, .35);
	color: var(--ink); text-decoration: none; text-align: center;
	font-family: var(--head); font-weight: 900; font-size: 20px; letter-spacing: .02em; text-transform: uppercase;
	transition: transform .12s ease, box-shadow .12s ease;
	animation: pulse 2.6s ease-in-out infinite;
}
.btn small { font-family: var(--body); font-weight: 600; font-size: 13px; text-transform: none; letter-spacing: 0; opacity: .85; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #c99600; }
.btn:disabled { opacity: .7; cursor: wait; animation: none; }
.btn.is-loading { font-size: 17px; }
.btn--inline { width: auto; min-width: 280px; }
@keyframes pulse {
	0%, 100% { box-shadow: 0 5px 0 #c99600, 0 12px 24px rgba(240, 184, 0, .35); }
	50% { box-shadow: 0 5px 0 #c99600, 0 12px 34px rgba(240, 184, 0, .65); }
}
@media (prefers-reduced-motion: reduce) { .btn { animation: none; } html { scroll-behavior: auto; } }

/* --- Barra superior --- */
.topbar {
	background: var(--ink); color: var(--white);
	font-size: 13px; font-weight: 600; text-align: center;
	padding: 8px 12px; line-height: 1.4;
}
.topbar b { color: var(--yellow); }
.topbar .sep { opacity: .45; margin: 0 6px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
	position: relative; overflow: hidden;
	background: linear-gradient(180deg, var(--navy) 0%, var(--blue) 52%, var(--sky-2) 100%);
	color: var(--white);
	padding: 22px 0 48px;
}
.hero::after { /* halo detrás del producto */
	content: ""; position: absolute; left: 50%; top: 360px; width: 520px; height: 520px; transform: translateX(-50%);
	background: radial-gradient(circle, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 65%);
	pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.brand { font-family: var(--head); font-weight: 900; font-size: 22px; letter-spacing: .14em; margin-bottom: 18px; }
.chip {
	display: inline-block; padding: 6px 14px; border-radius: 999px;
	background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
	font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(36px, 9.5vw, 66px); font-weight: 900; margin: 14px 0 12px; }
.hero h1 .mark { color: var(--ink); background: var(--yellow); padding: 0 .14em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__lead { font-size: 19px; max-width: 520px; color: #e6eefa; }
.hero__lead b { color: var(--white); }

.stage { position: relative; margin: 22px auto 8px; max-width: 460px; }
.stage__prod { width: 210px; margin: 0 auto; filter: drop-shadow(0 26px 30px rgba(0,0,0,.35)); }
.pills { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pill {
	display: flex; align-items: center; gap: 10px;
	background: var(--white); color: var(--navy);
	border-radius: 999px; padding: 9px 14px 9px 9px;
	box-shadow: 0 8px 18px rgba(11,42,91,.18);
	font-family: var(--head); font-weight: 800; font-size: 14px; line-height: 1.15;
}
.pill div span { display: block; font-size: 13px; color: var(--blue); }
.pill__check {
	flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--blue);
	display: flex; align-items: center; justify-content: center;
}
.pill__check svg { width: 16px; height: 16px; stroke: var(--white); }

.sticker {
	position: absolute; top: 4px; right: 4px; z-index: 2;
	transform: rotate(10deg);
	text-align: center; font-family: var(--head); font-weight: 900; line-height: 1;
	filter: drop-shadow(0 10px 16px rgba(0,0,0,.3));
}
.sticker__top { display: block; background: var(--red); color: var(--white); font-size: 13px; padding: 6px 10px; border-radius: 10px 10px 0 0; letter-spacing: .06em; }
.sticker__big { display: block; background: var(--yellow); color: var(--ink); font-size: 40px; padding: 6px 12px 8px; border-radius: 0 0 10px 10px; }

/* --- Tarjeta de pedido --- */
.order-card {
	position: relative; z-index: 1;
	background: var(--white); color: var(--ink);
	border-radius: var(--radius); box-shadow: var(--shadow);
	max-width: 440px; margin: 26px auto 0; overflow: hidden;
}
.order-card__ribbon {
	background: var(--ink); color: var(--yellow);
	font-family: var(--head); font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
	text-align: center; padding: 10px 12px;
}
.order-card__body { padding: 20px 20px 18px; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.price-box { border-radius: 12px; padding: 10px 8px; text-align: center; }
.price-box--old { background: #f2f4f8; color: var(--muted); }
.price-box--new { background: #fff6cc; border: 2px solid var(--yellow); }
.price-box__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.price-box__val { font-family: var(--head); font-weight: 900; font-size: 30px; line-height: 1.1; }
.price-box__val small { font-size: 15px; }
.price-box--old .price-box__val { font-size: 22px; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.price-box--new .price-box__val { color: var(--red); }
.promo-line { text-align: center; font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.promo-line b { color: var(--green); }

.field { position: relative; display: block; margin-bottom: 12px; }
.field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--muted); pointer-events: none; }
.field input {
	width: 100%; height: 56px; padding: 0 14px 0 44px;
	border: 2px solid var(--line); border-radius: 12px; background: #f8fafc;
	font: 600 17px var(--body); color: var(--ink);
	transition: border-color .15s, background .15s;
}
.field input::placeholder { color: #8a97a8; font-weight: 500; }
.field input:focus { outline: none; border-color: var(--blue); background: var(--white); }
.field input.form__field_error { border-color: #d93025; background: #fff6f5; }
.form-hint { font-size: 12px; color: var(--muted); margin: -6px 0 14px 4px; }
.form__error-alert {
	display: none; margin: 0 0 12px; padding: 10px 12px;
	background: #fdecea; color: #b3261e; border: 1px solid #f5c2c0; border-radius: 10px;
	font-size: 14px; line-height: 1.4;
}
.order-card .btn { margin-top: 4px; }
.assure { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure svg { flex: 0 0 18px; width: 18px; height: 18px; stroke: var(--green); }
.assure b { color: var(--ink); }

/* --- Cuenta atrás (formulario final) --- */

/* =====================================================================
   FRANJA DE CONFIANZA
   ===================================================================== */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.trust__item { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; }
.trust__item b { display: block; font-family: var(--head); font-weight: 800; font-size: 14px; color: var(--navy); }
.trust__ico { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--sky); display: flex; align-items: center; justify-content: center; }
.trust__ico svg { width: 24px; height: 24px; stroke: var(--blue); }

/* =====================================================================
   "¿QUÉ CONTIENE, DE HECHO?" — bloque disruptivo amarillo (creativo)
   ===================================================================== */
.contents { background: var(--yellow); }
.contents .section-title { color: var(--ink); font-weight: 900; }
.contents .section-sub { color: #3d3a2a; }
.contents__foot { font-size: 13px; color: #3d3a2a; margin: 22px 0 0; text-align: center; }

/* =====================================================================
   ESTILO DE VIDA + DECLARACIONES AUTORIZADAS
   ===================================================================== */
.life__grid { display: grid; gap: 28px; align-items: center; }
.life__img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.life h2 { font-size: clamp(26px, 5vw, 38px); margin-bottom: 12px; }
.factors { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.factors li { display: flex; align-items: center; gap: 10px; background: var(--sky); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 15px; line-height: 1.25; }
.factors svg { flex: 0 0 28px; width: 28px; height: 28px; stroke: var(--blue); }
.claims { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 20px; margin-top: 18px; }
.claims h3 { font-size: 18px; margin-bottom: 10px; color: var(--yellow); }
.claims ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.claims li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.claims li svg { flex: 0 0 22px; width: 22px; height: 22px; stroke: var(--yellow); margin-top: 1px; }

/* =====================================================================
   COMPARATIVA (idea de HTML2, reescrita sin descalificar fármacos)
   ===================================================================== */
.compare { background: var(--sky); }
.compare__table { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 860px; margin: 0 auto; }
.compare__col { padding: 0; }
.compare__col--them { background: #f4f6f9; color: var(--muted); }
.compare__col--us { background: var(--white); }
.compare__head { padding: 16px 12px; text-align: center; font-family: var(--head); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.compare__col--us .compare__head { background: var(--blue); color: var(--white); }
.compare__col--them .compare__head { background: #c9d2de; color: #3b4859; }
.compare__row { display: flex; gap: 8px; align-items: flex-start; padding: 14px 12px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; min-height: 74px; }
.compare__row svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; }
.compare__col--them svg { stroke: #9aa6b6; }
.compare__col--us svg { stroke: var(--green); }
.compare__col--us .compare__row { font-weight: 600; color: var(--ink); }

/* =====================================================================
   MODO DE EMPLEO (3 pasos)
   ===================================================================== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 18px 18px 78px; min-height: 96px; }
.step::before {
	counter-increment: step; content: counter(step);
	position: absolute; left: 18px; top: 18px; width: 44px; height: 44px; border-radius: 12px;
	background: var(--yellow); color: var(--ink);
	font-family: var(--head); font-weight: 900; font-size: 22px; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.use__note { text-align: center; font-size: 14px; color: var(--muted); margin: 20px 0 0; }
.use__note b { color: var(--ink); }

/* =====================================================================
   BANDA CTA INTERMEDIA
   ===================================================================== */
.band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: var(--white); padding: 44px 0; text-align: center; }
.band h2 { font-size: clamp(26px, 5.5vw, 42px); font-weight: 900; margin-bottom: 10px; }
.band p { color: #dbe6f6; margin-bottom: 20px; }
.band__price { font-family: var(--head); font-weight: 900; font-size: 22px; margin-bottom: 18px; }
.band__price s { color: #9fb6d6; font-size: 18px; margin-right: 8px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.band__price span { color: var(--yellow); font-size: 34px; }

/* =====================================================================
   RESEÑAS
   ===================================================================== */
.reviews__grid { display: grid; gap: 14px; }
.review { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sky-2); }
.review__name { font-weight: 800; font-family: var(--head); font-size: 15px; }
.review__meta { font-size: 13px; color: var(--muted); }
.review__quote { font-family: var(--head); font-weight: 800; font-size: 17px; color: var(--blue); margin-bottom: 6px; }
.review p { font-size: 15px; margin: 0; color: #33404f; }
.reviews__disc { text-align: center; font-size: 13px; color: var(--muted); margin: 18px 0 0; }

/* =====================================================================
   CÓMO PEDIR (idea de HTML2)
   ===================================================================== */
.howto { background: var(--sky); }

/* =====================================================================
   FAQ (acordeón nativo <details>, sin JS)
   ===================================================================== */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 2px solid var(--line); border-radius: 14px; }
.faq details[open] { border-color: var(--blue); }
.faq summary {
	list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative;
	font-family: var(--head); font-weight: 800; font-size: 16px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--ink);
	font-size: 20px; line-height: 28px; text-align: center;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; font-size: 15.5px; color: #33404f; }

/* =====================================================================
   FORMULARIO FINAL
   ===================================================================== */
.final { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy) 0%, var(--blue) 60%, var(--sky-2) 100%); color: var(--white); padding: 56px 0 64px; }
.final h2 { font-size: clamp(30px, 7vw, 52px); font-weight: 900; text-align: center; margin-bottom: 10px; }
.final h2 .mark { color: var(--ink); background: var(--yellow); padding: 0 .14em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.final__sub { text-align: center; color: #e6eefa; max-width: 560px; margin: 0 auto; }
.final__prod { width: 170px; margin: 22px auto 0; filter: drop-shadow(0 22px 26px rgba(0,0,0,.35)); }

/* =====================================================================
   PIE LEGAL
   ===================================================================== */
.footer { background: #f4f6f9; color: #4a5768; font-size: 13.5px; text-align: center; padding: 34px 0 96px; }
.footer p { max-width: 860px; margin: 0 auto 10px; }
.footer__links { margin: 16px 0 8px; }
.footer__links a { margin: 0 8px; color: var(--navy); font-weight: 600; }
.footer__copy { color: #8a97a8; }

/* =====================================================================
   BARRA FIJA MÓVIL (no es un popup: no tapa contenido ni bloquea)
   ===================================================================== */
.sticky-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
	display: flex; align-items: center; gap: 10px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
	box-shadow: 0 -8px 24px rgba(11,42,91,.14);
	transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__price { font-family: var(--head); font-weight: 900; font-size: 20px; color: var(--red); line-height: 1.05; white-space: nowrap; }
.sticky-cta__price s { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-decoration-color: var(--red); }
.sticky-cta .btn { min-height: 52px; font-size: 16px; padding: 8px 14px; animation: none; }

/* =====================================================================
   ESCRITORIO
   ===================================================================== */
@media (min-width: 640px) {
	.trust__grid { grid-template-columns: repeat(4, 1fr); }
	.reviews__grid { grid-template-columns: 1fr 1fr; }
	.compare__row { font-size: 15.5px; padding: 16px 18px; }
}

@media (min-width: 960px) {
	body { font-size: 18px; }
	.section { padding: 88px 0; }
	.hero { padding: 26px 0 70px; }
	.hero::after { left: 40%; top: 220px; width: 640px; height: 640px; }
	.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
	.hero h1 { margin-top: 18px; }
	.stage { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 18px; max-width: none; margin: 26px 0 0; }
	.stage__prod { width: 220px; margin: 0; }
	.pills { grid-template-columns: 1fr; margin: 0; }
	.sticker { top: -6px; left: 150px; right: auto; }
	.order-card { margin: 54px 0 0; max-width: none; }
	.life__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
	.steps { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
	.reviews__grid { grid-template-columns: repeat(4, 1fr); }
	.final__grid { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: center; }
	.final h2, .final__sub { text-align: left; margin-left: 0; }
	.final__prod { width: 230px; margin: 26px 0 0 40px; }
	.final .order-card { margin: 0; }
	.sticky-cta { display: none; }
	.footer { padding-bottom: 34px; }
}

/* =====================================================================
   COMPOSICIÓN — disposición de HTML2 (imagen redonda + etiqueta + texto)
   ===================================================================== */
.ing-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ing {
	display: flex; align-items: center; gap: 14px;
	background: var(--white); border-radius: 18px; padding: 14px;
	border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.ing__img {
	flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
	background: var(--white); border: 3px solid var(--sky-2);
	display: flex; align-items: center; justify-content: center;
}
.ing__img img { width: 100%; height: 100%; object-fit: cover; }
.ing__img--ico { background: linear-gradient(145deg, var(--blue), var(--navy)); border-color: var(--sky-2); }
.ing__img--ico svg { width: 46px; height: 46px; stroke: var(--white); }
.ing__img--amber { background: linear-gradient(145deg, #f3b33d, #c7781a); }
.ing__info { min-width: 0; }
.ing__name {
	display: inline-block; padding: 4px 12px; border-radius: 999px;
	background: var(--sky); color: var(--navy);
	font-family: var(--head); font-weight: 800; font-size: 15px;
}
.ing__dose { font-family: var(--head); font-weight: 900; font-size: 22px; line-height: 1.1; color: var(--blue); margin: 6px 0 4px; }
.ing__dose small { font-size: 13px; color: var(--ink); }
.ing__vnr { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-family: var(--body); font-size: 11px; font-weight: 700; vertical-align: middle; }
.ing__info p { margin: 0; font-size: 14.5px; line-height: 1.45; color: #33404f; }

/* =====================================================================
   CÓMO PEDIR — disposición de HTML2 (fotos redondas + puntos)
   ===================================================================== */
.howto__grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 34px; }
.howto__item { position: relative; text-align: center; }
.howto__img { position: relative; width: 190px; height: 190px; margin: 0 auto 18px; }
.howto__img img {
	width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
	border: 6px solid var(--white); box-shadow: 0 0 0 3px var(--sky-2), 0 14px 30px rgba(11, 42, 91, .16);
}
.howto__num {
	position: absolute; right: 6px; top: 6px; width: 46px; height: 46px; border-radius: 50%;
	background: var(--yellow); color: var(--ink); border: 3px solid var(--white);
	font-family: var(--head); font-weight: 900; font-size: 21px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
}
.howto__item h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.howto__item p { margin: 0 auto; max-width: 320px; font-size: 15.5px; color: var(--muted); }

@media (min-width: 640px) {
	.ing-list { grid-template-columns: 1fr 1fr; }
	.howto__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	/* Puntos de conexión entre pasos, como en HTML2 */
	.howto__item:not(:last-child)::after {
		content: ""; position: absolute; top: 89px; right: -22px; width: 44px; height: 12px;
		background:
			radial-gradient(circle, var(--blue) 0 3px, transparent 3.5px) 0 50% / 12px 12px no-repeat,
			radial-gradient(circle, var(--blue) 0 5px, transparent 5.5px) 50% 50% / 12px 12px no-repeat,
			radial-gradient(circle, var(--blue) 0 3px, transparent 3.5px) 100% 50% / 12px 12px no-repeat;
		opacity: .45;
	}
}
@media (min-width: 960px) {
	.ing { padding: 16px 18px; gap: 18px; }
	.ing__img { flex-basis: 110px; width: 110px; height: 110px; }
	.howto__img { width: 220px; height: 220px; }
	.howto__item:not(:last-child)::after { top: 104px; }
}

/* =====================================================================
   FONDO DE COLUMNA (imagen de la landing v1) detrás de la caja de datos
   Se funde con el azul de la página mediante una máscara.
   ===================================================================== */
.hero::before, .final::before {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	left: 0; right: 0; bottom: 0; height: 62%;
	background: url("../media/bg-spine.webp") 78% center / cover no-repeat;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 85%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 85%, transparent 100%);
	opacity: .9;
}
.final .container { position: relative; z-index: 1; }
@media (min-width: 960px) {
	.hero::before, .final::before {
		top: 0; bottom: 0; left: auto; right: 0; width: 62%; height: auto;
		background-position: right center;
		-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%);
		mask-image: linear-gradient(to right, transparent 0%, #000 38%);
	}
}

/* =====================================================================
   AVISOS DE PEDIDOS RECIENTES (abajo a la izquierda)
   ===================================================================== */
.proof {
	position: fixed; left: 12px; bottom: 88px; z-index: 60;
	display: flex; align-items: center; gap: 10px;
	width: calc(100% - 24px); max-width: 330px; padding: 10px 34px 10px 10px;
	background: var(--white); color: var(--ink);
	border-radius: 14px; border-left: 5px solid var(--yellow);
	box-shadow: 0 12px 30px rgba(11, 42, 91, .25);
	font-size: 13.5px; line-height: 1.35;
	opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease;
}
.proof[hidden] { display: none; }
.proof.is-in { opacity: 1; transform: translateY(0); }
.proof__img { flex: 0 0 34px; width: 34px; height: auto; }
.proof__name { font-family: var(--head); font-weight: 800; color: var(--navy); }
.proof__city { color: var(--muted); }
.proof__what { display: block; }
.proof__time { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--green); font-weight: 700; }
.proof__time::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.proof__close {
	position: absolute; top: 4px; right: 6px; width: 26px; height: 26px;
	border: 0; background: transparent; color: #8a97a8; font-size: 20px; line-height: 1; cursor: pointer;
}
.proof__close:hover { color: var(--ink); }

/* =====================================================================
   POPUP DE SALIDA
   ===================================================================== */
.exit {
	position: fixed; inset: 0; z-index: 100;
	display: flex; align-items: center; justify-content: center;
	padding: 16px; overflow-y: auto;
	background: rgba(11, 26, 50, .72);
	opacity: 0; transition: opacity .25s ease;
}
.exit[hidden] { display: none; }
.exit.is-open { opacity: 1; }
.exit__card {
	position: relative; width: 100%; max-width: 460px; margin: auto;
	background: var(--white); border-radius: 22px; overflow: hidden;
	box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
	transform: translateY(20px) scale(.97); transition: transform .25s ease;
}
.exit.is-open .exit__card { transform: none; }
.exit__close {
	position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
	border: 0; background: rgba(255,255,255,.18); color: var(--white); font-size: 24px; line-height: 1; cursor: pointer;
}
.exit__close:hover { background: rgba(255,255,255,.3); }
.exit__head {
	display: flex; gap: 14px; align-items: center;
	padding: 22px 20px 18px;
	background: linear-gradient(160deg, var(--navy), var(--blue)); color: var(--white);
}
.exit__prod { flex: 0 0 72px; width: 72px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.exit__kicker { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.exit__head h2 { font-size: 24px; font-weight: 900; margin: 0 0 6px; padding-right: 26px; }
.exit__head h2 .mark { color: var(--ink); background: var(--yellow); padding: 0 .12em; border-radius: 5px; }
.exit__lead { margin: 0; font-size: 14px; line-height: 1.45; color: #e6eefa; }
.exit__lead b { color: var(--white); }
.exit__perks { list-style: none; margin: 0; padding: 12px 16px; display: flex; justify-content: space-between; gap: 6px; background: var(--sky); font-size: 12.5px; font-weight: 700; color: var(--navy); }
.exit__perks li { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.exit__perks svg { width: 16px; height: 16px; stroke: var(--blue); }
.exit__form { padding: 16px 20px 6px; }
.exit__form .price-row { margin-bottom: 12px; }
.exit__form .btn { font-size: 18px; }
.exit__no {
	display: block; margin: 4px auto 16px; padding: 6px 10px;
	border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer;
}
body.exit-lock { overflow: hidden; }

@media (min-width: 960px) {
	.proof { bottom: 20px; left: 20px; }
}
@media (max-width: 479px) {
	.exit__form .btn { font-size: 16px; padding: 10px 12px; }
	.exit__perks { font-size: 12px; }
}
@media (max-width: 380px) {
	.exit__head { padding: 18px 16px 14px; }
	.exit__prod { flex-basis: 58px; width: 58px; }
	.exit__head h2 { font-size: 21px; }
	.exit__form .btn { font-size: 16px; }
	.exit__perks { font-size: 11.5px; padding: 10px 12px; }
	.exit__form { padding: 14px 16px 4px; }
}

/* =====================================================================
   SNIPPET 04 — Correcciones obligatorias del ecosistema
   ===================================================================== */
html { overflow-x: hidden; }

body {
	overflow-x: hidden;
	max-width: 100%;
}

.form__error-alert {
	overflow-wrap: break-word;
	word-wrap: break-word;
	max-width: 100%;
	box-sizing: border-box;
}

/* --- Ajustes tras revisión visual --- */
.mark { white-space: nowrap; }
.final__prod { width: 140px; }
@media (max-width: 639px) {
}
@media (min-width: 960px) {
	.final__prod { width: 230px; }
}
