/* ============================================
   SANDROLFIT — GLOBAL STYLESHEET
   Eniji LLC · Built 2026
   ============================================ */

:root {
  --primary: #8FA68E;
  --primary-dark: #6F8670;
  --accent: #C97B5C;
  --accent-dark: #A95D42;
  --cream: #F5F1EA;
  --cream-dark: #EDE7DB;
  --coral: #E8A87C;
  --text: #2B2B2B;
  --text-muted: #5F5E5A;
  --text-light: #888780;
  --bg: #FAFAF7;
  --white: #FFFFFF;
  --border: rgba(43, 43, 43, 0.08);
  --border-strong: rgba(43, 43, 43, 0.15);

  --font-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --section-pad: 96px;
  --section-pad-mobile: 56px;

  --shadow-sm: 0 1px 2px rgba(43,43,43,0.04), 0 2px 8px rgba(43,43,43,0.04);
  --shadow-md: 0 4px 12px rgba(43,43,43,0.06), 0 8px 24px rgba(43,43,43,0.06);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 16px;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
h4 { font-size: 20px; }
p { margin: 0 0 16px; }

em { font-family: var(--font-serif); font-style: italic; color: var(--primary); }

/* Hide mobile nav on desktop */
.nav-mobile { display: none; }

@media (max-width: 900px) {
  .nav-mobile { display: block; }
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--primary); color: var(--white); }
.btn-secondary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-large { padding: 18px 36px; font-size: 16px; }
.btn-block { width: 100%; display: block; }

/* HEADER */
.site-header {
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 24px; max-width: 140px; width: auto; display: block; object-fit: contain; }
.logo.text-fallback { font-family: var(--font-serif); font-size: 24px; font-weight: 500; color: var(--text); letter-spacing: -0.02em; line-height: 1; }
.site-footer .logo img { filter: brightness(0) invert(1); }
.nav-desktop { display: flex; gap: 20px; align-items: center; }
.nav-desktop a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--text); }
.nav-desktop a.active { border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 24px; color: var(--text); padding: 4px 8px; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile {
    position: fixed;
    top: 0; right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg);
    padding: 80px 32px;
    transform: translateX(100%);
    transition: transform 0.3s;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav-mobile.open { transform: translateX(0); }
  .nav-mobile a { display: block; padding: 12px 0; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--border); }
}

/* HERO */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--cream-dark) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; }
.hero-image { aspect-ratio: 3/4; background: var(--cream-dark); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image-placeholder { color: var(--text-light); font-size: 13px; text-align: center; padding: 20px; }

@media (max-width: 900px) {
  .hero { padding: 48px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { max-width: 320px; margin: 0 auto; aspect-ratio: 4/5; }
}

/* EMAIL FORM */
.email-form { display: flex; gap: 8px; max-width: 460px; margin-bottom: 12px; }
.email-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}
.email-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(143,166,142,0.15); }
.email-form button { flex-shrink: 0; }
.microcopy { font-size: 12px; color: var(--text-light); margin: 4px 0 0; }
.trust-strip { font-size: 12px; color: var(--text-muted); margin-top: 20px; font-weight: 500; }
.trust-strip span + span::before { content: ' · '; color: var(--text-light); margin: 0 8px; }

@media (max-width: 560px) {
  .email-form { flex-direction: column; }
  .email-form button { width: 100%; }
}

/* PROBLEM SECTION */
.section-cream { background: var(--cream); }
.section-centered { text-align: center; }
.empathy-list { max-width: 560px; margin: 0 auto; padding: 0; list-style: none; }
.empathy-list li { display: flex; gap: 14px; margin-bottom: 14px; font-size: 15px; line-height: 1.7; color: var(--text); text-align: left; }
.empathy-list li::before { content: '✦'; color: var(--primary); flex-shrink: 0; font-size: 18px; line-height: 1.5; }
.pullquote { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--primary); text-align: center; max-width: 560px; margin: 32px auto; line-height: 1.4; }

/* METHOD / 2-COL SECTION */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse > :first-child { order: 2; }
.two-col-image { background: var(--cream-dark); border-radius: var(--radius-lg); overflow: hidden; }
.two-col-image img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse > :first-child { order: 0; }
  .two-col-image { max-width: 400px; margin: 0 auto; }
}

/* PILLAR CARDS */
.pillar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; margin-bottom: 16px; }
.pillar h4 { font-family: var(--font-sans); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--text-muted); margin: 0; }
.pillar-icon { font-size: 24px; margin-bottom: 8px; }

