/* ==========================================================================
   Private Stories - private concierge in Spain
   Shared styles for index.html (main site) and the-live.html (campaign).
   Plain CSS, mobile-friendly. Breakpoints: 1100 / 860 / 600px.
   ========================================================================== */

:root {
  --ink: #111111;
  --text: #3d3d3d;
  --muted: #5e5e5e;
  --line: #e4e4e4;
  --bg: #ffffff;
  --bg-soft: #f1f2f3;
  --navy: #0f1b26;          /* dark sections */
  --navy-line: #2a3a48;
  --accent: #1c3b5a;        /* deep Mediterranean blue */
  --sky: #9fb6cc;           /* accent on dark, campaign bar */
  --on-dark: #d6d6d6;
  --on-dark-muted: #9a9a9a;

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 5vw, 80px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 16px;
  --radius-lg: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; overflow-x: clip; max-width: 100%; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-size: clamp(48px, 7.2vw, 104px); line-height: .98; letter-spacing: -0.02em; }
.h2 { font-size: clamp(40px, 5vw, 72px); }
.h2--md { font-size: clamp(36px, 4.4vw, 64px); }
.eyebrow { font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--sky); }
em.tint { color: var(--accent); }
.section--dark em.tint, .on-dark em.tint { color: var(--sky); }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.body-muted { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #e9eef3; }
.btn--ghost { border-color: #fff; color: #fff; font-weight: 400; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #142c44; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #333; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; font-weight: 400; }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 18px; }
.link-arrow { font-size: 16px; white-space: nowrap; text-underline-offset: 4px; }
.link-arrow:hover { color: var(--accent); }

/* ---------- Campaign bar (main site, temporary) ---------- */
.promo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; min-height: 48px; padding: 8px 16px; background: var(--sky); color: var(--navy); text-decoration: none; font-size: 15px; text-align: center; }
.promo-bar strong { font-weight: 600; }
.promo-bar .u { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header (over hero) ---------- */
.site-header { position: absolute; left: 0; right: 0; top: 0; z-index: 20; color: #fff; }
.site-header .container { min-height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-header--split .container { display: flex; justify-content: space-between; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.header-cta { display: flex; justify-content: flex-end; }
.logo { font-family: var(--font-display); font-size: 32px; text-decoration: none; white-space: nowrap; }
.logo-wrap { display: flex; align-items: baseline; gap: 16px; }
.logo-tag { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
.logo-tag__mark { height: 32px; width: auto; opacity: .9; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; justify-self: end; }

/* ---------- Hero with background video ---------- */
.hero { position: relative; min-height: min(900px, 100svh); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero__media, .hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 20, 30, .45); }
.hero--left::after { background: linear-gradient(90deg, rgba(10,20,30,.82) 0%, rgba(10,20,30,.35) 65%, rgba(10,20,30,.2) 100%); }
.hero__center { width: 100%; max-width: 1040px; margin: 0 auto; padding: 140px var(--gutter) 100px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.hero__center .eyebrow { color: #fff; }
.hero__center .lead { max-width: 700px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* TEMPORARY: hero video A/B test switch - remove once a clip is picked */
.hero__video-switch { position: absolute; right: var(--gutter); bottom: 20px; z-index: 1; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); background: rgba(10,20,30,.45); color: #fff; font-size: 13px; font-family: var(--font-body); cursor: pointer; backdrop-filter: blur(4px); }
.hero__video-switch:hover { background: rgba(10,20,30,.7); }

.hero--left { align-items: flex-end; min-height: min(820px, 100svh); }
.hero--left .container { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-top: 140px; padding-bottom: clamp(56px, 7vw, 96px); }
.hero__left { max-width: 780px; display: flex; flex-direction: column; gap: 28px; }
.hero__left .eyebrow { color: var(--sky); }
.hero__left .lead { max-width: 620px; }
.hero__left .hero__actions { justify-content: flex-start; }
.hero-card { flex-shrink: 0; width: 340px; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.hero-card__title { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
.hero-card ol { display: flex; flex-direction: column; gap: 8px; list-style: decimal inside; }
.hero-card__note { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.3); color: var(--on-dark); }

/* ---------- Intro ---------- */
.intro .container { display: grid; grid-template-columns: 6fr 5fr; gap: 48px 96px; align-items: start; }
.intro__copy { display: flex; flex-direction: column; gap: 24px; font-size: 19px; line-height: 1.65; color: var(--text); padding-top: 12px; }
.intro__kicker { font-family: var(--font-display); font-size: 30px; line-height: 1.25; color: var(--ink); }

/* ---------- Campaign teaser (main site, temporary) ---------- */
.teaser { display: grid; grid-template-columns: 5fr 7fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: #fff; }
.teaser img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center 60%; }
.teaser__body { padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; align-items: flex-start; }
.teaser__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.badge { padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.teaser .teaser__conf-logo { height: 34px; width: auto; min-height: 0; object-fit: contain; }
.teaser h2 { font-size: clamp(28px, 3.4vw, 46px); margin-top: 2rem; margin-bottom: 3rem; }
.teaser h2 em { color: var(--sky); }
.dash-list { display: flex; flex-direction: column; gap: 10px; font-size: 18px; color: var(--on-dark); }
.dash-list li::before { content: "- "; }
.teaser__body .btn { margin-top: 3rem; }

/* ---------- Concierge services carousel ---------- */
.concierge__intro { display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin-bottom: 40px; }
.svc-carousel-wrap { position: relative; }
.svc-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.svc-carousel::-webkit-scrollbar { display: none; }
.svc-card { flex: 0 0 auto; width: min(300px, 78vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.svc-card__media { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card h3 { font-size: 22px; }
.svc-card p { color: var(--text); font-size: 15px; line-height: 1.5; }
.svc-carousel__nav { position: absolute; top: 130px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.svc-carousel__nav--prev { left: -6px; }
.svc-carousel__nav--next { right: -6px; }
.svc-cta { text-align: center; margin-top: 40px; }

/* ---------- Concierge video ---------- */
.concierge-video .container { display: grid; grid-template-columns: 5fr 4fr; gap: 48px 80px; align-items: center; }
.concierge-video__copy { display: flex; flex-direction: column; gap: 20px; }
.concierge-video__copy h2 { font-size: clamp(30px, 3.4vw, 44px); }
.concierge-video__copy p { font-size: 18px; line-height: 1.65; color: var(--text); }
.concierge-video__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 9 / 16; max-width: 380px; margin: 0 auto; background: #000; }
.concierge-video__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.concierge-video__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 999px; border: none; background: rgba(255,255,255,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s ease, background .15s ease; padding-left: 3px; }
.concierge-video__play:hover { transform: scale(1.06); background: #fff; }
.concierge-video__play[hidden] { display: none; }

/* ---------- Full-bleed band ---------- */
.band { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,20,30,.75) 0%, rgba(10,20,30,.1) 70%); }
.band__copy { max-width: 620px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.band__copy .eyebrow { color: #fff; }

/* ---------- Steps ---------- */
.how .container { display: grid; grid-template-columns: 5fr 6fr; gap: 48px 96px; }
.steps { display: flex; flex-direction: column; gap: 40px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--accent); }
.steps strong { display: block; font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.steps span { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.faq__head { background: var(--navy); padding: 28px 24px; text-align: center; }
.faq__head h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin: 0; }
.faq__list { background: #fff; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px clamp(20px, 4vw, 40px); font-size: clamp(17px, 1.8vw, 20px); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list p { margin: 0 clamp(20px, 4vw, 40px) 26px; max-width: 760px; color: var(--text); }
.faq__icon { position: relative; flex: 0 0 auto; width: 22px; height: 22px; border: 1px solid var(--ink); border-radius: 999px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.faq__icon::before { width: 10px; height: 1px; }
.faq__icon::after { width: 1px; height: 10px; transition: opacity .15s ease; }
.faq__list details[open] .faq__icon::after { opacity: 0; }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 80px; align-items: center; padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 80px); background: var(--bg-soft); border-radius: var(--radius-lg); }
.newsletter h2 { font-size: clamp(36px, 3.8vw, 52px); margin-bottom: 16px; }
.newsletter p { font-size: 18px; color: var(--text); }
.subscribe label { display: block; font-size: 14px; color: var(--text); margin-bottom: 8px; }
.subscribe__row { display: flex; gap: 8px; }
.subscribe input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 1px solid #d4d4d4; border-radius: 999px; background: #fff; font-size: 17px; }
.subscribe input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(28,59,90,.15); }
.subscribe small { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- Offers (campaign) ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head > div { display: flex; flex-direction: column; gap: 16px; }
.section-head p { max-width: 420px; font-size: 18px; color: var(--text); }
.section--dark .section-head p { color: var(--on-dark); }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.offer { padding: 18px 16px; background: #fff; border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; }
.offer .offer__big { font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--accent); }
.offer svg { width: 26px; height: 26px; stroke: var(--accent); }
.offer strong { font-size: 15px; font-weight: 600; line-height: 1.25; }
.offer span:not(.offer__big) { font-size: 12.5px; line-height: 1.4; color: var(--text); }
#offers .section-head { margin-bottom: 24px; }
#offers .section-head h2 { font-size: clamp(26px, 3vw, 38px); }
.center { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- Hotels (campaign) ---------- */
.hotels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; }
.hotel { grid-column: span 2; display: flex; flex-direction: column; gap: 16px; }
.hotel--wide { grid-column: span 3; }
.hotel__media { position: relative; }
.hotel__media img { width: 100%; aspect-ratio: 4 / 2.4; object-fit: cover; border-radius: 12px; }
.hotel--wide .hotel__media img { aspect-ratio: 16 / 7; }
.hotel__badge { position: absolute; left: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; }
.hotel__title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.hotel__title h3 { font-size: 34px; }
.hotel__stars { font-size: 14px; color: #bdbdbd; white-space: nowrap; }
.hotel__area { color: var(--on-dark); font-size: 16px; }
.hotel__info { color: var(--on-dark-muted); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.hotel__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; }
.hotel__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.hotel__price s { color: var(--on-dark-muted); }
.hotel__price .now { font-family: var(--font-display); font-size: 32px; }
.hotel__price small { font-size: 14px; color: #bdbdbd; }
.hotel__foot a { color: #fff; }

/* ---------- After the conference (campaign) ---------- */
.after .container { display: grid; grid-template-columns: 6fr 5fr; gap: 48px 80px; align-items: center; }
.after img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius); }
.after__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.after__copy p { font-size: 18px; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; }

/* ---------- Simple header + legal pages ---------- */
.simple-header { background: var(--navy); padding: 20px 0; }
.simple-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.simple-header .logo { color: #fff; font-size: 26px; }
.simple-header .link-arrow { color: var(--on-dark); font-size: 15px; text-decoration: none; }
.simple-header .link-arrow:hover { text-decoration: underline; }
.legal__wrap { max-width: 760px; }
.legal__updated { color: var(--muted); font-size: 14px; margin-top: -8px; margin-bottom: 32px; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p { color: var(--text); line-height: 1.7; }

/* ---------- Final CTA + footer ---------- */
.final { background: var(--navy); color: #fff; text-align: center; padding: var(--section) 0 0; }
.final .container { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.final p { font-size: 20px; color: var(--on-dark); max-width: 620px; }
.final__meta { font-size: 15px; color: var(--sky); }
.final .eyebrow { color: var(--sky); }
.site-footer { margin-top: clamp(72px, 9vw, 128px); padding: 32px 0 40px; border-top: 1px solid var(--navy-line); }
.site-footer .container { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 14px; color: var(--on-dark-muted); text-align: left; }
.site-footer .tagline { font-family: var(--font-display); font-size: 22px; color: #fff; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a.home-link { color: #fff; }

/* Floating WhatsApp button (mobile) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hotel, .hotel--wide { grid-column: span 3; }
  .hero-card { display: none; }
}

@media (max-width: 860px) {
  .site-header .container { display: flex; justify-content: space-between; min-height: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav, .header-cta { display: none; }
  .site-header.is-open { background: var(--navy); position: fixed; }
  .site-header.is-open .nav { display: flex; position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--navy); }
  .site-header.is-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--navy-line); font-size: 18px; }
  .site-header.is-open .nav .btn { margin-top: 16px; border: 1px solid #fff; }
  .logo-tag { display: none; }
  .nav .mobile-only { display: inline-flex; }

  .intro .container, .how .container, .after .container, .newsletter, .concierge-video .container { grid-template-columns: 1fr; }
  .concierge-video__media { max-width: 320px; }
  .teaser { grid-template-columns: 1fr; }
  .teaser img { min-height: 260px; max-height: 320px; }
  .wa-float { display: inline-flex; }
  .hero--left::after { background: linear-gradient(180deg, rgba(10,20,30,.55) 0%, rgba(10,20,30,.7) 100%); }
}

@media (min-width: 861px) { .nav .mobile-only { display: none; } }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .svc-carousel { flex-direction: column; gap: 32px; overflow: visible; padding-bottom: 0; }
  .svc-card { width: 100%; }
  .svc-card[aria-hidden="true"] { display: none; }
  .offers { grid-template-columns: 1fr; }
  .hotel, .hotel--wide { grid-column: 1 / -1; }
  .hotel--wide .hotel__media img { aspect-ratio: 4 / 2.4; }
  .hero__actions .btn { flex: 1 1 100%; }
  .svc-carousel__nav { display: none; }
  .subscribe__row { flex-direction: column; }
  .subscribe .btn { width: 100%; }
  .steps li { grid-template-columns: 48px 1fr; }
  .promo-bar .desc { display: none; }
  .band { min-height: 520px; }
  .final .btn { width: 100%; white-space: normal; }
}

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