/* ==========================================================================
   Pak Himalaya — static site stylesheet
   ========================================================================== */

:root {
  --green:        #0f6b3d;
  --green-dark:   #0a4d2b;
  --green-light:  #17864d;
  --pink:         #e0819a;
  --pink-soft:    #f7e6ea;
  --salt:         #f4a26b;
  --amber:        #e8862e;

  --ink:          #1c2321;
  --body:         #4a5652;
  --muted:        #7b8783;
  --line:         #e3e8e5;
  --bg:           #ffffff;
  --bg-alt:       #f7f9f8;
  --bg-warm:      #fdf7f3;

  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 1px 2px rgba(28,35,33,.05), 0 8px 24px rgba(28,35,33,.06);
  --shadow-lg:    0 2px 4px rgba(28,35,33,.06), 0 18px 48px rgba(28,35,33,.10);

  --wrap:         1180px;
  --font:         "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --serif:        Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.16rem; }

p { margin: 0 0 1.1em; }

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

.section { padding: 84px 0; }
.section--alt  { background: var(--bg-alt); }
.section--warm { background: var(--bg-warm); }
.section--tight { padding: 56px 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: var(--green-dark);
  color: #d9ece1;
  font-size: .82rem;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar a { color: #ffffff; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.brand:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
}
.nav-links a:hover { background: var(--bg-alt); text-decoration: none; }
.nav-links a.is-active { color: var(--green); background: #eef6f1; }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(15,107,61,.22); }
.btn--primary:hover { background: var(--green-light); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }

.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: #f2f8f5; }

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

.btn--sm { padding: 9px 18px; font-size: .875rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(180deg, #fdf8f4 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
  padding: 76px 0 88px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green);
  background: #eaf4ee;
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 22px;
}
.hero h1 { margin-bottom: .45em; }
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.lead {
  font-size: 1.14rem;
  color: var(--body);
  max-width: 55ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  align-self: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 34px 0 42px;
}
.stat b {
  display: block;
  font-size: 1.85rem;
  color: var(--green);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat span {
  font-size: .88rem;
  color: var(--muted);
}

/* ---------- Section heads ---------- */

.section-head { max-width: 62ch; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--body); margin-bottom: 0; }
.kicker {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}

/* ---------- Cards / grids ---------- */

.grid { display: grid; gap: 26px; }
/* Grid children default to min-width:auto, which lets wide content (tables,
   long strings) push a track past its track size. Reset it. */
.grid > *,
.split > *,
.contact-grid > *,
.footer-grid > *,
.order-strip > * { min-width: 0; }
.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: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #eaf4ee;
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

/* Product category card */
.cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-card__media {
  aspect-ratio: 4 / 3;
  background: var(--bg-warm);
  overflow: hidden;
}
.cat-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.cat-card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.cat-card__body h3 { margin-bottom: .35em; }
.cat-card__body p { font-size: .94rem; margin-bottom: 1em; }
.sku {
  margin-top: auto;
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--green);
  background: #eef6f1;
  border-radius: 100px;
  padding: 5px 13px;
  align-self: flex-start;
}

/* Detailed product range list */
.range {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px 28px;
  box-shadow: var(--shadow);
}
.range h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: .5em;
}
.range h3 .code {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  background: var(--green);
  border-radius: 5px;
  padding: 3px 9px;
}
.range p { font-size: .94rem; margin-bottom: .9em; }
.range ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.range ul li {
  font-size: .82rem;
  color: var(--body);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 11px;
}

/* ---------- Order strip ---------- */

.order-strip {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: 20px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.order-strip h2 { color: #fff; margin-bottom: .35em; }
.order-strip p { color: #d3e8dc; margin-bottom: 0; max-width: 58ch; }
.order-strip .mail {
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid rgba(255,255,255,.45);
}
.order-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Notice ---------- */

.notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--pink-soft);
  border: 1px solid #f0d2da;
  border-left: 4px solid var(--pink);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.notice p { margin: 0; font-size: .95rem; }
.notice strong { color: var(--ink); }

/* ---------- Page banner ---------- */

.page-banner {
  background: var(--green-dark);
  color: #fff;
  padding: 62px 0;
}
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner p { color: #cfe4d8; max-width: 62ch; margin-bottom: 0; }
.crumb {
  font-size: .84rem;
  color: #9dc4ae;
  margin-bottom: 14px;
}
.crumb a { color: #9dc4ae; }
.crumb a:hover { color: #fff; }

/* ---------- Split feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split img { border-radius: 18px; box-shadow: var(--shadow-lg); }

.tick-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.tick-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  font-size: .97rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .48em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #eaf4ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6b3d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ---------- PDF viewer ---------- */

.pdf-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}
.pdf-frame object,
.pdf-frame iframe {
  display: block;
  width: 100%;
  height: 82vh;
  min-height: 560px;
  border: 0;
}
.pdf-fallback {
  padding: 48px 32px;
  text-align: center;
}

.pdf-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.pdf-toolbar .meta { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: .6em; }
.contact-card p { font-size: .95rem; margin-bottom: .5em; }
.contact-card a { font-weight: 600; word-break: break-word; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  width: 34%;
  color: var(--ink);
  font-weight: 700;
  background: var(--bg-alt);
}
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Footer ---------- */

.site-footer {
  background: #10201a;
  color: #9fb3aa;
  padding: 66px 0 0;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
}
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: #9fb3aa; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 9px; }
.footer-logo {
  height: 46px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .87rem;
}
.footer-bottom .credit { color: #7f938a; }
.footer-bottom .credit strong { color: #cfe0d7; font-weight: 700; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 60px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .order-strip { grid-template-columns: 1fr; padding: 38px 32px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px 20px 20px;
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { margin: 8px 0 0; }
  .site-header .wrap { position: relative; }
}

@media (max-width: 640px) {
  .section { padding: 58px 0; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .order-strip { padding: 32px 24px; }
  .topbar .wrap { justify-content: flex-start; }
  .pdf-frame object, .pdf-frame iframe { height: 62vh; min-height: 420px; }
}
