/* ============================================================
   Sapana Jewellery — Design System
   Palette keyed to the brand logo: warm ivory ground,
   deep Nepali bridal maroon (SAPANA wordmark + central gem),
   warm gold (lotus / ring crown). Mobile-first.
   ============================================================ */

:root {
  --bg:        #FBF8F3; /* warm ivory paper */
  --surface:   #FFFFFF; /* cards / tiles */
  --surface-2: #F4EEE3; /* tinted panels */
  --text:      #2A211B; /* deep warm brown-black */
  --muted:     #7A6E63; /* secondary text */
  --primary:   #9E2421; /* deep maroon — headings/accents */
  --secondary: #7A1B18; /* darker maroon — hovers */
  --accent:    #CFA12C; /* rich gold — CTAs, dividers, icons */
  --accent-deep:#B5872015;/* gold tint wash */
  --gold-soft: #E6CE8A; /* light gold */
  --border:    #E7DECF; /* warm gold-tinted hairline */
  --focus:     #CFA12C;
  --wa:        #25D366; /* WhatsApp green (only the WA button) */
  --wa-deep:   #1da851;

  --maxw: 1240px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(42,33,27,.06), 0 1px 2px rgba(42,33,27,.04);
  --shadow-md: 0 10px 30px -12px rgba(42,33,27,.18);
  --shadow-lg: 0 24px 60px -18px rgba(42,33,27,.28);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --nav-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-soft); color: var(--text); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--text); margin: 0; line-height: 1.08; letter-spacing: .005em; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before, .eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow:not(.center)::after { display: none; }

