/* Beltaniva · hoja de estilos
   Paleta mediterránea: arena, terracota, oliva y tinta marrón.
   Motivos: arcos, azulejos (con moderación) y superficies de papel. */

:root {
  --arena: #F7EFE5;
  --arena2: #F1E4D3;
  --papel: #FFFBF5;
  --borde: #E7D7C4;
  --borde2: #D8C1A6;
  --terracota: #C65D3B;
  --terracota2: #A9482A;
  --terracota3: #8E3A20;
  --terracotaSuave: #F7DDCD;
  --oliva: #5E6B3A;
  --oliva2: #4A5530;
  --olivaSuave: #E8E7D2;
  --olivaBorde: #D5D3B6;
  --barro: #8A5A3C;
  --tinta: #2E211B;
  --texto: #4A3A30;
  --tenue: #6E5C50;
  --crema: #FFF6EA;
  --sombra: 0 1px 0 rgba(46, 33, 27, .05), 0 14px 28px -18px rgba(110, 58, 30, .38);
  --sombraAlta: 0 2px 0 rgba(46, 33, 27, .05), 0 28px 46px -24px rgba(110, 58, 30, .5);
  --radio: 20px;
  --fuenteTitulo: "DM Serif Display", Georgia, "Times New Roman", serif;
  --fuenteTexto: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ancho: 1160px;
  --azulejo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' fill='%23F3E2CF'/%3E%3Cpath d='M20 5 35 20 20 35 5 20Z' fill='none' stroke='%23C65D3B' stroke-width='1.6'/%3E%3Cpath d='M20 13 27 20 20 27 13 20Z' fill='%23C65D3B' fill-opacity='.22'/%3E%3Ccircle cx='20' cy='20' r='3' fill='%235E6B3A'/%3E%3Cpath d='M0 0h7a7 7 0 0 1-7 7zM40 0v7a7 7 0 0 1-7-7zM0 40v-7a7 7 0 0 1 7 7zM40 40h-7a7 7 0 0 1 7-7z' fill='%23C65D3B' fill-opacity='.6'/%3E%3C/svg%3E");
  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .27 0 0 0 0 .16 .1 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ===== Base ===== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--fuenteTexto);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--texto);
  background-color: var(--arena);
  background-image: var(--grano);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--terracota2); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracota3); text-decoration-thickness: 2px; }

h1, h2, h3 { margin: 0 0 .55em; color: var(--tinta); }
h1, h2 { font-family: var(--fuenteTitulo); font-weight: 400; line-height: 1.1; letter-spacing: -.005em; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
address { font-style: normal; }

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

.wrap { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 24px; }

.hideVisually {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.jumpLink {
  position: absolute; left: 16px; top: -90px; z-index: 200;
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  background: var(--tinta); color: var(--crema); text-decoration: none;
}
.jumpLink:focus { top: 0; color: var(--crema); }

.glyph { width: 20px; height: 20px; flex: none; }
.glyphSm { width: 16px; height: 16px; }

.overline {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oliva);
}
.overline::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--terracota); transform: rotate(45deg); }

.ageMark {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-width: 40px; height: 27px; padding: 3px 8px 0;
  border: 1.5px solid currentColor; border-radius: 999px 999px 0 0;
  font-weight: 700; font-size: .76rem; line-height: 1;
}

.action {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .98rem/1.15 var(--fuenteTexto); text-align: center; text-decoration: none;
  transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.actionSolid { background: var(--terracota2); color: var(--crema); box-shadow: 0 2px 0 var(--terracota3), 0 12px 22px -12px rgba(142, 58, 32, .7); }
.actionSolid:hover { background: var(--terracota3); color: var(--crema); transform: translateY(-1px); text-decoration: none; }
.actionSolid:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--terracota3); }
.actionOutline { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--tinta); }
.actionOutline:hover { background: var(--tinta); color: var(--crema); text-decoration: none; }

/* ===== Barra superior ===== */

.topBar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 239, 229, .96);
  border-bottom: 1px solid var(--borde);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.topBarRow { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }

