/* Bardstown Whiskey Fungus Removal — design system
   Palette: bourbon (amber/espresso/cream). System fonts only for perfect Core Web Vitals. */

:root {
  --espresso: #201a15;
  --charcoal: #2e2620;
  --ink: #211c17;
  --cream: #faf6ef;
  --cream-2: #f3ece0;
  --card: #ffffff;
  --amber: #b26a22;
  --amber-dark: #8a5216;
  --amber-soft: #f4e5cf;
  --gold: #c89a5b;
  --muted: #6e645a;
  --muted-2: #8a8076;
  --line: #e7decf;
  --line-2: #d8ccb6;
  --green: #3b6d47;
  --green-soft: #e6efe6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(32,26,21,.06), 0 8px 24px rgba(32,26,21,.06);
  --shadow-lg: 0 12px 40px rgba(32,26,21,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--espresso); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.15rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); margin: 0 0 .6em; }
h3 { font-size: 1.28rem; margin: 0 0 .4em; }
p { margin: 0 0 1.1em; }
a { color: var(--amber-dark); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { color: var(--amber); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin: .3em 0; }
strong { font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--espresso); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--sans); font-weight: 600; font-size: 1rem; padding: .85em 1.35em; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .06s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: #fff; box-shadow: 0 6px 18px rgba(178,106,34,.28); }
.btn-amber:hover { background: var(--amber-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--espresso); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--espresso); color: var(--espresso); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-lg { font-size: 1.08rem; padding: 1em 1.6em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,246,239,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--espresso); line-height: 1.05; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-dark); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--charcoal); text-decoration: none; font-size: .96rem; font-weight: 500; white-space: nowrap; }
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd-trigger { font-family: var(--sans); font-size: .96rem; font-weight: 500; color: var(--charcoal); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-dd-trigger:hover { color: var(--amber-dark); }
.dd-caret { width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); position: relative; top: -2px; transition: transform .15s ease; }
.nav-dd:hover .dd-caret, .nav-dd:focus-within .dd-caret, .nav-dd.open .dd-caret { transform: rotate(-135deg); top: 1px; }
.nav-dd-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 12px; min-width: 232px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 120; }
.nav-dd-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-dd-menu a:hover { background: var(--amber-soft); color: var(--amber-dark); }
.nav a:hover { color: var(--amber-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--espresso); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--amber-dark); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line-2); border-radius: 8px; width: 42px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--espresso); position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* hero */
.hero { position: relative; background: radial-gradient(120% 120% at 80% -10%, #3a2f26 0%, var(--espresso) 55%, #17120e 100%); color: #f6efe4; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(transparent 60%, rgba(0,0,0,.28)); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 66px 0 74px; }
.hero h1 { color: #fff; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.hero p.lede { font-size: 1.16rem; color: #e4d9c8; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-trust span { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; color: #d8ccbb; }
.hero-trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* hero visual: before/after frame */
.ba { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 6px solid #fff; }
.ba-imgs { display: grid; grid-template-columns: 1fr 1fr; }
.ba-half { position: relative; aspect-ratio: 3/4; display: flex; align-items: flex-end; padding: 12px; }
.ba-before { background: linear-gradient(160deg, #4a463f 0%, #2c2925 55%, #211f1b 100%); }
.ba-after { background: linear-gradient(160deg, #dfe7ef 0%, #c7d6e2 60%, #b7cad9 100%); }
.ba-tag { font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.ba-before .ba-tag { background: rgba(0,0,0,.5); color: #f0e6d6; }
.ba-after .ba-tag { background: rgba(255,255,255,.8); color: var(--espresso); }
.ba-caption { font-size: .82rem; color: var(--muted); text-align: center; padding: 10px; background: #fff; }
.ba-photo { margin: 0; background: #fff; border: 6px solid #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ba-photo picture { display: block; }
.ba-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.ba-photo-inline { max-width: 760px; margin: 0 auto 1.7em; }

/* generic section */
.section { padding: 64px 0; }
.section-tight { padding: 46px 0; }
.section.alt { background: var(--cream-2); }
.section.dark { background: var(--espresso); color: #ece2d3; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 10px; }
.section.dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted); }
.section.dark .lead { color: #d6c8b4; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; box-shadow: var(--shadow); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); color: var(--ink); }
.card-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--amber-soft); color: var(--amber-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card h3 { margin-bottom: .25em; }
.card p { font-size: .96rem; color: var(--muted); margin-bottom: 1em; }
.card .more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--amber-dark); }
.card:hover .more { color: var(--amber); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-n { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; width: 40px; height: 40px; border-radius: 50%; background: var(--espresso); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.section.dark .step-n { background: var(--amber); color: #fff; }

/* prose (article pages) */
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul li { padding-left: .1em; }
.prose .lead { font-size: 1.2rem; color: var(--charcoal); margin-bottom: 1.2em; }
.callout { background: var(--amber-soft); border-left: 4px solid var(--amber); border-radius: 0 8px 8px 0; padding: 18px 22px; margin: 1.6em 0; }
.callout p:last-child { margin-bottom: 0; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.aside-card { position: sticky; top: 90px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.aside-card h3 { font-size: 1.1rem; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.aside-phone { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--espresso); text-decoration: none; display: block; margin: 6px 0 14px; }

/* breadcrumbs */
.crumbs { font-size: .86rem; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--amber-dark); }
.crumbs span { color: var(--line-2); margin: 0 8px; }

/* faq */
.faq-list { max-width: 800px; }
.faq { border: 1px solid var(--line); border-radius: 10px; background: var(--card); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--espresso); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--amber); font-weight: 400; flex: none; }
.faq[open] summary::after { content: "\2013"; }
.faq .faq-body { padding: 0 22px 20px; color: var(--charcoal); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* cta band */
.cta-band { background: linear-gradient(135deg, var(--amber) 0%, #9a5a1a 55%, #7a4614 100%); color: #fff; border-radius: 18px; padding: 44px 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { color: #fbeeda; margin: 0; max-width: 40em; }
.cta-band .btn-amber { background: #fff; color: var(--amber-dark); box-shadow: none; }
.cta-band .btn-amber:hover { background: #f5e9d6; color: var(--amber-dark); }

/* form */
.quote-form { display: grid; gap: 14px; }
.field { display: grid; gap: 5px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--charcoal); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 1rem; padding: .7em .85em; border: 1.5px solid var(--line-2); border-radius: 9px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(178,106,34,.15); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }

/* trust strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.strip .stat { padding: 8px; }
.strip .stat b { font-family: var(--serif); font-size: 1.8rem; color: var(--amber-dark); display: block; }
.strip .stat span { font-size: .9rem; color: var(--muted); }

/* footer */
.site-footer { background: var(--espresso); color: #c9bca9; padding: 54px 0 26px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 34px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #c9bca9; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .45em 0; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #a89a86; max-width: 30em; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: #90836f; }
.footer-note { max-width: 60em; font-size: .8rem; color: #7d715f; margin-top: 14px; line-height: 1.6; }

/* mobile call bar */
.callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--espresso); padding: 10px 14px; gap: 10px; box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
.callbar a { flex: 1; text-align: center; justify-content: center; }

/* responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 56px; }
  .hero-visual { max-width: 380px; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav.open a { padding: 14px 22px; border-top: 1px solid var(--line); }
  .nav-dd { display: block; }
  .nav.open .nav-dd-trigger { width: 100%; justify-content: space-between; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 1rem; }
  .nav.open .nav-dd-menu { display: block; position: static; transform: none; margin: 0; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0; }
  .nav.open .nav-dd-menu a { padding: 12px 22px 12px 40px; border-top: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-phone { display: none; }
  .cards, .steps, .strip { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .callbar { display: flex; }
  body { padding-bottom: 66px; }
  .section { padding: 46px 0; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; transition: none !important; } }
