/* =========================================================
   Learn with Lisa — design tokens
   Inverted theme: former white surfaces are now near-black,
   former black surfaces are now near-white. Gold is the one
   constant accent, used throughout including on all buttons.
   ========================================================= */
:root {
  --black:      #ffffff;
  --charcoal:   #f2f2f0;
  --grey:       #c9c9c7;
  --grey-light: #6e6e6e;
  --off-white:  #1c1c1c;
  --white:      #0a0a0a;
  --line:       #e5e5e2;
  --gold:       #D9A027;
  --gold-dark:  #A97918;
  --gold-light: #ecc873;
  --ink:        #14110a;

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-width: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; max-width: 62ch; }
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink);
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Dashed road-line divider — the recurring visual device */
.dashes {
  border: 0;
  height: 0;
  border-top: 2px dashed var(--gold);
  margin: 0;
}
.dashes--dark { border-top-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =========================================================
   Buttons — all gold, per brand
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
  line-height: 1;
}
.btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid:hover { background: var(--gold-dark); }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--full { width: 100%; }
.btn:active { transform: translateY(1px); }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #262626;
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
}
.brand__logo { height: 51px; width: auto; display: block; }
@media (max-width: 480px) { .brand__logo { height: 42px; } }
.brand__mark {
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 7px;
  background: var(--white);
}
.brand__mark img { width: 100%; height: 100%; display: block; }
.brand__text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand--footer .brand__mark { border-color: var(--gold); background: transparent; }

.nav__list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0; padding: 0;
  white-space: nowrap;
}
.nav__list a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 4px;
}
.nav__list a.is-active,
.nav__list a:hover { color: var(--gold); }
.nav__list a.is-active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px;
  border-bottom: 2px dashed var(--gold);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__toggle-bar { width: 24px; height: 2px; background: var(--black); }
.site-header__actions { display: flex; gap: 10px; flex-shrink: 0; }

@media (max-width: 1140px) {
  .nav__toggle { display: flex; }
  .nav__list {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    white-space: normal;
    border-bottom: 1px solid #262626;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s var(--ease);
  }
  .nav__list.is-open { max-height: 420px; }
  .nav__list li { border-top: 1px solid #222220; }
  .nav__list a { display: block; padding: 14px 24px; }
  .nav__list a.is-active::after { display: none; }
  .nav__list a.is-active { font-weight: 700; }
  .site-header__actions .btn--ghost { display: none; }
}
@media (max-width: 480px) {
  .site-header__actions .btn { padding: 9px 14px; font-size: 0.82rem; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr;
  align-items: start;
  gap: 32px;
  padding: 64px 24px 56px;
}
.hero__eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 18px; }
.hero p.lede { color: #33332f; font-size: 1.1rem; max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero__stats {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 20px;
  border-top: 2px dashed var(--gold);
}
.hero__stat strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--gold); }
.hero__stat span { color: var(--grey-light); font-size: 0.85rem; }

.hero__art {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1.5px solid rgba(0,0,0,.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__art--photo { aspect-ratio: 4 / 3; }
.hero__art--plain {
  border: none;
  aspect-ratio: auto;
  overflow: visible;
  display: block;
}
.hero__art--plain .hero__art-img { width: 100%; height: auto; display: block; }

.hero__media { display: block; min-width: 0; }

/* Scrolling review ticker — sits under the hero image, auto-scrolls,
   reviews are pulled in random order on each page load. */
.review-ticker {
  margin-top: 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.review-ticker__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: review-ticker-scroll 42.6s linear infinite;
}
.review-ticker:hover .review-ticker__track { animation-play-state: paused; }
.review-ticker__item {
  flex: 0 0 auto;
  width: 240px;
  background: var(--white);
  border: 1px solid #262624;
  border-top: 3px solid var(--gold);
  padding: 14px 16px;
}
.review-ticker__item .stars { font-size: 0.8rem; }
.review-ticker__item blockquote {
  margin: 6px 0 4px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--charcoal);
  max-width: none;
}
.review-ticker__item cite {
  display: block;
  font-size: 0.76rem;
  font-style: normal;
  color: var(--grey);
}
@keyframes review-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .review-ticker__item { width: 200px; }
}
.hero__art-plate {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--black);
  background: var(--white);
  padding: 10px 22px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  font-size: 1.6rem;
  transform: rotate(-3deg);
  box-shadow: 0 14px 34px rgba(0,0,0,.3);
}
.hero__art-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__art-bg--contain { object-fit: contain; padding: 32px; }
.hero__art--icon { flex-direction: column; gap: 14px; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 44px; }
  .hero__art { aspect-ratio: 16/9; }
  .hero__art--plain { aspect-ratio: auto; }
  .hero__media { order: -1; }
}