.logoLink {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fuenteTitulo); font-weight: 400; font-size: 1.72rem; line-height: 1;
  color: var(--tinta); text-decoration: none;
}
.logoLink:hover { color: var(--tinta); text-decoration: none; }
.logoArch { width: 36px; height: 36px; flex: none; }
.logoLinkLight, .logoLinkLight:hover { color: var(--crema); }

.mainNav { display: flex; align-items: center; }
.mainMenu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mainMenu a {
  display: block; padding: 10px 16px 8px; border-radius: 999px 999px 0 0;
  font-size: .95rem; font-weight: 500; color: var(--texto); text-decoration: none;
  transition: background-color .15s, color .15s;
}
.mainMenu a:hover { color: var(--terracota2); background: rgba(198, 93, 59, .09); }
.mainMenu a[aria-current="page"] { color: var(--crema); background: var(--terracota2); font-weight: 600; }

.menuSwitch {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; cursor: pointer;
  border: 1.5px solid var(--tinta); border-radius: 999px 999px 10px 10px; background: var(--papel);
}
.menuLines { display: grid; gap: 4px; }
.menuLines i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--tinta); transition: transform .2s, opacity .2s; }
.menuSwitch[aria-expanded="true"] .menuLines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menuSwitch[aria-expanded="true"] .menuLines i:nth-child(2) { opacity: 0; }
.menuSwitch[aria-expanded="true"] .menuLines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Portada ===== */

.welcome { padding: 54px 0 40px; overflow: hidden; }
.welcomeGrid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.welcomeText { min-width: 0; }
.welcome h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 18px; }
.welcome h1 em { font-style: italic; color: var(--terracota2); }

.freshness {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 10px;
  border-radius: 999px; background: var(--olivaSuave); color: var(--oliva2); font-size: .9rem; font-weight: 600;
}
.welcomeLead { max-width: 56ch; font-size: 1.1rem; }

.stepList {
  max-width: 520px; margin: 0 0 28px; padding: 6px 20px; list-style: none;
  background: var(--papel); border: 1px solid var(--borde); border-radius: 16px; box-shadow: var(--sombra);
}
.stepList li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--borde2); font-weight: 500; color: var(--tinta); }
.stepList li:last-child { border-bottom: 0; }
.stepBox {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px;
  border: 2px solid var(--oliva); border-radius: 7px; background: var(--crema); color: var(--terracota2);
}

.welcomeActions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.archFrame { justify-self: center; width: min(100%, 450px); margin: 0; }
.archScene { width: 100%; height: auto; }

.promiseStrip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin: 42px 0 0; padding: 14px 10px;
  background: var(--papel); border: 1px solid var(--borde); border-radius: 999px; box-shadow: var(--sombra);
}
.promiseStrip dt { padding: 0 18px; font-size: .86rem; font-weight: 600; color: var(--tenue); }
.promiseStrip dd {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 2px 18px; white-space: nowrap;
  border-left: 1px solid var(--borde2); font-size: .94rem; font-weight: 600; color: var(--tinta);
}
.promiseStrip dd .glyph { color: var(--terracota); }
.promiseStrip .ageMark { color: var(--terracota2); }

/* ===== Ranking en tickets ===== */

.rankZone { padding: 66px 0 82px; background: var(--arena2); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.rankHead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; margin-bottom: 30px; }
.rankHead > div { min-width: 0; max-width: 680px; }
.rankHead h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 10px; }
.rankIntro { margin: 0; color: var(--tenue); }
.rankLink { font-size: .95rem; }