.section { padding: 64px 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.lead { color: var(--muted); font-size: 1.06rem; max-width: 60ch; }

/* hairline divider */
.rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--border) 14%, var(--border) 86%, transparent);
  margin: 0;
}
.diamond-rule {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--accent);
}
.diamond-rule::before, .diamond-rule::after {
  content: ""; height: 1px; flex: 1; max-width: 120px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.diamond-rule::after { background: linear-gradient(90deg, var(--accent), transparent); }
.diamond-rule span { font-size: 9px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 700; font-size: .92rem;
  letter-spacing: .02em;
  padding: 13px 22px; min-height: 48px;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--accent); color: #2A211B; box-shadow: 0 6px 18px -8px rgba(207,161,44,.7); }
.btn-gold:hover { background: #c1942099; background: #c39620; transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(207,161,44,.8); }
.btn-maroon { background: var(--primary); color: #fff; }
.btn-maroon:hover { background: var(--secondary); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px -8px rgba(37,211,102,.6); }
.btn-wa:hover { background: var(--wa-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--primary); }
.btn-ghost-light { background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); border-color:#fff; transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; min-height: 42px; font-size: .82rem; }

/* link with gold underline */
.link-gold { color: var(--primary); font-weight: 700; position: relative; display: inline-flex; align-items:center; gap:.4em; }
.link-gold::after { content:""; position:absolute; left:0; bottom:-3px; width:100%; height:1.5px; background:var(--accent); transform: scaleX(0); transform-origin:left; transition: transform .25s ease; }
.link-gold:hover::after { transform: scaleX(1); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  background: rgba(251,248,243,.82);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(251,248,243,.95); box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display:flex; align-items:center; gap:10px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-link {
  font-weight: 600; font-size: .95rem; color: var(--text);
  padding: 6px 2px; position: relative; letter-spacing: .01em;
}
.nav-link::after { content:""; position:absolute; left:0; bottom:0; height:2px; width:100%; background:var(--accent); transform: scaleX(0); transform-origin:center; transition: transform .25s ease; }
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-icon-btn {
  width: 44px; height: 44px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--primary);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.nav-icon-btn svg { width: 20px; height: 20px; }
.nav-icon-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.nav-icon-btn.wa { background: var(--wa); color:#fff; border-color: transparent; }

.hamburger {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); display: inline-flex; align-items:center; justify-content:center; color: var(--text);
}
.hamburger svg { width: 22px; height: 22px; }

/* mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(42,33,27,.45);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(86vw, 360px); background: var(--bg);
  transform: translateX(100%); transition: transform .34s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 20px;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 12px; }
.drawer-head img { height: 44px; }
.drawer-close { width:44px;height:44px;border:1px solid var(--border);border-radius:10px;background:var(--surface);display:inline-flex;align-items:center;justify-content:center; }
.drawer-close svg{width:22px;height:22px;}
.drawer-links { display:flex; flex-direction: column; margin-top: 8px; }
.drawer-links a { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--border); color: var(--text); }
.drawer-links a:hover { color: var(--primary); }
.drawer-cta { margin-top: auto; display:flex; flex-direction:column; gap: 10px; padding-top: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero-bg::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(to top, rgba(20,12,10,.92) 0%, rgba(20,12,10,.55) 36%, rgba(20,12,10,.25) 64%, rgba(20,12,10,.45) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 120px; padding-top: calc(var(--nav-h) + 40px); }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 11vw, 5.2rem); font-weight: 600; letter-spacing: -.01em; margin: 18px 0 0; max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-sub { color: rgba(255,255,255,.86); font-size: 1.08rem; max-width: 44ch; margin: 18px 0 0; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-since { position:absolute; top: calc(var(--nav-h) + 24px); right: 20px; z-index:2; text-align:center; color: var(--gold-soft); display:none; }
.scroll-hint { position:absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index:3; color: rgba(255,255,255,.7); display:flex; flex-direction:column; align-items:center; gap:6px; font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; }
.scroll-hint .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content:""; position:absolute; left:50%; top:7px; width:3px; height:6px; background:rgba(255,255,255,.8); border-radius:2px; transform:translateX(-50%); animation: scrollDot 1.6s ease-in-out infinite; }
@keyframes scrollDot { 0%{opacity:0; transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0; transform:translate(-50%,8px)} 100%{opacity:0} }

/* ============================================================
   HERITAGE STRIP
   ============================================================ */
.heritage { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.heritage-grid { display: grid; grid-template-columns: 1fr; }
.heritage-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 4px; border-bottom: 1px solid var(--border); }
.heritage-item:last-child { border-bottom: 0; }
.heritage-item .ico { width: 40px; height: 40px; flex: none; color: var(--accent); }
.heritage-item h3 { font-family: var(--sans); font-size: 1rem; font-weight: 800; letter-spacing: .01em; }
.heritage-item p { margin: 3px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec-head { text-align: center; max-width: 64ch; margin: 0 auto 36px; }
.sec-head h2 { font-size: clamp(2rem, 7vw, 3rem); margin: 14px 0 0; }
.sec-head h2 em { font-style: italic; color: var(--primary); }
.sec-head p { margin: 14px auto 0; color: var(--muted); }

/* ============================================================
   COLLECTIONS
   ============================================================ */
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin: 0 -20px 26px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font-weight: 700; font-size: .82rem;
  cursor: pointer; transition: all .2s ease; white-space: nowrap; letter-spacing:.01em;
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
  animation: cardIn .5s both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.card-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.07); }
.card-cat { position: absolute; top: 10px; left: 10px; background: rgba(251,248,243,.92); color: var(--primary); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.32rem; line-height: 1.12; }
.card-note { color: var(--muted); font-size: .86rem; line-height: 1.45; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.card-price { font-size: .78rem; font-weight: 700; color: var(--accent); letter-spacing:.02em; }
.card-wa { display:inline-flex; align-items:center; gap:.4em; font-weight: 800; font-size: .8rem; color: var(--wa-deep); }
.card-wa svg { width: 16px; height: 16px; }
.card-wa:hover { color: var(--wa); }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.about-media { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-media .badge {
  position: absolute; left: 16px; bottom: 16px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 10px 16px; box-shadow: var(--shadow-sm);
}
.about-media .badge b { font-family: var(--serif); font-size: 1.7rem; color: var(--primary); display:block; line-height:1; }
.about-media .badge span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about-text h2 { font-size: clamp(2rem, 7vw, 3rem); }
.about-text h2 em { font-style: italic; color: var(--primary); }
.about-text p { color: var(--muted); margin: 16px 0 0; }
.about-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; }
.about-points .tick { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }
.about-points b { color: var(--text); }

/* ============================================================
   GOLD & CUSTOM
   ============================================================ */
.gc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.gc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 26px 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.gc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.gc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-deep); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.gc-ico svg { width: 26px; height: 26px; }
.gc-card h3 { font-size: 1.5rem; }
.gc-card p { color: var(--muted); margin: 8px 0 0; font-size: .94rem; }

/* gold-rate note band */
.rate-note {
  margin-top: 30px; background: linear-gradient(120deg, #2A211B, #3a2c22);
  color: #fff; border-radius: var(--r-md); padding: 26px 22px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
.rate-note::before { content:""; position:absolute; right:-40px; top:-40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(207,161,44,.35), transparent 70%); }
.rate-note .eyebrow { color: var(--gold-soft); position: relative; }
.rate-note .eyebrow::before { background: var(--accent); }
.rate-note h3 { color: #fff; font-size: 1.7rem; position: relative; }
.rate-note p { color: rgba(255,255,255,.8); margin: 0; font-size: .94rem; position: relative; max-width: 60ch; }
.rate-note .pill { align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(230,206,138,.4); padding: 5px 12px; border-radius: 999px; position: relative; }

/* ============================================================
   VISIT / CONTACT
   ============================================================ */
.visit { background: var(--surface); }
.visit-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { width: 38px; height: 38px; border-radius: 10px; flex: none; background: var(--accent-deep); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.info-row .ico svg { width: 20px; height: 20px; }
.info-row .lbl { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-row .val { font-size: 1rem; color: var(--text); margin-top: 2px; line-height: 1.4; }
.info-row .val a:hover { color: var(--primary); }
.tbc { font-size: .7rem; font-weight: 700; color: var(--accent); border:1px solid var(--gold-soft); padding: 1px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

.map-placeholder {
  margin-top: 22px; border-radius: var(--r-md); border: 2px dashed var(--border);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(207,161,44,.05) 12px, rgba(207,161,44,.05) 24px),
    var(--surface-2);
  min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px;
}
.map-placeholder .pin { color: var(--accent); }
.map-placeholder .pin svg { width: 38px; height: 38px; }
.map-placeholder b { font-family: var(--serif); font-size: 1.4rem; }
.map-placeholder span { color: var(--muted); font-size: .86rem; max-width: 36ch; }
.map-placeholder code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .72rem; background: var(--bg); border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px; color: var(--muted); }

/* enquiry form */
.form-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px 20px; }
.form-card h3 { font-size: 1.7rem; }
.form-card p.sub { color: var(--muted); margin: 6px 0 18px; font-size: .92rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: .98rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(207,161,44,.18); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--primary); }
.field .msg { color: var(--primary); font-size: .76rem; margin-top: 5px; font-weight: 600; }
.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.form-success { background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.4); color: #166534; border-radius: 10px; padding: 14px 16px; font-size: .9rem; display:flex; gap:10px; align-items:flex-start; }
.form-success svg { width: 20px; height: 20px; flex:none; color: var(--wa-deep); margin-top:1px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #221A15; color: rgba(255,255,255,.7); padding: 56px 0 0; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 34px; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1) sepia(.3) saturate(2) hue-rotate(5deg); }
.footer-brand .logo-light { filter: none; }
.footer-brand p { font-size: .9rem; line-height: 1.55; max-width: 38ch; }
.footer-col h4 { font-family: var(--sans); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col a:hover { color: var(--gold-soft); }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a { width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); transition: all .2s; }
.socials a:hover { background: var(--accent); color: #2A211B; border-color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding: 22px 0 calc(22px + var(--mobilebar-pad, 0px)); display: flex; flex-direction: column; gap: 10px; font-size: .78rem; }
.footer-bottom .disclaimer { color: rgba(255,255,255,.4); font-size: .72rem; line-height: 1.5; }

/* ============================================================
   MOBILE ACTION BAR + WHATSAPP FAB
   ============================================================ */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(251,248,243,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 20px -10px rgba(42,33,27,.25);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobilebar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 4px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: var(--text); }
.mobilebar a svg { width: 21px; height: 21px; }
.mobilebar a.wa { color: var(--wa-deep); }
.mobilebar a + a { border-left: 1px solid var(--border); }
.mobilebar a:active { background: var(--surface-2); }

.fab {
  position: fixed; right: 16px; z-index: 65; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 999px; background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px -8px rgba(37,211,102,.7);
  transition: transform .2s ease; animation: fabPulse 2.6s ease-in-out infinite;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
@keyframes fabPulse { 0%,100%{box-shadow: 0 10px 26px -8px rgba(37,211,102,.7), 0 0 0 0 rgba(37,211,102,.45)} 50%{box-shadow: 0 10px 26px -8px rgba(37,211,102,.7), 0 0 0 12px rgba(37,211,102,0)} }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

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

/* ============================================================
   RESPONSIVE — tablet & up
   ============================================================ */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .heritage-grid { grid-template-columns: repeat(2, 1fr); }
  .heritage-item { border-bottom: 0; padding: 26px 20px; }
  .heritage-item + .heritage-item { border-left: 1px solid var(--border); }
  .gc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 880px) {
  :root { --nav-h: 80px; }
  .section { padding: 96px 0; }
  .wrap { padding: 0 40px; }
  .nav-logo img { height: 56px; }
  .nav-links { display: flex; align-items: center; gap: 30px; }
  .hamburger { display: none; }
  .heritage-grid { grid-template-columns: repeat(4, 1fr); }
  .heritage-item + .heritage-item { border-left: 1px solid var(--border); }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .card-body h3 { font-size: 1.4rem; }
  .about-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .about.reverse .about-media { order: 2; }
  .visit-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
  .hero-since { display: block; }
  .hero-inner { padding-bottom: 90px; }
  .mobilebar { display: none; }
  .fab { bottom: 24px; right: 24px; }
  body { --mobilebar-pad: 0px; }
}

@media (max-width: 879px) {
  body { padding-bottom: 60px; } /* room for mobile action bar */
  .fab { display: none; } /* mobile bar covers WhatsApp on phones */
}

@media (min-width: 1100px) {
  .hero h1 { font-size: clamp(3.5rem, 6vw, 5.4rem); }
}
