/* =========================================================
   ZAMARI GAYANWAL — Pine Nuts Processing & Export Co.
   Shared stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* --- Palette: dark green + white --- */
  --bark:      #1a2e1c;   /* deep forest, primary text */
  --cone:      #2f5233;   /* mid green, secondary accents */
  --cone-dark: #1e3a20;
  --gold:      #3f7d3f;   /* primary green accent (buttons, links) */
  --gold-light:#5c9c5c;
  --pine:      #14301a;   /* darkest green, header/hero background */
  --pine-dark: #0d2210;
  --cream:     #ffffff;   /* white background */
  --cream-2:   #f2f7f2;
  --paper:     #ffffff;
  --line:      rgba(20,48,26,0.12);
  --shadow:    0 10px 30px rgba(20,48,26,0.12);
  --shadow-lg: 0 20px 50px rgba(20,48,26,0.20);

  --display: 'Fraunces', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--body);
  color: var(--bark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,h2,h3,h4{
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--bark);
}

p{ margin: 0 0 1em; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pine);
}
.eyebrow::before{
  content: "";
  width: 22px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Skip link / accessibility
   ========================================================= */
.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--pine); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 0;
  z-index: 999; font-weight: 600;
}
.skip-link:focus{ left: 0; }

:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* =========================================================
   Top utility bar
   ========================================================= */
.topbar{
  background: var(--pine);
  color: #eaf3ea;
  font-size: 13px;
}
.topbar .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a{ color: #eaf3ea; }
.topbar-links{ display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-links span, .topbar-links a{ display: inline-flex; align-items: center; gap: 6px; }
.topbar-right{ display: flex; align-items: center; gap: 16px; }
.topbar-social{ display: flex; align-items: center; gap: 10px; }
.topbar-social a{
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 12px;
  transition: background .2s ease, transform .2s ease;
}
.topbar-social a:hover{ background: rgba(255,255,255,0.24); transform: translateY(-1px); }
.topbar-lang{
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3px;
}
.topbar-lang button{
  background: none; border: none; color: #eaf3ea;
  font-family: var(--body); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; cursor: pointer;
  transition: background .2s, color .2s;
}
.topbar-lang button.active{ background: var(--gold); color: #fff; }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header{
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, padding .3s ease;
}
.site-header.is-scrolled{ box-shadow: var(--shadow); }

.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand{
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.brand img{
  width: 54px; height: 54px; border-radius: 50%;
  transition: transform .3s ease;
}
.site-header.is-scrolled .brand img{ width: 44px; height: 44px; }
.brand-text b{
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--pine);
  white-space: nowrap;
}
.brand-text small{
  display: block;
  font-size: 11.5px;
  color: var(--cone);
  font-weight: 600;
  letter-spacing: .01em;
}

.main-nav ul{
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px;
}
.main-nav a{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--pine);
  transition: background .2s, color .2s;
  position: relative;
}
.main-nav a:hover{ background: var(--cream-2); }
.main-nav a.active{
  background: var(--pine);
  color: #fff;
}

.nav-cta{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.nav-cta:hover{ background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow); }

.nav-toggle{
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width: 20px; height: 2px; background: var(--bark);
  transition: transform .25s ease, opacity .25s ease;
  position: relative;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }
.nav-toggle.is-open span{ background: transparent; }
.nav-toggle.is-open span::before{ transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after{ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px){
  .main-nav{
    position: fixed; inset: 0 0 0 auto;
    width: min(320px, 82vw);
    height: 100vh;
    background: #ffffff;
    opacity: 0;
    box-shadow: -10px 0 40px rgba(0,0,0,0.18);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,.9,.32,1), opacity .35s ease;
    padding: 90px 26px 26px;
    z-index: 400;
    pointer-events: none;
  }
  .main-nav.is-open{ opacity: 1; pointer-events: auto; }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav ul{ flex-direction: column; gap: 4px; position: relative; z-index: 1; }
  .main-nav a{ display: block; padding: 14px 16px; font-size: 17px; }
  .nav-toggle{ display: inline-flex; }
  .nav-cta{ display: none; }
  .nav-scrim{
    display: none;
    position: fixed; inset: 0; background: rgba(20,13,7,0.4); z-index: 390;
  }
  .nav-scrim.is-open{ display: block; }
}

/* =========================================================
   Buttons (shared)
   ========================================================= */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  padding: 14px 26px;
  border-radius: 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--pine); color: #fff; }
