/* ============================================================
   BAFIA CORPORATION — Premium 3D Corporate Design
   Navy · Gold · Glassmorphism · 3D Depth
   ============================================================ */

/* ── 1. Design Tokens ───────────────────────────────────────── */
:root {
  /* Core palette */
  --navy-0:      #020810;
  --navy-1:      #050f1d;
  --navy-2:      #081829;
  --navy-3:      #0c2040;
  --navy-4:      #12305a;

  /* Gold system */
  --gold:        #c9a84c;
  --gold-l:      #e4c96a;
  --gold-d:      #9a7d34;
  --gold-bg:     rgba(201,168,76,.09);
  --gold-border: rgba(201,168,76,.26);

  /* Surface tokens */
  --cream:       #f5f3ec;
  --text:        #dce6f0;
  --muted:       #8da4bc;
  --glass:       rgba(255,255,255,.04);
  --glass-b:     rgba(255,255,255,.08);

  /* Effects */
  --shadow-card: 0 24px 64px rgba(0,0,0,.45);
  --shadow-gold: 0 0 40px rgba(201,168,76,.18);
  --radius:      20px;
  --radius-sm:   12px;
  --max:         1140px;
  --ease:        cubic-bezier(.23,1,.32,1);
  --t:           .45s var(--ease);

  /* Typography */
  --font:   'DM Sans', system-ui, -apple-system, sans-serif;
  --serif:  'Cormorant Garamond', Georgia, serif;
}

/* ── 2. Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--navy-1);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── 3. Animated ambient background ────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at 5% 15%,  rgba(201,168,76,.07)  0%, transparent 60%),
    radial-gradient(ellipse 700px 600px at 95% 85%,  rgba(20,60,180,.09)   0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 55% 50%,  rgba(201,168,76,.035) 0%, transparent 70%);
  animation: ambientPulse 16s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes ambientPulse {
  0%   { opacity: .8; transform: scale(1); }
  100% { opacity: 1;  transform: scale(1.06); }
}

/* ── 4. Floating decorative shapes (hero) ───────────────────── */
.float-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.float-shape {
  position: absolute;
  border-radius: 50%;
  animation: shapeDrift 22s ease-in-out infinite alternate;
}
.float-shape--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201,168,76,.18), transparent 68%);
  top: -160px; right: -180px;
  animation-duration: 18s;
}
.float-shape--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(20,80,220,.15), transparent 68%);
  bottom: -100px; left: -120px;
  animation-duration: 24s;
  animation-delay: -9s;
}
.float-shape--3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,168,76,.12), transparent 68%);
  top: 42%; left: 4%;
  animation-duration: 19s;
  animation-delay: -5s;
}

@keyframes shapeDrift {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-36px) rotate(4deg); }
  100% { transform: translateY(-18px) rotate(-3deg); }
}

/* ── 5. Top bar ─────────────────────────────────────────────── */
.topbar {
  background: var(--navy-0);
  border-bottom: 1px solid var(--glass-b);
  position: relative;
  z-index: 100;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
}
.topbar__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}
.topbar__left a { color: var(--gold); transition: color .2s; }
.topbar__left a:hover { color: var(--gold-l); }
.topbar__sep { opacity: .38; }
.topbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-family: var(--font);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .3px;
  cursor: pointer;
  transition: all .25s ease;
}
.topbar__btn:hover {
  background: rgba(201,168,76,.16);
  border-color: var(--gold);
  color: var(--gold-l);
}

/* ── 6. Header / Nav ────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(5,15,29,.82);
  border-bottom: 1px solid var(--glass-b);
  transition: background .3s ease, box-shadow .3s ease;
}
.header.scrolled {
  background: rgba(3,9,16,.96);
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-l) 0%, var(--gold-d) 100%);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy-0);
  box-shadow: 0 4px 18px rgba(201,168,76,.38);
  flex-shrink: 0;
  transition: box-shadow .3s ease;
}
.brand:hover .brand__mark { box-shadow: 0 6px 28px rgba(201,168,76,.55); }
.brand__name {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .9px;
  color: var(--text);
}
.brand__tag { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Nav links */
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .3px;
  transition: color .2s;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.nav__cta {
  padding: 10px 20px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--gold-l) 0%, var(--gold) 50%, var(--gold-d) 100%) !important;
  color: var(--navy-0) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(201,168,76,.32) !important;
  transition: box-shadow .3s, transform .3s !important;
}
.nav__cta:hover {
  box-shadow: 0 8px 28px rgba(201,168,76,.5) !important;
  transform: translateY(-1px) !important;
}
.nav__cta::after { display: none !important; }