/* VIDEO EMBED */
.video-wrapper {
  max-width: 400px;
  margin: 32px auto 0;
  background: #1a1a1a;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 9/16;
  position: relative;
}
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-light); font-size: 14px; text-align: center; padding: 20px; }
.video-placeholder .play-icon { font-size: 40px; color: var(--accent); display: block; margin-bottom: 8px; }
.video-caption { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--text-muted); text-align: center; max-width: 420px; margin: 16px auto 0; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; position: relative; }
.pending-badge { position: absolute; top: 12px; right: 12px; background: var(--cream); color: var(--text-muted); font-size: 10px; letter-spacing: 1px; padding: 4px 10px; border-radius: 4px; font-weight: 600; text-transform: uppercase; }
.testimonial-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--cream-dark); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-light); }
.testimonial-quote { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin: 0 0 16px; font-style: italic; }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text); margin: 0; }
.testimonial-meta { font-size: 12px; color: var(--text-light); margin: 2px 0 0; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* OFFER CARDS */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 48px auto 0; }
.offer-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; position: relative; }
.offer-card.featured { border: 2px solid var(--accent); }
.offer-card .popular-badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--white); font-size: 11px; padding: 5px 12px; border-radius: 4px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.offer-icon { font-size: 32px; margin-bottom: 12px; }
.offer-tag { font-size: 11px; letter-spacing: 1.5px; color: var(--primary); margin: 0 0 4px; font-weight: 600; text-transform: uppercase; }
.offer-card.featured .offer-tag { color: var(--accent); }
.offer-card h3 { font-size: 22px; margin-bottom: 12px; }
.offer-features { list-style: none; padding: 0; margin: 16px 0 24px; }
.offer-features li { font-size: 14px; color: var(--text-muted); padding: 4px 0; }
.offer-features li::before { content: '✓ '; color: var(--primary); font-weight: 600; }
.offer-price { font-size: 28px; font-weight: 500; color: var(--text); margin: 16px 0 4px; font-family: var(--font-serif); }
.offer-price small { font-size: 14px; color: var(--text-muted); font-weight: 400; font-family: var(--font-sans); }
.offer-trial { font-size: 12px; color: var(--primary); margin: 0 0 16px; font-weight: 500; }
@media (max-width: 768px) { .offer-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 640px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 0; }
.faq-item summary { font-size: 16px; font-weight: 500; color: var(--text); cursor: pointer; list-style: none; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 24px; font-weight: 300; transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin: 0 0 20px; padding-right: 32px; }

/* FINAL CTA */
.cta-section {
  background: var(--accent);
  padding: 96px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/sandra-stairs-pointing.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 20px; }
.cta-section p { color: rgba(255,255,255,0.92); font-size: 17px; max-width: 480px; margin: 0 auto 32px; }
.cta-section .email-form { margin: 0 auto 12px; }
.cta-section .microcopy { color: rgba(255,255,255,0.8); }

/* FOOTER */
.site-footer { background: #1f1f1e; color: #B4B2A9; padding: 64px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 48px; }
.footer-col h5 { color: var(--white); font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 16px; }
.footer-col p, .footer-col a { color: #B4B2A9; font-size: 13px; margin: 0 0 8px; display: block; line-height: 1.6; }
.footer-col a:hover { color: var(--white); }
.footer-col .brand-name { font-family: var(--font-serif); font-size: 20px; color: var(--white); margin-bottom: 8px; }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border-radius: 50%; color: #B4B2A9; font-size: 14px; }
.footer-socials a:hover { background: var(--accent); color: var(--white); }
.footer-newsletter { display: flex; gap: 8px; margin-top: 12px; }
.footer-newsletter input { flex: 1; padding: 10px 12px; border: none; border-radius: 6px; font-size: 13px; }
.footer-newsletter button { background: var(--primary); color: var(--white); border: none; padding: 10px 14px; border-radius: 6px; font-size: 13px; font-weight: 500; cursor: pointer; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 12px; line-height: 1.8; color: var(--text-light); }
.footer-legal a { color: #B4B2A9; }
.footer-legal a:hover { color: var(--white); }
.footer-disclaimer { font-style: italic; margin-top: 8px; font-size: 11px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* UTILITY */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.mb-lg { margin-bottom: 48px; }
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.badge { font-size: 13px; background: var(--cream); color: var(--text); padding: 8px 14px; border-radius: 6px; font-weight: 500; }

/* === MOBILE BOTTOM NAVIGATION === */
.mobile-bottom-nav { display: none; }

@media (max-width: 900px) {
  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid rgba(43,43,43,0.08);
    box-shadow: 0 -4px 20px rgba(43,43,43,0.08);
    z-index: 100;
    padding: 6px 0 max(6px, env(safe-area-inset-bottom));
  }
  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    color: #5F5E5A;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    transition: color 0.15s;
  }
  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a.active {
    color: #C97B5C;
  }
  .mobile-bottom-nav .nav-icon {
    font-size: 22px;
    line-height: 1;
  }
  .mobile-bottom-nav .nav-cta {
    background: #C97B5C;
    color: white !important;
    margin: 0 4px;
    border-radius: 8px;
    padding: 6px 4px;
  }

  /* Push footer up so the bottom nav doesn't cover it */
  .site-footer {
    padding-bottom: 100px !important;
  }

  /* Same for legal pages */
  .legal-page {
    padding-bottom: 100px !important;
  }
}

/* CREDENTIALS (About page) */
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; max-width: 900px; margin: 48px auto 0; }
.credential-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; text-align: center; position: relative; }
.credential-card.pending { border-color: var(--accent); }
.credential-card .pending-badge { position: absolute; top: 8px; right: 8px; background: var(--cream); color: var(--accent); }
.credential-image { aspect-ratio: 1; background: var(--cream-dark); border-radius: var(--radius-sm); margin-bottom: 16px; overflow: hidden; }
.credential-image img { width: 100%; height: 100%; object-fit: cover; }
.credential-card h4 { font-family: var(--font-serif); font-size: 17px; margin-bottom: 8px; }
.credential-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.6; }
.credential-icon { font-size: 28px; margin-bottom: 8px; }
@media (max-width: 768px) { .credentials-grid { grid-template-columns: 1fr; } }

