/* ============================================================= */
/*  Beach Money Cigars — styles.css                              */
/*  Mobile-first. Dark, warm, moody.                             */
/* ============================================================= */

:root {
  --bg:        #0d0b09;
  --bg-2:      #14100b;   /* raised panels */
  --bg-3:      #1c160f;   /* cards */
  --gold:      #c9a25f;
  --gold-lo:   #a97f3d;   /* gradient shadow side */
  --gold-hi:   #e6c789;   /* gradient highlight side */
  --cream:     #f2e9dc;
  --cream-dim: rgba(242, 233, 220, 0.72);
  --cream-faint: rgba(242, 233, 220, 0.5);
  --parchment: #e7d8b6;
  --parchment-2: #d8c399;
  --ink:       #241b10;   /* text on parchment */
  --line:      rgba(201, 162, 95, 0.35);
  --maxw:      1120px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;            /* guard against any horizontal bleed */
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Display / script type ---------- */
.display-title {
  font-family: "Roboto Slab", Rockwell, Georgia, serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  color: var(--cream);
  margin: 0;
}
.script-title {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-block;
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: #2a1e0e;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%);
  border: 1px solid rgba(255, 245, 220, 0.35);
  border-radius: 10px;
  padding: 0.9rem 1.8rem;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 250, 235, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-gold:hover,
.btn-gold:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 250, 235, 0.5);
}
.btn-gold--lg { padding: 1.05rem 2.6rem; font-size: 1rem; }
.btn-ghost {
  display: inline-block;
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1.8rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.btn-ghost:hover,
.btn-ghost:focus-visible { color: var(--cream); border-color: var(--gold); }

/* ---------- Secure line ---------- */
.secure-line {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--cream-faint);
  margin: 0.9rem 0 0;
}
.secure-line__lock { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- Icon links (social / cart) ---------- */
.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.icon-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-link:hover,
.icon-link:focus-visible { color: var(--cream); border-color: var(--gold); background: rgba(201, 162, 95, 0.12); transform: translateY(-2px); }

/* ============================================================= */
/*  AGE GATE                                                      */
/* ============================================================= */
.age-gate {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(6, 5, 4, 0.92);
  backdrop-filter: blur(6px);
}
.age-gate[hidden] { display: none; }
.age-gate__card {
  width: min(440px, 100%);
  text-align: center;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.4rem 1.8rem 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.age-gate__logo { width: 240px; max-width: 80%; margin: 0 auto 1.4rem; }
.age-gate__title {
  font-family: "Roboto Slab", Georgia, serif; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 1.5rem; margin: 0 0 0.4rem; color: var(--cream);
}
.age-gate__text { margin: 0 0 1.6rem; color: var(--cream-dim); }
.age-gate__actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.age-gate__legal { margin: 1.4rem 0 0; font-size: 0.72rem; color: var(--cream-faint); letter-spacing: 0.02em; }

/* ============================================================= */
/*  HERO                                                          */
/* ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  padding: 1.1rem 1.1rem 0;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  /* red convertible sits ~44% across the frame — centre the crop on it */
  background: url("images/hero-beach-lounge.jpg") 44% 34% / cover no-repeat;
  filter: brightness(1.14) saturate(1.05);   /* let the photo shine through */
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  /* keep the sky & sun untouched; just fade the very bottom into the value bar */
  background: linear-gradient(180deg, transparent 58%, rgba(13,11,9,0.5) 88%, var(--bg) 100%);
}

/* Sunshine sweep — pure CSS, GPU transform, no image, no load cost */
.hero__sun {
  position: absolute; z-index: 1; pointer-events: none;
  top: -28vmax; left: -28vmax;
  width: 58vmax; height: 58vmax; border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255, 236, 178, 0.50) 0%,
      rgba(255, 204, 128, 0.22) 38%,
      rgba(255, 190, 110, 0.06) 58%,
      transparent 70%);
  mix-blend-mode: screen;
  animation: sunsweep 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes sunsweep {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(150vw, 150vh, 0); }
}
/* Bottom-weighted scrim so the CTA/tagline read cleanly; sky & sun stay clear.
   Sits above the photo + sun, below the nav and the CTA stack. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(10,8,6,0.9) 0%, rgba(10,8,6,0.55) 30%, transparent 60%);
}
.hero__utility {
  position: relative; z-index: 3;
  display: flex; gap: 1.6rem; justify-content: flex-end; align-items: center;
}
.hero__tabs { display: flex; gap: 1.4rem; align-items: center; }
.hero__tab {
  font-family: "Roboto Slab", Georgia, serif;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.78rem; font-weight: 500;
  color: var(--cream-dim); text-decoration: none;
  padding: 0.4rem 0.1rem;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.hero__tab:hover, .hero__tab:focus-visible { color: var(--gold); border-color: var(--gold); }
.hero__icons { display: flex; gap: 0.6rem; align-items: center; }
.hero__inner {
  position: relative; z-index: 3;
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  width: 100%; min-width: 0;
  margin: 0 auto;
  padding-top: 0.4rem;
}
.hero__logo { margin: 0.25rem 0 0; width: 100%; }   /* raised toward the nav, off the sun */
.hero__logo img {
  width: min(640px, 92vw); height: auto; margin: 0 auto;   /* size unchanged */
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.45));     /* reduced shadow (scrim now aids legibility) */
}
/* CTA + tagline: centered stack pinned near the bottom of the hero */
.hero__cta {
  margin-top: auto; margin-bottom: 8vh;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  width: 100%;
}
.hero__cta .btn-gold { padding: 1.1rem 2.75rem; }   /* larger to hold the full-viewport hero (hero only) */
.hero__tagline {
  font-size: 1.05rem;
  color: var(--cream);
  max-width: 620px; margin: 0 auto;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
@media (prefers-reduced-motion: reduce) {
  .hero__sun { animation: none; top: -20vmax; left: -18vmax; }  /* park it, static warm glow */
  html { scroll-behavior: auto; }
}

/* ============================================================= */
/*  PRODUCT — PLAYA DINERO                                        */
/* ============================================================= */
.product {
  padding: 2.3rem 1.2rem;                 /* ~1/3 less top/bottom than before */
  background:
    radial-gradient(90% 60% at 80% 20%, rgba(201,162,95,0.08), transparent 60%),
    var(--bg);
}
.product__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2.4rem; align-items: center;
}
.product__eyebrow {
  font-family: "Roboto Slab", Georgia, serif;
  text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.75rem; color: var(--gold);
  margin: 0 0 0.7rem;
}
.product .display-title { font-size: clamp(2.4rem, 9vw, 3.4rem); color: var(--gold); margin-bottom: 0.8rem; }
.product__intro {
  color: var(--cream-dim); font-size: 1.05rem; line-height: 1.7;
  max-width: 48ch; margin: 0 0 1.4rem;
}
.checklist { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.checklist li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.55rem;   /* tighter spec block */
  font-size: 1rem; line-height: 1.4; color: var(--cream);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.34em;   /* aligned to cap height */
  width: 9px; height: 5px;                                  /* ~60% of previous size */
  border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold);
  opacity: 0.65;                                            /* softened gold */
  transform: rotate(-45deg);
}
.product__spec {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 0.8rem; letter-spacing: 0.05em;
  color: var(--cream-faint); margin: 0 0 1.6rem;
}
.product__media { position: relative; }
/* Behind the photo: a warm amber-black bed for the feathered edges to land on
   (the source file's black is darker than the section, so a plain fade leaves a
   dark halo), plus a soft upper-left glow suggesting the shot's light source. */
