/* ==========================================================================
   HC Dinosaur — Shared Stylesheet
   HeCen Animatronic Manufacturing Co., Ltd.
   Design system: Deep forest green + warm gold + off-white
   Tailwind CSS (CDN) provides the utility base; this file adds the brand
   layer: tokens, components, animations and responsive behaviour.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand greens */
  --forest-900: #0f2419;
  --forest-800: #142e21;
  --forest-700: #1a3a2a;
  --forest-600: #234a36;
  --forest-500: #2d5c44;
  --forest-100: #e7efe9;
  --forest-50: #f2f6f3;

  /* Warm gold accents */
  --gold-600: #c99238;
  --gold-500: #d4a04a;
  --gold-400: #e0b866;
  --gold-100: #f7ecd9;
  --gold-050: #fbf5e8;

  /* Neutrals */
  --cream: #f8f6f1;
  --ink: #232a26;
  --slate: #5c6b63;
  --muted: #849089;
  --white: #ffffff;

  /* Typography */
  --font-heading: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 36, 25, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 36, 25, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 36, 25, 0.12);
  --shadow-gold: 0 8px 24px rgba(201, 146, 56, 0.28);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.3s var(--ease);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--forest-800);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

::selection {
  background: var(--gold-500);
  color: var(--forest-900);
}

.container-page {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container-page { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
  .container-page { padding-inline: 2rem; }
}

/* --------------------------------------------------------------------------
   3. Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  margin-top: 0.75rem;
}

.section-lead {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 44rem;
}

.text-gradient-gold {
  background: linear-gradient(120deg, var(--gold-600), var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-500);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
              background-color var(--transition), color var(--transition),
              border-color var(--transition);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-600));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--forest-600), var(--forest-500));
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--forest-900);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 146, 56, 0.4);
}

.btn-outline {
  border-color: var(--forest-700);
  color: var(--forest-700);
  background: transparent;
}
.btn-outline:hover {
  background: var(--forest-700);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--forest-800);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   5. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--forest-100);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 1.5rem; }
.card-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card-text { color: var(--slate); font-size: 0.95rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-600);
  margin-top: 1rem;
}
.card-link:hover { color: var(--forest-700); gap: 0.65rem; }
.card-link svg { transition: transform var(--transition); }
.card-link:hover svg { transform: translateX(3px); }

/* Category card (products page) */
.cat-card { position: relative; }
.cat-card .card-media { aspect-ratio: 4 / 3; }
.cat-card .card-media img { object-fit: cover; }

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 46, 33, 0.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(15, 36, 25, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.brand img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest-800);
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  position: relative;
}
.nav-links a:hover { color: var(--forest-700); }
.nav-links a.active {
  color: var(--forest-800);
  background: var(--forest-50);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}

/* ===== Products dropdown menu ===== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}
.nav-dropdown-toggle::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 0.15rem;
  transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--forest-50);
  color: var(--forest-700);
}
.nav-dropdown-menu a.active {
  background: var(--forest-50);
  color: var(--forest-800);
}

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  background: var(--forest-50);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--forest-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--forest-800);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}
.mobile-menu a.active { color: var(--gold-400); }
.mobile-menu a:hover { color: var(--gold-400); padding-left: 0.5rem; }
.mobile-menu .mm-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}
.mobile-menu .mm-footer {
  margin-top: auto;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212, 160, 74, 0.16), transparent 60%),
    linear-gradient(160deg, var(--forest-800) 0%, var(--forest-900) 70%);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 160, 74, 0.14);
  border: 1px solid rgba(212, 160, 74, 0.4);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 1.25rem;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 42rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Hero pattern / silhouette layer */
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}
.hero-art svg { width: 100%; height: 100%; }

