/* ==========================================================
   Saltique — Shared Stylesheet
   Built from official Brand Identity Guideline (2025)
   ========================================================== */

:root {
  /* --- Primary brand colour (Pantone 556 / Rosemary) --- */
  --green: #2A83A8;
  --green-dark: #155975;
  --green-light: #E9F6FC;
  --brand-blue: #71C5E8;

  /* --- Flavour accent colours (from CI colour scheme) --- */
  --terracotta: #D8AD89;   /* Pepper / Garlic */
  --terracotta-dark: #B2835C;
  --terracotta-light: #F5E9DD;

  --pink: #F48CA1;         /* Chilli */
  --pink-dark: #D9647C;
  --pink-light: #FCE6EA;

  --lemon: #D6E044;        /* Lemon */
  --lemon-dark: #A8B22B;
  --lemon-light: #F5F7DE;

  /* --- Supporting colours --- */
  --navy: #082340;
  --maroon: #6D3218;
  --taupe: #A09284;
  --cool-gray: #DED7D0;
  --blush: #EFE2DC;
  --sand: #E7DBCE;

  /* --- Neutrals --- */
  --cream: #F7F1EA;
  --cream-2: #EFE2DC;
  --ink: #414042;
  --ink-muted: #726F6E;
  --white: #FFFFFF;
  --border: #E3D9CD;

  --shadow: 0 10px 30px rgba(65, 64, 66, 0.09);
  --radius: 4px;
  --radius-lg: 10px;

  /* Brand typography: English = Apparat (Jost as web-safe pairing), Thai = Noto Sans Thai */
  --sans: "Jost", "Noto Sans Thai", sans-serif;
  --thai: "Noto Sans Thai", "Jost", sans-serif;
  --logo-serif: "Cormorant Garamond", serif;
}

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

body {
  margin: 0;
  font-family: var(--thai);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-muted); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-dark);
  display: inline-block;
  margin-bottom: 0.9em;
}
.eyebrow.on-dark { color: var(--cream-2); }
.eyebrow.terracotta { color: var(--terracotta-dark); }
.eyebrow.pink { color: var(--pink-dark); }
.eyebrow.lemon { color: var(--lemon-dark); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline.on-dark { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline.on-dark:hover { background: var(--white); color: var(--green-dark); }
.btn-cream {
  background: var(--cream);
  color: var(--ink);
}
.btn-cream:hover { background: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 42px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ink-muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.85rem; }

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-switch a {
  padding: 6px 12px;
  color: var(--ink-muted);
}
.lang-switch a.active {
  background: var(--green);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  padding: 64px 0 90px;
}
.hero-copy .eyebrow { margin-bottom: 1em; }
.hero-copy p.lead {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 1.8em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 60px 0 50px;
  text-align: center;
  background: var(--cream-2);
}
.page-hero p { max-width: 620px; margin: 0 auto; }

.split-band { position: relative; overflow: hidden; }
.split-band img { width: 100%; height: 380px; object-fit: cover; }

/* ---------- Sections ---------- */
.section-cream { background: var(--cream); }
.section-dark { background: var(--green-dark); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.8); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-greige { background: var(--cream-2); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink p { color: rgba(255,255,255,0.72); }
.section-ink h2, .section-ink h3 { color: var(--white); }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grid / Cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card .card-media { aspect-ratio: 4/5; overflow: hidden; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card .card-body { padding: 22px 22px 26px; }
.card .tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tag.green { background: var(--green-light); color: var(--green-dark); }
.tag.terracotta { background: var(--terracotta-light); color: var(--terracotta-dark); }
.tag.pink { background: var(--pink-light); color: var(--pink-dark); }
.tag.lemon { background: var(--lemon-light); color: var(--lemon-dark); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .num { font-family: var(--sans); font-size: 2.5rem; font-weight: 600; color: var(--green); }
.stat .label { font-size: 0.9rem; color: var(--ink-muted); margin-top: 4px; }

.feature-row { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 34px; }
.feature-row .icon-circle {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; color: var(--green-dark);
  font-size: 1.2rem;
}
.feature-row h4 { margin-bottom: 6px; }
.feature-row p { margin: 0; }

/* ---------- Product detail rows (products.html) ---------- */
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}
.product-row:last-child { border-bottom: none; }
.product-row.reverse .product-media { order: 2; }
.product-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-media img { width: 100%; height: 560px; object-fit: cover; }
.ingredient-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  margin: 18px 0 10px;
  background: var(--cream-2);
}
.ingredient-bar span { height: 100%; }
.ingredient-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.ingredient-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.meta-line { display: flex; gap: 28px; font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 20px; flex-wrap: wrap; }
.meta-line strong { color: var(--ink); }

/* ---------- Quote / banner blocks ---------- */
.banner-quote { text-align: center; padding: 80px 0; }
.banner-quote .quote-text {
  font-family: var(--logo-serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-style: italic;
  max-width: 780px;
  margin: 0 auto 0.4em;
  color: var(--ink);
}

.cta-banner {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-banner p { color: rgba(255,255,255,0.8); margin: 0; max-width: 480px; }

/* ---------- Company info blocks ---------- */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
}
.info-card h4 { margin-bottom: 10px; color: var(--green-dark); }
.info-card p { margin: 0; font-size: 0.95rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--sans); font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--thai);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); }
textarea { resize: vertical; min-height: 120px; }

/* ---------- Table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--border); }
.spec-table th {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--green-dark);
  background: var(--cream-2);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.spec-table tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid .logo img { height: 38px; }
.footer-grid p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}
.social-row a:hover { background: var(--white); color: var(--ink); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.max-w { max-width: 560px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-wrap { position: relative; flex-wrap: wrap; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream, #fff);
    border-bottom: 1px solid var(--border);
    padding: 12px 28px 18px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
  .hero { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 20px; }
  .product-row { grid-template-columns: 1fr; gap: 30px; }
  .product-row.reverse .product-media { order: 0; }
  .product-media img { height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
}
@media (max-width: 620px) {
  section { padding: 60px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Fleur de sel icon row ---------- */
.fleur-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 56px;
  margin-top: 12px;
}
.fleur-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--green);
}
.fleur-icon h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.fleur-copy {
  max-width: 700px;
  margin: 48px auto 0;
  text-align: left;
}
.fleur-copy p {
  line-height: 1.85;
  margin-bottom: 20px;
}
.fleur-copy .fleur-tagline {
  font-family: var(--logo-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--green-dark);
  text-align: center;
  margin-top: 32px;
  margin-bottom: 0;
}
@media (max-width: 620px) {
  .fleur-icons { gap: 34px; }
}
