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

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

:root {
  --ivory:     #f5f0e8;
  --ivory-2:   #ece6d8;
  --ivory-3:   #e2dace;
  --sage:      #7a8c6a;
  --sage-light:#e8ede4;
  --sage-mid:  #9aaa88;
  --sage-dark: #4a5c3a;
  --espresso:  #2a2820;
  --espresso-2:#3a3628;
  --text:      #2a2820;
  --muted:     #6a6458;
  --dim:       #9a9488;
  --border:    rgba(42,40,32,0.10);
  --border-2:  rgba(42,40,32,0.16);
  --border-3:  rgba(42,40,32,0.24);
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --book-url:  'https://www.joinblvd.com/b/ivorywellnessaesthetics/widget#/cart/menu';
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--ivory); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 72px;
  background: rgba(245,240,232,0.97);
  border-bottom: 0.5px solid var(--border-2);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(42,40,32,0.08); }
.nav-logo { font-family: var(--font-head); font-size: 20px; font-weight: 500; letter-spacing: 0.16em; color: var(--espresso); }
.nav-logo span { color: var(--sage); }
.nav-center { display: flex; align-items: center; gap: 30px; }
.nav-center a { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; transition: color 0.2s; }
.nav-center a:hover { color: var(--sage-dark); }

.nav-drop { position: relative; }
.nav-drop-btn {
  font-size: 12px; color: var(--muted); background: none; border: none;
  cursor: pointer; letter-spacing: 0.06em; font-family: var(--font-body);
  display: flex; align-items: center; gap: 4px; padding: 0; transition: color 0.2s;
}
.nav-drop-btn:hover, .nav-drop-btn.open { color: var(--sage-dark); }
.nav-drop-btn svg { transition: transform 0.2s; }
.nav-drop-btn.open svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--ivory); border: 0.5px solid var(--border-2);
  border-radius: 14px; padding: 8px; min-width: 272px;
  box-shadow: 0 16px 48px rgba(42,40,32,0.12);
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.drop-panel.open { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.drop-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 9px; transition: background 0.15s;
  font-size: 13px; color: var(--muted);
}
.drop-link:hover { background: var(--sage-light); color: var(--sage-dark); }
.drop-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sage-mid); flex-shrink: 0; }
.drop-divider { height: 0.5px; background: var(--border); margin: 5px 4px; }

.nav-book {
  font-size: 12px; letter-spacing: 0.08em; font-weight: 500;
  font-family: var(--font-body); background: var(--espresso); color: var(--ivory);
  padding: 10px 24px; border-radius: 999px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.nav-book:hover { background: var(--sage-dark); transform: translateY(-1px); }

.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-mobile-btn span { display: block; width: 22px; height: 1.5px; background: var(--espresso); margin: 5px 0; transition: all 0.2s; }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--ivory); border-bottom: 0.5px solid var(--border-2);
  padding: 20px 28px; flex-direction: column; gap: 2px; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 14px; color: var(--muted); padding: 13px 0;
  border-bottom: 0.5px solid var(--border); text-decoration: none; transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--sage-dark); }
.mobile-menu .mob-book {
  background: var(--espresso); color: var(--ivory); border-radius: 999px;
  padding: 13px 28px; text-align: center; margin-top: 14px; border: none;
  font-weight: 500; font-size: 13px; letter-spacing: 0.06em;
}

/* ── PAGE ── */
.page { padding-top: 72px; }

/* ── BUTTONS ── */
.btn-dark {
  display: inline-block; background: var(--espresso); color: var(--ivory);
  padding: 14px 32px; border-radius: 999px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.07em; border: none; cursor: pointer; font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
}
.btn-dark:hover { background: var(--sage-dark); transform: translateY(-2px); }

.btn-outline {
  display: inline-block; background: transparent; color: var(--sage-dark);
  padding: 14px 32px; border-radius: 999px; font-size: 13px; font-weight: 400;
  letter-spacing: 0.06em; border: 1px solid var(--sage); cursor: pointer;
  font-family: var(--font-body); transition: all 0.2s;
}
.btn-outline:hover { background: var(--sage-light); }