.product__media::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  inset: -7%;
  background:
    radial-gradient(46% 40% at 33% 27%, rgba(232, 168, 86, 0.22), transparent 66%),
    radial-gradient(72% 80% at 52% 48%, #160f08 0%, #120c07 48%, rgba(13, 11, 9, 0) 84%);
}
.product__box {
  position: relative; z-index: 1;
  display: block; width: 100%;
  max-height: 620px; object-fit: contain;
  /* Feather only the empty black margins (box art fills ~13–93% x, 6–93% y).
     If mask-image is unsupported the property is ignored and the photo simply
     shows normally — graceful fallback. */
  -webkit-mask-image: radial-gradient(50% 52% at 52% 48%, #000 84%, rgba(0,0,0,0.72) 93%, transparent 100%);
          mask-image: radial-gradient(50% 52% at 52% 48%, #000 84%, rgba(0,0,0,0.72) 93%, transparent 100%);
}
/* deliberate overlay: fully inside the photo, soft gold ring + drop shadow */
.product__badge {
  position: absolute; z-index: 2;
  width: 30%; max-width: 150px; aspect-ratio: 1; object-fit: cover;
  right: 5%; bottom: 5%;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 95, 0.85);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6), 0 0 0 5px rgba(201, 162, 95, 0.12);
  background: #000;
}

/* ============================================================= */
/*  FOUNDER NOTE                                                  */
/* ============================================================= */
.founder { background: var(--bg); }
/* pre-composed note banner (photo + handwritten note + logo + signature baked in) */
.founder__note { display: block; width: 100%; height: auto; }

