/* ==========================================================================
   Selengbari Tea — Stylesheet
   ========================================================================== */

:root {
  --forest: #163828;
  --forest-dark: #0d2419;
  --forest-light: #2b5940;
  --gold: #c9a227;
  --gold-light: #e6c860;
  --cream: #f9f4e6;
  --cream-dark: #f0e6c9;
  --brown: #5c3a24;
  --text: #23261d;
  --text-light: #565b4a;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(13, 36, 25, 0.12);
  --shadow-sm: 0 4px 14px rgba(13, 36, 25, 0.1);
  --radius: 14px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--forest-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--text-light); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section { padding: 90px 0; }
.section-alt { background: var(--white); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest h2, .section-forest h3 { color: var(--white); }
.section-forest p { color: #cfe0d3; }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--forest-dark); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: var(--cream); color: var(--cream); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-forest-outline { border-color: var(--forest); color: var(--forest); }
.btn-forest-outline:hover { background: var(--forest); color: var(--white); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #1eb958; }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 244, 230, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--forest-dark);
}
.brand svg, .brand img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand .tag {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--forest-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-call {
  display: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest-dark);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 28px; height: 28px; color: var(--forest-dark); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 74px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 20px 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--cream-dark); }
  .nav-toggle { display: block; }
  .nav-links .btn { margin-top: 16px; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--forest-dark) 0%, var(--forest) 55%, var(--forest-light) 100%);
  color: var(--white);
  padding: 90px 0 110px;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(circle at 20% 20%, var(--gold) 0, transparent 3%),
    radial-gradient(circle at 80% 40%, var(--gold) 0, transparent 3%),
    radial-gradient(circle at 40% 80%, var(--gold) 0, transparent 3%),
    radial-gradient(circle at 65% 15%, var(--gold) 0, transparent 3%),
    radial-gradient(circle at 90% 85%, var(--gold) 0, transparent 3%),
    radial-gradient(circle at 10% 65%, var(--gold) 0, transparent 3%);
  background-size: 420px 420px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero.hero-simple .container { grid-template-columns: 1fr; text-align: center; }
.hero.hero-simple .hero-copy { margin: 0 auto; }
.hero-copy p.lead {
  font-size: 1.15rem;
  color: #d9e6dc;
  max-width: 540px;
}
.hero h1 { color: var(--white); }
.hero-copy .btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--gold-light);
}
.hero-stats div span { font-size: 0.82rem; color: #cfe0d3; }

.hero-art {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 420px;
  margin: 0 auto;
}
.leaf-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(230, 200, 96, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.leaf-ring svg, .leaf-ring img { width: 62%; height: 62%; object-fit: contain; animation: spin-rev 40s linear infinite; }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

.breadcrumb-hero {
  background: var(--forest-dark);
  color: var(--cream);
  padding: 58px 0 64px;
  text-align: center;
}
.breadcrumb-hero h1 { color: var(--white); }
.breadcrumb-hero p { color: #cfe0d3; max-width: 640px; margin: 0 auto; }
.crumbs { font-size: 0.85rem; color: var(--gold-light); margin-bottom: 14px; }
.crumbs a { color: var(--gold-light); }
.crumbs a:hover { text-decoration: underline; }

/* ===== Cards / Grids ===== */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; color: var(--forest); }

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .swatch {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .swatch svg { width: 56px; height: 56px; color: var(--white); }
.product-card .body { padding: 24px 26px 28px; }
.product-card .body h3 { margin-bottom: 8px; }
.product-card .grade-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.swatch-1 { background: linear-gradient(135deg, #2b5940, #163828); }
.swatch-2 { background: linear-gradient(135deg, #5c3a24, #3c2717); }
.swatch-3 { background: linear-gradient(135deg, #6b7f3a, #3f4d21); }
.swatch-4 { background: linear-gradient(135deg, #8a6a2f, #5c3a24); }
.swatch-5 { background: linear-gradient(135deg, #3d6b52, #163828); }
.swatch-6 { background: linear-gradient(135deg, #7a5230, #4a3320); }

/* ===== Feature list ===== */
.feature-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 30px;
}
.feature-row .num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.feature-row h3 { margin-bottom: 6px; }
.feature-row p { margin: 0; }

/* ===== Steps (whitelabel process) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid var(--cream-dark);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

/* ===== Split section ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split-visual {
  aspect-ratio: 4/3.2;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--forest-light), var(--forest-dark));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-visual svg { width: 60%; height: 60%; opacity: 0.9; }
.split-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 500;
}
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: var(--radius);
  padding: 50px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-banner h2 { margin-bottom: 6px; color: var(--forest-dark); }
.cta-banner p { color: var(--brown); margin: 0; }
.cta-banner .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 40px 34px;
}
.contact-info-card h3 { color: var(--white); }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-item .icn {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item .icn svg { width: 20px; height: 20px; color: var(--gold-light); }
.contact-item a, .contact-item span { color: #d9e6dc; }
.contact-item a:hover { color: var(--gold-light); }
.contact-item strong { display: block; color: var(--white); margin-bottom: 3px; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  margin-top: 24px;
}
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 34px;
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--forest-dark);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 9px;
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--text-light); margin-top: 12px; }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--cream-dark);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--forest-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--forest-dark);
  color: #b9c9bd;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand svg, .footer-brand img { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.footer-grid a { display: block; margin-bottom: 10px; color: #b9c9bd; font-size: 0.93rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #8ea092;
}

/* ===== Floating action buttons ===== */
.fab-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; color: var(--white); }
.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--forest); }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream-dark);
  color: var(--forest-dark);
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in-view { opacity: 1; transform: translateY(0); }

@media (min-width: 901px) {
  .nav-call { display: inline-flex; align-items: center; gap: 8px; }
}
