/* ============================================================
   Am Vet Transit Services — 2026 refresh
   Brand: near-black surfaces, logo red #97342e, gold #e0b252
   ============================================================ */

:root {
  --bg: #0d0d0f;
  --bg-soft: #131316;
  --surface: #1a1a1e;
  --surface-2: #212126;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f2ef;
  --text-dim: #b8b4ae;
  --red: #97342e;
  --red-bright: #c0453d;
  --red-deep: #6e2521;
  --gold: #e0b252;
  --gold-soft: rgba(224, 178, 82, 0.14);
  --radius: 18px;
  --font-display: "Archivo", sans-serif;
  --font-body: "Inter", sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #111; padding: 0.6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.02em; padding: 0.8rem 1.6rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: #fff;
  box-shadow: 0 8px 24px rgba(151, 52, 46, 0.4);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(192, 69, 61, 0.5); }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.25); color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold { background: var(--gold); color: #1a1205; }
.btn-gold:hover { box-shadow: 0 10px 28px rgba(224, 178, 82, 0.35); }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--red-deep);
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.9);
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 0.45rem 0; flex-wrap: wrap;
}
.topbar-links { display: flex; gap: 1.25rem; }
.topbar a { font-weight: 600; color: #fff; }
.topbar a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 13, 15, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  letter-spacing: 0.01em;
}
.brand-text em {
  font-style: normal; font-size: 0.7rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold);
}
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav > a:not(.btn) {
  font-weight: 500; font-size: 0.95rem; color: var(--text-dim);
  position: relative; padding: 0.35rem 0;
}
.site-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.25s ease; border-radius: 2px;
}
.site-nav > a:not(.btn):hover, .site-nav > a.active { color: #fff; }
.site-nav > a:not(.btn):hover::after, .site-nav > a.active::after { width: 100%; }
.nav-cta { margin-left: 0.4rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; padding: 0.5rem; cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 2.5px; background: #fff; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(92vh - var(--header-h));
  display: flex; align-items: center;
  padding: 5rem 0 6rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 18%, rgba(151, 52, 46, 0.35), transparent 65%),
    radial-gradient(ellipse 45% 40% at 12% 85%, rgba(224, 178, 82, 0.10), transparent 60%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("/assets/img/logo.png");
  background-repeat: no-repeat;
  background-position: right -12% center;
  background-size: min(62vw, 780px);
  opacity: 0.06;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow { margin-bottom: 1.2rem; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900; text-transform: uppercase;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim); max-width: 34rem;
}
.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  margin-top: 3.5rem; display: flex; gap: 2.75rem; flex-wrap: wrap;
}
.hero-stats div { border-left: 2px solid var(--red); padding-left: 1rem; }
.hero-stats strong {
  display: block; font-family: var(--font-display); font-size: 1.7rem;
  font-weight: 800; color: var(--gold);
}
.hero-stats span { font-size: 0.85rem; color: var(--text-dim); }

