/* ==========================================================================
   CELLARIUM · Landing de campañas
   Colores (Pantone_Cellarium.pdf): naranja #FE7038 · azul #16417E · negro #000
   Titulares: Adrianna (Chank Co) · Texto: Montserrat
   ========================================================================== */

/* TITULARES — Adrianna es una fuente con licencia y sus archivos web no están
   en el Drive. Cuando lleguen, cópialos a /cellarium/fonts/ y quita el comentario
   de este bloque (o pega aquí el <link> del kit de Adobe Fonts). Mientras tanto
   los titulares usan Montserrat ExtraBold, que es el respaldo declarado abajo.

@font-face {
  font-family: "Adrianna";
  src: url("fonts/Adrianna-ExtraBold.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Adrianna";
  src: url("fonts/Adrianna-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
*/

:root {
  --orange: #FE7038;
  --orange-d: #E85A22;
  --blue: #16417E;
  --navy: #0B1220;
  --navy-2: #121C30;
  --ink: #0A0A0A;
  --text: #3A4252;
  --muted: #6B7385;
  --line: #E3E7EE;
  --tint: #F3F5F9;
  --sky: #B9C6D8;
  --white: #fff;
  --head: "Adrianna", "Adrianna Extended", "Montserrat", system-ui, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); color: var(--text); background: var(--white);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  padding-bottom: 68px; /* espacio para la barra fija en móvil */
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[id] { scroll-margin-top: 76px; }

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

/* ---------- Tipografía ---------- */
h1, .h2, h3, .startcard__title, .stats b, .chips b {
  font-family: var(--head); font-weight: 800; color: var(--ink); letter-spacing: -0.01em;
}
.h2 { font-size: clamp(26px, 4.2vw, 42px); line-height: 1.12; text-wrap: balance; max-width: 20ch; }
.h2--light { color: var(--white); }
.h2 span { color: var(--orange); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.eyebrow--dark { color: var(--blue); }
.lead { font-size: 17px; max-width: 62ch; margin-top: 16px; }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange); color: var(--white); text-decoration: none; border: 0;
  font-weight: 700; font-size: 16px; padding: 16px 28px; border-radius: 999px;
  transition: background .15s, transform .15s; min-height: 52px; text-align: center;
}
.btn:hover { background: var(--orange-d); transform: translateY(-1px); }
.btn--sm { font-size: 14px; padding: 10px 18px; min-height: 40px; }
.topbar .btn--sm { white-space: nowrap; font-size: 13px; padding: 9px 14px; }
@media (max-width: 380px) { .topbar .logo__mark { width: 118px; height: 12px; } .topbar .logo__tag { font-size: 6px; } }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link { display: inline-block; font-weight: 700; color: var(--blue); text-decoration: none; margin-top: 18px; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.link:hover { color: var(--orange-d); }

/* ---------- Barra superior ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(11,18,32,.0); transition: background .2s, box-shadow .2s; }
.topbar.is-solid { background: rgba(11,18,32,.96); box-shadow: 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; flex-direction: column; gap: 5px; color: var(--white); text-decoration: none; }
.logo__mark { width: 150px; height: 15px; color: var(--white); }
.logo-ll { fill: var(--orange); }
.logo__tag { font-size: 7.5px; letter-spacing: .34em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.topbar__right { display: flex; align-items: center; gap: 14px; }
.pill { display: none; align-items: center; gap: 8px; color: var(--white); font-size: 13px; font-weight: 600; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #35D07F; box-shadow: 0 0 0 4px rgba(53,208,127,.22); }
.pill b { font-weight: 800; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,.72) 0%, rgba(11,18,32,.50) 30%, rgba(11,18,32,.78) 62%, var(--navy) 100%);
}
.hero__in { position: relative; padding-top: 92px; padding-bottom: 36px; display: grid; gap: 22px; }
.hero h1 { color: var(--white); font-size: clamp(31px, 6.2vw, 58px); line-height: 1.06; text-wrap: balance; }
.hero__sub { font-size: 16px; line-height: 1.5; margin-top: 14px; color: #E4E9F2; max-width: 54ch; }
.hero__sub strong { color: var(--white); }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; max-width: 520px; }
.chips li { border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 8px 8px; background: rgba(11,18,32,.45); }
.chips b { display: block; color: var(--white); font-size: 14px; line-height: 1.2; white-space: nowrap; }
.chips span { font-size: 10.5px; line-height: 1.25; display: block; margin-top: 2px; color: var(--sky); }

.startcard { background: var(--white); color: var(--text); border-radius: 18px; padding: 22px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.startcard__kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-d); }
.startcard__title { font-size: 22px; line-height: 1.2; margin: 8px 0 16px; }
.startcard__opts { display: grid; gap: 10px; }
.startcard__note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  text-align: left; background: var(--white); color: var(--ink); border: 2px solid var(--line);
  border-radius: 12px; padding: 15px 16px; font-weight: 600; font-size: 16px; min-height: 56px;
  transition: border-color .12s, background .12s, transform .12s;
}
.opt em { font-style: normal; color: var(--orange); font-weight: 800; }
.opt small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.opt:hover { border-color: var(--orange); background: #FFF6F1; }
.opt.is-on { border-color: var(--orange); background: #FFF1E9; }

/* ---------- Cifras ---------- */
.stats { background: var(--navy); color: var(--white); border-top: 1px solid rgba(255,255,255,.1); }
.stats__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; padding-top: 26px; padding-bottom: 30px; }
.stats b { display: block; color: var(--white); font-size: clamp(28px, 5vw, 44px); line-height: 1; }
.stats span { font-size: 13px; color: var(--sky); display: block; margin-top: 6px; }
.stats__hot b { color: var(--orange); }