/* Mobile toggle */
.navToggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--glass-b);
  background: var(--glass);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.navToggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
}

/* ── 7. Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 88px 0 68px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 700px at -5% 35%,  rgba(201,168,76,.14) 0%, transparent 58%),
    radial-gradient(ellipse  800px 600px at 110% 10%,  rgba(18,60,180,.12)  0%, transparent 58%),
    radial-gradient(ellipse  600px 600px at  52% 110%, rgba(201,168,76,.05) 0%, transparent 68%);
  animation: heroBgShift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes heroBgShift {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.09) translate(-24px, 12px); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Kicker label */
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.hero__kicker::before {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background: linear-gradient(90deg, var(--gold-l), var(--gold-d));
  border-radius: 1px;
}

/* Main headline */
.hero__title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.5px;
  margin: 0 0 22px;
  color: var(--text);
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--gold-l) 0%, var(--gold) 50%, var(--gold-d) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
  margin: 0 0 30px;
  max-width: 54ch;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

/* Trust items row */
.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trustItem {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 16px;
  padding: 16px 14px;
  transition: var(--t);
}
.trustItem:hover {
  background: rgba(255,255,255,.06);
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0,0,0,.32), 0 0 0 1px rgba(201,168,76,.15);
}
.trustItem__icon {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.trustItem__title { font-weight: 700; font-size: 13px; margin-bottom: 4px; color: var(--text); }
.trustItem__text  { color: var(--muted); font-size: 12px; line-height: 1.5; }

/* ── 8. Hero founder photo card ─────────────────────────────── */
.hero__card {
  position: sticky;
  top: 100px;
  perspective: 1200px;
}
.heroCard {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 26px;
  box-shadow:
    0 32px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.05),
    inset 0 1px 0 rgba(255,255,255,.1);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s ease;
}
.heroCard:hover {
  transform: translateY(-14px) rotateX(5deg) rotateY(-3deg);
  box-shadow:
    0 56px 110px rgba(0,0,0,.65),
    0 0 0 1px rgba(201,168,76,.22),
    0 0 70px rgba(201,168,76,.1),
    inset 0 1px 0 rgba(255,255,255,.13);
}

.heroCard__badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(2,8,16,.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,.38);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  z-index: 2;
}
.heroCard__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--navy-2);
}
.heroCard__body {
  padding: 22px 20px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
}
.heroCard__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  letter-spacing: .3px;
}
.heroCard__role {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.heroCard__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  margin: 14px 0;
}
.heroCard__meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.heroCard__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.heroCard__cred {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .4px;
}
.heroCard__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: gap .25s ease, color .2s;
}
.heroCard__link::after { content: '→'; }
.heroCard__link:hover { gap: 10px; color: var(--gold-l); }

/* ── 9. Sections ─────────────────────────────────────────────── */
.section { padding: 84px 0; position: relative; z-index: 1; }
.section--light {
  background: var(--cream);
  color: #101624;
}
.section--light a { color: #0c2040; }

/* Section accent line */
.sectionAccent {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.sectionAccent--left { justify-content: flex-start; }
.sectionAccent__line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold-l), var(--gold-d));
  border-radius: 2px;
}

/* Section titles & leads */
.sectionTitle {
  font-family: var(--serif);
  text-align: center;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -.3px;
  line-height: 1.15;
  color: inherit;
}
.sectionTitle--left { text-align: left; }
.sectionLead {
  text-align: center;
  margin: 0 auto 42px;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.72;
  color: var(--muted);
}
.sectionLead--left { margin-left: 0; text-align: left; }
.section--light .sectionLead { color: rgba(16,22,36,.6); }

.bodyText {
  line-height: 1.82;
  color: var(--muted);
  margin-bottom: 18px;
}
.section--light .bodyText { color: rgba(16,22,36,.78); }