/* ---------- Shared section bits ---------- */
section { padding: 5.5rem 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: var(--red-bright); border-radius: 2px;
}
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; color: var(--text-dim); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Pillars ---------- */
.pillars { background: var(--bg-soft); border-block: 1px solid var(--line); }
.pillars-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem;
}
.pillar {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.7rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pillar:hover {
  transform: translateY(-6px); border-color: rgba(224, 178, 82, 0.4);
  box-shadow: var(--shadow);
}
.pillar img {
  width: 58px; height: 58px; margin-bottom: 1.2rem;
  filter: drop-shadow(0 4px 10px rgba(192, 69, 61, 0.35));
}
.pillar h3 { font-size: 1.08rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pillar p { margin-top: 0.7rem; font-size: 0.94rem; color: var(--text-dim); }

/* ---------- Services / packages grid ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
}
.service-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; border: 1px solid var(--line);
  display: flex; align-items: flex-end;
  background: var(--surface);
}
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.service-card:hover img { transform: scale(1.06); }
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.92) 8%, rgba(10, 10, 12, 0.25) 55%, rgba(10, 10, 12, 0.05));
  transition: background 0.3s ease;
}
.service-card-body {
  position: relative; z-index: 2; padding: 1.5rem; width: 100%;
}
.service-card h3 {
  font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em;
}
.service-card p {
  font-size: 0.9rem; color: var(--text-dim); margin-top: 0.5rem;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}
.service-card:hover p, .service-card:focus-within p { max-height: 8em; opacity: 1; }
.service-card .card-tag {
  display: inline-block; margin-bottom: 0.6rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.service-card .stretched { position: absolute; inset: 0; z-index: 3; }

/* ---------- Split sections (about teaser / heroes) ---------- */
.split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center;
}
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius); box-shadow: var(--shadow); width: 100%;
  object-fit: cover; aspect-ratio: 4 / 3;
}
.split-media::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 2px solid rgba(224, 178, 82, 0.35); border-radius: var(--radius); z-index: -1;
}
.split-body .eyebrow { margin-bottom: 0.9rem; }
.split-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.split-body p { margin-top: 1.1rem; color: var(--text-dim); }
.split-body .btn { margin-top: 1.8rem; }
.areas { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.areas span {
  font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.85rem;
  background: var(--gold-soft); color: var(--gold);
  border: 1px solid rgba(224, 178, 82, 0.25); border-radius: 999px;
}

/* ---------- Heroes band ---------- */
.heroes { position: relative; overflow: hidden; background: var(--bg-soft); border-block: 1px solid var(--line); }
.heroes .split-media img { aspect-ratio: 3 / 4; max-height: 480px; }

/* ---------- Live reviews widget (panel.amvetusa.com iframe) ---------- */
.live-reviews {
  background:
    radial-gradient(ellipse 50% 70% at 50% 0%, rgba(151, 52, 46, 0.14), transparent 65%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}
.live-reviews .section-head { margin-bottom: 2rem; }
.embeds-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  align-items: start; justify-items: center;
}
.embeds-grid > div { width: 100%; min-width: 0; }
.reviews-embed { display: flex; justify-content: center; }
#amvet-reviews { width: 100%; }
.embeds-grid iframe { border-radius: var(--radius); height: 360px !important; }

/* Fixed-size native review card (replaces the auto-resizing iframe) */
.live-card {
  width: 100%; max-width: 600px; height: 360px; margin-inline: auto;
  background: linear-gradient(135deg, #17171a 0%, #212126 100%);
  border: 1px solid rgba(224, 178, 82, 0.45); border-radius: var(--radius);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 2.4rem 4.2rem; text-align: center;
}
.live-slides { width: 100%; }
.live-slide { display: none; animation: liveFade 0.8s ease; }
.live-slide.active { display: block; }
@keyframes liveFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.live-slide .stars { color: var(--gold); font-size: 1.35rem; letter-spacing: 0.25em; }
.live-slide p {
  font-style: italic; color: var(--text); font-size: 1.02rem; line-height: 1.6;
  margin: 0.9rem 0 1rem;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.live-slide footer {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
}
.live-dots {
  position: absolute; left: 0; right: 0; bottom: 2.4rem;
  display: flex; justify-content: center; gap: 0.35rem; flex-wrap: wrap; padding-inline: 1.5rem;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--gold); opacity: 0.3; transition: opacity 0.3s ease;
}
.live-dot.active, .live-dot:hover { opacity: 1; }
.live-brand {
  position: absolute; left: 0; right: 0; bottom: 1rem;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim); opacity: 0.75;
}
@media (max-width: 960px) {
  .embeds-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Reviews ---------- */
.reviews-header { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.rating-badge {
  display: flex; flex-direction: column; gap: 0.2rem; align-items: flex-end;
}
.rating-badge .stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 0.15em; }
.rating-badge span { font-size: 0.85rem; color: var(--text-dim); }
.reviews-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.review:hover { transform: translateY(-4px); border-color: rgba(192, 69, 61, 0.45); }
.review .stars { color: var(--gold); letter-spacing: 0.12em; }
.review p { font-size: 0.94rem; color: var(--text-dim); flex: 1; }
.review footer {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.review footer::before {
  content: ""; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  display: inline-block;
}
.review .verified { font-size: 0.72rem; font-weight: 500; color: var(--text-dim); display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse 55% 90% at 85% 50%, rgba(224, 178, 82, 0.12), transparent 60%),
    linear-gradient(120deg, var(--red-deep), var(--red) 55%, #7d2b26);
}
.cta-band-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; flex-wrap: wrap;
}
.cta-band .eyebrow { color: var(--gold); }
.cta-band .eyebrow::before { background: var(--gold); }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-sub { margin-top: 0.8rem; color: rgba(255, 255, 255, 0.8); max-width: 32rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--red-deep); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, 0.5); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0a0c; border-top: 1px solid var(--line); padding-top: 4rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem;
}
.footer-brand img { margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.92rem; color: var(--text-dim); max-width: 26rem; }
.footer-social {
  display: inline-block; margin-top: 1.1rem; font-weight: 600; font-size: 0.9rem; color: var(--gold);
}
.footer-social:hover { text-decoration: underline; }
.site-footer h3 {
  font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.1rem;
}
.site-footer ul li { margin-bottom: 0.6rem; }
.site-footer ul a { font-size: 0.94rem; color: var(--text-dim); }
.site-footer ul a:hover { color: #fff; }
.footer-contact li { color: var(--text-dim); font-size: 0.94rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--text-dim);
}
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; padding: 5rem 0 4rem; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 80% 0%, rgba(151, 52, 46, 0.3), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; margin-top: 1rem; }
.page-hero p { margin-top: 1rem; color: var(--text-dim); max-width: 38rem; }

