/* ===========================================================
   Trip to Switzerland · with Curaprox — Landing Page styles
   =========================================================== */

/* ---------- Brand fonts (Futura LT Pro) ---------- */
@font-face {
  font-family: "Futura Book";
  src: url("../fonts/FuturaLTPro-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura Light";
  src: url("../fonts/FuturaLTPro-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/* ---------- Detail/body copy font ---------- */
@font-face {
  font-family: "InfoDisplay Book";
  src: url("../fonts/InfoDisplayPro-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --swiss-red: #E1090F;
  --swiss-red-dark: #b80409;
  --curaprox-blue: #002D87;
  --blue-accent: #0050C8;
  --ink: #1a1f36;
  --muted: #5a6178;
  --white: #ffffff;
  --grey: #f4f6fb;
  --grey-line: #e4e8f2;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 45, 135, 0.10);
  --shadow-lg: 0 20px 50px rgba(0, 45, 135, 0.16);
  --maxw: 1180px;

  /* h1 headlines use Futura Book; everything else uses Futura Light */
  --font-head: "Futura Book", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Futura Light", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-detail: "InfoDisplay Book", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1 { font-family: var(--font-head); line-height: 1.1; margin: 0; }
h2, h3, h4, h5 { font-family: "Futura Light", var(--font-body); font-weight: 300; line-height: 1.1; margin: 0; }

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

a { color: inherit; }

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

.text-red { color: var(--swiss-red); }
.text-blue { color: var(--curaprox-blue); }

/* ---------- Image slots (fallback before user photos) ---------- */
.img-slot {
  background-color: var(--grey);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.img-slot::after {
  content: "📷 " attr(data-img);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #9aa3bd;
  background: repeating-linear-gradient(
    45deg, #eef1f8, #eef1f8 12px, #e7ebf6 12px, #e7ebf6 24px);
  text-align: center;
  padding: 8px;
}
/* When a real photo is set via inline style, hide the placeholder label */
.img-slot.has-photo::after { content: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Futura Light", var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--blue-accent); outline-offset: 3px; }

.btn-primary { background: var(--curaprox-blue); color: #fff; box-shadow: 0 8px 20px rgba(0,45,135,.28); }
.btn-primary:hover { background: var(--blue-accent); }

.btn-ghost { background: transparent; color: var(--curaprox-blue); border-color: var(--curaprox-blue); }
.btn-ghost:hover { background: var(--curaprox-blue); color: #fff; }

.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--curaprox-blue); }

.btn-link { background: transparent; color: var(--curaprox-blue); padding: 14px 8px; border-radius: 6px; }
.btn-link:hover { text-decoration: underline; }

.btn-shop-sm { background: var(--curaprox-blue); color: #fff; padding: 9px 22px; font-size: .95rem; }
.btn-shop-sm:hover { background: var(--blue-accent); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand-logo { height: 34px; width: auto; }
.header-nav { display: flex; gap: 26px; margin-left: auto; }
.header-nav a {
  text-decoration: none; color: var(--ink); font-weight: 400; font-size: .95rem;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.header-nav a:hover { color: var(--curaprox-blue); border-color: var(--swiss-red); }

/* Hamburger (mobile only — hidden on desktop) */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 40px; padding: 8px; margin-left: 4px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--curaprox-blue); transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 300; color: var(--ink); }
.kicker {
  display: inline-block; font-family: "Futura Light", var(--font-body); font-weight: 400;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--swiss-red); margin-bottom: 14px;
}
.section-lead { font-family: var(--font-detail); color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.section-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 52px; align-items: center; }

/* ---------- Section 1: Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after { font-size: 1rem; } /* keep label visible on placeholder */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(115deg, rgba(0,45,135,.88) 0%, rgba(0,45,135,.58) 45%, rgba(0,45,135,.2) 100%),
    linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0) 55%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 760px; padding-top: 40px; padding-bottom: 40px;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: 8px 16px; border-radius: 999px; font-weight: 400; font-size: .9rem; margin-bottom: 22px;
}
.hero-eyebrow-img { width: clamp(130px, 15vw, 185px); height: auto; display: block; margin-bottom: 24px; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 400; letter-spacing: -.02em; text-transform: uppercase; }
.hero-title .text-red { color: var(--swiss-red); }
.hero-sub { font-family: var(--font-detail); font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin: 20px 0 32px; max-width: 560px; color: rgba(255,255,255,.94); }
.hero-badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px;
  padding: 0; margin: 34px 0 0; font-weight: 400; font-size: .98rem;
  font-family: var(--font-detail);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 3; color: #fff; font-size: 2rem; text-decoration: none; opacity: .8;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Section 2: Prizes ---------- */
.prizes { background: var(--grey); }
.prize-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(3, 1fr);
}
.prize-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
  text-align: center;
}
.prize-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prize-icon { width: 104px; height: 104px; margin: 32px auto 0; display: block; }
.prize-body { padding: 18px 28px 30px; }
.prize-body h3 { font-size: 1.2rem; font-weight: 300; color: var(--curaprox-blue); margin-bottom: 8px; }
.prize-body p { font-family: var(--font-detail); color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Section 3: How to Join ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 26px; grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}
.step {
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--swiss-red); color: #fff;
  font-family: "Futura Light", var(--font-body); font-weight: 400; font-size: 1.6rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; color: var(--curaprox-blue); margin-bottom: 8px; }
.step p { font-family: var(--font-detail); color: var(--muted); margin: 0; font-size: .96rem; }

.step-link { display: inline-block; margin-top: 12px; font-size: .95rem; padding: 8px 8px; }

/* ---------- Section 3.5: Submit Your Entry ---------- */
.entry { background: var(--grey); }
.entry-card {
  max-width: 620px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 44px 44px 36px; box-shadow: var(--shadow);
}
.entry-card-title { font-size: 1.15rem; color: var(--curaprox-blue); margin: 0 0 22px; }
.entry-checklist {
  list-style: none; padding: 0; margin: 0 0 32px;
  text-align: left; display: inline-block;
}
.entry-checklist li {
  font-family: var(--font-detail); color: var(--muted); font-size: .96rem;
  padding-left: 28px; position: relative; margin-bottom: 12px;
}
.entry-checklist li:last-child { margin-bottom: 0; }
.entry-checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--swiss-red); font-weight: 700;
}
.entry-note {
  font-family: var(--font-detail); color: var(--muted);
  font-size: .85rem; margin: 16px 0 0;
}

/* ---------- Section 4: Countdown ---------- */
.countdown-section { background: #fff; }
.countdown-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center;
}
.countdown-copy h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 300; margin-bottom: 14px; }
.countdown {
  display: flex; gap: 14px; margin: 30px 0; flex-wrap: wrap;
}
.cd-unit {
  background: var(--curaprox-blue); color: #fff; border-radius: var(--radius-sm);
  padding: 18px 10px; min-width: 84px; text-align: center; flex: 1;
}
.cd-num { display: block; font-family: "Futura Light", var(--font-body); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.cd-label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; opacity: .85; }
.countdown-ended { color: var(--swiss-red); font-weight: 400; font-size: 1.1rem; margin: 26px 0; }
.promo-dates { font-family: var(--font-detail); color: var(--muted); font-size: .9rem; margin-top: 18px; }
.countdown-visual { border-radius: var(--radius); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }

/* ---------- Section 5: FAQ ---------- */
.faq { background: var(--grey); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-family: "Futura Light", var(--font-body); font-weight: 400; font-size: 1.05rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; color: var(--swiss-red); font-weight: 400;
  transition: transform .2s; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ---------- Section 6: Final CTA ---------- */
.final-cta { position: relative; color: #fff; overflow: hidden; text-align: center; padding: 110px 0; }
.final-bg { position: absolute; inset: 0; z-index: 0; }
.final-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,45,135,.92) 0%, rgba(0,45,135,.7) 50%, rgba(225,9,15,.55) 100%);
}
.final-content { position: relative; z-index: 2; max-width: 800px; }
.final-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 300; }
.final-content p { font-size: 1.15rem; margin: 18px auto 30px; max-width: 620px; color: rgba(255,255,255,.95); }
.final-content .cta-row { justify-content: center; }

/* ---------- Section 7: Products ---------- */
.product-grid { display: grid; gap: 26px; grid-template-columns: repeat(4, 1fr); }
.product-card {
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, box-shadow .2s;
  display: block; text-decoration: none; color: inherit;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img { aspect-ratio: 1 / 1; }
.product-img--fit { background-size: contain; background-color: #fff; }
.product-body { padding: 20px 22px 24px; }
.product-body h3 { font-size: 1.1rem; font-weight: 300; color: var(--curaprox-blue); margin-bottom: 8px; }
.product-body p { font-family: var(--font-detail); color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--curaprox-blue); color: rgba(255,255,255,.85); padding: 56px 0 40px; }
.footer-inner { text-align: center; }
.footer-logo { height: 28px; margin: 0 auto 14px; }
.footer-tag { font-family: "Futura Light", var(--font-body); font-weight: 400; color: #fff; margin: 0 0 26px; }
.footer-fine { font-family: var(--font-detail); max-width: 820px; margin: 0 auto 26px; font-size: .82rem; line-height: 1.7; opacity: .8; text-align: left; }
.footer-fine p { margin: 0 0 12px; }
.footer-copy { font-size: .85rem; opacity: .7; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .prize-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown-grid { grid-template-columns: 1fr; }
  .countdown-visual { order: -1; }

  /* Collapse primary nav into a hamburger dropdown */
  .nav-toggle { display: inline-flex; }
  .header-nav {
    display: none; margin-left: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--grey-line);
    padding: 6px 24px 14px; box-shadow: 0 10px 24px rgba(0,0,0,.10);
  }
  .header-nav.open { display: flex; }
  .header-nav a { padding: 13px 2px; border-bottom: 1px solid var(--grey-line); }
  .header-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { min-height: 90vh; }
  /* Two cards per row on phones — halves the scroll through the card sections */
  .prize-grid, .steps, .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .cd-unit { min-width: 68px; padding: 14px 6px; }
  .cd-num { font-size: 1.8rem; }
  .btn { width: 100%; }
  .cta-row, .section-cta { flex-direction: column; }
  .header-inner { height: 60px; gap: 10px; }
  .brand-logo { height: 26px; }

  /* Keep the header Shop button compact, and pair it with the hamburger on the
     right — without this, space-between strands it in the middle of the bar. */
  .btn-shop-sm { width: auto; padding: 8px 18px; margin-left: auto; }

  /* Compact prize cards (section 2) — sized for the ~156px 2-column track */
  .prize-icon { width: 56px; height: 56px; margin-top: 22px; }
  .prize-body { padding: 10px 12px 18px; }
  .prize-body h3 { font-size: .95rem; }
  .prize-body p { font-size: .82rem; }

  /* Compact "How to Join" steps (section 3) */
  .step { padding: 20px 12px; }
  .step-num { width: 40px; height: 40px; font-size: 1.15rem; margin-bottom: 12px; }
  .step h3 { font-size: .95rem; }
  .step p { font-size: .82rem; }
  .step-link { width: auto; font-size: .85rem; padding: 6px 4px; }

  /* Compact product cards (section 7) */
  .product-body { padding: 12px 12px 18px; }
  .product-body h3 { font-size: .95rem; }
  .product-body p { font-size: .82rem; }

  /* Entry card (section 3.5) */
  .entry-card { padding: 30px 22px 26px; }
}

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