/* ============================================================
   GECKO AFRICA SAFARIS
   Mirrors ProGolf design language — Gecko branding/content.
   Palette: #1e2324 (charcoal), #c9963c (gold/amber),
            #f5f4f1 (warm light grey), #2a2a2a (dark text)
   Section rhythm: utility bar (dark) → header (dark, sticky) →
     hero (dark) → intro (white) → offers (warm grey) →
     destinations (dark) → about (warm grey) → enquiry (white) →
     footer (very dark)
   Breakpoints: 900px | 768px | 600px | 400px
   ============================================================ */

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.7rem 1.4rem;
  background: #c9963c;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  outline: none;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: #c99b3b rgba(8, 12, 10, 0.85);
}

/* ============================================================
   CUSTOM SCROLLBAR (Chrome, Edge, Safari)
   ============================================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(8, 12, 10, 0.85);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(201, 155, 59, 0.95),
    rgba(143, 107, 33, 0.95)
  );
  border-radius: 999px;
  border: 2px solid rgba(8, 12, 10, 0.85);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(221, 176, 78, 1),
    rgba(171, 128, 38, 1)
  );
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #2a2a2a;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: #c9963c;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid #c9963c;
  outline-offset: 3px;
  border-radius: 2px;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
}

/* ---------- Layout ---------- */
.container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}

.container--narrow {
  max-width: 720px;
}

/* Offset for the sticky header (66px) so anchor nav doesn't land
   with the section heading hidden behind it. Applied to all in-page
   sections; the hero (#top) scrolls to the document top naturally. */
main section {
  scroll-margin-top: 76px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background: #c9963c;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.16s ease, box-shadow 0.18s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: #1e2324;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #e2e2e2;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
  color: #1e2324;
  text-decoration: none;
}

.btn-secondary:active {
  background: rgba(255, 255, 255, 0.05);
}

.btn-nav {
  display: inline-block;
  justify-self: end;
  background: #c9963c;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
  transition: background 0.22s ease, transform 0.16s ease;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-nav:hover {
  background: #fff;
  color: #1e2324;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-nav:active {
  transform: translateY(0);
}

/* ---------- Section typography ---------- */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  color: #1e2324;
  text-align: center;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  color: #777;
  font-size: 0.97rem;
  margin-bottom: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.72;
}

/* ============================================================
   UTILITY BAR  (scrolls away — only the header is sticky)
   ============================================================ */
.utility-bar {
  background: #161c1d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 1rem;
}

