/* Dr. Snake Oil — Custom Stylesheet */
/* Mobile-first, light default, dark via html.dark */

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

:root{
  --bg:#FAF6F0;
  --bg-alt:#F0EBE3;
  --bg-card:#FFFFFF;
  --bg-dark:#2A2118;
  --text:#2A2118;
  --text-muted:#6B5D4F;
  --text-faint:#9C8E7E;
  --primary:#B8860B;
  --primary-rgb:184,134,11;
  --primary-light:#F5E6C8;
  --primary-dark:#9A7209;
  --accent:#8B2500;
  --accent-light:#F2DDD5;
  --border:#D9CFC2;
  --border-light:#E8E0D5;
}

html.dark{
  --bg:#1A1410;
  --bg-alt:#231C15;
  --bg-card:#2A2118;
  --bg-dark:#0F0C08;
  --text:#F0EBE3;
  --text-muted:#B8A994;
  --text-faint:#7A6D5E;
  --primary:#D4A017;
  --primary-rgb:212,160,23;
  --primary-light:rgba(212,160,23,0.15);
  --primary-dark:#E8B422;
  --accent:#C44B2F;
  --accent-light:rgba(196,75,47,0.15);
  --border:#3D3228;
  --border-light:#2E2620;
}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  font-family:'DM Sans',sans-serif;
  font-size:clamp(1rem,0.925rem + 0.4vw,1.125rem);
  line-height:1.65;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding-bottom:2.25rem;
}

img{max-width:100%;height:auto;display:block}
a{color:var(--primary);text-decoration:none;transition:color .2s}
a:hover{color:var(--primary-dark)}

h1,h2,h3,h4,h5,h6{
  font-family:'Playfair Display',serif;
  color:var(--text);
  text-wrap:balance;
  line-height:1.1;
}

h1{
  font-size:clamp(2.5rem,1.75rem + 3.75vw,5rem);
  font-weight:900;
  letter-spacing:-0.02em;
}
h2{
  font-size:clamp(2rem,1.5rem + 2.5vw,3.5rem);
  font-weight:700;
}
h3{
  font-size:clamp(1.5rem,1.2rem + 1.5vw,2.25rem);
  font-weight:700;
}

ul,ol{list-style:none}

/* ========== UTILITY ========== */
.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 1.25rem;
}

.overline{
  font-family:'DM Sans',sans-serif;
  font-size:0.875rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:var(--primary);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  padding:0.875rem 2rem;
  font-family:'DM Sans',sans-serif;
  font-size:0.9375rem;
  font-weight:700;
  border-radius:4px;
  cursor:pointer;
  transition:all .25s ease;
  border:2px solid transparent;
  min-height:44px;
  min-width:44px;
  text-decoration:none;
}

.btn-primary{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
}
.btn-primary:hover{
  background:var(--primary-dark);
  border-color:var(--primary-dark);
  color:#fff;
  box-shadow:0 4px 24px rgba(var(--primary-rgb),0.25);
  transform:translateY(-1px);
}

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

/* ========== HEADER / NAV ========== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--bg);
  border-bottom:1px solid var(--border-light);
  transition:background .3s;
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
}

.nav-logo{
  font-family:'Playfair Display',serif;
  font-weight:900;
  font-size:1.25rem;
  color:var(--text);
  text-decoration:none;
  letter-spacing:-0.02em;
}
.nav-logo:hover{color:var(--text)}

.nav-links{
  display:none;
  align-items:center;
  gap:2rem;
}
.nav-links a{
  font-size:0.9375rem;
  font-weight:500;
  color:var(--text-muted);
  transition:color .2s;
}
.nav-links a:hover{color:var(--text)}
.nav-links a.active{color:var(--text);font-weight:700}

.nav-email{
  display:none;
  font-size:0.8125rem;
  color:var(--text-faint);
  margin-right:1rem;
}

.nav-cta{
  display:none;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:0.75rem;
}

/* Theme toggle */
.theme-toggle{
  background:none;
  border:1px solid var(--border);
  border-radius:50%;
  width:36px;
  height:36px;
  min-width:44px;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:var(--text-muted);
  transition:color .2s,border-color .2s;
  padding:0;
}
.theme-toggle:hover{color:var(--text);border-color:var(--border)}
.theme-toggle svg{width:18px;height:18px}
html.dark .theme-toggle .icon-sun{display:block}
html.dark .theme-toggle .icon-moon{display:none}
html:not(.dark) .theme-toggle .icon-sun{display:none}
html:not(.dark) .theme-toggle .icon-moon{display:block}