.btn-sage {
  display: inline-block; background: var(--sage); color: var(--ivory);
  padding: 14px 32px; border-radius: 999px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.07em; border: none; cursor: pointer; font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
}
.btn-sage:hover { background: var(--sage-dark); transform: translateY(-2px); }

/* ── SECTIONS ── */
.section { padding: 96px 72px; }
.section-sm { padding: 64px 72px; }
.section-alt { background: var(--sage-light); }
.section-ivory-2 { background: var(--ivory-2); }

.section-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); font-weight: 500; margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head); font-size: 46px; font-weight: 400;
  color: var(--espresso); line-height: 1.1; margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--sage-dark); }
.section-sub {
  font-size: 15px; color: var(--muted); max-width: 540px;
  line-height: 1.85; margin-bottom: 52px; font-weight: 300;
}
.sage-line { width: 36px; height: 1px; background: var(--sage); margin: 16px 0; opacity: 0.5; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 88px 72px 72px; background: var(--ivory-2);
  border-bottom: 0.5px solid var(--border-2);
}
.page-hero .section-title { font-size: 52px; }

/* ── FOOTER ── */
footer {
  background: var(--ivory-2); padding: 72px 72px 40px;
  border-top: 0.5px solid var(--border-2);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 52px; }
.footer-logo { font-family: var(--font-head); font-size: 20px; font-weight: 500; letter-spacing: 0.16em; color: var(--espresso); margin-bottom: 14px; display: block; }
.footer-logo span { color: var(--sage); }
.footer-desc { font-size: 13px; color: var(--dim); line-height: 1.8; font-weight: 300; max-width: 230px; }
.footer-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; color: var(--muted); margin-bottom: 11px; transition: color 0.2s; font-weight: 300; }
.footer-col a:hover { color: var(--sage-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 0.5px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--dim); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--dim); transition: color 0.2s; }
.footer-legal a:hover { color: var(--sage); }
.footer-disc { font-size: 11px; color: var(--dim); line-height: 1.7; margin-top: 20px; padding-top: 20px; border-top: 0.5px solid var(--border); max-width: 800px; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */

/* Prevent iOS auto-zoom on inputs */
input, textarea, select { font-size: 16px; }

@media (max-width: 900px) {

  /* Nav */
  .nav { padding: 0 20px; }
  .nav-center { display: none; }
  .nav-book { display: none; }
  .nav-mobile-btn { display: block; }

  /* Sections */
  .section { padding: 52px 20px; }
  .section-sm { padding: 40px 20px; }
  .page-hero { padding: 60px 20px 44px; }
  .section-title { font-size: 32px; }
  .page-hero .section-title { font-size: 36px; }
  .section-sub { font-size: 14px; margin-bottom: 36px; max-width: 100%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer { padding: 44px 20px 28px; }
  .footer-desc { max-width: 100%; }
}

@media (max-width: 600px) {

  /* Nav */
  .nav { padding: 0 16px; height: 64px; }
  .nav-logo { font-size: 15px; letter-spacing: 0.1em; }
  .page { padding-top: 64px; }
  .mobile-menu { top: 64px; padding: 16px 20px; }

  /* Larger touch targets for mobile menu links */
  .mobile-menu a { padding: 15px 0; font-size: 15px; }
  .nav-mobile-btn { padding: 8px; }
  .nav-mobile-btn span { width: 24px; height: 2px; margin: 5px 0; }

  /* Typography */
  .section-title { font-size: 28px; line-height: 1.15; }
  .page-hero .section-title { font-size: 30px; }
  .section-label { font-size: 10px; }
  .section-sub { font-size: 14px; }

  /* Sections */
  .section { padding: 44px 16px; }
  .section-sm { padding: 32px 16px; }
  .page-hero { padding: 48px 16px 36px; }

  /* Buttons — full width on small screens */
  .btn-dark, .btn-outline, .btn-sage {
    width: 100%; text-align: center; padding: 15px 20px;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  footer { padding: 36px 16px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal { flex-wrap: wrap; gap: 14px; }
  .footer-logo { font-size: 16px; }
  .footer-disc { font-size: 10px; }

  /* Section sub max-width */
  .section-sub { max-width: 100%; }
}
