:root {
  --green-900: #1f3a2b;
  --green-800: #2c5440;
  --green-700: #386a52;
  --green-50:  #f3f7f4;
  --orange:    #e67a18;
  --orange-dk: #b85f0c;
  --ink:       #1c2620;
  --muted:     #5d6a63;
  --line:      #e1e6e2;
  --bg:        #ffffff;
  --bg-soft:   #f7f8f6;
  --radius:    14px;
  --shadow-sm: 0 1px 2px rgba(20,30,25,.06), 0 2px 8px rgba(20,30,25,.04);
  --shadow-md: 0 6px 24px rgba(20,30,25,.10);
  --max:       1180px;
  --serif:     "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  /* Lock the document to its viewport width so pinch-zoom on phones can't
     reveal a wider "desktop" layout hiding behind an overflowing element. */
  max-width: 100vw;
  overflow-x: hidden;     /* fallback */
  overflow-x: clip;       /* preferred — doesn't make a scroll container */
}
main, section, .container, .nav { max-width: 100vw; overflow-x: clip; }
/* Break stubborn long strings (URLs, emails, etc.) so they can't overflow */
p, h1, h2, h3, h4, h5, h6, li, td, th, a, label, blockquote { overflow-wrap: anywhere; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--green-800); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-900);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange);
  font-family: var(--sans);
  margin-bottom: .6rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-900);
  display: flex;
  gap: .55rem;
  align-items: center;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--orange) 0%, var(--green-700) 70%);
  display: inline-block;
  box-shadow: inset 0 0 0 2px #fff;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-size: .93rem;
  font-weight: 500;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--green-800);
  border-bottom-color: var(--orange);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: var(--green-900);
  cursor: pointer;
  padding: .25rem .5rem;
}

/* Mobile nav rules live in the dedicated mobile-polish block below */

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url(../img/hero-pachmarhi.jpg);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,40,30,.35) 0%, rgba(20,40,30,.65) 100%);
  z-index: -1;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  width: 100%;
}
.hero h1 {
  color: #fff;
  max-width: 18ch;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.hero p.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 38ch;
  color: rgba(255,255,255,.93);
  margin-bottom: 2rem;
}
.hero .eyebrow { color: #ffd9a8; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  border: 2px solid var(--orange);
  transition: background .15s, transform .15s, border-color .15s;
  cursor: pointer;
  font-family: var(--sans);
}
.btn:hover { background: var(--orange-dk); border-color: var(--orange-dk); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.7);
  margin-left: .5rem;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Sections */
section { padding: 5rem 0; }
section.tight { padding: 3.5rem 0; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: var(--green-50);
  border-radius: var(--radius);
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--green-800);
}
.stat span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -2rem; padding: 1.25rem; }
  .stat strong { font-size: 1.5rem; }
}

/* Intro split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split.reverse > div:first-child { order: 2; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse > div:first-child { order: 0; }
}

/* Places grid */
.places-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.place-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 3;
  display: block;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.place-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: #fff; }
.place-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: transform .5s, opacity .25s;
}
.place-card:hover img { transform: scale(1.06); opacity: .95; }
.place-card .label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.25rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.75) 100%);
  z-index: 1;
}
.place-card .label h3 {
  color: #fff;
  margin: 0 0 .15rem;
  font-size: 1.15rem;
}
.place-card .label span {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.place-card.featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 800px) {
  .places-grid { grid-template-columns: repeat(2, 1fr); }
  .place-card.featured { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
}
@media (max-width: 480px) {
  .places-grid { grid-template-columns: 1fr; }
  .place-card.featured { grid-column: auto; }
}

/* Why visit */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s, transform .2s;
}
.why-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.why-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-50);
  display: grid; place-items: center;
  margin-bottom: 1rem;
  color: var(--green-800);
  font-size: 1.4rem;
}
.why-card h3 { font-size: 1.1rem; }
.why-card p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonials {
  background: var(--green-900);
  color: #fff;
}
.testimonials h2 { color: #fff; }
.testimonials .eyebrow { color: #ffd9a8; }
.testimonials .section-head p { color: rgba(255,255,255,.75); }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.t-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  padding: 1.75rem;
  border-radius: var(--radius);
}
.t-card p { font-family: var(--serif); font-size: 1.05rem; font-style: italic; color: rgba(255,255,255,.92); }
.t-card cite { font-style: normal; color: #ffd9a8; font-weight: 600; font-size: .9rem; }
@media (max-width: 800px) { .t-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dk) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 50ch; margin: 0 auto 1.5rem; }
.cta-band .btn {
  background: #fff;
  color: var(--orange-dk) !important;
  border-color: #fff;
}
.cta-band .btn:hover { background: var(--green-900); color: #fff !important; border-color: var(--green-900); }

/* Footer */
.site-footer {
  background: #1a2620;
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 1.5rem;
  font-size: .92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  font-family: var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255,255,255,.55); }
.foot-bot {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* Inner page hero (smaller than home hero) */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex; align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,40,30,.30) 0%, rgba(20,40,30,.75) 100%);
  z-index: -1;
}
.page-hero .container { padding-top: 4rem; padding-bottom: 3rem; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 60ch; margin: 0; }

