/* ==========================================================================
   ดิ ออร์คิด เฮ้าส์ — Design tokens
   Color:  ink (deep botanical green), paper (warm ivory), sage (muted green text),
           orchid (magenta/purple accent), gold (export/premium accent)
   Type:   Trirong (display / headings, elegant Thai serif) + Sarabun (body)
   Layout: soft arched hero, scalloped/wave dividers, leaf-motif accents —
           organic curves rather than hard angles, to feel botanical
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Trirong:wght@400;500;600;700&family=Sarabun:wght@400;500;600;700&display=swap');

:root{
  --ink: #1f3327;
  --ink-soft: #294436;
  --paper: #faf6ee;
  --paper-dim: #f1e8d8;
  --white: #ffffff;
  --sage: #5f715f;
  --sage-dim: #93a291;
  --orchid: #9c3f86;
  --orchid-dark: #7a2f68;
  --gold: #c69a4e;
  --line: rgba(31,51,39,0.14);
  --line-light: rgba(255,255,255,0.18);

  --font-display: 'Trirong', 'Noto Serif Thai', serif;
  --font-body: 'Sarabun', 'Noto Sans Thai', sans-serif;

  --maxw: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.3;
  font-weight: 600;
}
p{ margin: 0 0 1em; color: var(--ink); }
.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section--dark{ background: var(--ink); color: var(--paper); }
.section--dark p{ color: var(--sage-dim); }
.section--dark h2, .section--dark h3{ color: var(--white); }
.section--paper-dim{ background: var(--paper-dim); }

.eyebrow-tag{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--orchid);
  margin-bottom: 16px;
}
.eyebrow-tag::before{
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head{
  max-width: 640px;
  margin-bottom: 46px;
}
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-head p{ color: var(--sage); font-size: 1.05rem; }

/* ---------------- Header / Nav ---------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,246,238,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand .mark{
  width: 42px; height: 42px;
  background: var(--ink);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50% 50% 50% 8px;
}
.brand small{
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--sage);
  letter-spacing: 0.02em;
}
.nav-links{
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a{
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after{
  content:"";
  position: absolute; left:0; bottom:-2px;
  height: 2px; width: 0;
  border-radius: 2px;
  background: var(--orchid);
  transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a.is-active::after{ width: 100%; }
.nav-links a.is-active{ color: var(--orchid); }

.nav-cta{
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 11px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary{
  background: var(--orchid);
  color: var(--white);
}
.btn--primary:hover{ background: var(--orchid-dark); }
.btn--ghost{
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover{ background: var(--ink); color: var(--paper); }
.btn--gold{
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover{ background: #b3873c; }

.menu-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span{
  width: 24px; height: 2px; background: var(--ink);
}

/* ---------------- Hero ---------------- */
.hero{
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  border-radius: 0 0 90px 90px;
}
.hero img.hero-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.68;
}
.hero::before{
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,32,25,0.25) 0%, rgba(20,32,25,0.5) 45%, rgba(20,32,25,0.95) 100%);
}
.hero-content{
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  max-width: 760px;
}
.hero-content .eyebrow-tag{ color: var(--gold); }
.hero-content .eyebrow-tag::before{ background: var(--orchid); }
.hero-content h1{
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
}
.hero-content p{
  color: #e4e6de;
  font-size: 1.15rem;
  max-width: 560px;
}
.hero-actions{
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------------- Stat strip ---------------- */
.stat-strip{
  background: var(--ink-soft);
  color: var(--white);
}
.stat-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item{
  padding: 32px 20px;
  text-align: center;
  border-left: 1px solid var(--line-light);
}
.stat-item:first-child{ border-left: none; }
.stat-item .num{
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
}
.stat-item .label{
  font-size: 0.9rem;
  color: var(--sage-dim);
}

/* ---------------- Cards / grids ---------------- */
.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
  align-items: center;
}
.info-card{
  border: 1px solid var(--line);
  background: var(--white);
  padding: 32px 28px;
  border-radius: 22px;
}
.info-card .icon-tab{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.info-card .icon-tab::after{
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orchid);
}
.info-card h3{ font-size: 1.2rem; }
.info-card p{ color: var(--sage); font-size: 0.98rem; margin-bottom: 0; }

.product-card{
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  border-radius: 22px;
}
.product-card .thumb{
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-card img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover img{ transform: scale(1.06); }
.product-card .body{ padding: 22px 24px 26px; }
.product-card .cat{
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orchid);
  letter-spacing: 0.02em;
}
.product-card h3{ font-size: 1.15rem; margin: 6px 0 8px; }
.product-card p{ color: var(--sage); font-size: 0.95rem; margin-bottom: 0; }