.btn-primary:hover{ background: var(--pine-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline{ background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover{ background: var(--pine); color: #fff; transform: translateY(-2px); }
.btn-gold{ background: var(--gold); color: #fff; }
.btn-gold:hover{ background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block{ width: 100%; }
.btn[disabled]{ opacity: .6; cursor: not-allowed; transform: none !important; }

/* =========================================================
   Hero — full-bleed dark slideshow
   ========================================================= */
.hero-full{
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 0;
  background: var(--pine-dark);
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,34,16,0.86) 0%, rgba(13,34,16,0.55) 48%, rgba(13,34,16,0.3) 100%);
  z-index: 2;
}
.hero-grid-full{
  position: relative;
  z-index: 3;
  padding: 90px 40px 120px;
  padding-left: clamp(24px, 6vw, 100px);
  max-width: none;
  margin: 0;
}
.hero-copy{ max-width: 600px; }
.hero-script{
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--gold-light);
  margin-bottom: 6px;
}
.hero-huge{
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.02;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.hero-huge span{
  display: block;
  text-transform: none;
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 30px);
  color: #eaf3ea;
  margin-top: 6px;
}
.hero-lede-light{
  color: #d8e6d9;
  font-size: 17px;
  max-width: 48ch;
}
.hero-natural-badge{
  position: absolute;
  top: 40px; right: 40px;
  z-index: 4;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid rgba(255,255,255,0.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(8deg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero-natural-badge span{ font-family: var(--display); font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }
.hero-natural-badge b{ font-size: 12px; letter-spacing: .06em; color: #eaf3ea; margin-top: 4px; }

.btn-outline-light{
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline-light:hover{ background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Hero slideshow (background layer) ---------- */
.slideshow-track{
  position: absolute;
  inset: 0;
  z-index: 1;
}
.slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
}
.slide.is-active{
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-caption{ display: none; }

.slide-arrow{
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 6;
  transition: background .2s ease, transform .2s ease;
  backdrop-filter: blur(4px);
}
.slide-arrow:hover{ background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.06); }
.slide-prev{ left: 24px; }
.slide-next{ right: 24px; }

.slide-playpause{
  position: absolute;
  top: 24px; right: 24px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 6;
  transition: background .2s ease;
}
.slide-playpause:hover{ background: rgba(255,255,255,0.3); }

.slide-dots{
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
  z-index: 6;
}
.slide-dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.slide-dot.is-active{
  background: var(--gold);
  transform: scale(1.3);
}

@media (max-width: 720px){
  .hero-full{ min-height: 0; aspect-ratio: 1 / 1; }
  .hero-natural-badge{ width: 84px; height: 84px; top: 20px; right: 20px; }
  .hero-natural-badge span{ font-size: 16px; }
  .hero-natural-badge b{ font-size: 9px; }
  .slide-arrow{ width: 36px; height: 36px; font-size: 15px; top: auto; bottom: 60px; transform: none; }
  .slide-prev{ left: 16px; }
  .slide-next{ right: 16px; }
  .hero-grid-full{ padding: 40px 0 90px; }
  .hero-script{ font-size: 19px; margin-bottom: 3px; }
  .hero-huge{ font-size: 38px; margin: 0 0 8px; }
  .hero-huge span{ font-size: 17px; margin-top: 2px; }
  .hero-lede-light{ font-size: 14px; line-height: 1.4; }
  .hero-actions{ margin-top: 4px; }
  .topbar-links{ font-size: 12px; gap: 10px; }
  .topbar .container{ justify-content: center; text-align: center; }
}

@media (orientation: landscape) and (max-height: 500px){
  .hero-full{ aspect-ratio: auto; min-height: 320px; }
  .hero-grid-full{ padding: 30px 0 50px; }
}

/* =========================================================
   Feature strip — overlapping card row below hero
   ========================================================= */
.feature-strip-section{
  padding: 0;
  position: relative;
  z-index: 5;
}
.feature-strip{
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.feature-strip-item{
  display: flex; align-items: flex-start; gap: 12px;
}
.feature-strip-icon{
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.feature-strip-item b{
  display: block;
  font-size: 14.5px;
  color: var(--pine);
  margin-bottom: 3px;
}
.feature-strip-item span{
  font-size: 12.5px;
  color: #5a6b5c;
  line-height: 1.4;
}
@media (max-width: 980px){
  .feature-strip{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px){
  .feature-strip{ grid-template-columns: 1fr; margin-top: -36px; padding: 24px 18px; }
}

/* =========================================================
   Section shells
   ========================================================= */
section{ padding: 72px 0; }
.section-head{
  max-width: 640px;
  margin: 0 0 40px;
}
.section-head h2{ font-size: clamp(26px, 3.2vw, 38px); }
.section-tint{ background: var(--paper); }

/* =========================================================
   Feature cards (home)
   ========================================================= */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card{
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon{
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-2);
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 22px;
}
.feature-card h3{ font-size: 19px; color: var(--cone-dark); margin-bottom: 6px; }
.feature-card p{ font-size: 14.5px; color: #4a5a4c; margin: 0; }

.bulk-card{
  grid-column: span 3;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(120deg, var(--pine), var(--pine-dark));
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  box-shadow: var(--shadow-lg);
}
.bulk-card img{ width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.bulk-card-text{ padding: 20px 0; }
.bulk-card h3{ color: #fff; font-size: 22px; }
.bulk-card p{ color: rgba(255,255,255,0.85); margin-bottom: 0; }
.bulk-card-cta{ padding-right: 26px; }

@media (max-width: 880px){
  .feature-grid{ grid-template-columns: 1fr 1fr; }
  .bulk-card{ grid-column: span 2; grid-template-columns: 1fr; }
  .bulk-card img{ min-height: 160px; }
  .bulk-card-text, .bulk-card-cta{ padding: 0 22px 22px; }
}
@media (max-width: 620px){
  .feature-grid{ grid-template-columns: 1fr; }
  .bulk-card{ grid-column: span 1; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* =========================================================
   Products page
   ========================================================= */
.product-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card{
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media{ position: relative; overflow: hidden; height: 240px; }
.product-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img{ transform: scale(1.08); }
.product-tag{
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--bark);
  font-size: 12px; font-weight: 800;
  padding: 5px 12px; border-radius: 20px;
}
.product-body{ padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3{ font-size: 20px; color: var(--cone-dark); margin: 0; }
.product-body p{ font-size: 14.5px; color: #4a5a4c; margin: 0; }
.product-meta{
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--pine); font-weight: 700;
}
.product-body .btn{ margin-top: 10px; }

@media (max-width: 880px){ .product-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .product-grid{ grid-template-columns: 1fr; } }

/* Quote calculator */
.calc-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.calc-field{ margin-bottom: 16px; }
.calc-field label{ display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--cone-dark); }
.calc-field select, .calc-field input[type=range]{ width: 100%; }
select{
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--cream); font-family: var(--body); font-size: 15px;
  color: var(--bark);
}
input[type=range]{ accent-color: var(--pine); }
.calc-result{
  background: var(--cream-2);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
}
.calc-result .qty{ font-family: var(--display); font-size: 40px; color: var(--cone-dark); }
.calc-result .note{ font-size: 12.5px; color: var(--pine); font-weight: 600; margin-top: 6px; }
@media (max-width: 720px){ .calc-card{ grid-template-columns: 1fr; } }

/* =========================================================
   Services page
   ========================================================= */
.service-list{
  display: grid;
  gap: 20px;
}
.service-row{
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 22px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow .3s ease, transform .3s ease;
}
.service-row:hover{ box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-num{
  font-family: var(--display);
  font-size: 34px;
  color: var(--gold);
  font-weight: 700;
}
.service-row h3{ font-size: 19px; margin-bottom: 4px; color: var(--cone-dark); }
.service-row p{ margin: 0; font-size: 14.5px; color: #4a5a4c; }
.service-chevron{
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .3s ease;
  font-size: 16px; color: var(--pine);
}
.service-row.is-open .service-chevron{ transform: rotate(45deg); background: var(--gold); color: var(--bark); }
.service-detail{
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, margin-top .4s ease;
  margin-top: 0;
}
.service-row.is-open .service-detail{ margin-top: 14px; }
.service-detail-inner{
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  font-size: 14.5px;
  color: #4a5a4c;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.service-detail-inner div{ background: var(--cream); border-radius: 10px; padding: 12px 14px; }
.service-detail-inner b{ display: block; color: var(--cone-dark); font-size: 13px; margin-bottom: 3px; }
@media (max-width: 700px){
  .service-row{ grid-template-columns: 50px 1fr auto; padding: 18px; }
  .service-detail-inner{ grid-template-columns: 1fr; }
}

/* Process timeline */
.timeline{
  position: relative;
  padding-left: 34px;
  border-left: 2px solid var(--line);
}
.timeline-item{ position: relative; padding-bottom: 34px; }
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-item::before{
  content: "";
  position: absolute; left: -41px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item h4{ margin-bottom: 4px; font-size: 16.5px; color: var(--cone-dark); }
.timeline-item p{ margin: 0; font-size: 14.5px; color: #4a5a4c; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery-filter{
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px;
}
.filter-btn{
  padding: 9px 18px;
  border-radius: 22px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-weight: 700; font-size: 13.5px;
  color: var(--cone-dark);
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover{ border-color: var(--pine); }
.filter-btn.active{ background: var(--pine); border-color: var(--pine); color: #fff; }

.gallery-era{ margin-bottom: 54px; }
.gallery-era-head{ margin-bottom: 20px; }
.gallery-era-head .eyebrow{ margin-bottom: 6px; }
.gallery-era-head p{ font-size: 16px; max-width: 60ch; color: #3a4a3c; margin: 0;}

.masonry{
  columns: 3 260px;
  column-gap: 18px;
}
.masonry-item{
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  position: relative;
  background: var(--paper);
}
.masonry-item img{ width: 100%; display: block; transition: transform .5s ease; }
.masonry-item:hover img{ transform: scale(1.06); }
.masonry-item .zoom-hint{
  position: absolute; top: 10px; right: 10px;
  background: rgba(43,29,19,0.55);
  color: #fff; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  opacity: 0; transition: opacity .2s ease;
}
.masonry-item:hover .zoom-hint{ opacity: 1; }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20,13,7,0.88);
  display: none;
  align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox.is-open{ display: flex; }
.lightbox img{
  max-width: min(90vw, 900px); max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next{
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none; color: #fff;
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ background: rgba(255,255,255,0.25); }
.lightbox-close{ top: 24px; right: 24px; }
.lightbox-prev{ left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next{ right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-caption{
  position: absolute; bottom: 26px; left: 0; right: 0;
  text-align: center; color: #e9ddc9; font-size: 14px;
}

@media (max-width: 780px){ .masonry{ columns: 2 200px; } }
@media (max-width: 480px){ .masonry{ columns: 1; } }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 40px;
  align-items: start;
}
.info-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 20px;
}
.info-row{ display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child{ border-bottom: none; }
.info-row .ic{
  width: 38px; height: 38px; border-radius: 10px; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px;
}
.info-row b{ display: block; font-size: 14px; color: var(--cone-dark); }
.info-row span, .info-row a{ font-size: 14px; color: #4a5a4c; }

.form-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.field{ margin-bottom: 18px; position: relative; }
.field label{ display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--cone-dark); }
.field input, .field textarea, .field select{
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-family: var(--body);
  font-size: 15px;
  color: var(--bark);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: var(--pine);
  box-shadow: 0 0 0 4px rgba(60,92,58,0.12);
  outline: none;
}
.field textarea{ min-height: 120px; resize: vertical; }
.field.has-error input, .field.has-error textarea{ border-color: #b3402c; }
.field-error{
  display: none;
  color: #b3402c; font-size: 12.5px; font-weight: 600; margin-top: 5px;
}
.field.has-error .field-error{ display: block; }
.char-count{ font-size: 12px; color: #8a7a63; text-align: right; margin-top: 4px; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px){ .form-row{ grid-template-columns: 1fr; } }

.form-success{
  display: none;
  background: rgba(60,92,58,0.1);
  border: 1.5px solid var(--pine);
  color: var(--pine-dark);
  padding: 16px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 18px;
  align-items: center; gap: 10px;
}
.form-success.is-visible{ display: flex; }

@media (max-width: 880px){ .contact-grid{ grid-template-columns: 1fr; } }

.map-embed{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-top: 20px;
  height: 240px;
}
.map-embed iframe{ width: 100%; height: 100%; border: 0; }

/* =========================================================
   FAQ accordion (shared)
   ========================================================= */
.faq-item{
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-q{
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 700; font-size: 16px; color: var(--cone-dark);
}
.faq-q .plus{
  width: 26px; height: 26px; border-radius: 50%; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease; flex-shrink: 0;
}
.faq-item.is-open .faq-q .plus{ transform: rotate(45deg); background: var(--gold); }
.faq-a{
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  font-size: 14.5px; color: #4a5a4c;
}
.faq-item.is-open .faq-a{ margin-top: 12px; }
.faq-a-inner{ padding-bottom: 2px; }

/* =========================================================
   Back to top
   ========================================================= */
.to-top{
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--pine); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover{ background: var(--pine-dark); }

/* =========================================================
   Toast (quote / cart notices)
   ========================================================= */
.toast{
  position: fixed; left: 50%; bottom: 26px; z-index: 1100;
  transform: translate(-50%, 20px);
  background: var(--bark); color: #f4ead2;
  padding: 14px 22px; border-radius: 30px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, transform .3s ease;
  display: flex; align-items: center; gap: 10px;
  max-width: 90vw;
}
.toast.is-visible{ opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* =========================================================
   Footer
   ========================================================= */
footer.site-footer{
  background: var(--bark);
  color: #cbb894;
  padding: 56px 0 22px;
  margin-top: 40px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand{ display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.footer-brand img{ width: 46px; height: 46px; border-radius: 50%; }
.footer-brand b{ color: #f4ead2; font-family: var(--display); font-size: 16px; display:block; }
.footer-col h4{ color: #f4ead2; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a{ font-size: 14px; color: #cbb894; transition: color .2s ease; }
.footer-col a:hover{ color: var(--gold-light); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; font-size: 13px; color: #9c8a6c; flex-wrap: wrap; gap: 10px;
}
.footer-social{ display: flex; gap: 10px; }
.footer-social a{
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background .2s ease;
}
.footer-social a:hover{ background: var(--gold); color: var(--bark); }
@media (max-width: 880px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   Page hero (interior pages)
   ========================================================= */
.page-hero{
  padding: 54px 0 46px;
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(201,150,47,0.14), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero h1{ font-size: clamp(30px, 4vw, 46px); color: var(--cone-dark); }
.breadcrumb{ font-size: 13px; color: var(--pine); font-weight: 600; margin-bottom: 10px; }
.breadcrumb a{ color: var(--pine); }
.breadcrumb span{ color: #8a7a63; }

/* Loading skeleton shimmer for images (progressive feel) */
.imgwrap{ position: relative; overflow: hidden; background: var(--cream-2); }
.imgwrap img{ opacity: 0; transition: opacity .5s ease; }
.imgwrap img.loaded{ opacity: 1; }
.imgwrap::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.imgwrap.loaded::before{ display: none; }
@keyframes shimmer{ 0%{ background-position: 200% 0; } 100%{ background-position: -200% 0; } }

/* Counter badge */
.counter{ display:inline-block; }

/* Utility */
.text-center{ text-align: center; }
.mt-0{ margin-top: 0; }
.small-muted{ font-size: 13px; color: #8a7a63; }