.ticketStack { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.ticketItem { transition: transform .2s; }
.ticketItem:hover { transform: translateY(-3px); }

.ticket {
  --corte: 150px;
  --muesca: var(--corte);
  display: grid; grid-template-columns: var(--corte) minmax(0, 1fr);
  background: var(--papel); border: 1px solid var(--borde2); border-bottom-width: 3px; border-radius: 22px; cursor: pointer;
  -webkit-mask:
    radial-gradient(circle at var(--muesca) 0, #0000 13px, #000 13.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at var(--muesca) 100%, #0000 13px, #000 13.5px) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at var(--muesca) 0, #0000 13px, #000 13.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at var(--muesca) 100%, #0000 13px, #000 13.5px) bottom / 100% 51% no-repeat;
}
.ticketTop { --muesca: calc(var(--corte) + 1px); border: 2px solid var(--terracota); border-bottom-width: 3px; }

.ticketStub {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 22px 12px; text-align: center;
  background: #F4E6D4; border-right: 2px dashed var(--borde2); border-radius: 21px 0 0 21px;
}
/* Aro fino que dibuja el borde de cada muesca del ticket */
.ticketStub::before, .ticketStub::after {
  content: ""; position: absolute; right: -15.5px; width: 29px; height: 29px;
  border: 1.5px solid var(--borde2); border-radius: 50%; pointer-events: none;
}
.ticketStub::before { top: -15.5px; }
.ticketStub::after { bottom: -17.5px; }
.ticketTop .ticketStub::before, .ticketTop .ticketStub::after { border: 2px solid var(--terracota); }
.ticketTop .ticketStub::before { top: -16.5px; }
.stubTag { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--tenue); }
.stubNum { font-family: var(--fuenteTitulo); font-weight: 400; font-size: 3.5rem; line-height: 1; color: var(--terracota2); }
.stubScore {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 5px 12px;
  border-radius: 999px; background: var(--tinta); color: var(--crema); font-weight: 600; white-space: nowrap;
}
.stubScore .glyph { color: #E9B45A; }
.stubScore b { font-size: 1.05rem; }
.stubScore small { font-size: .78rem; color: #D2BFAB; }

.ticketTop .ticketStub {
  background-color: var(--terracota2);
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 246, 234, .08) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-45deg, rgba(255, 246, 234, .08) 0 2px, transparent 2px 16px);
  border-right-color: rgba(255, 246, 234, .6);
}
.ticketTop .stubTag, .ticketTop .stubNum { color: var(--crema); }
.ticketTop .stubScore { background: var(--crema); color: var(--tinta); }
.ticketTop .stubScore .glyph { color: var(--terracota2); }
.ticketTop .stubScore small { color: var(--tenue); }

.ticketMain {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center;
  gap: 16px 28px; min-width: 0; padding: 24px 28px 20px;
}
.ticketBrand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.ticketFlag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 4px;
  border-radius: 999px 999px 0 0; background: var(--terracotaSuave); color: var(--terracota3);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.ticketLogo { display: block; border-radius: 14px; overflow: hidden; }
.ticketLogo img { width: 176px; height: auto; }
.ratingNote { margin: 0; font-size: .86rem; color: var(--tenue); }
.ticketDeal { min-width: 0; margin: 0; padding: 14px 18px; border: 1px dashed var(--borde2); border-radius: 14px; background: var(--arena); }
.dealTag { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); }
.ticketDeal strong { display: block; margin-top: 2px; font-family: var(--fuenteTitulo); font-weight: 400; font-size: 1.32rem; line-height: 1.2; color: var(--tinta); }
.ticketGo { min-width: 172px; }
.ticketSmall { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px dashed var(--borde); font-size: .78rem; line-height: 1.55; color: var(--tenue); }

/* ===== Secciones genéricas ===== */

