/* ============================================================================
   DESIGN TOKENS
   ============================================================================ */
:root {
  --color-bg: #1f2121;
  --color-bg-raised: #2a2d2d;
  --color-text: #d9dedb;
  --color-text-muted: #9aa39e;
  --color-accent: #088228;
  --color-accent-soft: rgba(8, 130, 40, 0.15);
  --color-border: #3a3d3d;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --nav-height: 60px;
  --max-width: 1100px;
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: var(--color-accent); }

.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: 0; top: -100px;
  background: var(--color-accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

/* Anchors should not hide under the sticky nav */
main [id], .site-footer[id] {
  scroll-margin-top: calc(var(--nav-height) + 10px);
}

.section-title {
  color: var(--color-accent);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--color-accent);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn--primary {
  background: var(--color-accent);
  color: #ffffff;
}
.btn--primary:hover { background: #0a9a30; }
.btn:active { transform: scale(0.98); }

/* ============================================================================
   STICKY NAV
   ============================================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(31, 33, 33, 0.95);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.site-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.site-nav__brand {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}

.site-nav__toggle {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.site-nav__toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

.site-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav__links::-webkit-scrollbar { display: none; }

.site-nav__links a {
  display: block;
  white-space: nowrap;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.site-nav__links a:hover {
  border-color: var(--color-accent);
}
.site-nav__links a.is-active {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

/* Mobile: collapsible nav */
@media (max-width: 640px) {
  .site-nav__toggle { display: flex; }
  .site-nav__links {
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--color-bg);
    flex-direction: column;
    border-bottom: 1px solid var(--color-border);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    display: none;
  }
  .site-nav__links.is-open { display: flex; }
  .site-nav__links a { padding: 14px 20px; border-radius: 0; }
}
@media (min-width: 641px) {
  .site-nav__toggle { display: none; }
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  padding-top: 16px;
}

/*
 * Hero photos are portrait shots (phone photos, ~9:16 and taller), not
 * landscape. Rather than crop them to fill a wide banner, the carousel
 * itself is a narrower portrait "frame" — centered horizontally with
 * generous margin on either side — sized to roughly match. Photos use
 * object-fit: contain (not cover) so the whole photo is always visible,
 * letterboxed rather than cropped, and centered within the frame.
 *
 * Height is capped relative to the viewport (not just width/aspect-ratio)
 * so the name heading, CTA button, and email/phone below it are never
 * pushed below the fold on load — on a short viewport the frame gets a
 * bit less tall (still centered, still uncropped, just more letterboxed)
 * rather than shoving the rest of the hero off-screen. The ~290px
 * subtracted is the sticky nav plus the heading/subtitle/actions block
 * beneath the carousel (measured worst case: on a narrow 320px-wide
 * screen the email/CTA/phone row wraps to 3 stacked lines), plus a
 * small safety margin.
 */
.hero__carousel {
  position: relative;
  width: min(80%, 380px);
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - var(--nav-height) - 290px);
  min-height: 160px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--color-bg-raised);
  border-radius: var(--radius);
  touch-action: pan-y;
}

.hero__track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
  will-change: transform;
}

.hero__slide {
  flex: 0 0 100%;
  height: 100%;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero__slide-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(31, 33, 33, 0.6);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__arrow:hover { border-color: var(--color-accent); color: var(--color-accent); }
.hero__arrow--prev { left: 10px; }
.hero__arrow--next { right: 10px; }

.hero__dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero__dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(217, 222, 219, 0.4);
  padding: 0;
  cursor: pointer;
}
.hero__dots button.is-active { background: var(--color-accent); }

.hero__content {
  text-align: center;
  padding: 16px 20px 20px;
}

.hero__title {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 4vw, 1.25rem);
  margin: 0 0 16px;
}

/*
 * Mobile-first: stacked column (email above the button, phone below).
 * On wider screens (tablet/desktop) they move to either side of the
 * button in a row instead — see the min-width override below.
 */
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}

.hero__contact-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
}
.hero__contact-link:hover { color: var(--color-accent); }

/* ============================================================================
   QUICK LINKS (category menu under hero)
   ============================================================================ */
.quick-links {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px;
  text-align: center;
}

.quick-links__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.quick-links__list a {
  display: block;
  padding: 16px 12px;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.quick-links__list a:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

/* ============================================================================
   CATEGORY SECTIONS
   ============================================================================ */
.category {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px;
  border-top: 1px solid var(--color-border);
}

.category__heading {
  color: var(--color-accent);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-accent);
  display: inline-block;
}

.category__intro {
  margin: 16px 0 32px;
  color: var(--color-text-muted);
  max-width: 60ch;
  font-size: 1.05rem;
}

.category__group-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin: 0 0 14px;
}

.category__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.media-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.media-card:hover { border-color: var(--color-accent); }

/*
 * Real photos/videos supplied so far are portrait phone shots (some
 * near-square), not landscape. object-fit: contain keeps the whole frame
 * visible and centered — never stretched or cropped — inside a taller
 * card shape that suits that content better than a wide 4:3 box would.
 */
.media-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #000;
}

.media-card__media img,
.media-card__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.media-card__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-card__play::before {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}
.media-card__play-circle {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.9;
}
.media-card__play:hover .media-card__play-circle { opacity: 1; }

.media-card__text {
  padding: 14px 16px 18px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px 80px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.site-footer__contact {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}
.site-footer__contact a {
  color: var(--color-text);
  text-decoration: none;
}
.site-footer__contact a:hover { color: var(--color-accent); }

.site-footer__status {
  color: var(--color-accent);
  font-weight: 700;
  margin: 20px 0 8px;
}

.site-footer__copy {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================================
   BACK TO TOP
   ============================================================================ */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================================
   RESPONSIVE — larger screens
   ============================================================================ */
@media (min-width: 700px) {
  .category__heading { font-size: 2.1rem; }
}

@media (min-width: 900px) {
  .hero__content { padding-top: 36px; }
}
