/* ============================================================
   ODA THEME — GLOBAL CSS
   Design tokens, reset, typography, utilities, buttons,
   nav, footer, and shared components.
   ============================================================ */

/* ── GOOGLE FONTS imported via functions.php ── */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --forest:      #2D4F3C;   /* NEW — nav, footer, dark sections      */
  --forest-deep: #1F3329;   /* hover / darker variant                */
  --sage:        #82937A;   /* mid-tone brand, labels, borders       */
  --sage-dark:   #6B7A64;   /* sage hover states                     */
  --sage-light:  #B4C2AC;   /* subtle sage accents                   */
  --sage-pale:   #EEF1EB;   /* card backgrounds, "our approach"      */
  --terracotta:  #C87D5E;   /* CTA buttons, emphasis text            */
  --terra-hover: #b36a4e;   /* terracotta hover                      */
  --terra-light: #E8A98C;   /* light terracotta accents              */
  --terra-pale:  #F7EDE7;   /* pull quotes, callout blocks           */

  /* Neutrals */
  --white:       #FFFFFF;   /* primary page background               */
  --cream:       #FAF8F3;   /* alt section background                */
  --cream-dark:  #F2EEE5;   /* deeper cream for cards                */
  --charcoal:    #2C2C2C;   /* headings                              */
  --warm-gray:   #6B6560;   /* body copy                             */
  --border:      #E4DDD4;   /* dividers, card borders                */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(44,44,44,.06);
  --shadow-md:   0 8px 32px rgba(44,44,44,.10);
  --shadow-lg:   0 20px 60px rgba(44,44,44,.14);

  /* Border radius */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 25px;

  /* Transition */
  --transition: all .35s cubic-bezier(.4,0,.2,1);

  /* Nav height (used for page-top padding) */
  --nav-h: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open { overflow: hidden; }
body.nav-open   { overflow: hidden; }

img  { max-width: 100%; display: block; height: auto; }
a    { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--charcoal);
}

h1 { font-size: clamp(3.22rem, 5.18vw, 4.31rem); font-weight: 500; }
h2 { font-size: clamp(2.2rem, 4vw,   3.4rem);  font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw,   1.4rem); }

p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--warm-gray);
  line-height: 1.75;
}

/* Utility text styles */
.display-serif  { font-family: var(--font-display); font-style: italic; }
.accent-text    { color: var(--terracotta); }
.sage-text      { color: var(--sage); }
.forest-text    { color: var(--forest); }
.white-text     { color: var(--white); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container--mid    { max-width: 960px;  margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 780px;  margin: 0 auto; padding: 0 2rem; }

section { padding: 96px 0; }

.section-label {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
  display: block;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-align: center;
  color: var(--charcoal);
}

.section-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--warm-gray);
  line-height: 1.75;
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

/* Section BG variants */
.bg-white   { background: var(--white); }
.bg-cream   { background: var(--cream); }
.bg-forest  { background: var(--forest); }
.bg-sage-pale { background: var(--sage-pale); }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 2rem;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(200,125,94,.28);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--terra-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,125,94,.38);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: var(--white);
}

.btn-lg { font-size: 1.05rem; padding: 1.15rem 2.5rem; }
.btn-sm { font-size: .85rem;  padding: .7rem 1.5rem; }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-white:hover {
  background: var(--cream);
  color: var(--forest);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--forest);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
  height: var(--nav-h);
}

.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  mix-blend-mode: lighten;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: .78rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-style: normal;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  letter-spacing: .02em;
  transition: color .25s ease;
  text-decoration: none;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform .25s ease;
  transform-origin: left;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Nav CTA */
.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-phone {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  font-weight: 400;
  letter-spacing: .01em;
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--forest);
  z-index: 999;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: 2rem;
}
.nav-mobile-links a {
  display: block;
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: rgba(255,255,255,.85);
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  transition: color .2s;
}
.nav-mobile-links a:hover { color: var(--terra-light); }