/* ---------- Secciones ---------- */
.sec { padding: 64px 0; }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--navy); color: #D5DCE8; }

/* Dos caminos */
.paths { display: grid; gap: 22px; margin-top: 34px; }
.path { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.path img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.path__body { padding: 24px 22px 26px; }
.path h3 { font-size: 24px; margin-bottom: 10px; }
.ticks { margin-top: 16px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.ticks--light li { color: #E4E9F2; }

/* Ficha técnica */
.spec { display: grid; gap: 34px; }
.spec__media { position: relative; }
.spec__media > img:first-child { border-radius: var(--r); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.spec__inset { position: absolute; right: 14px; bottom: -22px; width: 38%; border-radius: 12px; border: 4px solid var(--navy); aspect-ratio: 1; object-fit: cover; }
.specs { margin: 26px 0 30px; border-top: 1px solid rgba(255,255,255,.14); }
.specs div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.specs dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.specs dd { color: var(--white); font-weight: 600; font-size: 16px; }

/* Ubicación */
.loc { display: grid; gap: 32px; }
.loc__cols { display: grid; gap: 20px; margin-top: 26px; }
.loc h4 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.loc__cols p { font-weight: 600; color: var(--ink); line-height: 1.7; }
.loc__media img { border-radius: var(--r); width: 100%; }
figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* Obra */
.clips { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; margin-top: 30px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.clips figure { scroll-snap-align: start; }
.clips video { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: var(--r); background: #000; }

/* Galería */
.gallery {
  display: grid; grid-auto-flow: column dense; grid-template-rows: repeat(2, 150px); grid-auto-columns: 150px;
  gap: 10px; margin-top: 30px; overflow-x: auto; padding: 0 20px 10px; scroll-snap-type: x proximity; scroll-padding-left: 20px;
  -webkit-overflow-scrolling: touch;
}
.g { position: relative; overflow: hidden; border-radius: 12px; scroll-snap-align: start; background: var(--tint); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g:hover img { transform: scale(1.04); }
.g figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; color: var(--white); font-weight: 600; font-size: 12px;
  padding: 22px 10px 8px; background: linear-gradient(transparent, rgba(11,18,32,.82));
}

/* Disponibilidad */
.avail { display: grid; gap: 28px; margin-top: 30px; }
.avail__plan { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.avail__plan span { position: absolute; right: 10px; bottom: 10px; background: rgba(11,18,32,.88); color: var(--white); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.avail__table { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 18px 24px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 6px 10px; border-bottom: 2px solid var(--ink); }
th small { display: block; color: var(--orange-d); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
td { padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; white-space: nowrap; }
td:last-child, th:last-child { text-align: right; }
td:last-child { font-weight: 500; }
td b { font-family: var(--head); font-size: 17px; }
.avail__iva { font-size: 14.5px; margin-top: 16px; padding: 12px 14px; background: #FFF1E9; border-left: 4px solid var(--orange); border-radius: 6px; color: var(--ink); }
.avail__table .btn { margin-top: 18px; width: 100%; }

/* Compradores */
.buyers { display: grid; gap: 16px; margin-top: 30px; }
.buyers article { border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--r); padding: 22px; }
.buyers h3 { font-size: 19px; margin-bottom: 8px; }
.buyers p { font-size: 15px; }

/* ---------- Cuestionario ---------- */
.quizwrap { display: grid; gap: 28px; }
.quizintro p { margin-top: 14px; }
.quiz { background: var(--white); color: var(--text); border-radius: 18px; padding: 22px 18px 24px; box-shadow: 0 24px 60px rgba(0,0,0,.35); min-height: 420px; }
.quiz__bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 99px; transition: width .3s; }
.quiz__meta { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 14px; font-size: 13px; color: var(--muted); font-weight: 600; min-height: 24px; }
.quiz__meta span { margin-left: auto; }
.quiz__back { background: none; border: 0; color: var(--blue); font-weight: 700; padding: 4px 0; }
.q__title { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 22px; line-height: 1.2; }
.q__sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.q__opts { display: grid; gap: 10px; margin-top: 18px; }
.q-enter { animation: qin .25s ease both; }
@keyframes qin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.form { display: grid; gap: 14px; margin-top: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 16px; padding: 14px; border: 2px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--ink); min-height: 52px;
}
.field input:focus, .field select:focus { border-color: var(--orange); outline: 0; }
.field.is-bad input, .field.is-bad select { border-color: #D93025; }
.field .err { display: none; color: #D93025; font-size: 12.5px; font-weight: 600; margin-top: 5px; }
.field.is-bad .err { display: block; }
.form__row { display: grid; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--orange); flex: none; }
.consent a { color: var(--blue); font-weight: 600; }
.consent.is-bad { color: #D93025; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__safe { font-size: 12.5px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { max-width: 820px; }
.faq .h2 { max-width: 24ch; margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font-weight: 700; color: var(--ink); font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; font-weight: 500; color: var(--orange); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 20px; max-width: 66ch; }
.faq .btn { margin-top: 30px; }

/* Footer */
.foot { background: #05080F; color: #9AA4B8; font-size: 13.5px; padding: 40px 0 44px; }
.foot__in { display: grid; gap: 20px; }
.foot .logo__mark { margin-bottom: 10px; }
.foot a { color: var(--white); }

/* Barra fija móvil */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--orange); color: var(--white); text-decoration: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  font-size: 12.5px; line-height: 1.3; transform: translateY(110%); transition: transform .25s; box-shadow: 0 -6px 24px rgba(0,0,0,.2);
}
.sticky.is-on { transform: none; }
.sticky strong { font-size: 15px; white-space: nowrap; }

/* ---------- Tablet / escritorio ---------- */
@media (min-width: 640px) {
  .chips { gap: 10px; margin-top: 24px; max-width: 640px; }
  .chips li { padding: 10px 14px; border-radius: 12px; }
  .chips b { font-size: 19px; }
  .chips span { font-size: 12px; }
  .hero__sub { font-size: 17px; margin-top: 18px; }
  .stats__in { grid-template-columns: repeat(4, 1fr); }
  .pill { display: inline-flex; }
  .topbar .btn--sm { font-size: 14px; padding: 10px 18px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .buyers { grid-template-columns: repeat(3, 1fr); }
  .loc__cols { grid-template-columns: 1fr 1fr; }
  .clips { grid-auto-columns: 1fr; grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; overflow: visible; max-width: 960px; }
  .specs div { grid-template-columns: 170px 1fr; gap: 16px; align-items: baseline; }
  .foot__in { grid-template-columns: 1.3fr 1.4fr 1fr; }
  .quiz { padding: 30px 30px 32px; }
  .startcard { padding: 28px 26px; }
  .gallery { grid-template-rows: repeat(2, 200px); grid-auto-columns: 200px; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; font-size: 17px; }
  .sticky { display: none; }
  .wrap { padding: 0 32px; }
  .sec { padding: 104px 0; }
  .topbar__in { height: 76px; }
  .logo__mark { width: 190px; height: 19px; }
  .logo__tag { font-size: 9px; }

  .hero__bg img { object-position: center 40%; }
  .hero__shade { background: linear-gradient(90deg, rgba(11,18,32,.94) 0%, rgba(11,18,32,.80) 42%, rgba(11,18,32,.38) 100%); }
  .hero__in { grid-template-columns: 1.25fr .85fr; align-items: center; gap: 56px; min-height: 720px; padding-top: 130px; padding-bottom: 80px; }
  .hero__sub { font-size: 19px; }
  .stats__in { padding-top: 40px; padding-bottom: 44px; }

  .paths { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
  .path__body { padding: 30px 30px 34px; }
  .spec { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .spec__media > img:first-child { aspect-ratio: 4/5; }
  .spec__inset { right: -28px; bottom: 36px; width: 42%; }
  .loc { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
  .avail { grid-template-columns: 1.15fr 1fr; align-items: start; gap: 36px; margin-top: 44px; }
  .avail__table { padding: 10px 24px 28px; }
  table { font-size: 15px; }
  .quizwrap { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .gallery { grid-template-rows: repeat(2, 240px); grid-auto-columns: 240px; gap: 14px; padding: 0 max(32px, calc((100vw - var(--wrap)) / 2 + 32px)) 12px; scroll-padding-left: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); }
  .q__title { font-size: 26px; }
}

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