@media (min-width: 1024px) {
  .hero-inner { padding: 7.5rem 0 6.5rem; }
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(900px 480px at 85% -20%, rgba(212, 160, 74, 0.18), transparent 60%),
    linear-gradient(160deg, var(--forest-700), var(--forest-900));
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  margin-top: 0.75rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 40rem;
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: fit-content;
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.breadcrumb a:hover {
  color: var(--gold-400);
  background: rgba(212, 160, 74, 0.15);
}
.breadcrumb .sep {
  opacity: 0.4;
  font-size: 0.75rem;
}
.breadcrumb .current {
  color: var(--gold-400);
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  background: rgba(212, 160, 74, 0.15);
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   8. Sections & layout helpers
   -------------------------------------------------------------------------- */
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--white); }
.section-tint { background: var(--forest-50); }
.section-dark {
  background: linear-gradient(160deg, var(--forest-800), var(--forest-900));
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-lead { color: rgba(255, 255, 255, 0.72); }

.section-head { max-width: 52rem; margin-bottom: 3rem; }

/* Grid helpers */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Feature / icon tiles */
.feature {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold-500);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--forest-50);
  color: var(--forest-700);
  margin-bottom: 1rem;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature p { color: var(--slate); font-size: 0.93rem; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
}

/* Badges & pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--forest-100);
  color: var(--forest-700);
}
.pill-gold { background: var(--gold-100); color: var(--gold-600); }

/* Timeline (about) */
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--gold-500), var(--forest-500));
  border-radius: 2px;
}
.timeline-item { position: relative; padding-left: 2.25rem; margin-bottom: 2rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold-500);
}
.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold-600);
  font-size: 1rem;
}
.timeline-item h3 { font-size: 1.05rem; margin: 0.2rem 0 0.35rem; }
.timeline-item p { color: var(--slate); font-size: 0.93rem; }

/* Testimonial */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-100);
  position: absolute;
  top: 1rem;
  right: 1.75rem;
}
.testimonial-quote { font-size: 1.05rem; color: var(--ink); font-style: italic; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-500), var(--forest-700));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.testimonial-name { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */
.form-field { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--forest-800);
  margin-bottom: 0.45rem;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #e2e0da;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 160, 74, 0.18);
}
.form-control::placeholder { color: #a8b0ab; }
textarea.form-control { resize: vertical; min-height: 9rem; }

.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }

/* Contact info tiles */
.info-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold-500);
}
.info-tile-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--forest-50);
  color: var(--forest-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-tile h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.info-tile p, .info-tile a { font-size: 0.9rem; color: var(--slate); }
.info-tile a:hover { color: var(--gold-600); }

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--forest-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand img { width: 2.75rem; height: 2.75rem; }
.footer-brand .brand-name { color: var(--white); margin-top: 0.75rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 0.75rem; max-width: 22rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.footer-col a:hover { color: var(--gold-400); }
.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
}
.footer-contact svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--gold-500); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.4rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.footer-bottom .legal a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom .legal a:hover { color: var(--gold-400); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   11. Animations & reveal-on-scroll
   -------------------------------------------------------------------------- */
/* Progressive enhancement: elements are visible by default; the hidden
   starting state only applies when JavaScript is active. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-floaty { animation: floaty 6s ease-in-out infinite; }

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.animate-pulse-soft { animation: pulse-soft 2.4s ease-in-out infinite; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   12. Misc components
   -------------------------------------------------------------------------- */
.cta-panel {
  background:
    radial-gradient(900px 480px at 90% -20%, rgba(212, 160, 74, 0.2), transparent 60%),
    linear-gradient(150deg, var(--forest-700), var(--forest-900));
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-panel h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-panel p { color: rgba(255, 255, 255, 0.78); max-width: 38rem; margin: 0.9rem auto 1.8rem; }

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.blog-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }

/* Map placeholder */
.map-placeholder {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e2e0da;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  color: var(--gold-600);
  filter: drop-shadow(0 4px 8px rgba(15, 36, 25, 0.35));
}

/* Back to top */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: none;
  background: var(--forest-700);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--forest-600); }

/* Utility: separators & spacing */
.divider-gold {
  width: 4rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  border: none;
  border-radius: 3px;
}