/* ── 10. Value cards (grid-3) ───────────────────────────────── */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1500px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid rgba(16,22,36,.08);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transform-style: preserve-3d;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-l), var(--gold-d));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover {
  transform: translateY(-12px) rotateX(4deg);
  box-shadow: 0 36px 72px rgba(0,0,0,.12), 0 0 0 1px rgba(201,168,76,.16);
}
.card:hover::before { opacity: 1; }
.card__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(201,168,76,.09);
  border: 1px solid rgba(201,168,76,.2);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--gold-d);
  margin-bottom: 20px;
  font-weight: 700;
}
.card h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 10px;
  color: #101624;
}
.card p { margin: 0; color: rgba(16,22,36,.7); line-height: 1.72; }

/* ── 11. Two-column layout ──────────────────────────────────── */
.twoCol {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 44px;
  align-items: start;
}

/* ── 12. Panels ─────────────────────────────────────────────── */
.panel {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--t);
}
.panel:hover {
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
  transform: translateY(-4px);
}
.section--light .panel {
  background: #fff;
  border-color: rgba(16,22,36,.1);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.section--light .panel:hover {
  box-shadow: 0 24px 56px rgba(0,0,0,.1);
}
.panel--dark {
  background: linear-gradient(145deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
  backdrop-filter: blur(10px);
}
.section--light .panel--dark {
  background: var(--navy-2);
  color: var(--text);
  border-color: rgba(255,255,255,.08);
}
.panel__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 22px;
  color: inherit;
}
.panel__text { margin: 0 0 20px; line-height: 1.72; color: var(--muted); }
.section--light .panel__text { color: rgba(255,255,255,.7); }
.panel__item {
  padding: 14px 0;
  border-top: 1px solid var(--glass-b);
}
.section--light .panel .panel__item { border-top-color: rgba(16,22,36,.1); }
.panel__item:first-of-type { border-top: none; }
.panel__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.section--light .panel .panel__label { color: rgba(16,22,36,.48); }
.panel__value { font-weight: 600; font-size: 15px; }
.panel__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* ── 13. Pills ──────────────────────────────────────────────── */
.pillRow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pill {
  border-radius: 999px;
  padding: 7px 16px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .3px;
  transition: all .2s ease;
}
.pill:hover { background: rgba(201,168,76,.16); border-color: var(--gold); }
.section--light .pill {
  background: rgba(201,168,76,.07);
  border-color: rgba(201,168,76,.2);
  color: var(--gold-d);
}

/* ── 14. Service cards ──────────────────────────────────────── */
.gridCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1500px;
}
.serviceCard {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid rgba(16,22,36,.08);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transform-style: preserve-3d;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.serviceCard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-l), var(--gold-d));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.serviceCard:hover {
  transform: translateY(-14px) rotateX(4deg);
  box-shadow: 0 44px 88px rgba(0,0,0,.15), 0 0 0 1px rgba(201,168,76,.16);
}
.serviceCard:hover::after { transform: scaleX(1); }
.serviceCard__icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.04));
  border: 1px solid rgba(201,168,76,.2);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-d);
  margin-bottom: 22px;
}
.serviceCard h3 {
  font-family: var(--serif);
  font-size: 21px;
  margin: 0 0 16px;
  color: #101624;
}
.serviceCard ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: rgba(16,22,36,.76);
  line-height: 1.8;
}
.serviceCard ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
  font-size: 14px;
}
.serviceCard ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .75;
}
.muted { color: rgba(16,22,36,.62); font-size: 14px; line-height: 1.6; }
.section:not(.section--light) .muted { color: var(--muted); }

/* ── 15. CTA Banner ─────────────────────────────────────────── */
.ctaBanner {
  margin-top: 36px;
  border-radius: var(--radius);
  padding: 30px 34px;
  background: linear-gradient(135deg, rgba(201,168,76,.1) 0%, rgba(12,32,64,.4) 100%);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.ctaBanner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,.04) 0%, transparent 100%);
}
.section--light .ctaBanner {
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(16,22,36,.06));
  border-color: rgba(201,168,76,.25);
}
.ctaBanner h3 { font-family: var(--serif); font-size: 24px; margin: 0; position: relative; }
.ctaBanner p { margin: 6px 0 0; line-height: 1.6; position: relative; color: rgba(16,22,36,.65); }
.section:not(.section--light) .ctaBanner p { color: var(--muted); }
.ctaBanner__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ── 16. Tax section helpers ────────────────────────────────── */
.subTitle {
  font-family: var(--serif);
  font-size: 20px;
  margin: 28px 0 14px;
  color: inherit;
}
.checkList { margin: 0 0 22px; padding: 0; list-style: none; }
.checkList li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
  line-height: 1.72;
}
.checkList li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
  font-weight: 900;
  font-size: 15px;
}
.note {
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.2);
  padding: 16px 18px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.section--light .note { color: rgba(16,22,36,.72); }

