/* ============================================
   Nutri Santé — brand tokens
   Cream base, forest green primary, marigold accent
   ============================================ */

:root {
  --cream: #F7F2E6;
  --cream-deep: #EFE6D3;
  --forest: #1F5C3F;
  --forest-dark: #15402C;
  --forest-tint: #E7F0EA;
  --marigold: #E0964A;
  --marigold-dark: #C57B36;
  --charcoal: #29291F;
  --charcoal-soft: #5B5A4C;
  --white: #FFFFFF;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.55;
  font-size: 17px;
}

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

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--forest-dark);
  margin: 0;
  line-height: 1.15;
}

/* -------- focus visibility -------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============ Header ============ */

.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--cream-deep);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--forest-dark);
}

.brand-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  color: var(--marigold-dark);
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav a:hover { border-bottom-color: var(--marigold); }

.nav-toggle { display: none; }

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 13px;
  align-items: center;
}

@media (max-width: 760px) {
  nav ul {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 300px;
    background: var(--white);
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 80px 28px 28px;
    box-shadow: -10px 0 30px rgba(31,92,63,0.18);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 1001;
  }
  nav ul.nav-open {
    transform: translateX(0);
  }
  nav a {
    font-size: 17px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-deep);
    width: 100%;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 20, 0.4);
    z-index: 1000;
  }
  .nav-overlay.nav-open {
    display: block;
  }

  .nav-toggle {
    display: inline-block;
    font-family: var(--sans);
    background: none;
    border: 1px solid var(--forest);
    color: var(--forest-dark);
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 13px;
  }

  .site-header { padding: 14px 0; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 17px; }
  .brand-tag { font-size: 10px; }

  .header-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
}

/* ============ Hero ============ */

.hero {
  padding: 72px 0 64px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  color: var(--marigold-dark);
  font-size: 19px;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 46px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--charcoal-soft);
  max-width: 480px;
  margin-bottom: 30px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
}
.btn-primary:hover { background: var(--forest-dark); }

.btn-secondary {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest-dark);
}
.btn-secondary:hover { background: var(--forest-tint); }

.hero .wrap.hero-single {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.about-intro {
  padding: 0 0 56px;
}

.about-intro .wrap {
  max-width: 720px;
}

.about-intro p {
  font-size: 17px;
  color: var(--charcoal-soft);
  line-height: 1.6;
}

.about-intro strong {
  color: var(--forest-dark);
}

.hero-badge {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}

.hero-badge img {
  border-radius: 50%;
  width: 78%;
  box-shadow: 0 0 0 8px var(--cream);
}

/* ============ Journey strip ============ */

.journey {
  background: var(--cream-deep);
  padding: 52px 0;
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
}

.journey h2 {
  color: var(--forest-dark);
  font-size: 26px;
  margin-bottom: 8px;
}

.journey .subhead {
  color: var(--charcoal-soft);
  margin-bottom: 34px;
  max-width: 560px;
}

.journey-steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.journey-step {
  flex: 1;
  min-width: 130px;
  text-align: left;
  color: var(--charcoal);
  position: relative;
  padding-top: 14px;
  border-top: 3px solid var(--marigold);
}

.journey-step .num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--marigold-dark);
  display: block;
  margin-bottom: 6px;
}

.journey-step .label {
  font-family: var(--serif);
  font-size: 17px;
}

/* ============ Services ============ */

.services {
  padding: 76px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-head h2 { font-size: 32px; }

.section-head p {
  color: var(--charcoal-soft);
  max-width: 420px;
  margin: 8px 0 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  border-left: 5px solid var(--marigold);
}

.service-card:nth-child(3n+2) { border-left-color: var(--forest); }
.service-card:nth-child(3n) { border-left-color: var(--forest-dark); }

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--charcoal-soft);
  font-size: 15px;
  margin: 0;
}

.services-more {
  margin-top: 28px;
  color: var(--charcoal-soft);
  font-size: 15px;
}

/* ============ Shop teaser ============ */

.shop-teaser {
  background: var(--cream-deep);
  padding: 60px 0;
  text-align: center;
}

.shop-teaser h2 { font-size: 28px; margin-bottom: 12px; }

.shop-teaser p {
  max-width: 480px;
  margin: 0 auto 26px;
  color: var(--charcoal-soft);
}

/* ============ Footer ============ */

