/* ============ Fonts ============ */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dmsans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/dmmono-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/dmmono-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Abril Fatface"; src: url("/assets/fonts/abril.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Swatch subsets (home page theme grid only) */
@font-face { font-family: "Shrikhand Swatch"; src: url("/assets/fonts/swatch/shrikhand.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Fredoka Swatch"; src: url("/assets/fonts/swatch/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Anton Swatch"; src: url("/assets/fonts/swatch/anton.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Nunito Swatch"; src: url("/assets/fonts/swatch/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Playfair Swatch"; src: url("/assets/fonts/swatch/playfair.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Abril Swatch"; src: url("/assets/fonts/swatch/abril.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Caveat Swatch"; src: url("/assets/fonts/swatch/caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Bodoni Swatch"; src: url("/assets/fonts/swatch/bodoni.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

/* ============ Tokens ============ */
:root {
  --hot: #FF2E7E; --deep: #C2155C; --plum: #3B0A2A; --on-plum: #FFFFFF;
  --cream: #F6F3ED; --card: #FFFDF8; --ink: #242D2A; --muted: #59635E;
  --line: #DEDBD2; --chip: #EBE7DE; --plum-soft: #7A2E52;
  --band: var(--hot);
  --radius: 18px; --wrap: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #1A0A14; --card: #2A1422; --ink: #F6F3ED; --muted: #CBBFC6;
    --line: #4A2B3E; --chip: #3A1F31; --deep: #FF6FA5;
    --plum: #FFFDF8; --on-plum: #3B0A2A; --band: #C2155C;
  }
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; font-optical-sizing: auto; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--deep); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 4px; }
.band :focus-visible { outline-color: #FFFFFF; }
h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0 0 0.4em; }
h1 { font-size: 2.75rem; line-height: 1; letter-spacing: -0.03em; }
h2 { font-size: 1.875rem; line-height: 1.05; letter-spacing: -0.02em; }
h3 { font-size: 1.1875rem; line-height: 1.25; margin: 0 0 0.3em; }
h1 em, h2 em { font-style: italic; color: var(--deep); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--card); color: var(--ink); padding: 12px 16px; border-radius: 12px; }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.75rem; }

/* ============ Header ============ */
.band { background: var(--band); }
.band h1 { color: #FFFFFF; }
.band h1 em, .band h2 em { color: var(--plum); }
.eyebrow-on-pink { color: var(--plum); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #FFFFFF; font-family: var(--sans); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.04em; text-decoration: none; }
.wordmark:hover { color: #FFFFFF; }
.wordmark-i { width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; color: #C2155C; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 17px; letter-spacing: 0; }
.wordmark-dark .wordmark-i { background: #FF2E7E; color: #FFFFFF; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .lang > summary { color: var(--plum); font-weight: 700; font-size: 0.9375rem; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; cursor: pointer; }
.nav > a:hover, .lang > summary:hover { background: rgba(255,255,255,0.22); color: var(--plum); }
.lang { position: relative; }
.lang > summary { list-style: none; font-family: var(--mono); font-weight: 500; letter-spacing: 0.08em; }
.lang > summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; min-width: 168px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 24px -12px rgba(59,10,42,0.45); z-index: 20; }
.lang ul a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.lang ul a:hover { background: var(--chip); }
.lang ul a[aria-current="true"] { font-weight: 700; color: var(--deep); }

/* ============ Buttons ============ */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; }
.pill-primary { background: var(--plum); color: var(--on-plum); }
.pill-primary:hover { color: var(--on-plum); opacity: 0.92; }
.pill-secondary { min-height: 44px; background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.badge-link { display: inline-block; border-radius: 10px; }
.badge-link img { height: 48px; width: auto; }
.soon { display: inline-block; margin: 0; font-family: var(--mono); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--plum); color: var(--on-plum); padding: 14px 18px; border-radius: 999px; }

/* ============ Footer ============ */
.site-footer { background: #3B0A2A; color: #F6F3ED; padding: 40px 0 48px; }
.site-footer a { color: #F6F3ED; }
.site-footer a:hover { color: #FFD95A; }
.footer-grid { display: grid; gap: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-small { margin: 0; font-size: 0.8125rem; color: #CBBFC6; }

/* ============ Inner pages ============ */
.page-hero { color: #FFFFFF; padding: 28px 0 40px; }
.page-hero h1 { font-size: 2.25rem; line-height: 1.05; }
.prose { padding-top: 36px; padding-bottom: 64px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; scroll-margin-top: 16px; }
.prose li { margin: 0.35em 0; }
.prose ol, .prose ul { padding-left: 1.4em; }
.updated { color: var(--muted); font-size: 0.875rem; }
.summary, .contact-card { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--hot); border-radius: 14px; padding: 16px 20px; margin: 0 0 24px; }
.summary ul { margin: 0; }
.contact-card .big { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; overflow-wrap: anywhere; }
.qa { border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.qa > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-weight: 700; }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after { content: "+"; font-family: var(--mono); font-size: 1.25rem; color: var(--deep); flex: none; }
.qa[open] > summary::after { content: "\2013"; }
.qa > *:not(summary) { margin-top: 0; }
.qa > :last-child { margin-bottom: 16px; }
.notfound { padding-top: 48px; padding-bottom: 64px; }
.flip-row { display: flex; gap: 8px; margin: 0 0 24px; }

/* ============ Flip tile (shared) ============ */
.flip { position: relative; display: inline-grid; place-items: center; width: 48px; height: 60px; border-radius: 8px; background: #3B0A2A linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.22) 50%); color: #FFD95A; font-family: var(--mono); font-weight: 500; font-size: 2.125rem; line-height: 1; }
.flip::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,217,90,0.45); }

/* ============ Home: hero ============ */
.hero { color: #FFFFFF; padding: 12px 0 44px; }
.hero h1 { margin-top: 8px; }
.lede { font-size: 1.125rem; font-weight: 500; color: var(--plum); max-width: 34ch; }
.hero-ticket-wrap { position: relative; max-width: 420px; margin: 20px auto 8px; }
.ticket-back { position: absolute; border-radius: var(--radius); }
.ticket-back-1 { left: 24px; right: 24px; top: 18px; bottom: -12px; background: #FFD95A; transform: rotate(3deg); }
.ticket-back-2 { left: 12px; right: 12px; top: 9px; bottom: -6px; background: #DA0A1E; transform: rotate(-2.5deg); }
.ticket { position: relative; z-index: 1; margin: 0; border-radius: var(--radius); overflow: hidden; background: #3D1A6E; color: #FFFFFF; box-shadow: 0 14px 28px -16px rgba(59,10,42,0.6); }
.ticket-art { position: relative; height: 128px; overflow: hidden; }
.ticket-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ticket-tag { position: absolute; top: 12px; left: 14px; font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; background: #F2C14E; color: #3D1A6E; padding: 5px 8px; border-radius: 999px; }
.ticket-info { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 14px 16px 16px; border-top: 2px dashed rgba(255,255,255,0.35); }
.ticket-notch { position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--band); }
.ticket-notch-l { left: -10px; } .ticket-notch-r { right: -10px; }
.ticket-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ticket-eyebrow { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #E0CFF7; }
.ticket-title { font-family: "Abril Fatface", Georgia, serif; font-size: 1.875rem; line-height: 1; }
.ticket-people { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 500; color: #E0CFF7; }
.avatars { display: flex; }
.av { width: 24px; height: 24px; margin-left: -7px; border-radius: 50%; border: 2px solid #3D1A6E; display: grid; place-items: center; font-family: var(--sans); font-weight: 700; font-size: 10px; color: #FFFFFF; }
.av:first-child { margin-left: 0; }
.av-1 { background: #C2155C; } .av-2 { background: #00838C; } .av-3 { background: #5B4BB7; }
.av-4 { background: #1E7A52; } .av-5 { background: #A34A26; } .av-more { background: #F2C14E; color: #3D1A6E; }
.ticket-count { flex: none; text-align: right; }
.ticket-number { display: block; font-family: "Abril Fatface", Georgia, serif; font-size: 3.5rem; line-height: 0.85; color: #F2C14E; }
.ticket-unit { display: block; margin-top: 6px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #E0CFF7; }
.hero-cta { margin-top: 24px; }
.hero-note { margin: 10px 0 0; font-size: 0.9375rem; font-weight: 500; color: var(--plum); }
.stamp-in { animation: stamp 0.35s ease-out both; }
@keyframes stamp { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* ============ Home: sections ============ */
.section { padding: 56px 0; }
.section-card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lede { max-width: 60ch; color: var(--muted); }
.sub-title { margin-top: 40px; }
.steps, .cards, .swatches, .clocks, .phones, .ticks, .plans { list-style: none; padding: 0; }
.steps { display: grid; gap: 16px; margin: 24px 0 0; }
.step, .card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step { background: var(--card); }
.step .flip { margin-bottom: 14px; }
.step p, .card p { margin: 0; color: var(--muted); }
.cards { display: grid; gap: 16px; margin: 24px 0 0; }

/* Swatches */
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0; }
.swatch { aspect-ratio: 4 / 5; border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.swatch-num { font-size: clamp(2rem, 9vw, 3.5rem); line-height: 0.9; white-space: nowrap; }
.swatch-name { font-weight: 700; font-size: 0.9375rem; line-height: 1.2; }
.swatch-tier { font-family: var(--mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.sw-plain     { background: #FDFCF9; color: #31282A; border: 1px solid var(--line); } .sw-plain .swatch-num { font-family: "Fraunces", serif; font-weight: 600; color: #C2155C; }
.sw-birthday  { background: #2B1430; color: #FFFFFF; } .sw-birthday .swatch-num { font-family: "Fredoka Swatch", sans-serif; font-weight: 600; color: #FFD95A; }
.sw-hawaii    { background: #FFD95A; color: #3B0A2A; } .sw-hawaii .swatch-num { font-family: "Shrikhand Swatch", serif; color: #3B0A2A; }
.sw-cruise    { background: #DA0A1E; color: #FFFFFF; } .sw-cruise .swatch-num { font-family: "Anton Swatch", sans-serif; color: #FFFFFF; }
.sw-beach     { background: #FBF7EE; color: #123E3D; border: 1px solid var(--line); } .sw-beach .swatch-num { font-family: "Nunito Swatch", sans-serif; font-weight: 800; color: #00756D; }
.sw-europe    { background: #F1E7D3; color: #2A3446; border: 1px solid var(--line); } .sw-europe .swatch-num { font-family: "Playfair Swatch", serif; font-weight: 700; color: #A34A26; }
.sw-carnaval  { background: #3D1A6E; color: #FFFFFF; } .sw-carnaval .swatch-num { font-family: "Abril Swatch", serif; color: #F2C14E; }
.sw-arrivals  { background: #0F1B2D; color: #FFFFFF; } .sw-arrivals .swatch-num { font-family: "Caveat Swatch", cursive; font-weight: 700; color: #FFB020; }
.sw-navidad   { background: #0F3D2E; color: #FFFFFF; } .sw-navidad .swatch-num { font-family: "Fraunces", serif; font-weight: 600; color: #E8C35A; }
.sw-starlight { background: #0B1026; color: #FFFFFF; } .sw-starlight .swatch-num { font-family: "Fraunces", serif; font-weight: 600; color: #F6D38B; }
.sw-new-year  { background: #0D0B14; color: #FFFFFF; } .sw-new-year .swatch-num { font-family: "Bodoni Swatch", serif; font-weight: 600; color: #F4CF6A; }
.sw-easter    { background: #FBF6EC; color: #2F2A3A; border: 1px solid var(--line); } .sw-easter .swatch-num { font-family: "Fraunces", serif; font-weight: 600; color: #7A3F8F; }

/* Clocks */
.clocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.clock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.clock-face { min-height: 56px; display: flex; align-items: center; justify-content: center; }
.clock-flip .clock-face { gap: 4px; }
.clock-flip .clock-face span { position: relative; display: grid; place-items: center; width: 36px; height: 48px; border-radius: 6px; background: #3B0A2A linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.22) 50%); color: #FFD95A; font-family: var(--mono); font-weight: 500; font-size: 1.75rem; }
.clock-classic .clock-face { font-family: var(--serif); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--deep); }
.clock-dissolve .clock-face { font-family: var(--serif); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--deep); text-shadow: 6px -5px 0 rgba(194,21,92,0.22); }
.clock-lcd .clock-face { font-family: var(--mono); font-size: 2.25rem; line-height: 1; letter-spacing: 0.06em; background: #B9C8A4; color: #1F2A17; padding: 8px 12px; border-radius: 8px; }
.clock-name { font-weight: 700; }
.clock-tier { font-family: var(--mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Phones */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 780px; margin: 36px auto 0; }
.phones img, .phone-single img { width: 100%; height: auto; border-radius: 16px; border: 4px solid #3B0A2A; background: #3B0A2A; }
.phone-single { margin: 0 auto; width: 100%; max-width: 300px; }
.split { display: grid; gap: 32px; align-items: center; }

/* Ticks */
.ticks { display: grid; gap: 12px; margin: 16px 0 20px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border-radius: 50%; background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tag { font-family: var(--mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--chip); color: var(--ink); padding: 3px 7px; border-radius: 999px; white-space: nowrap; }

/* Plum section */
.section-plum { background: #3B0A2A; color: #F6F3ED; }
.section-plum h2 { color: #FFFFFF; }
.section-plum h2 em { color: #FF8FB8; }
.eyebrow-on-plum { color: #F3C9E0; }
.ticks-on-plum li::before { background-color: #FF2E7E; }
.link-on-plum { color: #FFD95A; font-weight: 700; }
.link-on-plum:hover { color: #FFFFFF; }

/* Pricing */
.plans { display: grid; gap: 20px; margin: 28px 0 0; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plan-premium { border: 2px solid var(--deep); }
.plan-flag { position: absolute; top: -11px; left: 20px; font-family: var(--mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; background: #C2155C; color: #FFFFFF; padding: 5px 8px; border-radius: 999px; }
.price { margin: 4px 0 0; color: var(--muted); }
.price-big { font-family: var(--serif); font-weight: 600; font-size: 2.5rem; line-height: 1.1; color: var(--ink); margin-right: 4px; }
.price-alt { margin: 4px 0 0; color: var(--muted); }
.fineprint { margin-top: 20px; max-width: 70ch; font-size: 0.875rem; color: var(--muted); }

/* Closing */
.closing .badge-link { margin: 12px auto 0; }
.closing .hero-note { color: var(--muted); }

/* ============ Breakpoints ============ */
@media (min-width: 560px) {
  .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .phones img, .phone-single img { border-width: 6px; border-radius: 24px; }
}
@media (min-width: 700px) {
  .cards, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clocks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  h1 { font-size: 4.5rem; }
  h2 { font-size: 2.75rem; }
  .page-hero h1 { font-size: 3rem; }
  .section { padding: 88px 0; }
  .hero { padding: 24px 0 72px; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-areas: "copy ticket" "cta ticket"; column-gap: 56px; align-items: center; }
  .hero-copy { grid-area: copy; align-self: end; }
  .hero-ticket-wrap { grid-area: ticket; margin: 0; width: 100%; }
  .ticket-art { height: 190px; }
  .hero-cta { grid-area: cta; align-self: start; }
  .swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .split { grid-template-columns: 1.2fr 0.8fr; }
  .footer-grid { grid-template-columns: auto 1fr; align-items: center; column-gap: 32px; }
  .footer-grid .footer-small { grid-column: 1 / -1; }
}

/* ============ Motion and print ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .skip, .hero-ticket-wrap { display: none; }
  body { background: #FFFFFF; color: #000000; }
}
