/*
Theme Name: Salice Family Health
Author: Abdul Fatha
Description: A clean, custom base theme with full HTML flexibility.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: #
*/

:root {
  --olive: #6B7A46;
  --olive-deep: #4C5730;
  --olive-soft: #889563;
  --olive-mist: #EDEFE3;
  --mustard: #CB9B3C;
  --mustard-deep: #B0842B;
  --mustard-soft: #E0C285;
  --brown: #7A5C3E;
  --brown-deep: #5E462E;
  --offwhite: #F5F2E9;
  --offwhite-deep: #ECE7D8;
  --ink: #2B2A24;
  --ink-soft: #5E5C50;
  --line: rgba(107, 122, 70, 0.14);
  --white: #FFFFFF;
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.6;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--olive-deep);
  font-variation-settings: 'opsz' 144;
}
h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-variation-settings: 'opsz' 36; }

p { color: var(--ink-soft); line-height: 1.7; font-weight: 400; }
a { color: var(--olive-deep); text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }

.shell { max-width: 1320px; margin: 0 auto; padding: 0 56px; }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mustard-deep);
  font-weight: 600;
  margin-bottom: 20px;
}
.italic { font-style: italic; color: var(--mustard-deep); font-weight: 300; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 500;
  padding: 16px 30px; border-radius: 999px; cursor: pointer;
  transition: all 0.25s ease; border: 1px solid transparent; letter-spacing: 0.01em;
}
.btn-primary { background: var(--olive); color: var(--white); }
.btn-primary:hover { background: var(--olive-deep); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--olive-deep); border-color: var(--olive-soft); }
.btn-ghost:hover { background: var(--olive-mist); color: var(--olive-deep); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 1320px; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 24px; border-radius: 999px;
  background: rgba(245, 242, 233, 0.82); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 6px 28px rgba(76, 87, 48, 0.08);
}
.nav-mark { display: flex; align-items: center; gap: 12px; padding: 10px;}
.nav-mark .mono { width: 40px; height: 40px; }
.nav-mark img{width:50px;}
.nav-mark-text { display: flex; flex-direction: column; line-height: 1; }
.nav-mark-text .n1 {
  font-family: var(--font-display); font-size: 1.18rem; color: var(--olive-deep);
  letter-spacing: 0.16em; font-weight: 500;
}
.nav-mark-text .n2 {
  font-size: 0.54rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--mustard-deep); font-weight: 600; margin-top: 4px;
}
.nav-menu { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-menu a {
  font-size: 0.88rem; color: var(--ink-soft); font-weight: 500;
  padding: 9px 15px; border-radius: 999px; transition: all 0.2s;
}
.nav-menu a:hover { color: var(--olive-deep); background: var(--olive-mist); }
.nav-book {
  background: var(--olive); color: var(--white) !important; padding: 11px 22px !important;
  border-radius: 999px; font-size: 0.86rem; font-weight: 500;
}
.nav-book:hover { background: var(--olive-deep); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--olive-deep); border-radius: 2px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--olive-deep); padding: 80px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 54px; }
.foot-brand .nav-mark-text .n1 { color: var(--offwhite); }
.foot-brand p { color: rgba(245,242,233,0.6); font-size: 0.9rem; margin-top: 20px; max-width: 32ch; }
.foot-col h4 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mustard-soft); font-weight: 600; margin-bottom: 20px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { color: rgba(245,242,233,0.66); font-size: 0.9rem; }
.foot-col a:hover { color: var(--offwhite); }
.foot-disclaimer { border-top: 1px solid rgba(245,242,233,0.12); padding-top: 30px; }
.foot-disclaimer p { color: rgba(245,242,233,0.42); font-size: 0.76rem; line-height: 1.7; margin-bottom: 16px; max-width: 90ch; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 8px; }
.foot-bottom p { color: rgba(245,242,233,0.5); font-size: 0.82rem; }
.foot-legal { display: flex; gap: 22px; }
.foot-legal a { color: rgba(245,242,233,0.5); font-size: 0.82rem; }
.foot-legal a:hover { color: var(--offwhite); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .shell, .hero-shell { padding: 0 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .shell, .hero-shell { padding: 0 22px; }
  .nav { width: calc(100% - 28px); padding: 10px 12px 10px 18px; }
  .nav-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--offwhite); border: 1px solid var(--line); border-radius: 20px; padding: 14px; gap: 4px; box-shadow: 0 14px 34px rgba(76,87,48,0.14); }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; }
  .nav-toggle { display: flex; }
  .nav-book { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}