/* ============================================================
   Jenius — Retro / Vintage Landing Page
   Palette: warm cream + brick red
   ============================================================ */

:root {
  --cream:      #F3E6C4;
  --cream-card: #FBF2DA;
  --cream-soft: #EFE0B8;
  --red:        #9E2B23;
  --red-dark:   #7C2018;
  --red-deep:   #631712;
  --ink:        #43160F;
  --ink-soft:   #6E4034;

  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow:    0 8px 0 rgba(67, 22, 15, 0.10);
  --shadow-lg: 0 14px 34px rgba(67, 22, 15, 0.18);

  --font-display: 'Baloo 2', system-ui, sans-serif;   /* tiêu đề tiếng Việt */
  --font-poster:  'Lilita One', system-ui, sans-serif; /* wordmark/marquee không dấu */
  --font-body:    'Be Vietnam Pro', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 800; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.u-red { color: var(--red); }

/* ---------------- Buttons & Pills ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  padding: 12px 26px; border-radius: var(--radius-pill);
  cursor: pointer; border: 2px solid var(--red);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 20px; font-size: 15px; }
.btn-lg { padding: 15px 34px; font-size: 18px; }
.btn-block { display: flex; width: 100%; }

.btn-red { background: var(--red); color: var(--cream-card); box-shadow: 0 6px 0 var(--red-deep); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--red-deep); }
.btn-red:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--red-deep); }

.btn-cream { background: transparent; color: var(--cream-card); border-color: var(--cream-card); }
.btn-cream:hover { background: var(--cream-card); color: var(--red); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .4px;
  text-transform: uppercase; padding: 7px 16px; border-radius: var(--radius-pill);
}
.pill-outline { border: 2px solid var(--red); color: var(--red); }
.pill-solid { background: var(--red); color: var(--cream-card); }

/* ---------------- Marquee ---------------- */
.marquee {
  background: var(--red); color: var(--cream-card);
  overflow: hidden; white-space: nowrap; border-top: 2px solid var(--red-deep); border-bottom: 2px solid var(--red-deep);
}
.marquee-top { border-top: none; }
.marquee-track { display: inline-flex; animation: scroll 26s linear infinite; }
.marquee-reverse { animation-direction: reverse; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 1px;
  padding: 9px 0; text-transform: uppercase;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--red); border-bottom: 2px solid var(--red-deep);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 34px; width: auto; filter: invert(1) brightness(2.2); }