/* ---------------- Steps (real sequence only) ---------------- */
.step-row{
  display: flex;
  gap: 26px;
  counter-reset: step;
}
.step-row .step{
  flex: 1;
  position: relative;
  padding-top: 50px;
  border-top: 2px solid var(--line);
}
.step-row .step::before{
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -2px; left: 0;
  width: 48px; height: 48px;
  transform: translateY(-50%);
  background: var(--orchid);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step-row .step h4{ font-size: 1.05rem; }
.step-row .step p{ color: var(--sage); font-size: 0.93rem; }

/* ---------------- Value list ---------------- */
.value-list{ list-style: none; margin: 0; padding: 0; }
.value-list li{
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.value-list li:last-child{ border-bottom: 1px solid var(--line); }
.value-list .tag{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  background: var(--ink);
  min-width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-list h4{ margin: 0 0 4px; font-size: 1.05rem; }
.value-list p{ margin: 0; color: var(--sage); font-size: 0.95rem; }

/* ---------------- CTA banner ---------------- */
.cta-banner{
  background: var(--orchid);
  color: var(--white);
  padding: 60px 0;
  border-radius: 40px;
  margin: 0 24px;
}
.cta-banner .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  max-width: calc(var(--maxw) - 48px);
}
.cta-banner h2{ color: var(--white); font-size: 1.7rem; margin: 0; }
.cta-banner p{ color: rgba(255,255,255,0.88); margin: 6px 0 0; }

/* ---------------- Table (hours / info) ---------------- */
.info-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.info-table th, .info-table td{
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th{
  width: 220px;
  color: var(--sage);
  font-weight: 500;
}

/* ---------------- Footer ---------------- */
.site-footer{
  background: var(--ink);
  color: var(--sage-dim);
  padding: 68px 0 30px;
  border-radius: 60px 60px 0 0;
  margin-top: 40px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}
.footer-grid h4{
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 600;
}
.footer-grid p, .footer-grid a{
  color: var(--sage-dim);
  font-size: 0.93rem;
  display: block;
  margin-bottom: 8px;
}
.footer-grid a:hover{ color: var(--gold); }
.footer-brand .brand{ color: var(--white); margin-bottom: 14px; }
.footer-brand .brand small{ color: var(--sage-dim); }
.footer-bottom{
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--sage-dim);
}
.footer-bottom a:hover{ color: var(--gold); }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero{
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 50px;
  border-radius: 0 0 60px 60px;
}
.page-hero .eyebrow-tag{ color: var(--gold); }
.page-hero .eyebrow-tag::before{ background: var(--orchid); }
.page-hero h1{ color: var(--white); font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-hero p{ color: var(--sage-dim); max-width: 620px; font-size: 1.05rem; }

.breadcrumb{
  font-size: 0.85rem;
  color: var(--sage-dim);
  margin-bottom: 18px;
}
.breadcrumb a:hover{ color: var(--gold); }

/* ---------------- Map / contact ---------------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.map-frame{
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 24px;
  height: 100%;
  min-height: 420px;
}
.map-frame iframe{ width: 100%; height: 100%; border: 0; display: block; }

.channel-card{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px 22px;
  margin-bottom: 16px;
  border-radius: 20px;
}
.channel-card .tag{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  background: var(--ink);
  min-width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.channel-card h4{ margin: 0 0 4px; font-size: 1.02rem; }
.channel-card p{ margin: 0; color: var(--sage); font-size: 0.95rem; }
.channel-card a{ color: var(--orchid); font-weight: 600; }

/* ---------------- Policy content ---------------- */
.policy-body h2{
  font-size: 1.35rem;
  margin-top: 2.2em;
  padding-top: 0.6em;
  border-top: 1px solid var(--line);
}
.policy-body h2:first-child{ margin-top: 0; border-top: none; padding-top: 0; }
.policy-body p, .policy-body li{ color: var(--sage); font-size: 1rem; }
.policy-body ul{ padding-left: 1.2em; }
.policy-body .updated{
  color: var(--sage-dim);
  font-size: 0.9rem;
  margin-bottom: 2em;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .stat-grid{ grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(3){ border-left: none; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .step-row{ flex-direction: column; }
  .hero{ border-radius: 0 0 50px 50px; }
  .page-hero{ border-radius: 0 0 40px 40px; }
}
@media (max-width: 720px){
  .nav-links, .nav-cta .btn--ghost{ display: none; }
  .menu-toggle{ display: flex; }
  .grid-3{ grid-template-columns: 1fr; }
  .stat-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .cta-banner .container{ flex-direction: column; align-items: flex-start; }
  .cta-banner{ margin: 0 12px; border-radius: 28px; }
  .hero{ min-height: 88vh; }
  .site-footer{ border-radius: 36px 36px 0 0; }
}

/* Mobile nav drawer */
.nav-links.open{
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--paper);
  flex-direction: column;
  padding: 20px 24px 26px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
