/* =========================================================================
   Africa Extreme Safaris & Tours
   Hand-written CSS. No framework, no build step.

   This is a like-for-like conversion of the original React/Tailwind SPA.
   Every token below is the original's own value from client/src/index.css.

   NOTE ON THE ORIGINAL'S ALPHA UTILITIES
   The old build declared its palette as raw `var(--x)` values holding
   `hsl(...)` strings, so every Tailwind opacity modifier on them
   (bg-muted/30, bg-primary/10, bg-background/90, the text-...-/80 and
   border-...-/20 variants)
   compiled to an invalid declaration and was dropped by the browser.
   The live site therefore renders those surfaces as fully transparent and
   those texts at full opacity. The reference screenshots show exactly that,
   so this stylesheet reproduces it deliberately - see the "as-live" notes.
   ========================================================================= */

:root {
  --background: hsl(30, 10%, 95%);
  --foreground: hsl(30, 10%, 10%);
  --card: hsl(30, 10%, 98%);
  --card-foreground: hsl(30, 10%, 15%);
  --primary: hsl(25, 70%, 25%);
  --primary-foreground: hsl(30, 10%, 98%);
  --secondary: hsl(80, 20%, 25%);
  --secondary-foreground: hsl(30, 10%, 98%);
  --muted: hsl(30, 10%, 90%);
  --muted-foreground: hsl(30, 5%, 40%);
  --accent: hsl(45, 80%, 50%);
  --accent-foreground: hsl(30, 10%, 15%);
  --border: hsl(30, 10%, 85%);
  --input: hsl(30, 10%, 90%);
  --ring: hsl(25, 60%, 35%);
  --radius: 0.75rem;
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);
  --font-sans: "Barlow Condensed", "Arial Narrow", "Liberation Sans Narrow", sans-serif;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ---------------------------------------------------------------- reset */
*, ::before, ::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}
* { margin: 0; padding: 0; }
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  tab-size: 4;
}
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: inherit;
}
img, svg, video, picture { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  background-color: transparent;
  background-image: none;
}
button, [type="submit"] { cursor: pointer; -webkit-appearance: button; }
::placeholder { color: var(--muted-foreground); opacity: 1; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary); color: var(--primary-foreground);
  padding: 0.75rem 1rem; border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ container */
.container { width: 100%; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

/* ------------------------------------------------------------ utilities */
.center { text-align: center; }
.mt-16 { margin-top: 1rem; }
.mt-24 { margin-top: 1.5rem; }
.mt-48 { margin-top: 3rem; }
.mb-8 { margin-bottom: 0.5rem; }
.mb-12 { margin-bottom: 0.75rem; }
.mb-16 { margin-bottom: 1rem; }
.p-24 { padding: 1.5rem; }
.p-32 { padding: 2rem; }
.section-32 { padding-block: 2rem; }
.section-64 { padding-block: 4rem; }
.section-80 { padding-block: 5rem; }
.bg-background { background-color: var(--background); }
/* as-live: `bg-muted/30` compiled to an invalid value and painted nothing,
   so these bands read as the page background. Reproduced. */
.bg-muted-30 { background-color: transparent; }

/* ----------------------------------------------------------- top navbar */
.nav-top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: #fff;
  border-bottom-width: 1px;
}
.nav-top .container { padding-inline: 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
}
.nav-logo { height: 4rem; width: auto; }
.nav-links { display: none; }
@media (min-width: 768px) {
  .nav-top .container { padding: 0.5rem 1.5rem; }
  .nav-brand { width: auto; justify-content: flex-start; }
  .nav-links { display: flex; flex: 1 1 0%; justify-content: center; }
  .nav-links > * + * { margin-left: 2rem; }
}
.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -0.25rem;
  height: 2px; width: 100%;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--foreground); }
.nav-link.is-active::after { transform: scaleX(1); }