.hero-about::before { background-image: url(../img/sunset.jpg); }
.hero-places::before { background-image: url(../img/jata-shankar.jpg); }
.hero-reach::before { background-image: url(../img/road-to-pachmarhi.jpg); }
.hero-gallery::before { background-image: url(../img/waterfalls.jpg); }
.hero-contact::before { background-image: url(../img/amba-bai-temple.jpg); }

/* Article / prose */
.prose {
  max-width: 68ch;
  margin: 0 auto;
}
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.5rem; color: var(--green-800); }
.prose p, .prose li { color: #2d3a32; }
.prose ul { padding-left: 1.2rem; }
.prose ul li { margin-bottom: .4rem; }

/* Two-col page layout */
.layout-with-aside {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}
.aside {
  background: var(--green-50);
  border-radius: var(--radius);
  padding: 1.75rem;
  font-size: .95rem;
}
.aside h4 { color: var(--green-900); font-family: var(--serif); }
.aside ul { list-style: none; padding: 0; margin: 0; }
.aside ul li { padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.aside ul li:last-child { border: 0; }
@media (max-width: 900px) {
  .layout-with-aside { grid-template-columns: 1fr; }
}

/* Reach modes */
.reach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.reach-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: #fff;
}
.reach-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--serif);
}
.reach-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.reach-card p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 800px) { .reach-grid { grid-template-columns: 1fr; } }

/* Gallery masonry */
.gallery {
  columns: 3;
  column-gap: 1rem;
}
.gallery figure {
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.gallery figure:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.gallery img { width: 100%; height: auto; display: block; }
.gallery figcaption {
  padding: .65rem .9rem;
  background: #fff;
  font-size: .85rem;
  color: var(--muted);
}
@media (max-width: 800px) { .gallery { columns: 2; } }
@media (max-width: 480px) { .gallery { columns: 1; } }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info {
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-info h3 { color: #fff; }
.contact-info p, .contact-info a { color: rgba(255,255,255,.85); }
.contact-info .row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-info .row .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  color: #ffd9a8;
  flex-shrink: 0;
}
form .field { margin-bottom: 1rem; }
form label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--green-900);
}
form input, form textarea, form select {
  width: 100%;
  padding: .8rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color .15s, background .15s;
}
form input:focus, form textarea:focus, form select:focus {
  outline: 0;
  border-color: var(--orange);
  background: #fff;
}
form textarea { resize: vertical; min-height: 120px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Breadcrumbs */
.breadcrumb {
  font-size: .85rem;
  color: var(--muted);
  padding: 1rem 0 0;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin: 0 .5rem;
  color: var(--line);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb [aria-current="page"] { color: var(--green-800); font-weight: 500; }

/* A11y */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--green-900);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; color: #fff; outline: 2px solid var(--orange); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

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

/* ========== Shop ========== */
.hero-shop::before { background-image: url(../../img/bag.jpg); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }

.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.product-media {
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product:hover .product-media img { transform: scale(1.04); }
.product-body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--green-900);
  margin: 0 0 .35rem;
  letter-spacing: -.01em;
}
.product-desc {
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 1rem;
  line-height: 1.45;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}
.price {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--green-800);
  font-weight: 600;
}
.btn-buy {
  padding: .55rem 1.1rem;
  font-size: .85rem;
  background: var(--green-800);
  border-color: var(--green-800);
}
.btn-buy:hover { background: var(--orange-dk); border-color: var(--orange-dk); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 30, 25, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  animation: fadein .15s ease-out;
}
.modal-overlay.open { display: flex; }
@keyframes fadein { from { opacity: 0 } to { opacity: 1 } }

.modal {
  background: #fff;
  border-radius: var(--radius);
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  position: relative;
}
.modal-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.modal-head img {
  width: 64px; height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-soft);
}
.modal-head h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--green-900);
}
.modal-head .modal-sub { font-size: .85rem; color: var(--muted); }
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: .3rem .55rem;
  border-radius: 8px;
}
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }

.modal-body { padding: 1.5rem; }
.modal-body .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 460px) { .modal-body .row { grid-template-columns: 1fr; } }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: var(--green-50);
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: .95rem;
  color: var(--green-900);
}
.summary-row strong { font-family: var(--serif); font-size: 1.1rem; }