/* ── 17. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: transform .3s var(--ease), box-shadow .3s ease, background .3s ease;
  position: relative;
}
.btn--primary {
  color: var(--navy-0);
  background: linear-gradient(135deg, var(--gold-l) 0%, var(--gold) 50%, var(--gold-d) 100%);
  box-shadow: 0 4px 20px rgba(201,168,76,.32);
}
.btn--primary:hover {
  box-shadow: 0 10px 32px rgba(201,168,76,.55);
  transform: translateY(-2px);
}
.btn--ghost {
  background: var(--glass);
  border-color: var(--glass-b);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-2px);
}
.section--light .btn--ghost {
  border-color: rgba(16,22,36,.2);
  color: #101624;
  background: transparent;
}
.section--light .btn--ghost:hover {
  background: rgba(16,22,36,.06);
  border-color: rgba(16,22,36,.35);
}
.btn--full { width: 100%; }

/* ── 18. Booking section ────────────────────────────────────── */

/* Stats strip */
.bookingStats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 36px;
  background: #fff;
  border: 1px solid rgba(16,22,36,.09);
  border-radius: 16px;
  padding: 20px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.bookingStat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
  text-align: center;
}
.bookingStat__value {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-d);
  line-height: 1;
}
.bookingStat__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(16,22,36,.55);
  letter-spacing: .5px;
  margin-top: 4px;
  text-transform: uppercase;
}
.bookingStat__divider {
  width: 1px;
  height: 40px;
  background: rgba(16,22,36,.1);
  flex-shrink: 0;
}

/* Two-panel premium booking card */
.bookingCard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.14);
  border: 1px solid rgba(16,22,36,.1);
}

/* Left panel (dark navy) */
.bookingCard__left {
  background: var(--navy-2);
  color: var(--text);
  padding: 52px 44px;
}
.bookingCard__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.bookingCard__heading {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 26px;
  color: var(--text);
  line-height: 1.18;
}
.bookingCard__left .checkList li { color: rgba(220,230,240,.82); }
.bookingCard__left .checkList li::before { color: var(--gold); }
.bookingCard__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 30px;
}
.bookingCard__trust .trustBadge {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  color: var(--muted);
}
.bookingCard__trust .trustBadge:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(201,168,76,.28);
  color: var(--text);
}

/* Right panel (white) */
.bookingCard__right { background: #fff; }
.bookingCard__action {
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Large calendar icon */
.bookingCard__calIcon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.04));
  border: 1px solid rgba(201,168,76,.22);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 22px;
}

.bookingCard__actionTitle {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #101624;
  line-height: 1.12;
}
.bookingCard__actionText {
  color: rgba(16,22,36,.6);
  font-size: 15px;
  line-height: 1.72;
  margin: 0 0 24px;
}

/* Chip row */
.bookingCard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.bookingCard__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(201,168,76,.07);
  border: 1px solid rgba(201,168,76,.18);
  font-size: 12px;
  font-weight: 600;
  color: rgba(16,22,36,.75);
}

/* Main CTA button — gold, full-width, large */
.bookingCard__cta {
  width: 100%;
  padding: 18px 28px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, var(--gold-l) 0%, var(--gold) 50%, var(--gold-d) 100%);
  background-size: 200% 100%;
  color: var(--navy-0);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(201,168,76,.36);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), background-position .4s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.bookingCard__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
.bookingCard__cta:hover {
  box-shadow: 0 14px 44px rgba(201,168,76,.58);
  transform: translateY(-2px);
  background-position: 100% 0;
}
.bookingCard__cta:hover::before { opacity: 1; }
.bookingCard__cta:active { transform: translateY(0); }

/* Email fallback link */
.bookingCard__email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(16,22,36,.55);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  align-self: center;
  margin-bottom: 28px;
  transition: color .2s ease;
}
.bookingCard__email:hover { color: var(--gold-d); }