/* Hamburger */
.hamburger{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:44px;
  height:44px;
  background:none;
  border:none;
  cursor:pointer;
  padding:10px;
}
.hamburger span{
  display:block;
  width:24px;
  height:2px;
  background:var(--text);
  transition:all .3s;
  border-radius:2px;
}
.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* Mobile drawer */
.mobile-nav{
  display:none;
  position:fixed;
  inset:64px 0 0 0;
  background:var(--bg);
  z-index:99;
  padding:2rem 1.25rem;
  flex-direction:column;
  gap:0;
  overflow-y:auto;
}
.mobile-nav.open{display:flex}
.mobile-nav a{
  display:block;
  padding:0.875rem 0;
  font-size:1.125rem;
  font-weight:500;
  color:var(--text);
  border-bottom:1px solid var(--border-light);
}
.mobile-nav a:last-child{border-bottom:none}
.mobile-nav .btn{
  margin-top:1rem;
  text-align:center;
}

@media(min-width:768px){
  .hamburger{display:none}
  .mobile-nav{display:none !important}
  .nav-links{display:flex}
  .nav-email{display:block}
  .nav-cta{display:inline-flex}
}

/* ========== HERO ========== */
.hero{
  padding:4rem 0 3rem;
}

.hero-grid{
  display:flex;
  flex-direction:column;
  gap:2rem;
}

.hero-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-text h1{
  margin-bottom:1.25rem;
}

.hero-text p{
  color:var(--text-muted);
  max-width:520px;
  margin-bottom:2rem;
}

.hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}

.hero-image{
  position:relative;
  border-radius:6px;
  overflow:hidden;
}
.hero-image img{
  width:100%;
  height:auto;
  object-fit:cover;
  aspect-ratio:3/4;
}

@media(min-width:768px){
  .hero{padding:5rem 0 4rem}
  .hero-grid{
    flex-direction:row;
    align-items:center;
  }
  .hero-text{flex:0 0 55%}
  .hero-image{flex:0 0 45%}
  .hero-image img{aspect-ratio:4/5;max-height:600px}
}

/* ========== REMEDY LABEL (divider) ========== */
.remedy-label{
  display:flex;
  align-items:center;
  gap:1.5rem;
  padding:2.5rem 0;
}
.remedy-label::before,
.remedy-label::after{
  content:'';
  flex:1;
  height:1px;
  background:var(--border);
}
.remedy-label span{
  font-family:'Playfair Display',serif;
  font-size:clamp(0.875rem,0.75rem + 0.6vw,1.125rem);
  font-weight:700;
  font-style:italic;
  color:var(--text-faint);
  white-space:nowrap;
  text-align:center;
}

/* ========== SECTIONS ========== */
.section{
  padding:4rem 0;
}

.section-header{
  margin-bottom:2.5rem;
}

/* ========== EVENT TYPE CARDS ========== */
.event-cards{
  display:grid;
  gap:1.5rem;
}

.event-card{
  background:var(--bg-card);
  border:1px solid var(--border-light);
  border-radius:6px;
  padding:2rem;
  transition:transform .25s,box-shadow .25s;
}
.event-card:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 24px rgba(var(--primary-rgb),0.18);
}
.event-card h3{
  margin-bottom:0.75rem;
  font-size:1.375rem;
}
.event-card p{
  color:var(--text-muted);
  line-height:1.65;
}

@media(min-width:768px){
  .event-cards{grid-template-columns:repeat(3,1fr)}
}

/* ========== VIDEO SECTION ========== */
.video-section{
  padding:4rem 0;
}

.video-header{
  margin-bottom:2rem;
}
.video-header h2{
  margin-top:0.5rem;
}
.video-header p{
  margin-top:1rem;
  color:var(--text-muted);
  max-width:640px;
}