.zone { padding: 80px 0; }
.zoneTight { padding: 54px 0; }
.zoneSand { background: var(--arena2); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.zone h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.zone h2.titleSm { font-size: 1.65rem; margin-bottom: 22px; }
.introDark { max-width: 62ch; font-size: 1.08rem; }

.copy { max-width: 780px; }
.wrap.copy { max-width: var(--ancho); }
.wrap.copy > * { max-width: 780px; }
.copy h2 { margin-top: 1.4em; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.copy h2:first-child { margin-top: 0; }
.copy h3 { margin-top: 1.5em; }
.copy ul { padding-left: 0; list-style: none; }
.copy ul li { position: relative; margin-bottom: .55em; padding-left: 26px; }
.copy ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; background: var(--terracota); transform: rotate(45deg); }
.copy ol li { margin-bottom: .55em; }
.copy ol li::marker { color: var(--terracota2); font-weight: 700; }

/* Criterios */
.twoCol { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.stickyIntro { position: sticky; top: 110px; }
.questionGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.questionCard { padding: 26px 24px 24px; background: var(--papel); border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra); }
.questionNum {
  display: grid; place-items: center; width: 46px; height: 56px; margin-bottom: 14px; padding-top: 8px;
  border-radius: 999px 999px 0 0; background: var(--terracota2); color: var(--crema);
  font-family: var(--fuenteTitulo); font-size: 1.4rem; line-height: 1;
}
.questionCard h3 { font-size: 1.1rem; }
.questionCard p { margin: 0; font-size: .97rem; color: var(--tenue); }

/* Tres notas */
.noteTrio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.noteCard { padding: 28px; background: var(--papel); border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra); }
.noteIcon {
  display: grid; place-items: center; width: 52px; height: 60px; margin-bottom: 18px; padding-top: 8px;
  border-radius: 999px 999px 0 0; background: var(--olivaSuave); color: var(--oliva2);
}
.noteIcon .glyph { width: 24px; height: 24px; }
.noteCard h3 { font-family: var(--fuenteTitulo); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.noteCard p { margin: 0; color: var(--tenue); }
.noteCardOlive { background: var(--oliva2); border-color: transparent; }
.noteCardOlive h3 { color: var(--crema); }
.noteCardOlive p { color: #ECE7D3; }
.noteCardOlive .noteIcon { background: rgba(255, 246, 234, .14); color: #F3C9A9; }

/* Elegir paso a paso */
.pickGrid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: start; }
.pickSteps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: paso; }
.pickSteps li { position: relative; padding: 0 0 14px 46px; counter-increment: paso; }
.pickSteps li::before {
  content: counter(paso); position: absolute; left: 0; top: 1px;
  display: grid; place-items: center; width: 30px; height: 34px; padding-top: 4px;
  border-radius: 999px 999px 0 0; background: var(--terracotaSuave); color: var(--terracota3);
  font-family: var(--fuenteTitulo); font-size: 1.05rem; line-height: 1;
}
.pickSteps strong { color: var(--tinta); }
.guideList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.guideList a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%;
  padding: 16px 18px; background: var(--papel); border: 1px solid var(--borde); border-radius: 14px;
  box-shadow: var(--sombra); color: var(--tinta); text-decoration: none;
}
.guideList a:hover { border-color: var(--terracota); color: var(--terracota2); }
.guideList .glyph { color: var(--terracota); }

.clipboard { position: relative; margin-top: 14px; padding: 30px 16px 16px; border-radius: 22px; background: var(--barro); box-shadow: var(--sombraAlta); }
.clipboard::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 124px; height: 36px; transform: translateX(-50%);
  border-radius: 12px; background: var(--tinta); box-shadow: inset 0 -6px 0 rgba(255, 255, 255, .08);
}
.clipboard::after { content: ""; position: absolute; top: -6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--barro); }
.clipboardSheet { padding: 28px 26px 22px; background: var(--papel); border-radius: 10px; }
.clipboardSheet h3 { margin-bottom: 14px; font-family: var(--fuenteTitulo); font-weight: 400; font-size: 1.55rem; line-height: 1.15; }
.tickList { display: grid; margin: 0; padding: 0; list-style: none; }
.tickList li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--borde2); color: var(--tinta); }
.tickList .glyph { width: 26px; height: 26px; margin-top: 1px; padding: 3px; border: 2px solid var(--oliva); border-radius: 7px; background: var(--crema); color: var(--terracota2); }

/* Preguntas desplegables */
.askWrap > h2, .askWrap > .askList { max-width: 880px; }
.askList { display: grid; gap: 12px; }
.ask { background: var(--papel); border: 1px solid var(--borde); border-radius: 16px; box-shadow: var(--sombra); }
.ask[open] { border-color: var(--borde2); }
.ask summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 16px; cursor: pointer; list-style: none; }
.ask summary::-webkit-details-marker { display: none; }
.ask summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background-color: var(--terracotaSuave);
  background-image: linear-gradient(var(--terracota2), var(--terracota2)), linear-gradient(var(--terracota2), var(--terracota2));
  background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .2s;
}
.ask[open] summary::after { transform: rotate(45deg); }
.askQ { font-size: 1.04rem; font-weight: 600; line-height: 1.4; color: var(--tinta); }
.askA { padding: 0 22px 20px; color: var(--tenue); }
.askA p:last-child { margin-bottom: 0; }

/* ===== Páginas internas ===== */

