:root {
  --emerald: #0a4a3a;
  --emerald-dark: #072e25;
  --gold: #c4a260;
  --gold-light: #ddc38f;
  --cream: #f6f2ea;
  --bone: #f1e9d8;
  --espresso: #1a1410;
  --text: #26302c;
  --radius: 4px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--emerald-dark);
  margin: 0 0 .5em;
}

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .8em;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section-lead {
  max-width: 640px;
  color: #4b5750;
}

section { padding: 88px 0; }

.bg-emerald {
  background: var(--emerald);
  color: var(--bone);
}
.bg-emerald h1, .bg-emerald h2, .bg-emerald h3, .bg-emerald h4 { color: var(--bone); }

.bg-bone { background: var(--bone); }

/* Header */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 74, 58, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(196,162,96,.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 68px; width: auto; }
.brand-text {
  font-family: var(--serif);
  color: var(--bone);
  line-height: 1.1;
}
.brand-text .b1 { font-size: 1.05rem; letter-spacing: .12em; }
.brand-text .b2 { font-size: .68rem; letter-spacing: .3em; color: var(--gold-light); text-transform: uppercase; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav.main-nav a {
  color: var(--bone);
  font-size: .88rem;
  letter-spacing: .04em;
  position: relative;
  padding: 4px 0;
}
nav.main-nav a:hover { color: var(--gold-light); }

.lang-dropdown {
  position: relative;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(196,162,96,.4);
  border-radius: 999px;
  color: var(--bone);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 8px 14px;
  cursor: pointer;
}
.lang-current:hover { border-color: var(--gold); }
.lang-caret {
  font-size: .6rem;
  color: var(--gold-light);
  transition: transform .2s ease;
}
.lang-dropdown.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--emerald-dark);
  border: 1px solid rgba(196,162,96,.4);
  border-radius: var(--radius);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 16px 32px -16px rgba(0,0,0,.5);
  z-index: 50;
}
.lang-dropdown.open .lang-menu { display: flex; }
.lang-menu button {
  background: transparent;
  border: none;
  color: var(--bone);
  font-size: .85rem;
  text-align: left;
  padding: 9px 12px;
  border-radius: 4px;
  cursor: pointer;
}
.lang-menu button:hover { background: rgba(196,162,96,.15); }
.lang-menu button.active {
  background: var(--gold);
  color: var(--espresso);
  font-weight: 600;
}

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--bone);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--bone);
  background: linear-gradient(160deg, var(--emerald-dark) 0%, var(--emerald) 55%, #0d5744 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(196,162,96,.16), transparent 55%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
  padding-top: 96px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  color: var(--bone);
  margin-bottom: .3em;
}
.hero .accent { color: var(--gold); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,162,96,.12);
  border: 1px solid rgba(196,162,96,.5);
  color: var(--gold-light);
  font-size: .78rem;
  letter-spacing: .02em;
  padding: 9px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero p.lead {
  max-width: 480px;
  color: #d9e5df;
  font-size: 1.05rem;
  margin-bottom: 2em;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: .85rem;
  letter-spacing: .05em;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--espresso); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(246,242,234,.5); color: var(--bone); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(196,162,96,.4);
  aspect-ratio: 4/5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .frame-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(10,74,58,.85);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