/* ============================================================= */
/*  TESTIMONIALS                                                  */
/* ============================================================= */
.testimonials { padding: 3.6rem 1.2rem; background: var(--bg); }
.rule-heading {
  max-width: var(--maxw); margin: 0 auto 2.4rem;
  display: flex; align-items: center; gap: 1rem; justify-content: center;
}
.rule-heading__line { flex: 1; height: 1px; max-width: 160px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.display-title--sm {
  font-size: clamp(1.2rem, 4.5vw, 1.7rem); font-weight: 700;
  letter-spacing: 0.14em; color: var(--gold); text-align: center;
}
.testimonials__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 1.6rem;
}
.quote {
  margin: 0; text-align: center;
  background: var(--bg-3);
  border: 1px solid rgba(201, 162, 95, 0.16);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
}
.stars { display: flex; gap: 4px; justify-content: center; margin-bottom: 0.9rem; }
.stars svg { width: 18px; height: 18px; fill: var(--gold); }
.quote blockquote { margin: 0 0 1rem; font-style: italic; color: var(--cream); font-size: 1.02rem; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote__name { font-family: "Roboto Slab", Georgia, serif; font-weight: 700; letter-spacing: 0.04em; color: var(--gold); text-transform: uppercase; font-size: 0.9rem; }
.quote__date { font-size: 0.8rem; color: var(--cream-faint); }

/* ============================================================= */
/*  CLOSING BAND                                                  */
/* ============================================================= */
.closing { position: relative; }
/* Split down the middle: two images side by side, each at its natural aspect ratio */
.closing__strip { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.closing__cell { position: relative; overflow: hidden; background: var(--bg-3); }
.closing__cell img { width: 100%; height: auto; display: block; }
.closing__cta {
  position: relative; z-index: 2;
  margin-top: -1px;
  text-align: center;
  padding: 2.6rem 1.2rem 3rem;
  background: linear-gradient(180deg, rgba(13,11,9,0.86), var(--bg));
}
/* On larger screens the CTA overlaps the strip, pinned near the top */
@media (min-width: 760px) {
  .closing__cta {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding-top: 3rem;
    background: linear-gradient(180deg, rgba(9,7,5,0.72) 0%, rgba(9,7,5,0.22) 26%, transparent 45%);
  }
}

/* ============================================================= */
/*  FOOTER                                                        */
/* ============================================================= */
.footer {
  background: #080706;
  border-top: 1px solid rgba(201, 162, 95, 0.16);
  padding: 2.4rem 1.2rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
.footer__links a {
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em;
  font-family: "Roboto Slab", Georgia, serif; font-size: 0.8rem; color: var(--cream-dim);
  transition: color 0.18s ease;
}
.footer__links a:hover, .footer__links a:focus-visible { color: var(--gold); }
.footer__social { display: flex; gap: 0.7rem; }
.footer__copy { margin: 0; font-size: 0.78rem; color: var(--cream-faint); letter-spacing: 0.02em; }

/* ============================================================= */
/*  RESPONSIVE — tablet / desktop                                */
/* ============================================================= */
@media (min-width: 760px) {
  body { font-size: 18px; }

  .hero { padding: 1.6rem 2rem 0; }
  .hero__logo img { width: min(780px, 66vw); }   /* size unchanged (1.5x) */
  .hero__tagline { font-size: 1.25rem; }

  /* Product: text-weighted 55/45, vertically centered */
  .product__grid { grid-template-columns: 55fr 45fr; gap: 3.2rem; align-items: center; }
  .product__media { max-width: 465px; margin-inline: auto; }  /* 465 x 620 = image's 3:4 ratio, no letterbox */
  .product__badge { width: 30%; max-width: 150px; right: 40px; bottom: 40px; }

  /* Testimonials: three across with dividers */
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .quote { border: none; border-radius: 0; background: transparent; padding: 0.5rem 2rem; }
  .quote + .quote { border-left: 1px solid var(--line); }

  /* Closing strip: two across at natural aspect ratio (no crop) */
}

@media (min-width: 1040px) {
  .hero__tagline { font-size: 1.35rem; }
  .product .display-title { font-size: 3.6rem; }
}

/* ============================================================= */
/*  LEGAL PAGES (privacy.html / terms.html)                      */
/* ============================================================= */
.legal-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 1.4rem;
  background: rgba(13, 11, 9, 0.9); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 162, 95, 0.16);
}
.legal-header__logo img { height: 32px; width: auto; display: block; }
.legal-header__back {
  font-family: "Roboto Slab", Georgia, serif; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem;
  color: var(--cream-dim); transition: color 0.18s ease;
}
.legal-header__back:hover, .legal-header__back:focus-visible { color: var(--gold); }

.legal { max-width: 760px; margin: 0 auto; padding: 2.6rem 1.4rem 3.5rem; }
.legal h1 {
  font-family: "Roboto Slab", Georgia, serif; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--cream);
  font-size: clamp(1.9rem, 6vw, 2.6rem); margin: 0 0 0.4rem; line-height: 1.05;
}
.legal__updated { color: var(--cream-faint); font-size: 0.85rem; margin: 0 0 2rem; }
.legal h2 {
  font-family: "Roboto Slab", Georgia, serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold);
  font-size: 1.02rem; margin: 2.1rem 0 0.5rem;
}
.legal p, .legal li { color: var(--cream-dim); }
.legal a { color: var(--gold); }
.legal ul { padding-left: 1.2rem; margin: 0.4rem 0 0; }
.legal li { margin-bottom: 0.45rem; }
.legal__note {
  margin-top: 2.4rem; padding: 1rem 1.2rem; font-size: 0.9rem;
  border: 1px solid rgba(201, 162, 95, 0.22); border-radius: 10px;
  background: var(--bg-2);
}
