/* =========================================================
   QURBAN YUK — design tokens
   Palette: white / pasture green / warm sand
   Display: Fraunces · Body: Plus Jakarta Sans · Data: IBM Plex Mono
   Signature device: the livestock ear-tag card (see .tag-card)
   ========================================================= */

:root{
  --white:      #FFFFFF;
  --paper:      #F5F8F4;
  --ink:        #14231D;
  --ink-soft:   #45564C;
  --green-deep: #0E5C46;
  --green-fresh:#2FA96B;
  --green-pale: #DCEEE1;
  --sand:       #EDE6D6;
  --alert:      #C97A2B;
  --line:       #DCE3DD;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, Segoe UI, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --container: 1180px;
  --radius: 18px;
  --shadow: 0 20px 40px -24px rgba(14,92,70,.35);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

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

img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font:inherit; cursor:pointer; }

:focus-visible{
  outline:2.5px solid var(--green-fresh);
  outline-offset:3px;
  border-radius:4px;
}

.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:24px;
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--green-deep);
  display:inline-flex;
  align-items:center;
  gap:.5em;
}
.eyebrow::before{
  content:"";
  width:16px; height:1px;
  background:var(--green-fresh);
  display:inline-block;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.08;
  margin:0 0 .4em;
  letter-spacing:-.01em;
  color:var(--ink);
}
h1{ font-size:clamp(2.6rem,4.6vw + 1rem,4.4rem); font-weight:560; }
h2{ font-size:clamp(1.9rem,2.6vw + 1rem,2.8rem); }
h3{ font-size:clamp(1.25rem,1.2vw + 1rem,1.6rem); }
p{ margin:0 0 1em; color:var(--ink-soft); max-width:60ch; }
.lede{ font-size:1.15rem; }

.italic{ font-style:italic; color:var(--green-deep); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.55em;
  padding:.9em 1.5em;
  border-radius:999px;
  font-weight:600;
  font-size:.95rem;
  border:1.5px solid transparent;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--green-deep); color:var(--white); }
.btn-primary:hover{ background:var(--green-fresh); }
.btn-ghost{ border-color:var(--line); color:var(--ink); background:var(--white); }
.btn-ghost:hover{ border-color:var(--green-deep); }
.btn-wa{ background:var(--green-fresh); color:var(--white); }
.btn-wa:hover{ background:var(--green-deep); }
.btn-block{ width:100%; justify-content:center; }

/* ---------- header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled{
  border-color:var(--line);
  box-shadow:0 8px 24px -20px rgba(14,35,29,.4);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding-block:16px;
}
.brand{ display:flex; align-items:center; gap:.6em; }
.brand-mark{ width:38px; height:38px; color:var(--green-deep); flex:none; }
.brand-word{ font-family:var(--font-display); font-size:1.35rem; font-weight:600; }
.brand-word em{ color:var(--green-fresh); font-style:normal; }

.nav-links{ display:flex; align-items:center; gap:32px; }
.nav-links a{
  font-size:.95rem; font-weight:600; color:var(--ink-soft);
  position:relative; padding-block:4px;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px;
  background:var(--green-fresh); transition:right .25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after{ right:0; }
.nav-links a[aria-current="page"]{ color:var(--ink); }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; background:none; border:none; padding:8px; color:var(--ink);
}
.nav-toggle svg{ width:26px; height:26px; }

.nav-links-wa{ display:none; }

@media (max-width:860px){
  .nav-links{
    position:fixed; inset:70px 0 auto 0; margin:0 16px;
    background:var(--white); border:1px solid var(--line); border-radius:16px;
    flex-direction:column; align-items:flex-start; gap:0;
    padding:8px; box-shadow:var(--shadow);
    transform:translateY(-12px); opacity:0; pointer-events:none;
    transition:transform .2s ease, opacity .2s ease;
  }
  .nav-links.is-open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-links a{ width:100%; padding:14px 12px; }
  .nav-toggle{ display:inline-flex; }
  .nav-cta .btn-ghost, .nav-cta .btn-wa{ display:none; }
  .nav-links-wa{ display:flex; margin:10px 12px 4px; width:calc(100% - 24px); }
}

/* ---------- section rhythm ---------- */
.section{ padding-block:96px; }
.section-alt{ background:var(--paper); }
.section-deep{ background:var(--green-deep); color:var(--white); }
.section-deep p{ color:#CFE6DC; }
.section-deep h2, .section-deep h3{ color:var(--white); }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-inline:auto; text-align:center; }

@media (max-width:640px){ .section{ padding-block:64px; } }

/* ---------- hero ---------- */
.hero{
  padding-top:64px; padding-bottom:80px;
  display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;
}
.hero-copy p{ font-size:1.1rem; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:32px; }
.hero-art{ position:relative; }
.hero-art svg{ width:100%; height:auto; }

