/* =============================================================
   THE GRANDVIEW — Event Venue / Banquet Hall Template
   Premium multi-page template. Plain HTML5 + CSS3 + vanilla JS.
   -------------------------------------------------------------
   REBRAND: Edit the CSS variables in :root below to change the
   entire color scheme, fonts and spacing across every page.
   Replace the venue name "The Grandview" in the HTML files and
   update contact details / copy to match your client.
   ============================================================= */

/* ----------  DESIGN TOKENS  ---------- */
:root {
  /* Brand palette — change these to rebrand */
  --plum:        #5b2a4e;   /* primary deep plum            */
  --plum-dark:   #3d1b34;   /* darker plum for depth        */
  --plum-deep:   #2a1224;   /* near-black plum (footer/hero)*/
  --gold:        #c8a96a;   /* gold accent                  */
  --gold-soft:   #e0cfa6;   /* lighter gold                 */
  --cream:       #f7f2ea;   /* cream background             */
  --cream-2:     #efe7d9;   /* slightly deeper cream        */
  --ink:         #2c2530;   /* body text                    */
  --muted:       #6f6675;   /* muted text                   */
  --white:       #ffffff;
  --line:        rgba(91, 42, 78, 0.12);

  /* Typography */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 16px rgba(42, 18, 36, 0.08);
  --shadow-md: 0 14px 40px rgba(42, 18, 36, 0.14);
  --shadow-lg: 0 30px 70px rgba(42, 18, 36, 0.22);
  --t: 0.35s cubic-bezier(.2,.7,.3,1);
}

/* ----------  RESET / BASE  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--plum-dark);
  letter-spacing: -0.01em;
}

p { color: var(--ink); }

/* ----------  UTILITIES  ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.bg-cream2 { background: var(--cream-2); }
.bg-plum   { background: var(--plum-deep); color: var(--cream); }
.bg-plum h1, .bg-plum h2, .bg-plum h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

.lead { font-size: 1.15rem; color: var(--muted); }

/* Decorative gold divider */
.divider {
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  border-radius: 3px;
  margin: 22px auto;
}
.divider--left { margin-left: 0; }

/* ----------  BUTTONS  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--plum-deep);
  box-shadow: 0 10px 26px rgba(200, 169, 106, 0.36);
}
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}
.btn-outline:hover { background: var(--plum); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 242, 234, 0.5);
}
.btn-ghost:hover { background: rgba(247, 242, 234, 0.12); border-color: var(--cream); }

/* =============================================================
   HEADER  (shared across all pages)
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 234, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(247, 242, 234, 0.96); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--plum), var(--plum-dark));
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.25rem;
  border: 1.5px solid var(--gold);
}
.brand-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--plum-dark);
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  position: relative;
  transition: var(--t);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--t);
}
.nav-links a:hover { color: var(--plum); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--plum); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--plum-dark);
  border-radius: 2px;
  transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   HERO  (home)
   ============================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(200,169,106,0.28), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(200,169,106,0.12), transparent 55%),
    linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 55%, var(--plum-dark) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 45% 80%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.5px 1.5px at 85% 25%, rgba(255,255,255,0.35), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 80px 0; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 .gold { color: var(--gold); font-style: italic; }
.hero p {
  color: rgba(247, 242, 234, 0.88);
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(247,242,234,0.18);
}
.hero-badge { font-size: 0.9rem; color: rgba(247,242,234,0.82); }
.hero-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--gold);
  font-weight: 600;
}

/* =============================================================
   PAGE BANNER  (inner pages)
   ============================================================= */
.banner {
  position: relative;
  color: var(--cream);
  text-align: center;
  padding: 116px 0 84px;
  background:
    radial-gradient(900px 400px at 50% -20%, rgba(200,169,106,0.25), transparent 60%),
    linear-gradient(135deg, var(--plum-deep), var(--plum) 80%);
  overflow: hidden;
}
.banner h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 10px;
}
.banner p { color: rgba(247,242,234,0.82); max-width: 560px; margin: 0 auto; }
.crumbs {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  margin-top: 18px;
}
.crumbs a:hover { color: var(--gold); }