.alert {
  padding: .85rem 1rem;
  border-radius: 10px;
  font-size: .9rem;
  margin-bottom: 1rem;
  display: none;
}
.alert.ok { background: #e8f3eb; border: 1px solid #98c4a4; color: #1e4d2e; display: block; }
.alert.err { background: #fbeaea; border: 1px solid #d99; color: #842323; display: block; }

body.modal-open { overflow: hidden; }

/* ========== Mobile-first polish ========== */

html { scroll-padding-top: 80px; }

/* Better default focus everywhere */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }

/* Touch targets */
.btn, .nav-toggle, .nav-links a, .place-card, .product .btn-buy {
  min-height: 44px;
}

/* Subtle scroll shadow on header once you've scrolled */
.site-header { transition: box-shadow .25s, background .25s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(20,30,25,.04); }

/* Prevent iOS auto-zoom on input focus */
@media (max-width: 760px) {
  input, textarea, select { font-size: 16px !important; }
}

/* ---- Mobile nav (drawer) ---- */
@media (max-width: 760px) {
  .nav { padding: .85rem 1rem; }
  .brand { font-size: 1.15rem; gap: .5rem; }
  .brand-mark { width: 28px; height: 28px; }
  .brand small { font-size: .6rem; letter-spacing: .18em; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: var(--green-900);
    position: relative;
    z-index: 70;
    font-size: 1.35rem;
    transition: transform .25s, color .25s, background .15s;
  }
  .nav-toggle:hover { background: var(--bg-soft); }
  .nav-toggle[aria-expanded="true"] {
    transform: rotate(90deg);
    color: var(--orange);
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: auto;
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    height: 100dvh;
    margin: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4.5rem 0 max(2rem, env(safe-area-inset-bottom));
    transform: translateX(105%);
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
    display: flex;
    visibility: hidden;
    box-shadow: -18px 0 50px rgba(20,30,25,.18);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 70;
    border: 0;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links li { margin: 0; list-style: none; }
  .nav-links a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--green-900);
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
  }
  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: var(--bg-soft);
    color: var(--orange);
  }
  .nav-links a.active,
  .nav-links a[aria-current="page"] {
    background: linear-gradient(90deg, rgba(230,122,24,.06), transparent);
    color: var(--orange);
    border-left-color: var(--orange);
    padding-left: calc(1.5rem - 3px);
  }

  /* Backdrop (solid dim, no blur) */
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(20,30,25,.45);
    z-index: 55;
    animation: fadein .2s ease-out;
  }
  body.nav-open { overflow: hidden; }

  /* While the drawer is open, lift the header (and the drawer inside it)
     above the backdrop. The drawer is a descendant of .site-header in the DOM,
     so its painted layer is bounded by site-header's stacking context. */
  body.nav-open .site-header { z-index: 80; }

  /* Mobile section breathing room */
  section { padding: 3.25rem 0; }
  section.tight { padding: 2.5rem 0; }
  .section-head { margin-bottom: 2rem; }

  .hero { min-height: 70vh; }
  .hero-inner { padding: 2.75rem 1.25rem 4rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero p.lede { font-size: 1rem; max-width: 30ch; }
  .hero .btn { padding: .8rem 1.4rem; }
  .hero .btn-ghost { margin-left: 0; margin-top: .5rem; display: inline-block; }

  .page-hero { min-height: 32vh; }
  .page-hero .container { padding-top: 2.5rem; padding-bottom: 2rem; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  .stats { padding: 1.25rem .75rem; gap: .75rem; margin-top: -1.5rem; }
  .stat strong { font-size: 1.4rem; }
  .stat span { font-size: .72rem; }

  .breadcrumb { padding: .85rem 0 .25rem; font-size: .82rem; }

  .container { padding: 0 1.1rem; }
  .site-footer { padding: 2.5rem 0 1.5rem; }
}

/* ---- Shop product cards polish ---- */
.product-media {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--green-50) 100%);
}
.product-body { padding: 1.1rem 1.15rem 1.3rem; }
.product-desc { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.btn-buy { padding: .6rem 1.25rem; font-size: .9rem; border-radius: 999px; }

@media (max-width: 560px) {
  .product-media { aspect-ratio: 1.5 / 1; }
  .product-name { font-size: 1.1rem; }
  .product-foot { padding-top: .25rem; }
  .shop-grid { gap: 1.1rem; }
  .price { font-size: 1.25rem; }
}

/* ---- Buy modal — full-screen takeover on mobile ---- */
@media (max-width: 560px) {
  .modal-overlay {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(20,30,25,.85);
  }
  .modal {
    max-width: 100%;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
  }
  .modal-head {
    padding: 1rem 3rem 1rem 1.1rem;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
  }
  .modal-head img { width: 52px; height: 52px; }
  .modal-head h3 { font-size: 1.05rem; }
  .modal-body {
    padding: 1.25rem 1.1rem max(1.5rem, env(safe-area-inset-bottom));
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-close {
    position: fixed;
    top: 10px; right: 10px;
    z-index: 3;
    font-size: 1.7rem;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .summary-row { padding: .7rem .9rem; font-size: .9rem; }
  .modal .btn { width: 100%; padding: .95rem 1.5rem; }
}

/* Slightly cleaner stats on tablet */
@media (min-width: 561px) and (max-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat strong { font-size: 1.6rem; }
}

/* Utilities */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