/* Bottom note */
.bookingCard__note {
  font-size: 12px;
  color: rgba(16,22,36,.4);
  line-height: 1.6;
  text-align: center;
  margin: auto 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(16,22,36,.07);
}

/* Trust badges (shared across page) */
.trustBadge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(201,168,76,.06);
  border: 1px solid rgba(201,168,76,.14);
  font-size: 12px;
  font-weight: 600;
  color: rgba(16,22,36,.78);
  transition: all .2s ease;
}
.trustBadge:hover { background: rgba(201,168,76,.1); border-color: rgba(201,168,76,.25); }
.trustBadge__icon { font-size: 15px; flex-shrink: 0; }

/* ── 19a. Booking Modal ──────────────────────────────────────── */

/* Full-screen overlay */
.bookModal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bookModal[hidden] { display: none; }

/* Backdrop */
.bookModal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,8,16,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: overlayIn .3s ease forwards;
}
@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Modal card */
.bookModal__card {
  position: relative;
  z-index: 1;
  background: var(--navy-1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  padding: 48px 44px;
  width: 100%;
  max-width: 520px;
  box-shadow:
    0 40px 100px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.06),
    inset 0 1px 0 rgba(255,255,255,.08);
  animation: cardIn .38s var(--ease) forwards;
  overflow: hidden;
}
.bookModal__card::before {
  /* Subtle top gold shimmer */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 28px 28px 0 0;
}
@keyframes cardIn {
  from { opacity: 0; transform: scale(.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* Close button */
.bookModal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.bookModal__close:hover {
  background: rgba(255,255,255,.12);
  color: var(--text);
  border-color: rgba(255,255,255,.22);
}

/* Calendar icon */
.bookModal__icon {
  font-size: 40px;
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(201,168,76,.3));
}

/* Title & desc */
.bookModal__title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.15;
}
.bookModal__desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
  margin: 0;
}
.bookModal__desc strong { color: var(--text); }

/* Divider */
.bookModal__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  margin: 24px 0;
}

/* Perks list */
.bookModal__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bookModal__perk {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(220,230,240,.85);
  font-weight: 500;
}
.bookModal__perkIcon {
  font-size: 18px;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Action buttons */
.bookModal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* "Continue" CTA */
.bookModal__cta {
  width: 100%;
  padding: 17px 28px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--gold-l) 0%, var(--gold) 50%, var(--gold-d) 100%);
  color: var(--navy-0);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(201,168,76,.4);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.bookModal__cta:hover:not(:disabled) {
  box-shadow: 0 14px 44px rgba(201,168,76,.6);
  transform: translateY(-2px);
}
.bookModal__cta:disabled {
  cursor: not-allowed;
  opacity: .85;
}

/* Loading spinner inside CTA (hidden by default) */
.bookModal__ctaArrow  { transition: opacity .2s, transform .2s; }
.bookModal__ctaSpinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(0,0,0,.2);
  border-top-color: var(--navy-0);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.bookModal__cta.is-loading .bookModal__ctaText  { opacity: .7; }
.bookModal__cta.is-loading .bookModal__ctaArrow { opacity: 0; transform: translateX(6px); }
.bookModal__cta.is-loading .bookModal__ctaSpinner { display: block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* "Cancel" button */
.bookModal__cancel {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.bookModal__cancel:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.2);
  color: var(--text);
}

/* Footer note */
.bookModal__footer {
  margin: 20px 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(220,230,240,.4);
  line-height: 1.5;
}

/* Modal close animation (class added before hiding) */
.bookModal.is-closing .bookModal__card   { animation: cardOut .25s var(--ease) forwards; }
.bookModal.is-closing .bookModal__overlay { animation: overlayOut .25s ease forwards; }
@keyframes cardOut {
  to { opacity: 0; transform: scale(.94) translateY(12px); }
}
@keyframes overlayOut {
  to { opacity: 0; }
}