.pageHead { padding: 40px 0 44px; background: var(--arena2); border-bottom: 1px solid var(--borde); overflow: hidden; }
.pageHeadInner { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 230px; padding-right: 300px; }
.pageHeadInner::after {
  content: ""; position: absolute; right: 48px; top: 0; bottom: -44px; width: 180px;
  padding: 15px 15px 0;
  border: 9px solid var(--terracota); border-bottom: 0; border-radius: 999px 999px 0 0;
  background:
    radial-gradient(circle at 64% 70px, #F4C7A1 0 22px, transparent 23px) content-box,
    linear-gradient(#FBE6D5, #FFF9F1 70%, #E4E2C7 70%) content-box,
    var(--azulejo) center top / 30px 30px padding-box;
}
.pageHeadInner::before {
  content: ""; position: absolute; right: 28px; bottom: -44px; z-index: 1; width: 220px; height: 12px;
  border-radius: 4px 4px 0 0; background: var(--barro);
}
.pageHead h1 { max-width: 20ch; font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.trail ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .87rem; color: var(--tenue); }
.trail li + li::before { content: "›"; margin-right: 6px; color: var(--terracota); }
.trail a { text-decoration: none; }
.intro { max-width: 62ch; margin-bottom: 20px; font-size: 1.1rem; }
.ageNote {
  display: flex; align-items: flex-start; gap: 12px; max-width: 720px; margin: 4px 0 0; padding: 14px 18px;
  background: var(--papel); border-left: 4px solid var(--oliva); border-radius: 4px 14px 14px 4px; font-size: .93rem; color: var(--tinta);
}
.ageNote .ageMark { margin-top: 1px; color: var(--oliva2); }
.revDate { margin: 0; font-size: .92rem; color: var(--tenue); }

/* Estante de operadores */
.brandShelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.brandTile {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px 14px 18px; cursor: pointer;
  background: var(--papel); border: 1px solid var(--borde); border-radius: 22px; box-shadow: var(--sombra);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.brandTile:hover { transform: translateY(-3px); box-shadow: var(--sombraAlta); border-color: var(--borde2); }
.tileNiche { display: flex; align-items: flex-end; justify-content: center; padding: 58px 12px 16px; border: 1px solid var(--borde); border-radius: 999px 999px 0 0; background: var(--arena2); }
.tileLogo { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 14px -10px rgba(46, 33, 27, .6); }
.tileLogo img { width: 168px; height: auto; }
.tileName { margin: 4px 0 0; font-family: var(--fuenteTitulo); font-weight: 400; font-size: 1.4rem; line-height: 1.1; }
.tileOfficial { display: inline-flex; align-items: center; gap: 5px; margin: -6px 0 0; font-size: .82rem; font-weight: 600; color: var(--oliva); }
.tileDeal { flex: 1; margin: 0; padding: 12px 14px; border: 1px dashed var(--borde2); border-radius: 12px; font-size: .92rem; color: var(--tinta); }
.tileGo { width: 100%; }
.smallPrint { max-width: 90ch; margin: 20px 0 0; font-size: .84rem; color: var(--tenue); }

/* Hábitos */
.habitRow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.habit { padding: 26px 24px 24px; background: var(--papel); border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra); }
.habitBadge {
  display: grid; place-items: center; width: 50px; height: 58px; margin-bottom: 14px; padding-top: 8px;
  border-radius: 999px 999px 0 0; background: var(--terracotaSuave); color: var(--terracota3);
}
.habitBadge .glyph { width: 24px; height: 24px; }
.habitStep { margin: 0 0 4px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oliva); }
.habit h3 { font-family: var(--fuenteTitulo); font-weight: 400; font-size: 1.42rem; line-height: 1.15; }
.habit p:last-child { margin: 0; font-size: .97rem; color: var(--tenue); }

/* Fichas y avisos */
.factPair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.fact { padding: 26px; background: var(--papel); border: 1px solid var(--borde); border-top: 4px solid var(--oliva); border-radius: 6px 6px var(--radio) var(--radio); box-shadow: var(--sombra); }
.fact h3 { font-size: 1.12rem; }
.fact p { color: var(--tenue); }
.fact p:last-child { margin: 0; }
.miniTicks { margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px dashed var(--borde2); }
.miniTicks li { position: relative; margin-bottom: 6px; padding-left: 24px; font-size: .94rem; color: var(--tinta); }
.miniTicks li:last-child { margin-bottom: 0; }
.miniTicks li::before {
  content: ""; position: absolute; left: 5px; top: .28em; width: 6px; height: 11px;
  border: solid var(--oliva); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.warnBox { display: flex; align-items: flex-start; gap: 16px; max-width: 900px; margin: 8px 0 0; padding: 20px 24px; background: var(--olivaSuave); border: 1px solid var(--olivaBorde); border-radius: 16px; }
.warnBox > .glyph { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--oliva); color: var(--crema); }
.warnBox p { margin: 0; color: var(--tinta); }

.mailCard { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 8px 0 18px; padding: 22px 24px; background: var(--papel); border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombraAlta); }
.mailIcon { display: grid; place-items: center; width: 54px; height: 62px; padding-top: 8px; border-radius: 999px 999px 0 0; background: var(--terracota2); color: var(--crema); }
.mailIcon .glyph { width: 24px; height: 24px; }
.mailCard strong { display: block; font-family: var(--fuenteTitulo); font-weight: 400; font-size: 1.3rem; color: var(--tinta); }
.mailCard a { overflow-wrap: anywhere; }