.hero-fan{ position:relative; min-height:400px; padding-top:12px; }
.hero-fan::before{
  content:""; position:absolute; top:12px; left:0; right:6%; height:1px;
  background:repeating-linear-gradient(90deg,var(--line) 0 6px, transparent 6px 12px);
}
.hero-hang{ position:absolute; top:12px; display:flex; flex-direction:column; align-items:center; width:190px; }
.hero-string{ width:1px; background:var(--line); }
.hero-hang .tag-card{ width:190px; box-shadow:var(--shadow); }
.hero-hang .tag-card h3{ font-size:1.05rem; }

.stat-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; margin-top:64px;
}
.stat{ background:var(--white); padding:24px 20px; }
.stat b{
  display:block; font-family:var(--font-mono); font-size:1.7rem; color:var(--green-deep);
}
.stat span{ font-size:.82rem; color:var(--ink-soft); }

@media (max-width:900px){
  .hero{ grid-template-columns:1fr; }
  .stat-strip{ grid-template-columns:repeat(2,1fr); }
}

/* ---------- ear-tag card (signature component) ---------- */
.tag-card{
  position:relative;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px 22px 22px 40px;
  box-shadow:0 1px 0 var(--line);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tag-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--green-fresh); }
.tag-card::before{
  /* punch hole */
  content:"";
  position:absolute; left:16px; top:24px;
  width:9px; height:9px; border-radius:50%;
  background:var(--paper); border:1.5px solid var(--line);
}
.tag-card::after{
  content:""; position:absolute; left:22px; top:22px; bottom:22px; width:1px;
  background:repeating-linear-gradient(var(--line) 0 4px, transparent 4px 8px);
}
.tag-code{
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.06em;
  color:var(--green-deep); text-transform:uppercase;
}
.tag-card h3{ margin:.3em 0 .2em; }
.tag-meta{ display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 16px; }
.chip{
  font-family:var(--font-mono); font-size:.74rem;
  background:var(--green-pale); color:var(--green-deep);
  padding:.35em .7em; border-radius:999px;
}
.chip.alert{ background:#F6E3CE; color:var(--alert); }
.tag-price{ display:flex; align-items:baseline; justify-content:space-between; margin-top:auto; }
.tag-price b{ font-family:var(--font-mono); font-size:1.25rem; color:var(--ink); }
.tag-price span{ font-size:.8rem; color:var(--ink-soft); }

.tag-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:940px){ .tag-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .tag-grid{ grid-template-columns:1fr; } }

/* ---------- feature list ---------- */
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:36px; }
.feature{ display:flex; flex-direction:column; gap:12px; }
.feature-icon{
  width:52px; height:52px; border-radius:14px;
  background:var(--green-pale); color:var(--green-deep);
  display:flex; align-items:center; justify-content:center;
}
.feature-icon svg{ width:26px; height:26px; }
@media (max-width:900px){ .feature-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .feature-grid{ grid-template-columns:1fr; } }

/* ---------- process timeline (real sequence -> numbered) ---------- */
.timeline{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; }
.timeline::before{
  content:""; position:absolute; top:26px; left:0; right:0; height:1px;
  background:var(--line);
}
.timeline-step{ position:relative; padding-right:20px; }
.step-num{
  width:52px; height:52px; border-radius:50%;
  background:var(--white); border:1.5px solid var(--green-deep); color:var(--green-deep);
  font-family:var(--font-mono); font-size:1.05rem;
  display:flex; align-items:center; justify-content:center;
  position:relative; z-index:1; margin-bottom:18px;
}
.timeline-step:first-child .step-num{ background:var(--green-deep); color:var(--white); }
.timeline-step h4{ font-family:var(--font-body); font-weight:700; font-size:1rem; margin-bottom:.35em; }
.timeline-step p{ font-size:.9rem; }
@media (max-width:940px){
  .timeline{ grid-template-columns:1fr 1fr; gap:32px 24px; }
  .timeline::before{ display:none; }
}
@media (max-width:560px){ .timeline{ grid-template-columns:1fr; } }