.utility-tagline {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.utility-contact {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.18s ease;
}

.utility-contact:hover {
  color: #c9963c;
  text-decoration: none;
}

/* ============================================================
   HEADER  (sticky — utility bar scrolls away above it)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1e2324;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s ease, border-bottom-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: 76px;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
}

.header-logo img {
  height: 64px;
  width: auto;
  display: block;
}

.header-logo:hover {
  opacity: 0.82;
  text-decoration: none;
}

.header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: #c9963c;
  text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  min-height: calc(100dvh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('public/hero-mobile.webp') center / cover no-repeat;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(6, 10, 12, 0.82) 0%,
    rgba(6, 10, 12, 0.34) 38%,
    rgba(6, 10, 12, 0.40) 68%,
    rgba(6, 10, 12, 0.80) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
  max-width: 740px;
  width: 100%;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9963c;
  margin-bottom: 0;
}

.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(201, 150, 60, 0.5);
  margin: 0.85rem auto 1.4rem;
}

.hero-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.14;
  margin-bottom: 1.15rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}

.hero-subtext {
  font-size: clamp(0.93rem, 1.8vw, 1.05rem);
  color: rgba(228, 212, 188, 0.78);
  margin-bottom: 2.2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ============================================================
   INTRO  (white)
   ============================================================ */
.intro-section {
  padding: 5.5rem 0;
  background: #fff;
  border-top: 1px solid #e8e5e0;
  text-align: center;
}

.intro-body {
  font-size: 1.02rem;
  color: #555;
  line-height: 1.88;
  max-width: 640px;
  margin: 1.4rem auto 0;
}

/* ============================================================
   WHAT WE OFFER  (warm grey)
   ============================================================ */
.offers {
  padding: 5rem 0;
  background: #f5f4f1;
  border-top: 1px solid #e8e5e0;
}

/* shared grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
}

/* ---- Card shell ---- */
.card {
  background: #fff;
  border: 1px solid #e2dfd9;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.055);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
  transform: translateY(-3px);
}

/* ---- Card thumbnail ---- */
.card-thumb {
  height: 168px;
  flex-shrink: 0;
  overflow: hidden;
  background: #1e2324; /* shown while image loads */
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .card-thumb img {
  transform: scale(1.04);
}

/* ---- Card body ---- */
.card-body {
  padding: 1.5rem 1.5rem 1.85rem;
  border-top: 3px solid #c9963c;
  flex: 1;
}

.card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.06rem;
  font-weight: 600;
  color: #1e2324;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.card p {
  font-size: 0.9rem;
  color: #5c5c5c;
  line-height: 1.74;
}

/* ============================================================
   DESTINATIONS  (dark — mirrors ProGolf dark destinations band)
   ============================================================ */
.destinations-section {
  padding: 5rem 0;
  background: #1e2324;
}

.destinations-section .section-title {
  color: #fff;
}

.destinations-section .section-subtitle {
  color: rgba(228, 212, 188, 0.68);
}

/* Cards sit white against dark — gold border pops */
.destinations-section .card {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.destinations-section .card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   ABOUT  (warm grey — mirrors ProGolf's light adventure section)
   ============================================================ */
.about-section {
  padding: 5.5rem 0;
  background: #f5f4f1;
  border-top: 1px solid #e8e5e0;
  text-align: center;
}

.about-body {
  font-size: 1.02rem;
  color: #555;
  line-height: 1.88;
  max-width: 600px;
  margin: 1.4rem auto 0;
}

.about-cta {
  margin-top: 2.2rem;
}

/* ============================================================
   ENQUIRY FORM  (white)
   ============================================================ */
.enquiry-section {
  padding: 5rem 0 6rem;
  background: #fff;
  border-top: 1px solid #e8e5e0;
}

.form-card {
  background: #fff;
  border: 1px solid #e2dfd9;
  border-radius: 4px;
  padding: 2.5rem 2.5rem 2.25rem;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.form-group label {
  font-size: 0.79rem;
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: 0.01em;
}

.required {
  color: #c0392b;
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  background: #fff;
  border: 1px solid #d0cdc8;
  border-radius: 3px;
  color: #2a2a2a;
  font-family: 'Inter', sans-serif;
  font-size: 1rem; /* min 1rem prevents iOS viewport zoom */
  padding: 0.68rem 0.95rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0ada8;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c9963c;
  box-shadow: 0 0 0 3px rgba(201, 150, 60, 0.22);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #c0392b;
}

.form-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 0.35rem;
}

.form-note {
  font-size: 0.84rem;
  color: #999;
}

.form-note a {
  color: #c9963c;
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.4rem;
}

.form-message.success { color: #2e7d32; }
.form-message.error   { color: #c0392b; }

/* Spam honeypot — taken out of visual flow completely.
   Real users never see this; bots that process the DOM may fill it.
   aria-hidden="true" keeps it out of the accessibility tree. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Submit button disabled / loading state.
   !important overrides the hover transform/shadow rules so a
   disabled button never lifts or glows. */
.btn-primary:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* POPIA / privacy consent note — sits below the direct-email note */
.form-privacy-note {
  font-size: 0.76rem;
  color: #b0ada8;
  line-height: 1.58;
  max-width: 480px;
}

/* ============================================================
   FOOTER  (dark, 4-column — mirrors ProGolf footer)
   ============================================================ */
.site-footer {
  /* wrapper — no padding/background here, children handle it */
}

.footer-main {
  background: #141a1b;
  padding: 4.5rem 0 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem 3rem;
}

/* ---- Brand column ---- */
.footer-col--brand {}

.footer-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
}

.footer-brand-text {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.72;
  margin-bottom: 1.3rem;
  max-width: 280px;
}

.footer-brand-email {
  font-size: 0.85rem;
  color: #c9963c;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.footer-brand-email:hover {
  opacity: 0.82;
  text-decoration: none;
}

/* ---- Nav columns ---- */
.footer-col-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9963c;
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: #c9963c;
  text-decoration: none;
}

/* ---- Contact column ---- */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.footer-contact-list li {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.55rem;
  line-height: 1.5;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-contact-list a:hover {
  color: #c9963c;
}

.footer-enquire-btn {
  display: inline-block;
  background: #c9963c;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.22s ease;
}

.footer-enquire-btn:hover {
  background: #d4a843;
  color: #fff;
  text-decoration: none;
}

/* ---- Copyright bar ---- */
.footer-bottom {
  background: #0e1314;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.1rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom-inner span {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.01em;
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }

  .footer-brand-text {
    max-width: 480px;
  }
}

/* ============================================================
   RESPONSIVE — 768px (tablet)
   ============================================================ */
@media (max-width: 768px) {
  .utility-tagline {
    display: none;
  }

  .utility-inner {
    justify-content: flex-end;
  }


  .nav-links {
    display: none;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .intro-section {
    padding: 4rem 0;
  }

  .offers {
    padding: 3.5rem 0;
  }

  .destinations-section {
    padding: 3.5rem 0;
  }

  .about-section {
    padding: 4rem 0;
  }

  .enquiry-section {
    padding: 3.5rem 0 5rem;
  }

  .footer-main {
    padding: 3.5rem 0 2.5rem;
  }
}

/* ============================================================
   RESPONSIVE — 600px (phone)
   ============================================================ */
@media (max-width: 600px) {

  .hero-content {
    padding: 3rem 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .form-footer .btn-primary,
  .about-cta {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col--brand {
    grid-column: auto;
  }
}

/* ============================================================
   RESPONSIVE — 400px (very small)
   ============================================================ */
@media (max-width: 400px) {
  .header-logo img {
    height: 52px;
  }

  .hero-content {
    padding: 2.5rem 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    text-align: center;
  }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6, 10, 12, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  border-top: 3px solid #c9963c;
  max-width: 460px;
  width: 100%;
  padding: 2.5rem 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.24s ease;
}

.modal-backdrop.is-open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #1e2324;
  line-height: 1.3;
  margin-bottom: 0;
}

.modal-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: #c9963c;
  margin: 0.9rem auto 1.4rem;
}

.modal-body p {
  font-size: 0.95rem;
  color: #2a2a2a;
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-body a {
  color: #c9963c;
  text-decoration: underline;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.85rem;
}

.form-activation-note {
  font-size: 0.78rem;
  color: rgba(42, 42, 42, 0.5);
  margin-top: 0.6rem;
  text-align: center;
}

@media (max-width: 480px) {
  .modal-card {
    padding: 2rem 1.5rem 1.75rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn-primary,
  .modal-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Desktop: use full-res hero image as video fallback */
@media (min-width: 769px) {
  .hero {
    background-image: url('public/hero.webp');
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Hide autoplay video — hero falls back to the CSS poster image */
  .hero-video {
    display: none;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .modal-card,
  .modal-backdrop {
    transition: none;
  }
}