.video-facade{
  position:relative;
  border-radius:6px;
  overflow:hidden;
  cursor:pointer;
  aspect-ratio:16/9;
  background:var(--bg-dark);
}
.video-facade img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s;
}
.video-facade:hover img{
  transform:scale(1.02);
}
.video-facade .play-btn{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.video-facade .play-btn svg{
  width:72px;
  height:72px;
  fill:rgba(255,255,255,0.9);
  filter:drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition:transform .25s;
}
.video-facade:hover .play-btn svg{
  transform:scale(1.1);
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid{
  display:flex;
  flex-direction:column;
  gap:1.5rem;
}

.testimonial-card{
  background:var(--bg-card);
  border:1px solid var(--border-light);
  border-radius:6px;
  padding:2rem;
  transition:box-shadow .25s;
}
.testimonial-card:hover{
  box-shadow:0 4px 24px rgba(var(--primary-rgb),0.12);
}

.testimonial-card blockquote{
  font-family:'Playfair Display',serif;
  font-style:italic;
  line-height:1.6;
  color:var(--text);
  margin-bottom:1rem;
}

.testimonial-card .attribution{
  font-size:0.875rem;
  color:var(--text-faint);
  font-weight:500;
}

.testimonial-large blockquote{
  font-size:clamp(1.125rem,1rem + 0.6vw,1.375rem);
}

.testimonial-small blockquote{
  font-size:1rem;
}

@media(min-width:768px){
  .testimonials-grid{
    flex-direction:row;
    align-items:stretch;
  }
  .testimonial-large{flex:0 0 58%}
  .testimonials-right{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:1.5rem;
  }
}

/* ========== ABOUT SPLIT ========== */
.about-grid{
  display:flex;
  flex-direction:column;
  gap:2rem;
}

.about-image{
  border-radius:6px;
  overflow:hidden;
}
.about-image img{
  width:100%;
  height:auto;
  object-fit:cover;
  aspect-ratio:4/5;
}

.about-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.about-text h2{
  margin-top:0.5rem;
  margin-bottom:1.25rem;
}
.about-text p{
  color:var(--text-muted);
  margin-bottom:1rem;
}
.about-text p:last-of-type{
  margin-bottom:0;
}

@media(min-width:768px){
  .about-grid{
    flex-direction:row;
    align-items:center;
  }
  .about-image{flex:0 0 45%}
  .about-text{flex:1;padding-left:2rem}
  .about-image img{max-height:550px}
}

/* ========== BOOKING CTA BAND ========== */
.cta-band{
  background:var(--accent);
  color:#fff;
  padding:4rem 0;
  text-align:center;
}
.cta-band h2{
  color:#fff;
  margin-bottom:1rem;
}
.cta-band p{
  color:rgba(255,255,255,0.85);
  max-width:560px;
  margin:0 auto 2rem;
}
.cta-band .btn-primary{
  background:#fff;
  color:var(--accent);
  border-color:#fff;
}
.cta-band .btn-primary:hover{
  background:rgba(255,255,255,0.9);
  box-shadow:0 4px 24px rgba(0,0,0,0.2);
}
.cta-band .cta-secondary{
  display:block;
  margin-top:1rem;
  font-size:0.875rem;
  color:rgba(255,255,255,0.7);
}
.cta-band .cta-secondary a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:2px;
}
.cta-band .cta-secondary a:hover{
  color:rgba(255,255,255,0.9);
}

/* ========== FOOTER ========== */
.site-footer{
  background:var(--bg-dark);
  color:rgba(255,255,255,0.7);
  padding:3rem 0 1.5rem;
}

.footer-inner{
  display:flex;
  flex-direction:column;
  gap:2rem;
}

.footer-brand .nav-logo{
  color:#fff;
  font-size:1.5rem;
  display:block;
  margin-bottom:0.5rem;
}
.footer-brand p{
  font-size:0.875rem;
  color:rgba(255,255,255,0.5);
  max-width:300px;
}

.footer-links h4{
  font-family:'DM Sans',sans-serif;
  font-size:0.8125rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:rgba(255,255,255,0.4);
  margin-bottom:0.75rem;
}
.footer-links a{
  display:block;
  font-size:0.875rem;
  color:rgba(255,255,255,0.6);
  padding:0.25rem 0;
  transition:color .2s;
}
.footer-links a:hover{color:#fff}

.footer-bottom{
  margin-top:2rem;
  padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,0.1);
  display:flex;
  flex-direction:column;
  gap:0.5rem;
  align-items:center;
}
.footer-copyright{
  font-size:0.8125rem;
  color:rgba(255,255,255,0.35);
}

.footer-credit{
  font-size:0.85rem;
  color:rgba(255,255,255,0.35);
}
.footer-credit a{
  color:rgba(255,255,255,0.35);
  text-decoration:none;
  font-weight:700;
  font-size:0.75rem;
  letter-spacing:-0.02em;
  transition:color .2s;
}
.footer-credit a:hover{color:rgba(255,255,255,0.6)}

@media(min-width:768px){
  .footer-inner{
    flex-direction:row;
    justify-content:space-between;
  }
  .footer-bottom{
    flex-direction:row;
    justify-content:space-between;
  }
}

/* ========== CONTACT FORM ========== */
.contact-grid{
  display:flex;
  flex-direction:column;
  gap:2.5rem;
}

.contact-info h2{
  margin-bottom:1rem;
}
.contact-info p{
  color:var(--text-muted);
  margin-bottom:1rem;
}
.contact-info .email-link{
  font-weight:700;
  color:var(--primary);
}

.contact-form{
  background:var(--bg-card);
  border:1px solid var(--border-light);
  border-radius:6px;
  padding:2rem;
}

.form-group{
  margin-bottom:1.25rem;
}
.form-group label{
  display:block;
  font-size:0.875rem;
  font-weight:700;
  color:var(--text);
  margin-bottom:0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:0.75rem 1rem;
  font-family:'DM Sans',sans-serif;
  font-size:0.9375rem;
  color:var(--text);
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:4px;
  transition:border-color .2s;
  min-height:44px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:var(--primary);
}
.form-group textarea{
  resize:vertical;
  min-height:120px;
}

.form-row{
  display:flex;
  flex-direction:column;
  gap:1.25rem;
}

@media(min-width:768px){
  .contact-grid{
    flex-direction:row;
    align-items:flex-start;
  }
  .contact-info{flex:0 0 40%}
  .contact-form{flex:1}
  .form-row{flex-direction:row}
  .form-row .form-group{flex:1}
}

.form-error{
  display:none;
  margin-top:1rem;
  padding:0.75rem 1rem;
  background:var(--accent-light);
  color:var(--accent);
  border-radius:4px;
  font-size:0.875rem;
  font-weight:500;
}
.form-success{
  display:none;
  text-align:center;
  padding:3rem 2rem;
}
.form-success h3{
  margin-bottom:0.75rem;
  color:var(--primary);
}
.form-success p{
  color:var(--text-muted);
}

/* Honeypot */
.ohnohoney{
  position:absolute;
  left:-9999px;
  opacity:0;
  height:0;
  width:0;
  overflow:hidden;
}

/* ========== SERVICE PAGE ========== */
.service-intro{
  max-width:720px;
}
.service-intro p{
  color:var(--text-muted);
  margin-top:1rem;
}

.service-features{
  display:grid;
  gap:1.25rem;
  margin:2rem 0;
}
.service-features li{
  display:flex;
  align-items:flex-start;
  gap:0.75rem;
  color:var(--text-muted);
}
.service-features li svg{
  flex-shrink:0;
  width:20px;
  height:20px;
  color:var(--primary);
  margin-top:0.2rem;
}

/* FAQ Accordion */
.faq-section{
  margin-top:3rem;
}
.faq-section h2{
  margin-bottom:1.5rem;
}

.faq-item{
  border-bottom:1px solid var(--border-light);
}
.faq-item:first-child{
  border-top:1px solid var(--border-light);
}

.faq-question{
  width:100%;
  background:none;
  border:none;
  padding:1.25rem 0;
  font-family:'DM Sans',sans-serif;
  font-size:1.0625rem;
  font-weight:700;
  color:var(--text);
  text-align:left;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  min-height:44px;
}
.faq-question:hover{color:var(--primary)}
.faq-question svg{
  flex-shrink:0;
  width:20px;
  height:20px;
  transition:transform .3s;
  color:var(--text-faint);
}
.faq-item.open .faq-question svg{
  transform:rotate(180deg);
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
}
.faq-answer p{
  padding:0 0 1.25rem;
  color:var(--text-muted);
  line-height:1.65;
}

.service-cta{
  margin-top:3rem;
  padding:2rem;
  background:var(--bg-alt);
  border-radius:6px;
  text-align:center;
}
.service-cta p{
  color:var(--text-muted);
}
.service-cta a{
  font-weight:700;
}

/* ========== ABOUT PAGE ========== */
.about-page-content p{
  color:var(--text-muted);
  margin-bottom:1rem;
  max-width:720px;
}

/* ========== DISCLAIMER BAR ========== */
.zs-preview-banner{
  position:fixed;
  bottom:1rem;
  left:1rem;
  z-index:101;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  background:rgba(0,0,0,.85);
  color:#fff;
  font-family:system-ui,-apple-system,sans-serif;
  font-size:13px;
  font-weight:500;
  border-radius:8px;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  letter-spacing:.3px;
  user-select:none;
  pointer-events:auto;
  cursor:default;
}
.zs-preview-banner svg{width:16px;height:16px;flex-shrink:0;opacity:.8}
.zs-preview-banner span{opacity:.9}

/* ========== PAGE HEADER (sub-pages) ========== */
.page-header{
  padding:3rem 0 2rem;
  border-bottom:1px solid var(--border-light);
}
.page-header h1{
  margin-top:0.5rem;
}

/* ========== TURNSTILE ========== */
.turnstile-wrap{
  display:flex;
  justify-content:center;
  margin-top:0.5rem;
}

/* ========== PRINT ========== */
@media print{
  .site-header,.site-footer,.cta-band,.zs-preview-banner,.theme-toggle,.hamburger{display:none !important}
  body{background:#fff;color:#000;padding-bottom:0}
}