/* =============================================================
   GENERIC GRID + CARDS
   ============================================================= */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  background: linear-gradient(135deg, rgba(91,42,78,0.08), rgba(200,169,106,0.18));
  margin-bottom: 20px;
}
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* Split / media block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 8px; }
.split p { color: var(--muted); margin-bottom: 16px; }

/* Decorative gradient "photo" panels (no image files) */
.photo {
  border-radius: var(--radius-lg);
  min-height: 420px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(0,0,0,0.18), transparent 45%);
}
.photo .tag {
  position: absolute;
  left: 22px; bottom: 22px;
  background: rgba(42,18,36,0.55);
  color: var(--cream);
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
}
/* gradient variants */
.g-plum   { background: linear-gradient(135deg, var(--plum), var(--plum-dark)); }
.g-gold   { background: linear-gradient(135deg, var(--gold), #b5904f); }
.g-mix    { background: linear-gradient(135deg, var(--plum-dark), var(--plum), var(--gold)); }
.g-dusk   { background: linear-gradient(135deg, #6c3a5e, #8a5a78, var(--gold-soft)); }
.g-rose   { background: linear-gradient(135deg, #7a3a5e, #b07089); }
.g-night  { background: linear-gradient(160deg, var(--plum-deep), #1a0c16); }
.g-champ  { background: linear-gradient(135deg, #e8d6ad, #c8a96a, #9c7b3f); }
.g-emer   { background: linear-gradient(135deg, #2f5d52, #4f8a78); }

/* checklist */
.checklist { display: grid; gap: 12px; margin: 20px 0; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.98rem; color: var(--ink);
}
.checklist li::before {
  content: "✦";
  color: var(--gold);
  font-size: 1rem;
  line-height: 1.6;
}

/* =============================================================
   STATS
   ============================================================= */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; text-align: center; }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.stat .label { color: rgba(247,242,234,0.78); font-size: 0.92rem; margin-top: 10px; letter-spacing: 0.04em; }

/* =============================================================
   TESTIMONIAL
   ============================================================= */
.quote-block { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-block .mark { font-family: var(--font-head); font-size: 4rem; color: var(--gold); line-height: 0.5; }
.quote-block blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--plum-dark);
  line-height: 1.4;
  margin: 18px 0 24px;
}
.quote-block .who { font-weight: 600; color: var(--plum); }
.quote-block .who span { display: block; color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }

/* testimonial grid (cards) */
.t-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); border:1px solid var(--line); }
.t-card .stars { font-size: 0.95rem; }
.t-card p { font-style: italic; color: var(--ink); margin-bottom: 18px; }
.t-card .who { font-weight: 600; color: var(--plum); font-style: normal; }
.t-card .who span { display:block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }

/* =============================================================
   CTA STRIP
   ============================================================= */
.cta {
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(200,169,106,0.22), transparent 60%),
    linear-gradient(135deg, var(--plum), var(--plum-dark));
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
}
.cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta p { color: rgba(247,242,234,0.85); max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   SPACES / HALLS
   ============================================================= */
.space-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--t);
}
.space-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.space-card.reverse .photo { order: 2; }
.space-card .photo { min-height: 100%; border-radius: 0; }
.space-body { padding: 40px 38px; }
.space-body h3 { font-size: 1.8rem; margin-bottom: 6px; }
.space-meta { display: flex; gap: 22px; flex-wrap: wrap; margin: 14px 0 18px; }
.space-meta span { font-size: 0.85rem; color: var(--muted); }
.space-meta strong { display: block; color: var(--plum); font-size: 1.05rem; font-family: var(--font-head); }
.pill {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,169,106,0.14);
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 600;
}

/* packages */
.pkg {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
  position: relative;
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pkg.featured {
  background: linear-gradient(160deg, var(--plum), var(--plum-dark));
  color: var(--cream);
  border-color: var(--gold);
}
.pkg.featured h3, .pkg.featured .price { color: var(--white); }
.pkg.featured .checklist li { color: rgba(247,242,234,0.9); }
.pkg .ribbon {
  position: absolute; top: 20px; right: 20px;
  background: var(--gold); color: var(--plum-deep);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: 50px;
}
.pkg h3 { font-size: 1.5rem; margin-bottom: 4px; }
.pkg .price { font-family: var(--font-head); font-size: 2.4rem; color: var(--plum); }
.pkg .price small { font-size: 0.9rem; color: var(--muted); font-family: var(--font-body); }
.pkg.featured .price small { color: rgba(247,242,234,0.7); }

/* =============================================================
   GALLERY
   ============================================================= */
.gallery-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: var(--t);
}
.filter-btn:hover { border-color: var(--gold); color: var(--plum); }
.filter-btn.active { background: var(--plum); color: var(--cream); border-color: var(--plum); }

.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tile {
  border-radius: var(--radius);
  min-height: 240px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.tile.tall { grid-row: span 2; min-height: 100%; }
.tile::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.2), transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(0,0,0,0.25), transparent 50%);
}
.tile:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 20px 18px;
  background: linear-gradient(transparent, rgba(42,18,36,0.78));
  color: var(--cream);
  font-size: 0.95rem;
  font-family: var(--font-head);
  opacity: 0;
  transform: translateY(8px);
  transition: var(--t);
}
.tile:hover .cap { opacity: 1; transform: translateY(0); }
.tile.hide { display: none; }

/* =============================================================
   CONTACT
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--plum-dark); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transition: var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200,169,106,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field .err { color: #b3324a; font-size: 0.8rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: #b3324a; }
.field.invalid .err { display: block; }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }
.form-success {
  display: none;
  background: rgba(47,93,82,0.1);
  border: 1px solid #4f8a78;
  color: #2f5d52;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.form-success.show { display: block; }

.info-card {
  background: linear-gradient(160deg, var(--plum), var(--plum-dark));
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-md);
}
.info-card h3 { color: var(--white); margin-bottom: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-item .ic { font-size: 1.3rem; flex-shrink: 0; color: var(--gold); }
.info-item strong { display: block; color: var(--gold-soft); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }
.info-item span { color: rgba(247,242,234,0.9); font-size: 0.96rem; }

.map-placeholder {
  margin-top: 30px;
  border-radius: var(--radius-lg);
  min-height: 320px;
  background:
    repeating-linear-gradient(45deg, rgba(91,42,78,0.04) 0 18px, transparent 18px 36px),
    linear-gradient(135deg, var(--cream-2), #e6dcc9);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  position: relative;
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder span { display: block; font-size: 0.9rem; margin-top: 6px; }

/* =============================================================
   FOOTER  (shared)
   ============================================================= */
.site-footer {
  background: var(--plum-deep);
  color: rgba(247,242,234,0.72);
  padding: 72px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer .brand-name { color: var(--cream); }
.footer-about p { font-size: 0.94rem; margin: 16px 0; max-width: 320px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.94rem; transition: var(--t); }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(247,242,234,0.08);
  border: 1px solid rgba(247,242,234,0.14);
  transition: var(--t);
}
.footer-social a:hover { background: var(--gold); color: var(--plum-deep); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(247,242,234,0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--gold); }

/* =============================================================
   REVEAL ANIMATION (IntersectionObserver)
   Fallback: if JS off, .reveal stays visible via .no-js rule.
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats  { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Mobile nav panel */
  .mobile-menu {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 16px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform var(--t);
    z-index: 99;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    padding: 14px 8px;
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a.active { color: var(--plum); font-weight: 700; }
  .mobile-menu .btn { margin-top: 16px; justify-content: center; }

  .section { padding: 64px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .space-card, .space-card.reverse { grid-template-columns: 1fr; }
  .space-card.reverse .photo { order: 0; }
  .space-card .photo { min-height: 260px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .tile.tall { grid-row: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .form-card { padding: 30px 22px; }
}

/* Desktop: hide mobile menu element entirely */
@media (min-width: 821px) {
  .mobile-menu { display: none !important; }
}