/* -------------------------------------------------------- bottom navbar */
.nav-bottom {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  background: #fff;
  border-top-width: 1px;
  padding-bottom: env(safe-area-inset-bottom);
}
.mnav-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem; padding: 0.5rem;
}
.mnav-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  transition: color 0.15s, background-color 0.15s;
}
.mnav-link svg { margin-bottom: 0.25rem; }
.mnav-link span { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.mnav-link:hover { color: var(--primary); }
/* as-live: the active pill used `bg-primary/10`, which painted nothing. */
.mnav-link.is-active { color: var(--primary); background-color: transparent; }
@media (min-width: 768px) { .nav-bottom { display: none; } }

/* --------------------------------------------------------- main padding */
.main-home { padding-bottom: 5rem; }
.main-inner { padding-top: 7rem; padding-bottom: 10rem; }
.main-packages { padding-top: 5rem; padding-bottom: 10rem; }
@media (min-width: 768px) {
  .main-home { padding-bottom: 0; }
  .main-inner { padding-bottom: 5rem; }
  .main-packages { padding-bottom: 5rem; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
                    url("/assets/hero-1920.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
                    image-set(url("/assets/hero-1920.webp") type("image/webp"),
                              url("/assets/hero-1920.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-inner { text-align: center; color: #fff; }
.hero-title {
  font-size: 2.25rem; line-height: 1.25;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.25rem; line-height: 1.75rem;
  font-weight: 300;
  margin-bottom: 2rem;
}
.hero-lede {
  font-size: 1.125rem; line-height: 1.625;
  margin: 0 auto 3rem;
  max-width: 48rem;
}
.hero-cta { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
  .hero-sub { font-size: 1.5rem; line-height: 2rem; }
  .hero-lede { font-size: 1.25rem; }
}

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius-md);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  height: 2.5rem; padding: 0.5rem 1rem;
  transition: background-color 0.15s, color 0.15s;
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn-lg { height: 2.75rem; padding-inline: 2rem; }
.btn-hero { font-size: 1.125rem; line-height: 1.75rem; padding: 1rem 2rem; }
.btn-block { width: 100%; }
.btn-primary { background-color: var(--primary); color: var(--primary-foreground); }
.btn-ghost-white { border: 2px solid #fff; color: #fff; background-color: transparent; }
.btn-outline {
  border-width: 1px; border-color: var(--input);
  background-color: var(--background);
}
.btn-outline:hover { background-color: var(--accent); color: var(--accent-foreground); }
.btn-green { background-color: var(--green-600); color: #fff; }
.btn-green:hover { background-color: var(--green-700); }
.btn-lift { transition: all 0.3s; }
.btn-lift:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-lg); }

/* ---------------------------------------------------------------- stats */
.stats { padding-block: 2rem; background-color: var(--primary); color: var(--primary-foreground); }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem; text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-num { font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 0.5rem; }
/* as-live: `text-primary-foreground/80` was dropped, so labels inherit full white. */
.stat-label { color: inherit; }

/* ------------------------------------------------------- section titles */
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head-sm { text-align: center; margin-bottom: 2rem; }
.h2 { font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 1rem; }
.h3 { font-size: 1.5rem; line-height: 2rem; margin-bottom: 0.5rem; }
.h4-sub {
  font-size: 1.25rem; line-height: 1.75rem; font-weight: 600;
  margin-bottom: 1.5rem; color: var(--primary);
}
@media (min-width: 768px) {
  .h2 { font-size: 2.25rem; line-height: 2.5rem; }
  .h3 { font-size: 1.875rem; line-height: 2.25rem; }
  .h4-sub { font-size: 1.5rem; line-height: 2rem; }
}
.section-sub { font-size: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground); }
.section-sub-it { font-size: 1.125rem; line-height: 1.75rem; color: var(--muted-foreground); font-style: italic; }
.cat-head { margin-bottom: 3rem; }
.cat-sub { color: var(--muted-foreground); }
.sub-block { margin-bottom: 4rem; }

/* ------------------------------------------------------------- packages */
.pkg-header { padding-top: 2rem; padding-bottom: 1rem; background-color: var(--background); }
.pkg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 768px)  { .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pkg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pkg-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; height: 100%;
  transition: box-shadow 0.15s;
}
.pkg-card:hover { box-shadow: var(--shadow-xl); }
.pkg-media { position: relative; }
.pkg-slide { display: none; }
.pkg-slide.is-on { display: block; }
.pkg-img { width: 100%; height: 16rem; object-fit: cover; }
/* as-live: `bg-background/90` painted nothing on all four of these controls. */
.pkg-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  height: 2.5rem; width: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  color: var(--secondary-foreground);
  background-color: transparent;
  opacity: 0;
  transition: opacity 0.15s;
}
.pkg-arrow-prev { left: 0.5rem; }
.pkg-arrow-next { right: 0.5rem; }
.pkg-media:hover .pkg-arrow, .pkg-arrow:focus-visible { opacity: 1; }
.pkg-count {
  position: absolute; top: 0.5rem; left: 50%; transform: translateX(-50%);
  padding: 0.25rem 0.5rem; border-radius: 9999px;
  font-size: 0.75rem; line-height: 1rem;
  background-color: transparent;
}
.pkg-gallery-btn {
  position: absolute; bottom: 0.5rem; right: 0.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.25rem; padding-inline: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  color: var(--secondary-foreground);
  background-color: transparent;
}
.pkg-gallery-btn svg { width: 1rem; height: 1rem; margin-right: -0.25rem; }

.pkg-body { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.pkg-head { margin-bottom: 1rem; }
.pkg-cat {
  font-size: 0.75rem; line-height: 1rem; font-weight: 600;
  color: var(--primary); text-transform: uppercase; letter-spacing: 0.025em;
  margin-bottom: 0.5rem;
}
.pkg-title { font-size: 1.5rem; line-height: 2rem; font-weight: 600; margin-bottom: 0.5rem; }
.pkg-loc {
  display: flex; align-items: center; gap: 0.25rem;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  color: var(--primary); margin-bottom: 0.75rem;
}
.pkg-loc svg { flex-shrink: 0; }
.pkg-desc { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.pkg-features { margin-bottom: 1.5rem; flex-grow: 1; }
.pkg-features h4 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.pkg-features ul { color: var(--muted-foreground); }
.pkg-features li::before { content: "\2022 "; }
.pkg-features li + li { margin-top: 0.5rem; }
.pkg-body .btn { margin-top: auto; }

.combined-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 56rem;
  margin-inline: auto;
}
.combined-card > p {
  font-size: 1.125rem; line-height: 1.625;
  color: var(--muted-foreground);
  text-align: center;
}

/* ----------------------------------------------------------- lightboxes */
.lb-overlay {
  position: fixed; inset: 0; z-index: 60;
  background-color: rgb(0 0 0 / 0.8);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.lb-overlay[hidden] { display: none; }
.lb-dialog {
  position: relative;
  width: 100%; max-width: 56rem; max-height: 90vh;
  overflow-y: auto;
  display: grid; gap: 1rem;
  background-color: var(--background);
  border-width: 1px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}
.lb-title { font-size: 1.125rem; line-height: 1; font-weight: 600; letter-spacing: -0.025em; }
.lb-close {
  position: absolute; right: 1rem; top: 1rem;
  border-radius: var(--radius-sm); opacity: 0.7;
  padding: 0.25rem;
}
.lb-close:hover { opacity: 1; }
.lb-body { margin-top: 1rem; display: grid; gap: 1rem; }
.lb-stage { position: relative; }
.lb-slide { display: none; }
.lb-slide.is-on { display: block; }
.lb-img { width: 100%; height: auto; border-radius: var(--radius); }
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  height: 2.5rem; width: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  color: var(--secondary-foreground);
  background-color: transparent;
  opacity: 0; transition: opacity 0.15s;
}
.lb-arrow-prev { left: 0.5rem; }
.lb-arrow-next { right: 0.5rem; }
.lb-stage:hover .lb-arrow, .lb-arrow:focus-visible { opacity: 1; }
.lb-count {
  position: absolute; bottom: 0.5rem; left: 50%; transform: translateX(-50%);
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  font-size: 0.875rem; line-height: 1.25rem;
  background-color: transparent;
}
.lb-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 768px) { .lb-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.lb-thumb {
  position: relative; aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm); overflow: hidden;
  border-width: 2px; border-color: transparent;
  transition: all 0.15s;
}
.lb-thumb picture, .lb-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb.is-on { border-color: var(--primary); transform: scale(0.95); }

/* ----------------------------------------------------------- our story */
.story { max-width: 56rem; margin-inline: auto; text-align: center; }
.story-h { margin-bottom: 2rem; }
.story-body { font-size: 1.125rem; line-height: 1.625; color: var(--muted-foreground); }
.story-body > p + p { margin-top: 1.5rem; }

/* ----------------------------------------------------------------- team */
.team-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem;
  max-width: 64rem; margin-inline: auto;
}
@media (min-width: 768px)  { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.team-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem; text-align: center;
  box-shadow: var(--shadow-lg);
}
.team-card picture { width: 6rem; margin: 0 auto 1rem; }
.team-photo { width: 6rem; height: 6rem; border-radius: 9999px; object-fit: cover; }
.team-name { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 0.5rem; }
.team-role { color: var(--primary); font-weight: 500; margin-bottom: 0.5rem; }
.team-desc { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.25rem; }

/* -------------------------------------------------------------- gallery */
.gal-wrap { max-width: 56rem; margin-inline: auto; position: relative; }
.gal-stage { position: relative; border-radius: var(--radius); overflow: hidden; }
.gal-slide { display: none; }
.gal-slide.is-on { display: block; }
.gal-img { width: 100%; height: 500px; object-fit: cover; }
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  padding: 0.75rem; border-radius: 9999px;
  background-color: rgb(0 0 0 / 0.5); color: #fff;
  display: inline-flex; transition: background-color 0.15s;
}
.gal-arrow:hover { background-color: rgb(0 0 0 / 0.7); }
.gal-prev { left: 1rem; }
.gal-next { right: 1rem; }
.gal-caption { text-align: center; margin-top: 1.5rem; }
.gal-title { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.gal-counter { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); margin-top: 0.5rem; }