/* Icon badges — circular gold-ringed icon, matching the business card style */
.icon-badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge img { width: 22px; height: 22px; }
.icon-badge--on-light { background: var(--gold); }

/* Trust strip — the 3-icon row from the business card, used just under the hero */
.trust-strip {
  background: var(--black);
  border-top: 1px solid var(--line);
}
.trust-strip__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.trust-strip__item span {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}
@media (max-width: 760px) {
  .trust-strip__row { flex-direction: column; gap: 18px; padding-left: 24px; padding-right: 24px; }
}

/* Approved-instructor badge */
.approved-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 8px 16px 8px 10px;
  font-size: 0.85rem;
  font-weight: 600;
}
.approved-badge img { width: 22px; height: 22px; }

/* Feature grid icon variant */
.feature__icon { margin-bottom: 14px; }

/* Curve divider — echoes the gold-trimmed curve on the business card,
   used where a black block meets a white one. The two source images
   (curve-top.svg = light blob, curve-bottom.svg = dark blob) are
   swapped at each call site to match which section is now light vs
   dark after the theme inversion; these wrapper classes just need to
   resolve to the section colour on the *far* side of the curve. */
.curve-divider {
  display: block;
  line-height: 0;
  width: 100%;
  overflow: hidden;
}
.curve-divider img {
  width: 100%;
  height: 32px;
  display: block;
}
.curve-divider--to-black { background: var(--black); }
.curve-divider--to-white { background: var(--white); }
@media (min-width: 760px) {
  .curve-divider img { height: 56px; }
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 72px 0; }
.section--off { background: #1c1810; }
.section--dark { background: var(--black); color: var(--white); }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}
.section--dark .section__eyebrow { color: var(--gold); }
.section h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* USP / feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #262624;
  border: 1px solid #262624;
}
.feature {
  background: var(--white);
  padding: 32px 28px;
  border-top: 3px solid var(--gold);
}
.feature__num {
  font-family: var(--font-head);
  color: var(--grey);
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--grey); margin-bottom: 0; font-size: 0.96rem; }

@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* How it works — numbered, since it's genuinely sequential */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: 0.95rem; }
.section--dark .step p { color: var(--grey-light); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* Pricing */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.pricing-table caption { text-align: left; margin-bottom: 14px; color: var(--grey); }
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid #262624;
}
.pricing-table thead th {
  font-family: var(--font-head);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}
.pricing-table td.price { color: var(--gold); }
.pricing-table td.price, .pricing-table th.price { text-align: right; font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
.pricing-table tbody tr:hover { background: var(--off-white); }
.pricing-table-wrap { overflow-x: auto; border: 1px solid #262624; }
.pricing-table-wrap .pricing-table { border: none; }
.pricing-table-wrap .pricing-table th, .pricing-table-wrap .pricing-table td { border-left: none; border-right: none; }

/* On phones, ditch the horizontal-scrolling table for stacked cards —
   each row becomes its own card with the column name shown beside the value. */
@media (max-width: 600px) {
  .pricing-table-wrap { overflow-x: visible; border: none; }
  .pricing-table thead { display: none; }
  .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td { display: block; width: 100%; }
  .pricing-table tr {
    border: 1px solid #262624;
    border-top: 3px solid var(--gold);
    margin-bottom: 14px;
    padding: 4px 0;
  }
  .pricing-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #262624;
  }
  .pricing-table tr td:last-child { border-bottom: none; }
  .pricing-table td::before {
    content: attr(data-label);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--grey);
    flex-shrink: 0;
  }
  .pricing-table td.price, .pricing-table th.price { text-align: right; }
}

