/* Taty - hoja de estilos del sitio.
   Motivo unico: el toldo festoneado del logo (franja, mascara de fotos, viñetas, botones redondos). */

@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #ffffff;
  --ground-2: #f1f6f3;
  --ground-3: #e2ede7;
  --ink: #16302a;
  --muted: #4a5d55;
  --orange: #f2994a;
  --yellow: #f2c94c;
  --green: #2e9e78;
  --green-deep: #1c6249;
  --on-deep: #ffffff;
  --on-deep-soft: #d3e9df;
  --margin: clamp(16px, 2.4vw, 32px);
  --gutter: clamp(12px, 1.6vw, 24px);
  --section: clamp(104px, 11vw, 200px);
  --bar-h: 72px;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 0.95rem + 0.95vw, 1.75rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 1rem + 6.4vw, 8.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 1' preserveAspectRatio='none'%3E%3Cpath d='M0 0h2a1 1 0 0 1-2 0z'/%3E%3C/svg%3E");
  --fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1' preserveAspectRatio='none'%3E%3Crect width='1' height='1'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: var(--orange); }
a:hover { text-decoration-color: currentColor; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { padding-inline: var(--margin); }
.skip { position: absolute; left: var(--margin); top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }

/* ---------- botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.5em; border: 0; border-radius: 999px;
  background: var(--orange); color: var(--ink);
  font: inherit; font-weight: 600; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}
.btn:hover { background: var(--yellow); }
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--green-deep); color: var(--on-deep); }
.btn-dark:hover { background: var(--ink); }
.btn-lg { min-height: 58px; padding-inline: 2em; }
.btn-sm { min-height: 40px; padding: 0.45em 1.15em; font-size: var(--step-small); }
.link-strong { font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 0.28em; transition: text-decoration-color 0.2s; }
.link-strong:hover { text-decoration-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- el motivo: toldo ---------- */
.awning { --aw-w: 48px; --aw-h: 56px; min-width: 0; display: flex; justify-content: center; overflow: hidden; padding-bottom: calc(var(--aw-w) / 2); }
.awning i { flex: 0 0 var(--aw-w); height: var(--aw-h); background: var(--orange); position: relative; }
.awning i:nth-child(even) { background: var(--yellow); }
.awning i::after { content: ""; position: absolute; left: 0; top: 100%; width: 100%; aspect-ratio: 2 / 1; background: inherit; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.awning-band { --aw-w: 72px; --aw-h: 64px; }

.festoon {
  --s: 56px;
  -webkit-mask: var(--scallop) left bottom / var(--s) calc(var(--s) / 2) round no-repeat, var(--fill) left top / 100% calc(100% - var(--s) / 2 + 1px) no-repeat;
  mask: var(--scallop) left bottom / var(--s) calc(var(--s) / 2) round no-repeat, var(--fill) left top / 100% calc(100% - var(--s) / 2 + 1px) no-repeat;
}
.scallop-list li { position: relative; padding-left: 1.6em; }
.scallop-list li + li { margin-top: 0.7em; }
.scallop-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.95em; aspect-ratio: 2 / 1; background: var(--orange); border-radius: 0 0 50% 50% / 0 0 100% 100%; }

/* ---------- barra de navegacion ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--ground); }
.bar-in { height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bar-logo img { width: 116px; }
.bar-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.bar-nav ul { display: flex; gap: clamp(16px, 1.8vw, 32px); }
.bar-nav ul a { text-decoration: none; font-weight: 500; padding-block: 6px; background: none; white-space: nowrap; }
.bar-cta { white-space: nowrap; }
.bar-nav ul a:hover, .bar-nav ul a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.bar-menu { display: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ground-2); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.bar-menu:active { transform: scale(0.97); }
@media (max-width: 1279px) {
  .bar-menu { display: inline-flex; align-items: center; }
  .bar-nav { position: absolute; left: 0; right: 0; top: var(--bar-h); flex-direction: column; align-items: stretch; gap: 20px; padding: 16px var(--margin) 28px; background: var(--ground); }
  .bar-nav ul { flex-direction: column; gap: 4px; }
  .bar-nav ul a { display: block; padding-block: 10px; font-size: var(--step-lead); }
  .bar-nav { display: none; }
  .bar-nav.is-open { display: flex; }
}

/* ---------- inicio: heroe ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 0 var(--margin) 12px; min-height: calc(100svh - var(--bar-h)); }
.hero-card { min-width: 0; background: var(--ground-2); display: flex; flex-direction: column; }
.awning-hero { --aw-w: 56px; --aw-h: 64px; }
.hero-text { flex: 1; display: grid; grid-template-rows: 1fr auto; justify-items: center; text-align: center; padding: clamp(24px, 3vw, 48px) clamp(24px, 4vw, 64px) 28px; container-type: inline-size; }
.hero-main { align-self: center; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(300px, 62cqi); }
.hero h1 { margin-top: clamp(28px, 4.5vh, 52px); font-size: clamp(2.25rem, 9.6cqi, 4.5rem); }
.hero-sub { margin-top: 28px; max-width: 36ch; }
.hero .btn-lg { margin-top: 32px; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 40px; }
.hero-photo { position: sticky; top: var(--bar-h); align-self: start; height: calc(100svh - var(--bar-h) - 12px); min-height: 560px; --s: 72px; }
.fade { position: relative; height: 100%; overflow: hidden; background: var(--ground-3); }
.fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity 1.6s ease; }
.fade img.is-on { opacity: 1; }
.fade img:nth-child(3) { object-position: 62% 50%; }
@media (max-width: 959px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-photo { order: -1; position: relative; top: 0; height: 52svh; min-height: 340px; --s: 44px; }
  .awning-hero { --aw-w: 40px; --aw-h: 44px; }
  .hero-text { padding-block: 24px 28px; }
  .hero h1 { font-size: clamp(2rem, 9.4cqi, 3.5rem); }
}

/* ---------- inicio: frase con miniaturas ---------- */
.intro { padding-block: clamp(96px, 18vh, 200px) clamp(72px, 10vh, 120px); }
.statement { max-width: 44ch; margin-inline: auto; text-align: center; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
.thumb { display: inline-block; width: 1.5em; height: 1em; vertical-align: -0.16em; margin-inline: 0.12em; --s: 0.42em; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb { -webkit-mask: var(--scallop) left bottom / var(--s) calc(var(--s) / 2) round no-repeat, var(--fill) left top / 100% calc(100% - var(--s) / 2 + 1px) no-repeat; mask: var(--scallop) left bottom / var(--s) calc(var(--s) / 2) round no-repeat, var(--fill) left top / 100% calc(100% - var(--s) / 2 + 1px) no-repeat; }
@media (max-width: 719px) {
  .statement { text-align: left; }
}

/* ---------- de islas a un flujo ---------- */
.many { padding-bottom: clamp(72px, 8vw, 120px); }
.many-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.many-head h2 { grid-column: 1 / span 5; }
.many-head p { grid-column: 7 / -1; max-width: 52ch; }
.many-figure { margin-top: clamp(40px, 5vw, 72px); }
.flow-svg { width: 100%; }
.flow-svg .p1 { fill: #f8d3ae; }
.flow-svg .p2 { fill: #f4e0a0; }
.flow-svg .g { fill: var(--green); }
.flow-svg .a { fill: var(--orange); }
.flow-tall { display: none; }
.many-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: 32px; }
.many-cols h3 { font-size: var(--step-lead); }
.many-cols p { margin-top: 8px; max-width: 34ch; }
.zone-svg { display: none; }
.zone-svg .p1 { fill: #f0ad72; }
.zone-svg .p2 { fill: #e9c24f; }
@media (max-width: 719px) {
  .many-head { display: block; }
  .many-head p { margin-top: 20px; }
  .flow-wide { display: none; }
  .many-figure { margin-top: 32px; }
  .many-cols { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 0; }
  .many-cols > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px; align-items: start; padding: 20px 18px; background: var(--ground-2); }
  .many-cols .zone-svg { display: block; grid-row: 1 / span 2; width: 104px; height: auto; align-self: center; }
  .many-cols h3 { font-size: var(--step-lead); }
  .many-cols p { margin-top: 6px; }
}

/* ---------- los nueve pasos ---------- */
.route { background: var(--ground-2); padding-block: clamp(80px, 9vw, 140px); }
.route-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.route h2 { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--bar-h) + 32px); }
.steps { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px var(--gutter); }
.steps li { position: relative; padding-top: 30px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; aspect-ratio: 2 / 1; background: var(--orange); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.steps li:nth-child(3n + 2)::before { background: var(--yellow); }
.steps li:nth-child(3n)::before { background: var(--green); }
.steps h3 { font-size: var(--step-body); }
.steps p { margin-top: 6px; }
.steps-detail { grid-column: 1 / -1; }
@media (max-width: 959px) {
  .route h2 { grid-column: 1 / -1; position: static; }
  .steps { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
}
@media (max-width: 559px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- vitrina: el telefono sobre un feston ---------- */
.show { padding-block: var(--section) clamp(64px, 8vw, 120px); overflow: hidden; }
.show-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.show-stage { grid-column: 5 / span 5; grid-row: 1; position: relative; height: min(86svh, 860px); min-height: 640px; }
.show-shape { position: absolute; left: 50%; bottom: 0; width: min(104%, 66vh, 600px); aspect-ratio: 2 / 1; transform: translateX(-50%); background: var(--orange); border-radius: 0 0 50% 50% / 0 0 100% 100%; transition: background-color 0.3s var(--ease-out); }
.show-stage[data-shape="1"] .show-shape { background: var(--green); }
.show-stage[data-shape="2"] .show-shape { background: var(--yellow); }
.show-stage .phone { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); }
.show-list { grid-column: 1 / span 4; grid-row: 1; padding-bottom: 2%; }
.show-hint { margin-top: 14px; color: var(--muted); }
.show-tabs { display: flex; flex-direction: column; align-items: flex-start; margin-top: 18px; }
.show-tabs button { position: relative; padding: 2px 0 2px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; text-align: left; cursor: pointer; transition: color 0.2s, transform 0.2s var(--ease-out); }
.show-tabs button:hover { color: var(--ink); transform: translateX(4px); }
.show-tabs button[aria-selected="true"] { color: var(--ink); }
.show-tabs button[aria-selected="true"]::after { content: ""; display: inline-block; width: 0.8em; aspect-ratio: 2 / 1; margin-left: 0.35em; vertical-align: 0.2em; background: var(--orange); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.show-facts { grid-column: 10 / -1; grid-row: 1; align-self: center; max-width: 30ch; }
@media (max-width: 959px) {
  .show-in { grid-template-columns: minmax(0, 1fr); }
  .show-list { grid-column: 1; grid-row: 1; padding: 0 0 12px; }
  .show-stage { grid-column: 1; grid-row: 2; height: 600px; min-height: 0; }
  .show-shape { width: min(86vw, 520px); }
  .show-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .show-tabs button { white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: var(--ground-2); color: var(--ink); font-size: var(--step-body); line-height: 1.2; }
  .show-tabs button:hover { transform: none; }
  .show-tabs button[aria-selected="true"] { background: var(--orange); }
  .show-tabs button[aria-selected="true"]::after { display: none; }
  .show-facts { grid-column: 1; grid-row: 3; align-self: start; max-width: 48ch; margin-top: 12px; }
}

/* ---------- telefono dibujado ---------- */
.phone { width: 300px; aspect-ratio: 9 / 19; background: var(--ink); border-radius: 46px; padding: 10px; font-size: 13px; line-height: 1.35; text-align: left; font-variant-numeric: tabular-nums; }
.phone-screen { height: 100%; background: #fff; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.ph-status { display: flex; justify-content: space-between; padding: 14px 24px 6px; font-weight: 600; }
.ph-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 8px 16px 18px; }
.ph-body:not([hidden]) { animation: ph-in 0.3s var(--ease-out); }
@keyframes ph-in { from { opacity: 0; } }
.ph-head b { display: block; font-size: 17px; letter-spacing: -0.01em; }
.ph-head span { display: block; color: #55685f; margin-top: 2px; }
.ph-offline { background: #fbecc0; color: #5a4300; font-weight: 600; padding: 7px 10px; border-radius: 10px; }
.ph-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #e6eee9; } /* taste-skill-ignore: fragmento de interfaz o capa flotante */
.ph-list li > span { min-width: 0; }
.ph-list small { display: block; font-size: 13px; color: #55685f; margin-top: 1px; }
.ph-list b { white-space: nowrap; }
.ph-route .is-next { background: #eef7f2; margin-inline: -8px; padding-inline: 8px; border-radius: 10px; }
.ph-promo { background: #eef7f2; border-radius: 10px; padding: 8px 10px; }
.ph-promo i { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: #d7e6de; position: relative; overflow: hidden; }
.ph-promo i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--green); border-radius: 3px; }
.ph-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; padding-top: 2px; }
.ph-field { display: flex; justify-content: space-between; gap: 8px; background: #f3f7f5; border-radius: 10px; padding: 9px 10px; }
.ph-sums { display: grid; gap: 6px; }
.ph-sums div { display: flex; justify-content: space-between; padding: 10px; background: #f3f7f5; border-radius: 10px; }
.ph-sums dd { font-weight: 700; }
.ph-sums .is-due { background: #fdeedd; }
.ph-cover { background: #f3f7f5; border-radius: 14px; padding: 14px; display: grid; gap: 4px; }
.ph-cover-img { width: 70%; margin: 0 auto 6px; }
.ph-cover span { color: #55685f; }
.ph-btn { margin-top: auto; display: block; text-align: center; background: var(--green-deep); color: #fff; border-radius: 999px; padding: 11px; font-weight: 600; }
.ph-btn + .ph-btn { margin-top: 0; }
.ph-btn-alt { background: #e9f1ed; color: var(--ink); }

/* ---------- fragmentos del panel ---------- */
.ui-sheet { width: 100%; max-width: 340px; background: #fff; border: 1px solid #e3ebe6; border-radius: 14px; overflow: hidden; font-size: 13px; line-height: 1.35; color: var(--ink); text-align: left; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: fragmento de interfaz o capa flotante */
.ui-wide { max-width: 640px; }
.ui-map { max-width: 560px; }
.ui-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; background: #f4f8f6; }
.ui-head b { font-size: 14px; }
.ui-head span { color: #55685f; white-space: nowrap; }
.ui-table { width: 100%; border-collapse: collapse; }
.ui-table th { font-weight: 500; color: #55685f; text-align: left; padding: 8px 14px 6px; }
.ui-table td { padding: 8px 14px; border-top: 1px solid #edf2ef; }
.ui-table .n { text-align: right; white-space: nowrap; }
.ui-table .is-due td { background: #fdf1e4; }
.ui-mark { display: inline-flex; flex: none; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.ui-mark::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #9aa9a2; }
.ui-ok::before { background: var(--green); }
.ui-warn::before { background: #e08a2e; }
.ui-bad::before { background: #b83a2e; }
.ui-next { color: var(--green-deep); }
.ui-next::before { background: var(--green-deep); }
.ui-filters, .ui-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; }
.ui-filters span { padding: 4px 10px; border-radius: 999px; background: #f1f5f3; }
.ui-filters .is-on { background: #dff0e8; color: var(--green-deep); font-weight: 600; }
.ui-tabs { gap: 18px; padding-bottom: 0; }
.ui-tabs span { padding-bottom: 6px; color: #55685f; }
.ui-tabs .is-on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--green); } /* taste-skill-ignore: fragmento de interfaz o capa flotante */
.ui-map-svg { width: 100%; padding: 10px 14px 0; }
.ui-map-svg .blocks rect { fill: #eef3f0; }
.ui-map-svg .dots circle { fill: var(--green); fill-opacity: 0.75; }
.ui-legend, .ui-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px 12px; color: #55685f; }
.ui-legend b { color: var(--ink); }
.ui-foot { align-items: center; }
.ui-btn { background: var(--green-deep); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; white-space: nowrap; }

/* ---------- baldosas del panel ---------- */
.tiles { padding-block: var(--section); }
.tiles-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.tiles-head { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--bar-h) + 32px); }
.tiles-head p { margin-top: 20px; max-width: 30ch; }
.tiles-head .link-strong { display: inline-block; margin-top: 24px; }
.tiles-grid { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 10px; }
.tile-stage { aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 7%; background: var(--tile, var(--yellow)); }
.tile-wide { grid-column: span 2; }
.t-yellow { --tile: var(--yellow); }
.t-green { --tile: var(--green); }
.t-orange { --tile: var(--orange); }
.tile figcaption { padding-top: 14px; }
.tile h3 { font-size: var(--step-body); }
.tile figcaption p { margin-top: 4px; color: var(--muted); max-width: 36ch; }
.tile-wide { display: flex; flex-direction: column; }
.tile-wide .tile-stage { flex: 1; }
@media (max-width: 959px) {
  .tiles-head { grid-column: 1 / -1; position: static; }
  .tiles-grid { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; gap: 28px 8px; }
  .tile-wide { order: -1; }
  .tile-wide .tile-stage { aspect-ratio: 8 / 5; flex: none; }
}
@media (max-width: 559px) {
  .tiles-grid { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-column: auto; }
  .tile-wide .tile-stage { aspect-ratio: 1 / 1; }
}

/* ---------- precios: dos campos ---------- */
.price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 90svh; }
.price-field { display: flex; flex-direction: column; padding: clamp(32px, 3vw, 48px) clamp(20px, 3vw, 48px); container-type: inline-size; }
.price-setup { background: var(--yellow); color: var(--ink); }
.price-month { background: var(--green-deep); color: var(--on-deep); }
.price-who { margin-top: 20px; font-size: var(--step-lead); line-height: 1.3; max-width: 28ch; }
.price-incl { margin-top: 20px; max-width: 48ch; }
.price-foot { margin-top: auto; padding-top: 40px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 24px; }
.price-big { font-size: min(var(--step-display), 16cqi); font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.price-big span { display: block; margin-top: 10px; font-size: var(--step-body); font-weight: 500; letter-spacing: 0; line-height: 1.45; max-width: 52ch; }
.price-big output { display: inline-block; }
.price-big output.tick { animation: tick 0.35s var(--ease-out); }
@keyframes tick { from { opacity: 0.2; transform: translateY(8px); } }
.calc { margin-top: 32px; max-width: 520px; }
.calc label { font-weight: 600; }
.calc-row { display: grid; grid-template-columns: 48px 96px 48px 1fr; align-items: center; gap: 10px; margin-top: 10px; }
.calc-row input[type="number"] { width: 100%; height: 48px; border: 0; border-radius: 12px; background: #2b7a5e; color: var(--on-deep); font: inherit; font-size: var(--step-lead); font-weight: 600; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.calc-row input[type="number"]::-webkit-inner-spin-button, .calc-row input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-step { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--on-deep); color: var(--green-deep); font: inherit; font-size: var(--step-lead); font-weight: 600; cursor: pointer; transition: transform 0.15s var(--ease-out), background-color 0.2s; }
.calc-step:hover { background: var(--yellow); }
.calc-step:active { transform: scale(0.92); }
.calc-row input[type="range"] { width: 100%; accent-color: var(--orange); }
.calc-note { display: block; margin-top: 4px; }
.price-notes { padding-top: 24px; font-size: var(--step-small); color: var(--muted); max-width: 64ch; }
@media (max-width: 959px) {
  .price { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .price-month { order: -1; min-height: 78svh; }
  .price-field { padding-block: 44px 64px; }
  .price-setup { min-height: 66svh; }
  .price-big { font-size: min(var(--step-display), 22cqi); }
  .calc-row { grid-template-columns: 48px 1fr 48px; }
  .calc-row input[type="range"] { grid-column: 1 / -1; }
  .price-foot .btn { width: 100%; }
}

/* ---------- preguntas ---------- */
.faq { padding-block: var(--section); }
.faq-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.faq-side { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--bar-h) + 32px); }
.faq-side p { margin-top: 20px; }
.faq-list { grid-column: 5 / -1; display: grid; gap: 8px; align-content: start; }
.faq details { background: var(--ground-2); transition: background-color 0.25s var(--ease-out); }
.faq details[open] { background: var(--orange); }
.faq summary { position: relative; list-style: none; cursor: pointer; min-height: 72px; display: flex; align-items: center; padding: 18px 68px 18px 24px; font-weight: 600; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .plus { transform: rotate(90deg); }
.plus { position: absolute; right: 26px; top: 50%; width: 18px; height: 18px; margin-top: -9px; transition: transform 0.25s var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 3px; margin-top: -1.5px; background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq details[open] summary:hover .plus { transform: none; }
.faq-a { padding: 0 24px 24px; max-width: 64ch; }
.faq-a p + p { margin-top: 12px; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h3 { margin-bottom: 16px; }
@media (max-width: 959px) {
  .faq-side { grid-column: 1 / -1; position: static; margin-bottom: 24px; }
  .faq-list { grid-column: 1 / -1; gap: 6px; }
  .faq summary { min-height: 64px; padding: 16px 60px 16px 20px; }
  .faq-a { padding: 0 20px 20px; }
}

/* ---------- cierre: baldosa de accion ---------- */
.cta { padding-block: var(--section); }
.cta-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 8fr) minmax(0, 2fr); gap: 12px; min-height: 380px; }
.cta-main { background: var(--orange); padding: 40px clamp(24px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.cta-main h2 { max-width: 15ch; }
.cta-main p { margin-top: 20px; max-width: 52ch; }
.cta-main .actions { margin-top: 32px; }
.cta-side { overflow: hidden; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.cta-flat { background: var(--green); }
.cta-flat .awning { --aw-w: 40px; --aw-h: 44px; justify-content: flex-start; }
@media (max-width: 719px) {
  .cta-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-inline: var(--margin); min-height: 0; }
  .cta-main { grid-column: 1 / -1; order: -1; padding: 32px 24px; }
  .cta-side { height: 140px; }
}

/* ---------- pie de pagina ---------- */
.foot { background: var(--green-deep); color: var(--on-deep); }
.foot-mark { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 279; }
@media (max-width: 719px) { .foot-mark { aspect-ratio: auto; height: 22svh; min-height: 140px; } }
.foot-mark .o { fill: var(--orange); }
.foot-mark .y { fill: var(--yellow); }
.foot-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gutter); padding-top: 56px; }
.foot-brand { grid-column: 1 / span 4; }
.foot-brand img { width: 190px; }
.foot-brand p { margin-top: 20px; max-width: 34ch; }
.foot-cols { grid-column: 5 / span 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.foot-cols h2 { font-size: var(--step-body); letter-spacing: 0; line-height: 1.3; color: var(--on-deep-soft); font-weight: 500; }
.foot-cols ul { margin-top: 14px; display: grid; gap: 10px; }
.foot a { text-decoration-color: var(--orange); }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.foot-contact { grid-column: 10 / -1; font-style: normal; display: grid; gap: 10px; align-content: start; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 56px 36px; font-size: var(--step-small); }
.foot-last p { max-width: 70ch; color: var(--on-deep-soft); }
@media (max-width: 959px) {
  .foot-brand, .foot-cols, .foot-contact { grid-column: 1 / -1; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .foot-last { flex-direction: column; align-items: flex-start; }
}

/* ---------- paginas internas: heroe ---------- */
.phero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 0 var(--margin); min-height: min(80svh, 780px); }
.phero-card { background: var(--ground-2); display: flex; flex-direction: column; }
.phero-card .awning { --aw-w: 48px; --aw-h: 52px; }
.phero-text { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 56px) clamp(24px, 4vw, 64px) clamp(32px, 4vw, 64px); container-type: inline-size; }
.phero h1 { margin-top: 24px; font-size: clamp(2.25rem, 9.6cqi, 4.5rem); }
.phero .lead { margin-top: 24px; font-size: var(--step-lead); line-height: 1.3; max-width: 32ch; }
.phero .actions { margin-top: 32px; }
.phero-media { position: relative; overflow: hidden; min-height: 420px; --s: 64px; }
.phero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero-media.stage { display: grid; place-items: center; padding: clamp(24px, 5vw, 72px); background: var(--stage, var(--green)); }
.stage-yellow { --stage: var(--yellow); }
.stage-orange { --stage: var(--orange); }
.phero-media.stage .phone { width: min(300px, 72%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--step-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 959px) {
  .phero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .phero-media { order: -1; min-height: 0; height: 46svh; --s: 44px; }
  .phero-media.stage { height: auto; }
}

/* ---------- paginas internas: secciones ---------- */
.sec { padding-block: var(--section) 0; }
.sec-last { padding-bottom: var(--section); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.split-head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--bar-h) + 32px); }
.split-head p { margin-top: 20px; max-width: 32ch; }
.split-body { grid-column: 5 / -1; }
.split-body > * + * { margin-top: 24px; }
.split-body h3 { margin-top: 56px; }
.split-body h3:first-child { margin-top: 0; }
@media (max-width: 959px) {
  .split-head, .split-body { grid-column: 1 / -1; position: static; }
  .split-body { margin-top: 28px; }
}

.field { background: var(--ground-2); padding-block: clamp(80px, 9vw, 140px); margin-top: var(--section); }
.field + .sec { padding-top: var(--section); }
.field-deep { background: var(--green-deep); color: var(--on-deep); }
.field-deep a { color: var(--on-deep); }
.field-yellow { background: var(--yellow); }

.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.duo-text { grid-column: 1 / span 5; }
.duo-text p, .duo-text ul { margin-top: 20px; max-width: 52ch; }
.duo-media { grid-column: 7 / -1; }
.duo-flip .duo-text { grid-column: 8 / -1; grid-row: 1; }
.duo-flip .duo-media { grid-column: 1 / span 6; grid-row: 1; }
.duo-media img { width: 100%; height: auto; }
.duo-media.festoon img { aspect-ratio: 4 / 3; object-fit: cover; }
.duo-media.stage { display: grid; place-items: center; padding: clamp(24px, 5vw, 64px); background: var(--stage, var(--green)); }
.duo-media .caption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
@media (max-width: 959px) {
  .duo-text, .duo-media, .duo-flip .duo-text, .duo-flip .duo-media { grid-column: 1 / -1; grid-row: auto; }
  .duo-media { margin-top: 32px; }
}

.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gutter); margin-top: 48px; }
.cols3 h3 { font-size: var(--step-lead); }
.cols3 p, .cols3 ul { margin-top: 12px; }
@media (max-width: 959px) { .cols3 { grid-template-columns: 1fr; gap: 36px; } }

.big-list { display: grid; gap: 26px; }
.big-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gutter); }
.big-list li span { max-width: 62ch; }
.big-list b { font-weight: 600; }
@media (max-width: 719px) { .big-list li { grid-template-columns: 1fr; gap: 6px; } }

.mods { width: 100%; border-collapse: collapse; }
.mods caption { text-align: left; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; padding-bottom: 12px; }
.mods th, .mods td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; }
.mods th { width: 32%; font-weight: 600; }
.mods tr + tr th, .mods tr + tr td { border-top: 1px solid var(--ground-3); } /* taste-skill-ignore: tabla real */
.mods + .mods { margin-top: 56px; }
@media (max-width: 719px) {
  .mods th, .mods td { display: block; width: auto; padding-right: 0; }
  .mods td { padding-top: 0; }
  .mods tr + tr td { border-top: 0; }
}

.note { font-size: var(--step-small); color: var(--muted); }
.lead-p { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }

/* ---------- guias y textos legales ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-lead); letter-spacing: -0.015em; line-height: 1.2; margin-top: 2.2em; }
.prose h3 { font-size: var(--step-body); margin-top: 1.8em; }
.prose ul li, .prose ol li { position: relative; padding-left: 1.6em; }
.prose ul li + li, .prose ol li + li { margin-top: 0.5em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.9em; aspect-ratio: 2 / 1; background: var(--orange); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.prose ol { counter-reset: n; }
.prose ol li::before { counter-increment: n; content: counter(n) "."; position: absolute; left: 0; font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; vertical-align: top; }
.prose tr + tr td, .prose tr + tr th { border-top: 1px solid var(--ground-3); } /* taste-skill-ignore: tabla real */
.article { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.article .prose { grid-column: 1 / span 7; }
.article aside { grid-column: 9 / -1; align-self: start; position: sticky; top: calc(var(--bar-h) + 32px); }
.article aside .festoon img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.article aside p { margin-top: 16px; }
@media (max-width: 959px) {
  .article .prose, .article aside { grid-column: 1 / -1; position: static; }
}
.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px var(--gutter); }
.guide a { text-decoration: none; display: block; }
.guide .festoon img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.guide a:hover .festoon img { transform: scale(1.03); }
.guide h2 { font-size: var(--step-lead); letter-spacing: -0.015em; line-height: 1.2; margin-top: 20px; }
.guide p { margin-top: 10px; max-width: 52ch; }
.guide .link-strong { display: inline-block; margin-top: 14px; }
@media (max-width: 719px) { .guides { grid-template-columns: 1fr; } }

/* ---------- formulario ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gutter); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--ground-3); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; transition: border-color 0.2s; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form input:user-invalid, .form select:user-invalid { border-color: #b83a2e; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 22px; min-height: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--green-deep); }
.form { position: relative; }
.form .hp { position: absolute; left: 0; top: 0; width: 2px; height: 2px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-status { grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; background: var(--ground-2); }
.form-status.is-error { background: #fbe4e1; }
.form-status.is-ok { background: #dff0e8; }
@media (max-width: 719px) { .form { grid-template-columns: 1fr; } }

.contact-lines { display: grid; gap: 28px; }
.contact-lines h3 { font-size: var(--step-body); }
.contact-lines p { margin-top: 4px; font-size: var(--step-lead); }

/* ---------- utilidades y bloques de paginas internas ---------- */
.gap-top { margin-top: var(--section); }
.cols-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px var(--gutter); }
.cols-why h3 { font-size: var(--step-body); }
.cols-why p { margin-top: 6px; }
.duo-text h3 { margin-top: 36px; font-size: var(--step-lead); }
.duo-text h3 + ul { margin-top: 12px; }
.cols3 + .lead-p { margin-top: 56px; }
.faq-topics { margin-top: 20px; display: grid; gap: 8px; }
.faq-topics a { text-decoration: none; }
.faq-topics a:hover { text-decoration: underline; }
.split-head .contact-lines { margin-top: 40px; }


.guides { margin-top: 40px; }
.prose figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prose figcaption { margin-top: 8px; font-size: var(--step-small); color: var(--muted); }
.article aside:not(:has(img)) { background: var(--ground-2); padding: 24px; }
@media (max-width: 719px) { .cols-why { grid-template-columns: minmax(0, 1fr); } }

/* ---------- ajustes de la revision visual ---------- */
.mods-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px var(--gutter); margin-top: 48px; align-items: start; }
.mods-grid .mods + .mods { margin-top: 0; }
.split-head .festoon, .split-head .req-ui { margin-top: 32px; }
.split-head .festoon { max-width: 420px; }
.int-duo { margin-top: 56px; }
.split-head .festoon img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 959px) {
  .mods-grid { grid-template-columns: minmax(0, 1fr); }
  .phero-media.stage { height: 56svh; min-height: 380px; place-items: start center; padding: 28px 16px 0; overflow: hidden; }
  .phero-media.stage .phone { width: 300px; max-width: 100%; }
  .split-head .festoon { display: none; }
}
@media (max-width: 559px) {
  .ui-wide .ui-table th:first-child, .ui-wide .ui-table td:first-child { display: none; }
  .ui-wide .ui-mark { white-space: normal; }
  .ui-head, .ui-foot { flex-wrap: wrap; }
  .ui-head span { white-space: normal; }
  .show-stage { height: 580px; }
  .show-stage .phone { transform: translateX(-50%) scale(0.86); transform-origin: 50% 100%; }
}

.route-side { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--bar-h) + 32px); }
.route-side h2 { position: static; }
.route-side .festoon { margin-top: 32px; max-width: 360px; }
.route-side .festoon img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 959px) {
  .route-side { grid-column: 1 / -1; position: static; }
  .route-side .festoon { display: none; }
}

body:not(.is-home) main h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem); }
.phero-media.stage > img { position: static; inset: auto; width: min(340px, 72%); height: auto; object-fit: contain; }
.form .check span { max-width: 70ch; }
.faq + .cta { padding-top: 0; }
.faq-all .faq-side { position: static; }
@media (max-width: 959px) {
  .phero-media.stage:has(> img) { height: auto; min-height: 0; padding-block: 32px; place-items: center; }
  .article aside { max-width: 520px; }
  .article aside .festoon img { aspect-ratio: 3 / 2; }
}
@media (max-width: 559px) {
  .prose table { font-size: var(--step-small); }
  .prose th, .prose td { padding-right: 8px; }
}

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; max-width: 440px; }
.pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.split-head:has(.pair) { position: static; }
@media (max-width: 959px) { .pair { display: none; } }

/* ---------- combo POSFAC ---------- */
.calc-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-weight: 500; cursor: pointer; }
.calc-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.calc-incl { margin: 12px 0 0 34px; }
.calc-incl p { color: var(--on-deep); }
.calc-incl .scallop-list { margin-top: 8px; }
.calc-incl .scallop-list li + li { margin-top: 6px; }
.calc-incl strong { color: var(--on-deep); }
.calc-nomina { margin-top: 18px; }
.calc-first { margin-top: 28px; padding: 18px 20px; background: rgba(255, 255, 255, 0.08); }
.calc-first-h { font-weight: 600; }
.calc-lines { margin-top: 10px; display: grid; gap: 6px; }
.calc-lines li, .calc-first-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc-lines b, .calc-first-total output { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-first-total { margin-top: 14px; font-size: var(--step-lead); font-weight: 600; }
.calc-first-total output.tick { animation: tick 0.35s var(--ease-out); }
.calc-then { margin-top: 24px; font-weight: 600; }
.price-month .price-foot { padding-top: 14px; }
.calc-nomina label { display: block; margin-bottom: 8px; }
.calc-nomina select { width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: #2b7a5e; color: var(--on-deep); font: inherit; }
.posfac-price { margin-top: 28px; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.posfac-price span { display: block; margin-top: 10px; font-size: var(--step-body); font-weight: 500; letter-spacing: 0; }
.posfac .actions { margin-top: 28px; }
.field-yellow .link-strong { text-decoration-color: var(--ink); }
.posfac-table { margin-top: 40px; }
.posfac-table thead th { width: auto; font-weight: 500; color: var(--muted); padding-bottom: 8px; }
.posfac-table td { font-variant-numeric: tabular-nums; }
.field-yellow .mods tr + tr th, .field-yellow .mods tr + tr td { border-top-color: rgba(22, 48, 42, 0.16); } /* taste-skill-ignore: tabla real */
.routes2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.routes2 > div { background: var(--ground-2); padding: clamp(24px, 3vw, 40px); }
.routes2 > div:last-child { background: var(--yellow); }
.routes2 h3 { font-size: var(--step-lead); }
.routes2 p, .routes2 ul { margin-top: 14px; }
.routes2 .scallop-list li::before { background: var(--green); }
.routes2 .link-strong { display: inline-block; margin-top: 20px; text-decoration-color: var(--ink); }
@media (max-width: 719px) { .routes2 { grid-template-columns: minmax(0, 1fr); } }

.field-yellow .note, .field-yellow .posfac-table thead th { color: var(--ink); }
.posfac .note { max-width: 70ch; }

@media (max-width: 719px) {
  .posfac-table th, .posfac-table td { display: table-cell; width: 50%; padding: 10px 12px 10px 0; }
  .posfac-table tbody tr + tr td { border-top: 1px solid rgba(22, 48, 42, 0.16); } /* taste-skill-ignore: tabla real */
}

/* ---------- verificacion del formulario (captcha) ---------- */
.captcha-note { margin-top: 6px; font-size: var(--step-small); color: var(--muted); }
.captcha { border: 0; margin: 0; padding: 18px 20px 20px; background: var(--ground-2); min-width: 0; }
.captcha legend { float: left; width: 100%; padding: 0; font-weight: 600; }
.captcha-help { clear: both; padding-top: 4px; }
.captcha-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-top: 14px; }
.captcha-challenge { display: flex; align-items: center; min-height: 72px; }
.captcha-img { display: block; width: 240px; height: 72px; border-radius: 10px; }
.captcha-question { font-size: var(--step-lead); font-weight: 600; line-height: 1.25; }
.captcha-answer { width: 140px; }
.captcha-reload { min-height: 52px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ground-3); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
.captcha-reload:hover { background: var(--yellow); }
.captcha-reload:active { transform: scale(0.97); }
.captcha-nojs { margin-top: 10px; }

/* ---------- descarga de la app ---------- */
.show-dl { margin-top: 18px; }
.apk-table td code { font-size: var(--step-small); word-break: break-all; }
.apk-again { margin-top: 28px; }
.copy-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.copy-status:empty { display: none; }
@media (max-width: 959px) { .phero-media.media-last { order: 1; } }
/* ---------- video de presentacion ---------- */
.hero-actions { margin-top: 32px; justify-content: center; }
.hero .hero-actions .btn-lg { margin-top: 0; }
.player-stage { padding: clamp(12px, 2.8vw, 40px); background: var(--green); }
.player { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #fff; }
.player video { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.player:not(.is-playing) video { cursor: pointer; }
.player-play { position: absolute; left: clamp(12px, 2.6%, 28px); bottom: clamp(12px, 3.6%, 32px); display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 26px 0 22px; border: 0; border-radius: 999px; background: var(--orange); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; transition: background-color 0.2s, transform 0.2s var(--ease-out); }
.player-play::before { content: ""; flex: none; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent currentColor; }
.player-play span { font-weight: 500; }
.player-play:hover { background: var(--yellow); }
.player-play:active { transform: scale(0.97); }
.player-play:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.player.is-playing .player-play { display: none; }
.transcript { margin-top: 22px; }
.transcript summary { display: inline-block; cursor: pointer; font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 0.28em; list-style: none; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary:hover { text-decoration-color: var(--ink); }
.transcript p { margin-top: 14px; max-width: 64ch; color: var(--muted); }
@media (max-width: 599px) {
  .player-play { left: 8px; bottom: 8px; min-height: 40px; padding: 0 14px 0 13px; gap: 8px; font-size: var(--step-small); }
  .player-play::before { border-width: 7px 0 7px 11px; }
}

.qr-hint { display: none; }
@media (min-width: 960px) and (hover: hover) {
  .qr-hint { display: flex; align-items: center; gap: 20px; margin-top: 40px; max-width: 30rem; }
  .qr-hint img { flex: none; width: 148px; height: 148px; border-radius: 6px; }
  .qr-hint p { font-size: var(--step-small); line-height: 1.45; color: var(--muted); }
  .qr-hint b { display: block; margin-bottom: 4px; font-size: var(--step-body); color: var(--ink); }
}

/* ---------- movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-main > *, .phero-text > * { animation: rise 0.8s var(--ease-out) both; }
  .hero-main > :nth-child(2), .phero-text > :nth-child(2) { animation-delay: 0.08s; }
  .hero-main > :nth-child(3), .phero-text > :nth-child(3) { animation-delay: 0.16s; }
  .hero-main > :nth-child(4), .phero-text > :nth-child(4) { animation-delay: 0.24s; }
  .hero-links { animation: rise 0.8s 0.32s var(--ease-out) both; }
  .awning-hero i, .phero-card .awning i { animation: drop 0.7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }
  .fade img.is-on { animation: drift 9s ease-out both; }
  .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); transition-delay: var(--d, 0ms); }
  .rv.in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes drop { from { transform: translateY(-100%); } }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- consentimiento de analitica ---------- */
.consent { position: fixed; left: var(--margin); right: var(--margin); bottom: 16px; z-index: 80; max-width: 640px; margin-left: auto; background: var(--ink); color: #fff; padding: 20px 22px; border-radius: 16px; box-shadow: 0 12px 40px rgba(22, 48, 42, 0.28); } /* taste-skill-ignore: fragmento de interfaz o capa flotante */
.consent p { font-size: var(--step-small); }
.consent a { color: #fff; }
.consent .actions { margin-top: 14px; gap: 10px 14px; }
.consent .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); } /* taste-skill-ignore: fragmento de interfaz o capa flotante */

@media print {
  .bar, .foot-mark, .awning, .cta, .consent { display: none !important; }
}