/* STORY LAYOUT (About page) */
.story-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.story-image-wrap { position: sticky; top: 100px; }
.story-caption { font-size: 12px; color: var(--text-light); font-style: italic; margin: 12px 0 0; text-align: center; line-height: 1.5; }
.story-warning { font-size: 11px; color: var(--accent); margin: 8px 0 0; text-align: center; background: var(--cream); padding: 6px 8px; border-radius: 6px; }
.story-pullquote { font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--accent); margin: 24px 0 0; padding: 16px 0 16px 20px; border-left: 3px solid var(--accent); }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .story-image-wrap { position: static; max-width: 320px; margin: 0 auto; } }

/* MANIFESTO (About page) */
.manifesto { max-width: 640px; margin: 0 auto; }
.manifesto-item { background: var(--white); border-radius: var(--radius-md); padding: 20px 24px; display: flex; gap: 16px; margin-bottom: 14px; }
.manifesto-number { font-family: var(--font-serif); font-size: 26px; color: var(--accent); flex-shrink: 0; line-height: 1; font-weight: 400; }
.manifesto-item p { font-size: 15px; line-height: 1.7; color: var(--text); margin: 0; }

/* PROGRAM PAGE */
.price-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; max-width: 420px; }
.price-was { text-decoration: line-through; color: var(--text-light); font-size: 18px; margin-right: 8px; }
.price-now { font-size: 32px; font-weight: 500; font-family: var(--font-serif); color: var(--text); }
.price-terms { font-size: 14px; color: var(--text-muted); margin: 8px 0 16px; }
.guarantee-block { background: var(--cream); border-radius: var(--radius-md); padding: 32px; text-align: center; max-width: 520px; margin: 48px auto; }
.guarantee-block h4 { font-size: 22px; margin-bottom: 12px; }
.module-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; margin-bottom: 20px; }
.module-card h3 { margin-bottom: 8px; }
.module-card .module-label { font-size: 12px; letter-spacing: 1.5px; color: var(--accent); font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.module-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.module-card li { font-size: 14px; color: var(--text-muted); padding: 4px 0; }
.module-card li::before { content: '✓ '; color: var(--primary); font-weight: 600; }

/* BLOG CARDS */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.blog-card { display: block; color: inherit; }
.blog-card:hover { color: inherit; }
.blog-card-image { aspect-ratio: 16/10; background: var(--cream-dark); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 16px; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-image img { transform: scale(1.03); }
.blog-card h3 { font-size: 20px; margin-bottom: 8px; }
.blog-card-meta { font-size: 12px; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; margin: 0 0 8px; }
.blog-card-excerpt { font-size: 14px; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* BLOG POST */
.blog-post { max-width: 720px; margin: 0 auto; padding: 48px 24px; }
.blog-post h1 { margin-bottom: 16px; }
.blog-post-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.blog-post-featured { aspect-ratio: 16/9; background: var(--cream-dark); border-radius: var(--radius-md); margin-bottom: 32px; overflow: hidden; }
.blog-post-featured img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-body { font-size: 17px; line-height: 1.8; color: var(--text); }
.blog-post-body h2 { margin-top: 48px; }
.blog-post-body h3 { margin-top: 32px; }

/* CONTACT FORM */
.contact-form { max-width: 480px; margin: 32px auto 0; }
.contact-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 15px; background: var(--white); margin-bottom: 16px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(143,166,142,0.15); }
.contact-form textarea { min-height: 140px; resize: vertical; }

/* LEGAL PAGES */
.legal-page { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { margin-top: 40px; font-size: 24px; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.8; color: var(--text); }
.legal-page ul { padding-left: 24px; }
.legal-warning { background: var(--cream); border-left: 3px solid var(--accent); padding: 16px 20px; margin: 24px 0; border-radius: 6px; font-size: 14px; color: var(--text-muted); }


/* === BULLETPROOF HEADER FIX === */
.site-header .container > nav a {
  white-space: nowrap !important;
}

@media (min-width: 901px) {
  /* Hide the SECOND nav (mobile menu) and hamburger on desktop */
  .site-header .container > nav ~ nav,
  .site-header .container > button,
  .site-header .container > .nav-toggle,
  .site-header .container > [class*="toggle"],
  .site-header .container > [class*="hamburger"] {
    display: none !important;
  }
}

@media (max-width: 900px) {
  /* On mobile, hide the FIRST nav (desktop menu) */
  .site-header .container > nav:first-of-type {
    display: none !important;
  }
}
/* PHOTO-ONLY TESTIMONIAL CARDS */
.testimonials-grid .testimonial-card {
  padding: 0 !important;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-dark);
}
.testimonials-grid .testimonial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
}

/* === GLOBAL HEADER OVERRIDE (applies to all pages) === */
.site-header { background: rgba(250,250,247,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(43,43,43,0.08); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex !important; align-items: center !important; justify-content: space-between !important; flex-wrap: nowrap !important; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 14px 24px !important; }
.site-header .logo { flex-shrink: 0; line-height: 0; }
.site-header .logo img { height: 100px !important; width: auto !important; max-width: none !important; display: block; }
.site-header .nav-desktop { display: flex !important; align-items: center; gap: 28px; flex-wrap: nowrap; }
.site-header .nav-desktop a { white-space: nowrap !important; color: #5F5E5A; font-size: 14px; font-weight: 500; text-decoration: none; }
.site-header .nav-desktop a:hover { color: #2B2B2B; }
.site-header .nav-desktop a.btn { color: #fff; padding: 10px 18px; }
.site-header .nav-mobile { display: none !important; }
.site-header .nav-toggle { display: none !important; background: none; border: none; font-size: 24px; cursor: pointer; color: #2B2B2B; padding: 4px 8px; }

@media (max-width: 900px) {
  .site-header .nav-desktop { display: none !important; }
  .site-header .nav-toggle { display: block !important; }
  .site-header .nav-mobile { position: fixed; top: 0; right: 0; width: 80%; max-width: 320px; height: 100vh; background: #FAFAF7; padding: 80px 32px; transform: translateX(100%); transition: transform 0.3s; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 99; }
  .site-header .nav-mobile.open { display: block !important; transform: translateX(0); }
  .site-header .nav-mobile a { display: block; padding: 12px 0; font-size: 18px; color: #2B2B2B; border-bottom: 1px solid rgba(43,43,43,0.08); text-decoration: none; }
}

/* === MOBILE FIXES === */

/* 1. Shrink the header logo on mobile */
@media (max-width: 768px) {
  .site-header .logo img {
    height: 56px !important;
  }
  .site-header .container {
    padding: 10px 16px !important;
  }
}

@media (max-width: 480px) {
  .site-header .logo img {
    height: 48px !important;
  }
}

/* 2. Add side padding to legal pages on mobile */
@media (max-width: 768px) {
  .legal-page {
    padding: 32px 20px !important;
  }
  .legal-page h1 { font-size: 28px; }
  .legal-page h2 { font-size: 20px; }
}

/* 3. Make sure container has padding on small screens */
@media (max-width: 768px) {
  .container,
  .container-narrow {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* 4. Push footer up so sticky CTA doesn't cover it */
@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 96px !important;
  }
}

/* 5. Better testimonial caption sizing on mobile */
@media (max-width: 768px) {
  .testimonial-caption {
    font-size: 13px;
    margin-top: 10px !important;
  }
  .testimonials-grid {
    gap: 32px !important;
  }
}

/* 6. Make hamburger menu more visible on mobile */
@media (max-width: 900px) {
  .site-header .nav-toggle {
    font-size: 28px !important;
    color: #C97B5C !important;
  }
}

/* 7. Make hero text smaller on tiny phones */
@media (max-width: 480px) {
  .hero h1 { font-size: 32px !important; }
  .hero .subtitle { font-size: 16px !important; }
}

/* 8. Stack the email form on small phones (already in style.css below 560px, just confirming) */
@media (max-width: 560px) {
  .email-form { flex-direction: column !important; }
  .email-form button { width: 100% !important; }
}

/* 9. About page hero — make it shorter on mobile */
@media (max-width: 768px) {
  section[style*="height: 440px"] {
    height: 320px !important;
  }
}
/* Ensure link buttons render correctly */
a.btn {
  display: inline-block;
  text-decoration: none;
}
a.btn.btn-block {
  display: block;
  text-align: center;
}