.lostPage { padding: 96px 0; text-align: center; }
.lostArch { width: 120px; height: 150px; margin: 0 auto 26px; border: 8px solid var(--terracota); border-bottom: 0; border-radius: 999px 999px 0 0; background: var(--azulejo) center top / 30px 30px; }
.lostPage h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.lostPage .introDark { margin: 0 auto 28px; }
.lostLinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .95rem; }

/* ===== Banda de ayuda ===== */

.helpZone { padding: 68px 0; background: var(--olivaSuave); border-top: 1px solid var(--olivaBorde); }
.helpZone .overline { color: var(--oliva2); }
.helpHead { max-width: 640px; margin-bottom: 28px; }
.helpHead h2 { margin-bottom: .3em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.helpHead p:last-child { margin: 0; color: var(--tenue); }
.helpList { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.helpItem {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px;
  background: var(--papel); border: 1px solid var(--olivaBorde); border-radius: 16px; box-shadow: var(--sombra);
  font-weight: 400; color: var(--tinta); text-decoration: none;
}
a.helpItem:hover { border-color: var(--oliva); color: var(--tinta); text-decoration: none; }
.helpIcon { width: 46px; height: 54px; padding: 16px 12px 10px; border-radius: 999px 999px 0 0; background: var(--oliva); color: var(--crema); }
.helpItem strong { display: block; font-weight: 600; }
.helpItem small { display: block; font-size: .88rem; color: var(--tenue); }
.refBlock { margin-top: 30px; }
.refTitle { margin: 0 0 12px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oliva2); }
.refList { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.refList a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 16px;
  background: var(--papel); border: 1px solid var(--olivaBorde); border-radius: 999px;
  font-size: .86rem; font-weight: 600; color: var(--tinta); text-decoration: none;
}
.refList a:hover { border-color: var(--oliva); color: var(--oliva2); }
.refList .ageMark { height: 36px; min-width: 50px; background: var(--papel); color: var(--terracota2); }

/* ===== Pie ===== */

.baseBar { background: var(--tinta); color: #E6D7C5; font-size: .93rem; }
.baseBar::before { content: ""; display: block; height: 18px; background: var(--azulejo) left center / 18px 18px repeat-x; border-bottom: 3px solid var(--terracota); }
.baseGrid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, .8fr); gap: 48px; padding-top: 56px; padding-bottom: 36px; }
.baseAbout .logoLink { margin-bottom: 18px; }
.baseAbout p { max-width: 62ch; }
.baseAge { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--crema); }
.baseAge .ageMark { color: #F0A585; }
.baseHeading { margin-bottom: 16px; font-family: var(--fuenteTexto); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #E8A184; }
.baseLinks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.baseBar a { color: var(--crema); font-weight: 500; text-decoration: none; }
.baseBar a:hover { color: #F3B79C; text-decoration: underline; }
.baseMail a { overflow-wrap: anywhere; }
.baseCopy { padding-top: 18px; padding-bottom: 24px; border-top: 1px solid rgba(255, 246, 234, .12); }
.baseCopy small { font-size: .85rem; color: #BBA896; }

/* ===== Adaptación a pantallas ===== */

@media (max-width: 1200px) {
  .promiseStrip { justify-content: center; border-radius: 20px; }
}

@media (max-width: 1060px) {
  .brandShelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticketMain { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ticketGo { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 900px) {
  .menuSwitch { display: inline-flex; }
  .mainMenu {
    position: absolute; top: calc(100% + 1px); left: 12px; right: 12px; display: none;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: var(--papel); border: 1px solid var(--borde); border-top: 0; border-radius: 0 0 18px 18px; box-shadow: var(--sombraAlta);
  }
  .mainMenu[data-open] { display: flex; }
  .mainMenu a { padding: 12px 16px; border-radius: 12px; font-size: 1rem; }

  .welcomeGrid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .archFrame { width: min(100%, 360px); }
  .twoCol, .pickGrid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .stickyIntro { position: static; }
  .noteTrio, .habitRow, .helpList { grid-template-columns: minmax(0, 1fr); }
  .baseGrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .baseAbout { grid-column: 1 / -1; }
  .pageHeadInner { min-height: 0; padding-right: 24px; }
  .pageHeadInner::before, .pageHeadInner::after { display: none; }
  .promiseStrip { border-radius: 20px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .zone { padding: 56px 0; }
  .zoneTight { padding: 42px 0; }
  .welcome { padding: 30px 0 28px; }
  .action { width: 100%; }
  .welcomeActions { flex-direction: column; align-items: stretch; }
  .archFrame { width: min(100%, 300px); }

  .promiseStrip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 8px 6px; }
  .promiseStrip dt { padding: 8px 14px; }
  .promiseStrip dd { padding: 10px 14px; border-left: 0; border-top: 1px dashed var(--borde2); }

  .rankZone { padding: 48px 0 60px; }
  .ticket {
    --alto: 72px;
    grid-template-columns: minmax(0, 1fr);
    -webkit-mask:
      radial-gradient(circle at 0 var(--alto), #0000 13px, #000 13.5px) left / 51% 100% no-repeat,
      radial-gradient(circle at 100% var(--alto), #0000 13px, #000 13.5px) right / 51% 100% no-repeat;
    mask:
      radial-gradient(circle at 0 var(--alto), #0000 13px, #000 13.5px) left / 51% 100% no-repeat,
      radial-gradient(circle at 100% var(--alto), #0000 13px, #000 13.5px) right / 51% 100% no-repeat;
  }
  .ticketStub::before { top: auto; right: auto; left: -15.5px; bottom: -15.5px; }
  .ticketStub::after { right: -15.5px; bottom: -15.5px; }
  .ticketTop .ticketStub::before { top: auto; left: -16.5px; }
  .ticketTop .ticketStub::after { right: -16.5px; }
  .promiseStrip dd { white-space: normal; }
  .ticketStub {
    flex-direction: row; justify-content: flex-start; gap: 10px; height: var(--alto); padding: 0 22px;
    border-right: 0; border-bottom: 2px dashed var(--borde2); border-radius: 21px 21px 0 0;
  }
  .ticketTop .ticketStub { border-bottom-color: rgba(255, 246, 234, .6); }
  .stubNum { margin-right: auto; font-size: 2.5rem; }
  .stubScore { margin-top: 0; }
  .ticketMain { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px 18px 18px; }
  .ticketLogo img { width: 168px; }

  .questionGrid, .factPair, .guideList, .brandShelf { grid-template-columns: minmax(0, 1fr); }
  .tileNiche { width: min(100%, 250px); align-self: center; padding-top: 62px; }
  .clipboardSheet { padding: 24px 18px 18px; }
  .ask summary { padding: 16px 18px; }
  .askA { padding: 0 18px 18px; }
  .warnBox { flex-direction: column; gap: 12px; padding: 18px; }
  .baseGrid { grid-template-columns: minmax(0, 1fr); }
  .pageHead { padding: 30px 0 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