footer {
  background: var(--cream-deep);
  color: var(--charcoal);
  padding: 56px 0 28px;
  font-size: 15px;
  border-top: 1px solid var(--cream-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

footer h4 {
  font-family: var(--serif);
  color: var(--forest-dark);
  font-size: 16px;
  margin: 0 0 14px;
}

footer p { margin: 0 0 8px; color: var(--charcoal-soft); }

footer a { color: var(--charcoal); }
footer a:hover { color: var(--marigold-dark); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand img {
  width: 36px; height: 36px; border-radius: 50%;
}
.footer-brand .brand-name {
  font-family: var(--serif);
  color: var(--forest-dark);
  font-size: 17px;
}
.footer-brand .brand-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  color: var(--marigold-dark);
}

.footer-bottom {
  border-top: 1px solid #E0D5BC;
  padding-top: 20px;
  font-size: 13px;
  color: var(--charcoal-soft);
}

/* ============ Consultation page ============ */

.consult-hero {
  padding: 60px 0 44px;
}

.consult-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  margin: 0 0 56px;
}

.consult-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--cream-deep);
  margin: 0 auto;
}

.consult-photo img { width: 100%; height: 100%; object-fit: cover; }

.consult-name {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--forest-dark);
  margin: 0 0 4px;
}

.consult-role {
  color: var(--charcoal-soft);
  font-size: 14px;
  margin: 0 0 20px;
}

.consult-actions { display: flex; gap: 20px; flex-wrap: wrap; }

.icon-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.icon-btn-call { background: var(--forest); }
.icon-btn-call:hover { background: var(--forest-dark); }

.icon-btn-whatsapp { background: #3F9142; }
.icon-btn-whatsapp:hover { background: #327634; }

.consult-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.consult-detail-card {
  background: var(--white);
  border-radius: 14px;
  padding: 30px 26px;
  border-top: 4px solid var(--marigold);
  text-align: left;
}

.consult-detail-card:nth-child(2) { border-top-color: var(--forest); }
.consult-detail-card:nth-child(3) { border-top-color: var(--forest-dark); }

.consult-detail-card i {
  display: block;
  font-size: 20px;
  color: var(--marigold-dark);
  margin-bottom: 14px;
}
.consult-detail-card:nth-child(2) i { color: var(--forest); }
.consult-detail-card:nth-child(3) i { color: var(--forest-dark); }

.consult-detail-card h3 {
  font-size: 13px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal-soft);
}

.consult-detail-card p {
  font-size: 22px;
  font-family: var(--serif);
  color: var(--forest-dark);
  margin: 0 0 0 6px;
}

.consult-online-note {
  background: var(--cream-deep);
  border-radius: 14px;
  padding: 30px;
  margin-bottom: 48px;
}

.consult-online-note h2 { font-size: 20px; margin-bottom: 10px; }
.consult-online-note p { color: var(--charcoal-soft); font-size: 15px; line-height: 1.6; margin: 0; }

.app-icon-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  background: var(--forest);
  border-radius: 999px;
  padding: 16px 36px;
  margin: 0 auto;
  width: fit-content;
}

.app-icon-row a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.app-icon-row a:hover { color: var(--cream-deep); }

/* ============ Ask-a-question form ============ */

.ask-form {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 40px;
}

.ask-form h2 { font-size: 20px; margin-bottom: 6px; }
.ask-form .sub { color: var(--charcoal-soft); font-size: 14px; margin-bottom: 24px; }

.ask-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 18px;
}

.ask-form input[type="text"],
.ask-form input[type="email"],
.ask-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid var(--cream-deep);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
}

.ask-form .hint { display: block; font-weight: 400; font-size: 12px; color: var(--charcoal-soft); margin-top: 4px; }

.ask-form textarea { resize: vertical; min-height: 90px; }

.reply-toggle { display: flex; gap: 20px; margin-top: 8px; font-weight: 400; }
.reply-toggle label { display: flex; align-items: center; gap: 6px; margin-bottom: 0; font-weight: 500; }

@media (max-width: 640px) {
  .consult-card { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; gap: 20px; }
  .consult-actions { justify-content: center; }
  .consult-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-badge { max-width: 260px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 34px; }
  .services-grid { grid-template-columns: 1fr; }
  .journey-steps { flex-direction: column; }
}
