/* ============================================================
   DR. BRURIA JOFEN, PhD — Shared Styles
   Palette:
     --sage:    #7A9E87  (calm, clinical, natural)
     --stone:   #2C2C2C  (near-black body text)
     --mist:    #F2F0EC  (warm off-white background)
     --cream:   #FDFCFA  (card / section contrast)
     --slate:   #5A6472  (secondary text)
     --accent:  #3D6B5A  (dark sage, CTAs & links)
   Type:
     Display: 'Cormorant Garamond' — elegant serif, used sparingly
     Body:    'DM Sans' — modern, highly legible sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage:   #7A9E87;
  --stone:  #2C2C2C;
  --mist:   #F2F0EC;
  --cream:  #FDFCFA;
  --slate:  #5A6472;
  --accent: #3D6B5A;
  --border: #D8D4CE;
  --max-w:  1080px;
  --gap:    clamp(2rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--stone);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--mist);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 5vw, 3rem);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--stone);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* ── FOOTER ── */
footer {
  background: var(--stone);
  color: #ccc;
  padding: 2.5rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

footer a { color: var(--sage); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── UTILITY ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.section { padding: var(--gap) 0; }
.section + .section { border-top: 1px solid var(--border); }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--stone);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p { color: var(--slate); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--stone); font-weight: 500; }

a { color: var(--accent); }

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: #2f5444; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.4rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--stone);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--sage); }
textarea { resize: vertical; min-height: 130px; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { gap: 1.25rem; }
  .nav-logo { font-size: 1rem; }
}