/* -------------------------------------------------------------- contact */
.contact-tri {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem;
  max-width: 64rem; margin-inline: auto;
}
@media (min-width: 1024px) { .contact-tri { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1024px) { .contact-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-col { display: flex; flex-direction: column; gap: 2rem; }

.card { background-color: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
/* as-live: the "Get in Touch" card used `bg-primary/10`, which painted nothing. */
.card-tint { background-color: transparent; }
.card-cta { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.card-h { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1rem; }
.cta-copy { color: var(--muted-foreground); margin-bottom: 1.5rem; font-size: 0.875rem; line-height: 1.25rem; }

.cinfo { color: var(--muted-foreground); }
.cinfo > * + * { margin-top: 0.75rem; }
.cinfo-sm { font-size: 0.875rem; line-height: 1.25rem; }
.ci-row { display: flex; align-items: center; gap: 0.5rem; }
.ci-gap3 { gap: 0.75rem; }
.ci-top { align-items: flex-start; }
.ci-top svg { margin-top: 0.25rem; flex-shrink: 0; }
.ci-row svg { flex-shrink: 0; }
.ci-icon-primary { color: var(--primary); }
.ci-icon-secondary { color: var(--secondary); }
.ci-stack { display: flex; flex-direction: column; gap: 0.25rem; }
.ci-row a:hover { color: var(--primary); }
.ci-row a.link-secondary:hover { color: var(--secondary); }
.sunset-logo { height: 4rem; width: auto; filter: contrast(1.1) brightness(1.05); }

/* ----------------------------------------------------------------- form */
.form-h { font-size: 1.5rem; line-height: 2rem; margin-bottom: 1.5rem; }
.cform { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 768px) { .form-row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field-label { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; }
.field {
  display: flex; width: 100%; height: 2.5rem;
  border-radius: var(--radius-md);
  border-width: 1px; border-color: var(--input);
  background-color: var(--background);
  padding: 0.5rem 0.75rem;
  font-size: 1rem; line-height: 1.5rem;
}
@media (min-width: 768px) { .field { font-size: 0.875rem; line-height: 1.25rem; } }
.field-textarea { min-height: 5rem; height: auto; resize: vertical; }
.field-select {
  font-size: 0.875rem; line-height: 1.25rem;
  appearance: none; -webkit-appearance: none;
  align-items: center;
  padding-right: 2.25rem;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231c1a17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.field-select.is-placeholder { color: var(--muted-foreground); }
.form-error { color: hsl(0, 65%, 42%); font-size: 0.875rem; line-height: 1.25rem; }
.form-error[hidden] { display: none; }
.field.is-invalid { border-color: hsl(0, 65%, 42%); }
.form-foot { margin-top: 1.5rem; padding-top: 1.5rem; border-top-width: 1px; text-align: center; }
.form-foot-copy { color: var(--muted-foreground); margin-bottom: 1rem; }

/* --------------------------------------------------------- whatsapp fab */
.wa-float {
  position: fixed; bottom: 6rem; right: 1.5rem; z-index: 50;
  width: 3.5rem; height: 3.5rem;
  background-color: var(--green-500); color: #fff;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
}
.wa-float:hover { background-color: var(--green-600); box-shadow: var(--shadow-xl); transform: scale(1.1); }
@media (min-width: 768px) { .wa-float { bottom: 2.5rem; right: 2.5rem; } }

/* -------------------------------------------------------------- footer */
.site-footer { background-color: var(--primary); color: var(--primary-foreground); padding-block: 3rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-logo-wrap { display: flex; align-items: center; margin-bottom: 1rem; }
.footer-logo { height: 5rem; width: auto; filter: brightness(0) invert(1); }
@media (min-width: 768px) { .footer-logo { height: 7rem; } }
/* as-live: `text-primary-foreground/80` and `/60` were dropped - full opacity. */
.footer-tagline { margin-bottom: 1rem; }
.footer-social { display: flex; }
.footer-social > * + * { margin-left: 1rem; }
.icon-btn {
  height: 2.5rem; width: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  transition: background-color 0.15s;
}
.footer-head { font-size: 1.125rem; line-height: 1.75rem; margin-bottom: 1rem; }
.footer-links > * + * { margin-top: 0.5rem; }
.footer-contact > * + * { margin-top: 0.5rem; }
.fc-row { display: flex; align-items: center; gap: 0.5rem; }
.fc-row svg { flex-shrink: 0; }
.fc-top { align-items: flex-start; }
.fc-top svg { margin-top: 0.125rem; }
.footer-bottom {
  border-top-width: 1px;
  margin-top: 2rem; padding-top: 2rem;
  text-align: center;
}

/* ------------------------------------------------------------------ 404 */
.nf-inner { max-width: 40rem; margin-inline: auto; text-align: center; }
.nf-code {
  font-size: 5rem; line-height: 1; font-weight: 700;
  color: var(--primary); letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.nf-copy { font-size: 1.125rem; line-height: 1.625; color: var(--muted-foreground); margin-top: 1rem; }
.nf-cta { display: flex; flex-direction: column; gap: 1rem; justify-content: center; margin-top: 2rem; }
@media (min-width: 640px) { .nf-cta { flex-direction: row; } }
.nf-help { margin-top: 2rem; color: var(--muted-foreground); }
.nf-link { color: var(--primary); font-weight: 500; }
.nf-link:hover { text-decoration: underline; }

/* -------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn-lift:hover, .wa-float:hover { transform: none; }
}