/* ---------- testimonial ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testi{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; display:flex; flex-direction:column; gap:16px;
}
.testi-quote{ font-family:var(--font-display); font-size:1.1rem; font-style:italic; color:var(--ink); }
.testi-who{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.testi-avatar{
  width:40px; height:40px; border-radius:50%; background:var(--green-pale); color:var(--green-deep);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:700; flex:none;
}
.testi-who b{ display:block; font-size:.9rem; }
.testi-who span{ font-size:.78rem; color:var(--ink-soft); }
@media (max-width:900px){ .testi-grid{ grid-template-columns:1fr; } }

/* ---------- CTA band ---------- */
.cta-band{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  background:var(--green-deep); color:var(--white);
  border-radius:24px; padding:48px 56px;
}
.cta-band h2{ color:var(--white); margin-bottom:.2em; }
.cta-band p{ color:#CFE6DC; margin:0; }
@media (max-width:760px){
  .cta-band{ flex-direction:column; text-align:center; padding:40px 28px; }
}

/* ---------- footer ---------- */
.footer-accent{ height:4px; background:linear-gradient(90deg,var(--green-fresh) 0%,var(--green-deep) 55%,var(--sand) 100%); }
.site-footer{ background:var(--ink); color:#D9E4DE; }
.footer-top{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px;
  padding-block:56px 40px;
}
.footer-brand .brand-word{ color:var(--white); }
.footer-brand .brand-mark{ color:var(--green-fresh); }
.footer-brand p{ color:#9FB3A9; margin-top:14px; }
.footer-col h4{ font-family:var(--font-mono); font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; color:#9FB3A9; margin-bottom:16px; }
.footer-col li{ margin-bottom:10px; }
.footer-col a:hover{ color:var(--green-fresh); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding-block:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:.82rem; color:#7E9389;
}
@media (max-width:860px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero{ padding-block:64px 56px; }
.page-hero .eyebrow{ margin-bottom:18px; }
.page-hero p{ font-size:1.05rem; }
.breadcrumb{ font-family:var(--font-mono); font-size:.78rem; color:var(--ink-soft); margin-bottom:18px; }
.breadcrumb a:hover{ color:var(--green-deep); }

/* ---------- about page bits ---------- */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .about-grid{ grid-template-columns:1fr; } }
.value-list{ display:grid; gap:20px; margin-top:8px; }
.value-item{ display:flex; gap:16px; }
.value-item .num{ font-family:var(--font-mono); color:var(--green-fresh); font-size:.85rem; padding-top:4px; }
.legal-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:860px){ .legal-grid{ grid-template-columns:1fr; } }
.legal-card{ border:1px solid var(--line); border-radius:16px; padding:24px; text-align:center; }
.legal-card svg{ margin-inline:auto; width:36px; height:36px; color:var(--green-deep); margin-bottom:12px; }

/* ---------- product filters ---------- */
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:40px; }
.filter-btn{
  padding:.6em 1.3em; border-radius:999px; border:1.5px solid var(--line);
  font-size:.88rem; font-weight:600; color:var(--ink-soft); background:var(--white);
  transition:all .18s ease;
}
.filter-btn:hover{ border-color:var(--green-deep); color:var(--ink); }
.filter-btn.is-active{ background:var(--green-deep); border-color:var(--green-deep); color:var(--white); }

/* ---------- gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.gallery-item{
  border-radius:16px; overflow:hidden; border:1px solid var(--line);
  aspect-ratio:4/3; display:flex; align-items:center; justify-content:center;
  background:var(--paper); position:relative;
}
.gallery-item svg{ width:46%; height:46%; color:var(--green-deep); opacity:.85; }
.gallery-item .g-label{
  position:absolute; left:14px; bottom:14px; font-family:var(--font-mono);
  font-size:.72rem; background:rgba(255,255,255,.9); padding:.35em .7em; border-radius:999px; color:var(--ink);
}
.gallery-item.tall{ grid-row:span 2; aspect-ratio:auto; }
@media (max-width:900px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); } .gallery-item.tall{ grid-row:span 1; aspect-ratio:4/3; } }
@media (max-width:560px){ .gallery-grid{ grid-template-columns:1fr; } }

/* ---------- contact page ---------- */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; }
@media (max-width:940px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:32px;
}
.contact-line{ display:flex; gap:16px; padding-block:16px; border-top:1px solid var(--line); }
.contact-line:first-of-type{ border-top:none; }
.contact-line svg{ width:22px; height:22px; color:var(--green-deep); flex:none; margin-top:2px; }
.contact-line b{ display:block; font-size:.95rem; }
.contact-line span, .contact-line a{ font-size:.9rem; color:var(--ink-soft); }

.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid .full{ grid-column:1 / -1; }
label{ display:block; font-size:.85rem; font-weight:600; margin-bottom:6px; }
input, select, textarea{
  width:100%; font:inherit; padding:.85em 1em; border-radius:10px;
  border:1.5px solid var(--line); background:var(--white); color:var(--ink);
  transition:border-color .18s ease;
}
input:focus, select:focus, textarea:focus{ border-color:var(--green-deep); outline:none; }
textarea{ resize:vertical; min-height:110px; }
.form-note{ font-size:.8rem; color:var(--ink-soft); margin-top:14px; }
.form-status{ font-size:.85rem; margin-top:10px; display:none; }
.form-status.show{ display:block; }

.map-frame{
  border-radius:var(--radius); border:1px solid var(--line); overflow:hidden; aspect-ratio:16/9;
  background:var(--paper); display:flex; align-items:center; justify-content:center; margin-top:24px;
}
.map-frame svg{ width:40%; color:var(--green-deep); opacity:.7; }

/* ---------- reveal on scroll ---------- */
[data-reveal]{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible{ opacity:1; transform:none; }

