/* ===========================================================
   RedCoach — Summer Escape Sale landing page
   Brand tokens: Ferrari Red #E20000 · Jet Gray #29272A
   Mouse Gray #B4B4B4 · Smoke White #FFFFFF
   Fonts: Red Hat Display / Red Hat Text / Dancing Script
   =========================================================== */

:root {
  --red: #E20000;
  --red-800: #B80000;
  --red-tint: #FDECEC;
  --red-wash: #FFF5F5;
  --jet: #29272A;
  --ink-700: #4A474B;
  --ink-500: #6F6C70;
  --ink-200: #D7D7D8;
  --ink-100: #EFEFEF;
  --ink-50: #F7F7F7;
  --mouse: #B4B4B4;
  --white: #FFFFFF;
  --display: 'Red Hat Display', system-ui, -apple-system, sans-serif;
  --text: 'Red Hat Text', system-ui, -apple-system, sans-serif;
  --script: 'Dancing Script', cursive;
  --shadow-sm: 0 2px 6px rgba(41,39,42,.08);
  --shadow-md: 0 6px 16px rgba(41,39,42,.10);
  --shadow-red: 0 10px 28px rgba(226,0,0,.28);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--text);
  color: var(--jet);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }

@keyframes rc-pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.35; transform:scale(.78); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .14s, transform .14s, box-shadow .14s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); padding: 11px 20px; font-size: 14px; border-radius: 10px; }
.btn--primary:hover { background: var(--red-800); }
.btn--white { background: #fff; color: var(--jet); box-shadow: 0 14px 36px rgba(0,0,0,.22); }
.btn--outline { background: transparent; color: #fff; border: 1.6px solid rgba(255,255,255,.85); font-weight: 700; }
.btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--lg { font-size: 17px; padding: 16px 30px; }
.btn--xl { font-size: 19px; padding: 18px 48px; }

/* ---------- Kickers / pills ---------- */
.kicker { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.kicker--light { color: #fff; opacity: .92; letter-spacing: .2em; }

.pill { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; border-radius: 999px; }
.pill--light { background: #fff; color: var(--red); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 15px; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.pill--light .pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: rc-pulse 1.4s ease-in-out infinite; }
.pill--urgent { background: rgba(226,0,0,.92); color: #fff; font-size: clamp(14px,2vw,17px); padding: 11px 18px; box-shadow: 0 12px 30px rgba(226,0,0,.4); margin-top: 22px; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 20px; text-align: center; }
.announce__dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; flex: none; animation: rc-pulse 1.4s ease-in-out infinite; }
.announce__text { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .04em; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink-100); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; flex-wrap: wrap; }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 26px; width: auto; display: block; }
.nav__links { display: flex; gap: 26px; font-family: var(--display); font-weight: 600; font-size: 14px; margin-left: auto; }
.nav__links a { color: var(--jet); text-decoration: none; }
.nav__links a:hover { color: var(--red); }
.nav__cta { margin-left: 12px; }

/* ---------- Hero (full campaign photo, text overlay) ---------- */
.hero {
  position: relative;
  width: 100%;
  background: var(--jet);
  overflow: hidden;
}
.hero__img { display: block; width: 100%; height: auto; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,16,18,.6) 0%, rgba(20,16,18,.24) 42%, rgba(20,16,18,0) 68%);
  pointer-events: none;
}
.hero__overlay { position: absolute; top: 0; left: 0; right: 0; }
.hero__inner { max-width: var(--maxw); margin: 0 auto; width: 100%; padding: clamp(32px,5vw,72px) 24px; color: #fff; }
.hero__title { font-family: var(--display); font-weight: 900; font-size: clamp(32px,4.6vw,60px); line-height: .96; letter-spacing: -.02em; margin: 14px 0 0; text-shadow: 0 4px 24px rgba(0,0,0,.4); text-transform: uppercase; max-width: 12ch; }
.hero__sub { font-family: var(--text); font-size: clamp(17px,2.4vw,22px); line-height: 1.4; margin: 18px 0 0; max-width: 30ch; opacity: .96; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Countdown ---------- */
.countdown { background: var(--red); color: #fff; padding: clamp(56px,8vw,88px) 24px; text-align: center; }
.countdown__inner { max-width: 1000px; margin: 0 auto; }
.countdown__title { font-family: var(--display); font-weight: 900; font-size: clamp(34px,6vw,60px); line-height: 1; letter-spacing: -.02em; margin: 10px 0 0; text-transform: uppercase; }
.countdown__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px,2.4vw,22px); margin: 34px 0 8px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cd-box { min-width: clamp(70px,17vw,128px); padding: clamp(14px,2.6vw,24px) 10px; background: #fff; border-radius: 18px; box-shadow: 0 18px 44px rgba(120,0,0,.4); }
.cd-num { font-family: var(--display); font-weight: 900; font-size: clamp(40px,9.5vw,76px); line-height: 1; letter-spacing: -.03em; color: var(--jet); font-variant-numeric: tabular-nums; display: block; }
.cd-label { font-family: var(--display); font-weight: 700; font-size: clamp(11px,1.6vw,14px); letter-spacing: .18em; text-transform: uppercase; opacity: .95; }
.countdown__note { font-family: var(--text); font-size: clamp(16px,2.2vw,20px); margin: 22px auto 0; max-width: 36ch; opacity: .96; }
.countdown .btn { margin-top: 24px; color: var(--red); }

/* ---------- Offer ---------- */
.offer { background: #fff; padding: clamp(60px,9vw,108px) 24px; }
.offer__inner { max-width: 1120px; margin: 0 auto; }
.offer__head { text-align: center; max-width: 680px; margin: 0 auto; }
.offer__title { font-family: var(--display); font-weight: 900; font-size: clamp(30px,5vw,52px); line-height: 1.04; letter-spacing: -.02em; margin: 10px 0 12px; color: var(--jet); }
.offer__lead { font-family: var(--text); font-size: clamp(16px,2.2vw,19px); line-height: 1.5; color: var(--ink-700); margin: 0; }
.offer__cards { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 42px; align-items: stretch; }

.card { border-radius: 22px; padding: clamp(28px,4vw,44px); position: relative; overflow: hidden; }
.card--app { flex: 1.7 1 360px; background: linear-gradient(155deg, #E20000 0%, #B80000 100%); color: #fff; box-shadow: 0 26px 60px rgba(226,0,0,.34); }
.card--web { flex: 1 1 300px; background: #fff; border: 1.5px solid var(--ink-200); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.card__ribbon { position: absolute; top: 0; right: 0; background: var(--jet); color: #fff; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 9px 18px; border-bottom-left-radius: 16px; }

.chip { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 13px; }
.chip--ghost { background: rgba(255,255,255,.16); color: #fff; }
.chip--neutral { align-self: flex-start; background: var(--ink-50); border: 1px solid var(--ink-200); color: var(--jet); }

.card__discount { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.card--app .card__discount { gap: 12px; }
.card__num { font-family: var(--display); font-weight: 900; font-size: clamp(72px,14vw,128px); line-height: .82; letter-spacing: -.04em; }
.card__num--dark { font-size: clamp(58px,11vw,96px); color: var(--jet); }
.card__pct { font-family: var(--display); font-weight: 900; font-size: clamp(30px,5.9vw,54px); line-height: .82; }
.card__pct--red { color: var(--red); }
.card__off { font-family: var(--display); font-weight: 800; font-size: clamp(22px,3.5vw,34px); text-transform: uppercase; letter-spacing: -.01em; }
.card__off--dark { color: var(--jet); font-size: clamp(20px,3vw,28px); }
.card__desc { font-family: var(--text); font-size: 16px; line-height: 1.5; opacity: .94; margin: 6px 0 24px; max-width: 34ch; }
.card__desc--dark { font-size: 15px; color: var(--ink-700); opacity: 1; }
.card__codelabel { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .82; margin-bottom: 10px; }
.card__codelabel--dark { color: var(--ink-500); opacity: 1; margin-top: auto; }

/* code copy buttons */
.code { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 15px 20px; border-radius: 14px; cursor: pointer; transition: background .14s, transform .14s; font-family: var(--display); }
.code:active { transform: scale(.98); }
.code--app { max-width: 340px; background: rgba(255,255,255,.14); border: 1.6px dashed rgba(255,255,255,.6); }
.code--app:hover { background: rgba(255,255,255,.22); }
.code--web { background: var(--red-wash); border: 1.6px dashed var(--red); }
.code--web:hover { background: var(--red-tint); }
.code__value { font-weight: 900; font-size: 22px; letter-spacing: .08em; color: #fff; }
.code__value--red { font-size: 21px; color: var(--red-800); }
.code__hint { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; color: #fff; opacity: .9; }
.code__hint--red { color: var(--red-800); opacity: 1; }

.offer__cta { text-align: center; margin-top: 42px; }
.offer__finehint { font-family: var(--text); font-size: 13px; color: var(--ink-500); margin: 14px 0 0; }

/* ---------- Promo band ---------- */
.promo {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(20,16,18,.82) 0%, rgba(20,16,18,.5) 60%, rgba(20,16,18,.2) 100%),
    url(assets/family_boarding.jpg);
  background-size: cover;
  background-position: center 28%;
  color: #fff;
}
.promo__inner { max-width: 1120px; margin: 0 auto; padding: clamp(64px,9vw,120px) 24px; }
.promo__content { max-width: 620px; }
.promo__script { font-family: var(--script); font-style: italic; font-weight: 700; font-size: clamp(28px,4.4vw,44px); color: #fff; line-height: 1; }
.promo__title { font-family: var(--display); font-weight: 900; font-size: clamp(28px,4.6vw,46px); line-height: 1.08; letter-spacing: -.02em; margin: 12px 0 18px; }
.promo__text { font-family: var(--text); font-size: clamp(16px,2.2vw,20px); line-height: 1.55; opacity: .95; margin: 0 0 26px; }

/* ---------- Terms ---------- */
.terms { background: var(--ink-50); padding: clamp(48px,7vw,84px) 24px; }
.terms__inner { max-width: 860px; margin: 0 auto; }
.terms__head { text-align: center; margin-bottom: 28px; }
.terms__title { font-family: var(--display); font-weight: 900; font-size: clamp(26px,4vw,40px); letter-spacing: -.02em; margin: 8px 0 0; color: var(--jet); }

.accordion { background: #fff; border: 1px solid var(--ink-200); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 0; cursor: pointer; padding: 22px 26px; text-align: left; }
.accordion__label { font-family: var(--display); font-weight: 800; font-size: clamp(17px,2.4vw,21px); color: var(--jet); }
.accordion__chev { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red-tint); display: inline-flex; align-items: center; justify-content: center; transition: transform .22s cubic-bezier(.2,.7,.2,1); }
.accordion__trigger[aria-expanded="true"] .accordion__chev { transform: rotate(180deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .36s cubic-bezier(.2,.7,.2,1); }
.accordion__body { padding: 4px 26px 28px; border-top: 1px solid var(--ink-100); }
.term-row { display: grid; grid-template-columns: minmax(120px,180px) 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--ink-100); align-items: start; }
.term-row:first-child { padding-top: 18px; }
.term-row__term { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.term-row__detail { font-family: var(--text); font-size: 15px; line-height: 1.55; color: var(--ink-700); }
.terms__fine { font-family: var(--text); font-size: 12px; line-height: 1.6; color: var(--ink-500); margin: 22px 4px 0; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--jet); color: #fff; padding: clamp(48px,7vw,72px) 24px 32px; }
.footer__inner { max-width: 1120px; margin: 0 auto; }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer__brand { max-width: 300px; }
.footer__logo { height: 24px; width: auto; display: block; }
.footer__tagline { font-family: var(--text); font-size: 14px; line-height: 1.55; color: var(--mouse); margin: 12px 0 0; }
.footer__coltitle { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-family: var(--text); font-size: 14px; color: var(--mouse); text-decoration: none; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--ink-700); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer__bottom span { font-family: var(--text); font-size: 13px; color: var(--mouse); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px); background: var(--jet); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; padding: 13px 22px; border-radius: 999px; box-shadow: 0 18px 44px rgba(0,0,0,.32); opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s; z-index: 60; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .hero__title { max-width: none; }
  .hero__overlay { position: static; background: var(--jet); }
  .hero__scrim { display: none; }
  .card--app, .card--web { flex: 1 1 100%; }
  .code--app { max-width: none; }
}
@media (max-width: 480px) {
  .announce__text { font-size: 11px; }
  .term-row { grid-template-columns: 1fr; gap: 4px; }
}