.price-note {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid #262624; padding: 16px 18px; margin-top: 18px;
  font-size: 0.92rem; color: var(--grey);
}
.price-note--warning {
  border-color: #7a2020;
  background: rgba(220, 60, 60, 0.08);
  color: #f2b8b8;
}
.price-note--warning span:first-child {
  color: #e04545;
  font-size: 1.1rem;
  line-height: 1;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: #262624;
  border: 1px solid #262624;
  margin-top: 20px;
}
.package {
  background: var(--white);
  padding: 28px;
  display: flex; flex-direction: column;
  border-top: 3px solid var(--gold);
}
.package--highlight { background: var(--gold); color: var(--ink); border-top-color: var(--gold-dark); }
.package h3 { font-size: 1.1rem; margin-bottom: 4px; }
.package .package__price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; margin: 10px 0; color: var(--gold); }
.package--highlight .package__price { color: var(--ink); }
.package .package__price small { font-size: 0.85rem; font-weight: 500; color: var(--grey); }
.package--highlight .package__price small { color: #4a3c14; }
.package p { font-size: 0.92rem; color: var(--grey); flex-grow: 1; }
.package--highlight p { color: #382d0f; }
.package--highlight .btn--ghost { border-color: var(--ink); color: var(--ink); }
.package--highlight .btn--ghost:hover { background: var(--ink); color: var(--gold); }
.package .btn { margin-top: 16px; align-self: flex-start; }

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  border: 1px solid #262624;
  border-top: 3px solid var(--gold);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  height: 340px;
}
.review-card.is-expanded { height: auto; }
.review-card__top { display: flex; align-items: center; gap: 12px; }
.review-card__photo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 1px solid #262624;
}
.review-card__photo--placeholder {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: var(--grey);
  border: 1px solid #262624;
}
.review-card__name { font-weight: 600; font-size: 0.95rem; }
.review-card__date { color: var(--grey); font-size: 0.8rem; }
.stars { letter-spacing: 2px; color: var(--gold); }
.star { color: #4a4a48; }
.star--on { color: var(--gold); }
.review-card blockquote {
  margin: 0; font-size: 0.95rem; color: var(--charcoal);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}
.review-card.is-expanded blockquote {
  -webkit-line-clamp: unset;
  display: block;
}
.review-card__more {
  background: none; border: none; padding: 0; margin-top: -4px;
  color: var(--gold); font-weight: 600; font-size: 0.85rem;
  cursor: pointer; text-align: left; align-self: flex-start;
  font-family: var(--font-body);
}
.review-card__more:hover { text-decoration: underline; }
.review-card__gallery-img {
  width: 100%; border-radius: var(--radius); border: 1px solid #262624; margin-top: 4px;
}
@media (max-width: 900px) { .review-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .review-grid { grid-template-columns: 1fr; } }

.empty-note { color: var(--grey); border: 1px dashed var(--gold); padding: 24px; }

/* Referral popup */
.referral-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.referral-popup[hidden] { display: none; }
.referral-popup__box {
  background: var(--white);
  border: 1px solid #262624;
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  max-width: 620px;
  width: 100%;
  display: flex;
  position: relative;
  text-align: left;
  overflow: hidden;
  animation: referral-pop-in 0.35s var(--ease);
}
@keyframes referral-pop-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.referral-popup__image {
  flex: 0 0 42%;
  background: #fff;
}
.referral-popup__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.referral-popup__content {
  flex: 1;
  padding: 32px 32px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.referral-popup__close {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,0.45);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.referral-popup__eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin: 0 0 10px;
}
.referral-popup__lead {
  color: var(--charcoal);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 22px;
}
@media (max-width: 620px) {
  .referral-popup__box { flex-direction: column; max-width: 380px; }
  .referral-popup__image { flex: none; aspect-ratio: 16/10; }
  .referral-popup__content { padding: 24px; }
  .referral-popup__lead { font-size: 1.05rem; }
}

/* Useful Information — external resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--white);
  border: 1px solid #262624;
  border-top: 3px solid var(--gold);
  padding: 28px 26px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.resource-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.resource-card__icon { width: 36px; height: 36px; margin-bottom: 16px; }
.resource-card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--charcoal);
}
.resource-card p {
  color: var(--grey);
  font-size: 0.92rem;
  margin: 0 0 18px;
  flex: 1;
}
.resource-card__link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}
.resource-note { color: var(--grey); font-size: 0.9rem; margin-top: 24px; }

@media (max-width: 860px) {
  .resource-grid { grid-template-columns: 1fr; }
}

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid #262624;
  border-left: 3px solid var(--gold);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 600;
  font-family: var(--font-head);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 0 0 18px; color: var(--grey); }
.faq-item p a { color: var(--gold); }

/* Reviews / Pass Certificates tab toggle */
.tab-toggle { display: flex; gap: 8px; margin-bottom: 28px; }
.tab-toggle__btn {
  background: none;
  border: 1px solid #262624;
  color: var(--charcoal);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.tab-toggle__btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110a;
}
.tab-panel[hidden] { display: none; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cert-card {
  margin: 0;
  border: 1px solid #262624;
  border-top: 3px solid var(--gold);
  overflow: hidden;
}
.cert-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.cert-card figcaption { padding: 10px 12px; font-size: 0.85rem; color: var(--grey); }
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .cert-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Forms
   ========================================================= */
.form-card {
  background: var(--off-white);
  border: 1px solid #2c2c2a;
  border-top: 3px solid var(--gold);
  padding: 34px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid--single { grid-template-columns: 1fr; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .hint { color: var(--grey); font-size: 0.82rem; font-weight: 400; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="password"],
.field select,
.field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid #3a3a38;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-required::after { content: ' *'; color: var(--grey); }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-pill {
  border: 1.5px solid #3a3a38;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  cursor: pointer;
  user-select: none;
}
.checkbox-pill input { display: none; }
.checkbox-pill:has(input:checked) { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.star-input { display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; }
.star-input input { display: none; }
.star-input label {
  font-size: 1.8rem; color: #4a4a48; cursor: pointer; line-height: 1;
}
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--gold); }

.file-drop {
  border: 1.5px dashed var(--gold);
  padding: 20px;
  text-align: center;
  border-radius: var(--radius);
  color: var(--grey);
  font-size: 0.88rem;
}
.file-drop input { display: block; margin: 10px auto 0; }

.alert {
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.alert--error { border-color: #e07a7a; background: #2a1414; }
.alert--success { border-color: #6fbf7f; background: #142a17; }

.field-error { color: #e07a7a; font-size: 0.82rem; }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
}

/* =========================================================
   Misc content blocks
   ========================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 20px; } }

.cta-band {
  background: var(--black);
  color: var(--white);
  text-align: left;
  padding: 56px 0;
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { color: var(--grey-light); margin-bottom: 0; }
.cta-band__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.areas-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; padding: 0; margin: 0;
}
.areas-list li {
  border: 1px solid var(--gold);
  padding: 8px 14px;
  font-size: 0.88rem;
  border-radius: 999px;
}

.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li {
  padding: 16px 0;
  border-bottom: 1px dashed var(--gold);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .label { color: var(--grey); font-size: 0.88rem; }

.map-frame { border: 2px solid var(--gold); width: 100%; height: 340px; object-fit: cover; display: block; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--black);
  color: #33332f;
  padding: 56px 0 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: start;
  gap: 64px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.site-footer__about p { color: #4a4a48; font-size: 0.92rem; }
.site-footer__badge { color: var(--grey-light); font-size: 0.82rem; }
.site-footer__heading {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; color: var(--gold); }
.site-footer__bottom { padding: 18px 0; font-size: 0.82rem; color: var(--grey); }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--ink); }

/* =========================================================
   Admin
   ========================================================= */
.admin-body { background: var(--off-white); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px; flex-shrink: 0; background: var(--black); color: var(--white);
  padding: 24px 0;
}
.admin-sidebar__brand { padding: 0 22px 22px; font-family: var(--font-head); font-weight: 700; border-bottom: 1px dashed rgba(0,0,0,.2); margin-bottom: 14px; }
.admin-sidebar a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 22px; text-decoration: none; color: #4a4a48; font-size: 0.92rem;
}
.admin-sidebar a.is-active, .admin-sidebar a:hover { background: rgba(217,160,39,.12); color: var(--gold); }
.admin-sidebar__count {
  display: inline-block; min-width: 20px; padding: 2px 7px; border-radius: 999px;
  background: var(--gold); color: #14110a; font-size: 0.72rem; font-weight: 700;
  text-align: center; line-height: 1.4;
}
.admin-main { flex-grow: 1; padding: 32px 36px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; margin-bottom: 32px; }
.admin-card { background: var(--white); border: 1px solid #262624; border-top: 3px solid var(--gold); padding: 20px; }
.admin-card strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--gold); }
.admin-card span { color: var(--grey); font-size: 0.85rem; }

.admin-table { width: 100%; border-collapse: collapse; background: var(--white); }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #262624; font-size: 0.9rem; vertical-align: top; }
.admin-table th { font-family: var(--font-head); background: var(--off-white); border-bottom: 2px solid var(--gold) !important; }
.admin-table img.thumb { width: 46px; height: 46px; object-fit: cover; border-radius: 4px; }

.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; border: 1px solid currentColor; }
.tag--pending { color: var(--gold); }
.tag--approved, .tag--booked { color: #5cc274; }
.tag--rejected, .tag--closed { color: #e07a7a; }
.tag--new { color: #6fa0e6; }
.tag--contacted { color: var(--grey); }

.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--black);
}
.admin-login__card {
  background: var(--off-white); padding: 40px; width: 100%; max-width: 380px; border-radius: var(--radius); border: 1px solid #2c2c2a;
}

.action-links { display: flex; gap: 10px; flex-wrap: wrap; }
.action-links a, .action-links button {
  font-size: 0.82rem; font-family: var(--font-body); font-weight: 600;
  border: 1px solid var(--gold); background: transparent; color: var(--gold);
  padding: 6px 12px; border-radius: var(--radius); cursor: pointer; text-decoration: none;
}
.action-links a:hover, .action-links button:hover { background: var(--gold); color: var(--ink); }
.action-links form { display: inline; }