/* ---------------- Hero banner (full screen) ---------------- */
.hero-banner {
  position: relative; min-height: calc(100vh - 110px); display: flex; align-items: center;
  overflow: hidden; padding: 60px 0;
}
.hero-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(53,16,11,.88) 0%, rgba(53,16,11,.6) 45%, rgba(53,16,11,.25) 100%);
}
.hero-banner-inner { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.hero-banner-content { max-width: 680px; color: #EBF9FF; }
.hero-banner-content .pill { margin-bottom: 22px; }
.hero-banner h1 {
  font-family: 'Anton', var(--font-display); font-weight: 400;
  font-size: clamp(42px, 6vw, 74px); line-height: 1.04; color: #EBF9FF; letter-spacing: .5px;
  text-shadow: 0 3px 22px rgba(0,0,0,.45);
}
.u-soft { color: #EBF9FF; }
.lead { font-size: 18px; margin: 22px 0 32px; max-width: 540px; }
.hero-banner .lead { color: #EBF9FF; opacity: .96; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.pill-on-dark { border-color: #EBF9FF; color: #EBF9FF; }

/* Rotating sticker badge */
.sticker {
  position: absolute; left: -28px; bottom: -28px; width: 116px; height: 116px;
  background: var(--cream-card); border-radius: 50%; border: 3px solid var(--red);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.sticker-banner { position: absolute; left: auto; right: 0; bottom: 10px; width: 132px; height: 132px; }
.sticker svg { width: 100%; height: 100%; position: absolute; inset: 0; animation: spin 14s linear infinite; }
.sticker svg text { font-family: var(--font-poster); font-size: 9.2px; letter-spacing: 1.4px; fill: var(--red); }
.sticker-star { font-size: 30px; color: var(--red); }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ---------------- Red statement ---------------- */
.statement { background: var(--red); color: var(--cream-card); padding: 76px 0; position: relative; overflow: hidden; }
.statement h2 {
  font-size: clamp(28px, 4vw, 48px); text-align: center; max-width: 1000px; margin: 0 auto;
  text-transform: uppercase; letter-spacing: .5px;
}
.float-pill {
  position: absolute; font-family: var(--font-display); font-weight: 700; font-size: 14px;
  text-transform: uppercase; padding: 6px 16px; border-radius: var(--radius-pill);
  border: 2px solid var(--cream-card); color: var(--cream-card); rotate: -6deg;
}
.fp-1 { top: 40px; left: 8%; }
.fp-2 { top: 60px; right: 10%; rotate: 8deg; }
.fp-3 { bottom: 44px; left: 14%; rotate: 5deg; }
.fp-4 { bottom: 56px; right: 12%; rotate: -8deg; }

/* ---------------- Sections ---------------- */
.section { padding: 84px 0; }
.section-head { margin-bottom: 50px; }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head .pill { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); color: var(--red); }
.section-sub { font-size: 17px; color: var(--ink-soft); margin-top: 16px; }

/* Pain cards */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pain-card {
  background: var(--cream-card); border: 2px solid var(--red); border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pain-photo { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.pain-photo img { width: 100%; height: 210px; object-fit: cover; }
.pain-photo .num {
  position: absolute; top: 10px; left: 10px; font-family: var(--font-poster);
  background: var(--red); color: var(--cream-card); width: 38px; height: 38px;
  border-radius: 50%; display: grid; place-items: center; font-size: 16px; border: 2px solid var(--cream-card);
}
.pain-card h3 { font-size: 19px; color: var(--red); margin: 0 4px 8px; }
.pain-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0 4px 8px; }

/* ---------------- Booking ---------------- */
.section-booking { background: var(--cream-soft); border-top: 2px solid var(--red); border-bottom: 2px solid var(--red); }
.cal-embed {
  background: var(--cream-card); border: 3px solid var(--red); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); min-height: 640px; overflow: hidden;
}
.cal-fallback { padding: 80px 24px; text-align: center; }
.cal-fallback p { color: var(--ink-soft); font-size: 17px; }
.cal-fallback-sub { font-size: 14px !important; margin: 8px 0 24px; }

/* ---------------- Giant wordmark ---------------- */
.wordmark { background: var(--cream); text-align: center; padding: 50px 0 30px; overflow: hidden; }
.wordmark h2 {
  font-family: var(--font-poster); color: var(--red);
  font-size: clamp(80px, 22vw, 280px); line-height: .8; letter-spacing: -2px;
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--red); color: var(--cream-card); padding: 56px 0 26px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 2px solid var(--red-deep); }
.footer-brand .brand-logo { height: 40px; margin-bottom: 12px; }
.brand-logo-light { filter: invert(1) brightness(2.2); }
.footer-tag { font-size: 14px; max-width: 340px; opacity: .9; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 18px; margin-bottom: 4px; }
.footer-col a { color: var(--cream-card); font-size: 15px; opacity: .92; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; opacity: .85; }
.footer-cta { font-family: var(--font-display); font-weight: 700; }
.footer-cta:hover { text-decoration: underline; }

/* Mobile floating CTA */
.mobile-cta {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--red); color: var(--cream-card); text-align: center; font-family: var(--font-display); font-weight: 700;
  padding: 15px; border-radius: var(--radius-pill); box-shadow: 0 6px 0 var(--red-deep);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .sticker-banner { width: 104px; height: 104px; bottom: 4px; }
}
@media (max-width: 640px) {
  .site-header .btn { display: none; }
  .section { padding: 56px 0; }
  .hero-banner { min-height: 78vh; padding: 40px 0; }
  .hero-banner-overlay { background: linear-gradient(180deg, rgba(53,16,11,.7) 0%, rgba(53,16,11,.78) 100%); }
  .pain-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .mobile-cta { display: block; }
  .site-footer { margin-bottom: 70px; }
  .float-pill { display: none; }
  .sticker-banner { display: none; }
}