/* ── 19b. Redirect loading overlay ──────────────────────────── */
.bookRedirect {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--navy-0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.bookRedirect[hidden] { display: none; }
.bookRedirect.is-active {
  opacity: 1;
  pointer-events: auto;
}

.bookRedirect__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* Branded "B" logo mark */
.bookRedirect__logo {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold-l) 0%, var(--gold-d) 100%);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy-0);
  box-shadow: 0 0 0 12px rgba(201,168,76,.12), 0 0 0 24px rgba(201,168,76,.05);
  animation: logoPulse 1.4s ease-in-out infinite;
  margin-bottom: 8px;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 12px rgba(201,168,76,.12), 0 0 0 24px rgba(201,168,76,.05); }
  50%       { box-shadow: 0 0 0 16px rgba(201,168,76,.18), 0 0 0 32px rgba(201,168,76,.08); }
}

/* Spinning ring */
.bookRedirect__spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(201,168,76,.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .85s linear infinite;
}

.bookRedirect__text {
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}
.bookRedirect__sub {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* Progress bar */
.bookRedirect__bar {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.bookRedirect__progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-d), var(--gold-l));
  border-radius: 3px;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}

/* ── 19. Contact section ────────────────────────────────────── */
.contactGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field { display: block; margin-bottom: 16px; }
.field span {
  display: block;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255,255,255,.6);
}
.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold-border);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.32); }
.tiny { font-size: 12px; line-height: 1.5; margin-top: 10px; }

/* ── 20. Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--glass-b);
  background: var(--navy-0);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .5px;
}
.footer__small { color: var(--muted); font-size: 13px; margin-top: 3px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  transition: color .2s;
}
.footer__links a:hover { color: var(--gold); }

/* ── 21. Back-to-top button ─────────────────────────────────── */
.toTop {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-l) 0%, var(--gold-d) 100%);
  color: var(--navy-0);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(201,168,76,.38);
  transition: opacity .3s ease, transform .3s var(--ease), box-shadow .3s ease;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  z-index: 80;
}
.toTop.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.toTop:hover {
  box-shadow: 0 14px 38px rgba(201,168,76,.55);
  transform: translateY(-4px) !important;
}

/* ── 22. Scroll reveal animations ───────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .72s ease, transform .72s var(--ease);
}
[data-animate="from-left"]  { transform: translateX(-36px); }
[data-animate="from-right"] { transform: translateX(36px); }
[data-animate="scale"]      { transform: scale(.94) translateY(20px); }
[data-animate].is-visible   { opacity: 1; transform: none; }

/* Stagger delays for sibling groups */
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }

/* ── 23. Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { padding: 64px 0 50px; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__card  { position: relative; top: 0; }
  .hero__trust { grid-template-columns: repeat(3, 1fr); }

  .grid3         { grid-template-columns: 1fr; }
  .twoCol        { grid-template-columns: 1fr; }
  .gridCards     { grid-template-columns: 1fr; }
  .bookingCard   { grid-template-columns: 1fr; }
  .contactGrid   { grid-template-columns: 1fr; }

  .ctaBanner { flex-direction: column; align-items: flex-start; }

  .nav { display: none; }
  .navToggle { display: flex; }
  .nav.isOpen {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 24px;
    top: 78px;
    width: min(320px, calc(100vw - 48px));
    background: rgba(3,9,16,.97);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-b);
    border-radius: 20px;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 24px 64px rgba(0,0,0,.55);
    z-index: 200;
  }
  .nav.isOpen a { padding: 12px 16px; border-radius: 12px; font-size: 15px; }
  .nav.isOpen a:hover { background: var(--glass); }

  .secureBooking .trustBadges { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .section { padding: 52px 0; }
  .hero__trust { grid-template-columns: 1fr; }

  /* Booking stats: stack vertically */
  .bookingStats { flex-direction: column; padding: 20px; gap: 12px; }
  .bookingStat__divider { width: 80px; height: 1px; }

  /* Booking card panels: full padding reduction */
  .bookingCard__left,
  .bookingCard__action { padding: 32px 22px; }
  .bookingCard__trust { grid-template-columns: 1fr; }
  .bookingCard__heading,
  .bookingCard__actionTitle { font-size: 24px; }

  /* Modal: tighter on small screens */
  .bookModal__card { padding: 36px 24px; }
  .bookModal__title { font-size: 24px; }

  .panel__actions { flex-direction: column; }
  .ctaBanner__actions { flex-direction: column; width: 100%; }
  .ctaBanner__actions .btn { width: 100%; }
}

/* ── 24. Reduced-motion accessibility ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .heroCard { transition: none; }
  body::before, .hero__bg, .float-shape { animation: none; }
}