/* ---------- About page ---------- */
.mission-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mission-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem;
}
.mission-card .num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; color: var(--red-bright);
  line-height: 1;
}
.mission-card h3 { margin-top: 0.9rem; font-size: 1.2rem; }
.mission-card p { margin-top: 0.8rem; color: var(--text-dim); font-size: 0.96rem; }
.quote-block {
  border-left: 3px solid var(--gold); padding: 0.4rem 0 0.4rem 1.6rem;
  font-size: 1.25rem; font-family: var(--font-display); font-weight: 600;
  color: #fff; max-width: 44rem; margin: 3rem auto 0;
}
.medals { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.medals span {
  font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.85rem;
  background: rgba(151, 52, 46, 0.18); color: #e8a29c;
  border: 1px solid rgba(192, 69, 61, 0.3); border-radius: 999px;
}

/* ---------- Packages page ---------- */
.package-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
  padding: 3rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 2rem);
}
.package-row:last-child { border-bottom: 0; }
.package-row img {
  border-radius: var(--radius); aspect-ratio: 16 / 11; object-fit: cover; width: 100%;
  box-shadow: var(--shadow);
}
.package-row:nth-child(even) .package-media { order: 2; }
.package-row h2 { font-size: 1.7rem; text-transform: uppercase; }
.package-row p { margin-top: 0.9rem; color: var(--text-dim); }
.package-row .btn { margin-top: 1.5rem; }

/* ---------- Gallery ---------- */
.fb-band { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.fb-grid {
  display: grid; grid-template-columns: 1fr 500px; gap: 3rem; align-items: center;
}
.fb-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); text-transform: uppercase; margin-top: 1rem; }
.fb-copy p { margin-top: 1rem; color: var(--text-dim); max-width: 34rem; }
.fb-copy .btn { margin-top: 1.8rem; }
.fb-embed { width: 100%; max-width: 500px; min-width: 0; justify-self: center; }
.fb-embed iframe {
  display: block; width: 100%; height: 640px; border: 0;
  border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line);
}
.fb-fallback { margin-top: 0.7rem; font-size: 0.82rem; color: var(--text-dim); text-align: center; }
.fb-fallback a { color: var(--gold); }
.fb-fallback a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .fb-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem;
}
.gallery-grid figure {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  position: relative; margin: 0;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 2.2rem 1.2rem 1rem;
  font-size: 0.85rem; font-weight: 600;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.9), transparent);
}

/* Facebook photos gallery */
.fbgal { border-bottom: 1px solid var(--line); }
.fbgal-sub { margin-top: 1rem; color: var(--text-dim); max-width: 40rem; }
.fbgal-grid {
  margin-top: 2rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.7rem;
}
.fbgal-item {
  display: block; border-radius: calc(var(--radius) * 0.6); overflow: hidden;
  border: 1px solid var(--line);
}
.fbgal-item img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  transition: transform 0.5s ease;
}
.fbgal-item:hover img { transform: scale(1.06); }
.fbgal-hidden { display: none; }
.fbgal-expanded .fbgal-hidden { display: block; }
.fbgal-more { margin-top: 1.8rem; text-align: center; }
@media (max-width: 640px) {
  .fbgal-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.contact-info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem;
}
.contact-info-card h3 { font-size: 1.15rem; margin-bottom: 1.4rem; }
.contact-info-card ul li {
  display: flex; flex-direction: column; margin-bottom: 1.3rem;
}
.contact-info-card ul span { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.contact-info-card ul a { font-weight: 600; }
.contact-info-card ul a:hover { color: var(--gold); }
.careers-note {
  margin-top: 1.5rem; padding: 1.6rem; border-radius: var(--radius);
  background: var(--gold-soft); border: 1px solid rgba(224, 178, 82, 0.3);
  font-size: 0.94rem;
}
.careers-note strong { color: var(--gold); }
.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); font: inherit; padding: 0.8rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 178, 82, 0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-alert {
  padding: 1rem 1.3rem; border-radius: 12px; margin-bottom: 1.4rem; font-size: 0.95rem;
}
.form-alert.ok { background: rgba(69, 150, 71, 0.15); border: 1px solid rgba(69, 150, 71, 0.4); color: #9fdca1; }
.form-alert.err { background: rgba(192, 69, 61, 0.15); border: 1px solid rgba(192, 69, 61, 0.4); color: #eda49e; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .btn, .pillar, .service-card img, .review { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .contact-grid, .package-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .package-row:nth-child(even) .package-media { order: 0; }
  .split-media::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-cards { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .topbar-email { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw);
    background: var(--bg-soft); border-left: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0.4rem;
    padding: calc(var(--header-h) + 2rem) 2rem 2rem;
    transform: translateX(100%); transition: transform 0.3s ease;
    z-index: 90; overflow-y: auto;
  }
  .site-nav.open { transform: none; box-shadow: -30px 0 60px rgba(0,0,0,0.5); }
  .site-nav > a:not(.btn) { font-size: 1.15rem; padding: 0.7rem 0; width: 100%; }
  .nav-cta { margin: 1.2rem 0 0; width: 100%; }
  .hero { min-height: auto; padding: 4rem 0; }
  .hero::after { opacity: 0.04; background-position: right -40% bottom -10%; }
  .hero-stats { gap: 1.6rem; }
  section { padding: 4rem 0; }
}

@media (max-width: 560px) {
  .footer-grid, .form-row { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-note { display: none; }
}