/* Page top offset for fixed nav */
.page-wrap { padding-top: 0; }
.hp-hero,
.sv-hero,
.ab-hero,
.rs-hero,
.rc-hero,
.lg-hero {
  padding-top: calc(var(--nav-h) + 60px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo-text {
  font-size: 1.4rem;
  margin-bottom: .75rem;
  display: block;
}
.footer-brand img {
  mix-blend-mode: lighten;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .65rem; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--terra-light); }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.65); }

.footer-niche-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.footer-niche-tag {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
}

/* ============================================================
   ORNAMENT DIVIDER
   ============================================================ */
.ornament-divider {
  text-align: center;
  margin: 0 auto 2rem;
  opacity: .4;
}
.ornament-divider svg { display: inline-block; }

/* ============================================================
   MODAL (booking)
   ============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(29,29,29,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-box {
  width: min(820px, 94vw);
  margin: 5vh auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal-header {
  background: var(--forest);
  color: #fff;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  margin: 0;
}
.modal-close {
  color: rgba(255,255,255,.7);
  font-size: 1.8rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: color .2s, transform .2s;
  background: none;
  border: none;
}
.modal-close:hover {
  color: #fff;
  transform: rotate(90deg);
}
.modal-body { padding: 0; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 998;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: .75rem 1.25rem;
  display: none;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.sticky-cta-bar.show { opacity: 1; }

/* ============================================================
   COMPARISON CARDS (shared)
   ============================================================ */
.comparison-card {
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: relative;
}
.comparison-card--cold {
  background: var(--cream-dark);
  border: 1.5px solid var(--terracotta);
}
.comparison-card--warm {
  background: var(--sage-pale);
  border: 1.5px solid var(--sage);
}
.comparison-card-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: block;
}
.comparison-card--cold .comparison-card-label { color: var(--terracotta); }
.comparison-card--warm .comparison-card-label { color: var(--sage-dark); }

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--charcoal);
}
.comparison-item:last-child { margin-bottom: 0; }

.comparison-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  margin-top: .1rem;
}
.comparison-card--cold .comparison-icon { background: var(--terracotta); color: #fff; }
.comparison-card--warm .comparison-icon { background: var(--sage); color: #fff; }

/* ============================================================
   WHO CARDS (shared)
   ============================================================ */
.who-card {
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1.5px solid var(--border);
}
.who-card--yes { background: var(--sage-pale); border-color: var(--sage); }
.who-card--no  { background: var(--cream-dark); border-color: var(--terracotta); opacity: .85; }

.who-card-title {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}
.who-card--yes .who-card-title { color: var(--sage-dark); }
.who-card--no  .who-card-title { color: var(--terracotta); }

.who-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(44,44,44,.07);
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.who-item:last-child { border-bottom: none; }
.who-check { font-weight: 700; flex-shrink: 0; margin-top: .1rem; }
.who-card--yes .who-check { color: var(--sage); }
.who-card--no  .who-check { color: var(--terracotta); }

/* ============================================================
   PROOF / TESTIMONIAL CARDS (shared)
   ============================================================ */
.proof-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.proof-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.proof-quote::before { content: '\201C'; color: var(--terracotta); }
.proof-quote::after  { content: '\201D'; color: var(--terracotta); }
.proof-attribution {
  font-size: .85rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: .02em;
}
.proof-attribution span {
  display: block;
  font-weight: 400;
  color: var(--warm-gray);
  font-size: .82rem;
  margin-top: .2rem;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  section { padding: 72px 0; }

  .nav-links,
  .nav-cta-wrap { display: none; }
  .nav-hamburger { display: flex; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  section { padding: 56px 0; }

  .container,
  .container--mid,
  .container--narrow { padding: 0 1.25rem; }

  h1 { font-size: clamp(2rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.75rem, 6vw, 2.2rem); }

  .btn-primary,
  .btn-secondary { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .sticky-cta-bar { display: flex; }
}