.hero-strip {
  position: relative;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 26px 0 10px;
  margin-top: 40px;
  border-top: 1px solid rgba(196,162,96,.25);
}
.hero-strip div { font-size: .82rem; color: #cfe0d8; }
.hero-strip strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: 1rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--gold);
  outline: 10px solid var(--cream);
  outline-offset: -18px;
}
.about-facts {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about-facts .fact {
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}
.about-facts .fact strong {
  display: block;
  font-family: var(--serif);
  color: var(--emerald-dark);
  font-size: 1.5rem;
}
.about-facts .fact span { font-size: .8rem; color: #5b665f; }

.member-badge {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(196,162,96,.4);
  border-radius: var(--radius);
  padding: 12px 18px;
}
.member-badge img { height: 34px; width: auto; }
.member-badge span { font-size: .82rem; color: #4b5750; max-width: 220px; }

/* EMP Chair Pro */
.emp-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: start;
  margin-top: 40px;
}
.emp-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(196,162,96,.35);
  position: sticky;
  top: 110px;
}
.emp-photo img { width: 100%; height: auto; display: block; }
.emp-intro { color: #4b5750; margin-bottom: 30px; }
.emp-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.emp-col h4 {
  font-size: 1rem;
  color: var(--emerald-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.emp-col h4::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.emp-col ul { margin: 0 0 26px; padding-left: 18px; color: #4b5750; font-size: .92rem; }
.emp-col ul li { margin-bottom: 6px; }
.emp-note {
  background: var(--bone);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: .85rem;
  color: #4b5750;
  margin-top: 10px;
}
.emp-note strong { display: block; color: var(--emerald-dark); margin-bottom: 4px; font-family: var(--serif); }
.emp-price {
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.emp-price .amt {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--emerald-dark);
}
.emp-price .pn { font-size: .82rem; color: #5b665f; }

/* Diff table */
.diff-table {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(196,162,96,.3);
}
.diff-head, .diff-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
}
.diff-head {
  background: var(--emerald);
  color: var(--bone);
  font-family: var(--serif);
  font-size: .95rem;
}
.diff-head > div { padding: 16px 18px; }
.diff-row { border-top: 1px solid rgba(196,162,96,.25); background: #fff; }
.diff-row:nth-child(even) { background: var(--cream); }
.diff-row > div { padding: 16px 18px; font-size: .88rem; }
.diff-row .lbl { font-weight: 600; color: var(--emerald-dark); background: var(--bone); }
.diff-row .a { color: #1f5a45; }
.diff-row .b { color: #5b665f; }
.diff-source { margin-top: 16px; font-size: .78rem; color: #8a8378; }

/* NutriAtlas AI banner */
.nutri-banner {
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
  border: 1px solid rgba(196,162,96,.4);
  border-radius: var(--radius);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.nutri-banner h3 {
  color: var(--bone);
  font-size: 1.6rem;
  margin: 4px 0 10px;
}
.nutri-banner p {
  color: #cfe0d8;
  max-width: 480px;
  margin: 0;
  font-size: .92rem;
}
.nutri-banner .eyebrow { margin-bottom: 4px; }
.nutri-banner .btn { flex-shrink: 0; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: var(--cream);
  border: 1px solid rgba(196,162,96,.35);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -22px rgba(10,74,58,.4);
  border-color: var(--gold);
}
.service-card .num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: .1em;
}
.service-card h3 { font-size: 1.15rem; margin-top: 10px; }
.service-card p { font-size: .9rem; color: #4b5750; margin: 0; }

/* Prices */
.price-table {
  margin-top: 40px;
  border: 1px solid rgba(246,242,234,.25);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 26px;
  border-bottom: 1px solid rgba(246,242,234,.15);
  font-size: .98rem;
}
.price-row:last-child { border-bottom: none; }
.price-row .label { color: var(--bone); }
.price-row .amount {
  font-family: var(--serif);
  color: var(--gold-light);
  font-weight: 600;
  white-space: nowrap;
}
.price-note {
  margin-top: 24px;
  font-size: .82rem;
  color: #b9ccc3;
  max-width: 640px;
}

/* Gallery */
.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius);
}
.gallery-grid .tall { grid-row: span 2; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}
.contact-info .item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}
.contact-info .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info h4 { margin-bottom: .2em; font-size: 1.05rem; }
.contact-info p { margin: 0; color: #4b5750; font-size: .92rem; }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(196,162,96,.35);
  min-height: 320px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Footer */
footer {
  background: var(--espresso);
  color: #b8b0a6;
  padding: 50px 0 24px;
  font-size: .85rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid rgba(196,162,96,.2);
  padding-bottom: 30px;
  margin-bottom: 20px;
}
.footer-brand { font-family: var(--serif); color: var(--gold-light); font-size: 1.2rem; }
.footer-note { max-width: 380px; }
footer .legal-links { display: flex; gap: 18px; }
footer .legal-links a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .78rem; color: #776e63;
}

/* Legal modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,15,12,.6);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--cream);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
}
.modal h3 { margin-top: 0; }
.modal .close-btn {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--emerald);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 380px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .emp-grid { grid-template-columns: 1fr; }
  .emp-photo { position: static; }
  .emp-cols { grid-template-columns: 1fr; }
  .diff-table { overflow-x: auto; }
  .diff-head, .diff-row { grid-template-columns: 140px 1fr 1fr; min-width: 560px; }
  nav.main-nav { display: none; }
  .burger { display: block; }
  nav.main-nav.open {
    display: flex;
    position: absolute;
    top: 96px; left: 0; right: 0;
    background: var(--emerald-dark);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .about-facts { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
