/* Mountain Front Desk — styles (mobile-first)
   Brand: forest green #224736 · steel blue #324D6B · tagline blue #1E58AA · white.
   Never navy. */
:root {
  --forest: #224736;
  --forest-dark: #183427;
  --forest-tint: #eaf2ed;
  --steel: #324d6b;
  --steel-tint: #eaf0f6;
  --blue: #1e58aa;
  --blue-dark: #174684;
  --ink: #1c2622;
  --slate: #4a5752;
  --line: #d9e1dc;
  --bg-alt: #f5f8f6;
  --night: #0e141c; /* matches the dark logo background */
  --white: #fff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 40, 30, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; color: var(--forest); margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; color: var(--steel); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--slate); }
.small { font-size: 0.92rem; color: var(--slate); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: inherit; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 0.7rem 1.3rem; border: 2px solid transparent; cursor: pointer; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; min-height: 44px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--forest-tint); color: var(--forest); }
.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.95rem; }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: saturate(150%) blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand-text { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em; text-transform: uppercase; display: none; }
.brand-text .g { color: var(--forest); }
.brand-text .b { color: var(--steel); }
.nav { display: none; gap: 1.4rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 0.5rem; }
.menu-toggle { background: none; border: 0; color: var(--forest); width: 44px; height: 44px; padding: 8px; cursor: pointer; border-radius: 8px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 0.5rem 1.25rem 1rem; background: #fff; }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 0.7rem 0; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
@media (min-width: 420px) { .brand-text { display: inline; } }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-toggle, .mobile-nav, .mobile-nav.open { display: none; }
}
@media (max-width: 419px) { .header-cta .btn-primary { font-size: 0.88rem; padding: 0.45rem 0.8rem; } }

/* Hero */
.hero { background: linear-gradient(160deg, var(--forest-tint) 0%, #fff 55%, var(--steel-tint) 100%); padding: 2.5rem 0 3rem; }
.hero-inner { display: grid; gap: 1.5rem; align-items: center; }
.hero-logo { order: -1; justify-self: center; max-width: 300px; }
.eyebrow { font-weight: 700; color: var(--steel); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; margin-bottom: 0.6rem; }
.lead { font-size: 1.15rem; color: var(--slate); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0 1rem; }
.hero-note { font-size: 0.98rem; color: var(--forest); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--forest); padding: 0.7rem 0.9rem; border-radius: 8px; }
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .hero-logo { order: 0; max-width: 420px; }
}

/* Sections */
.section { padding: 3.5rem 0; }
.section.alt { background: var(--bg-alt); }
.section-sub { color: var(--slate); font-size: 1.1rem; max-width: 720px; margin-bottom: 2rem; }
@media (min-width: 900px) { .section { padding: 5rem 0; } }

.pain-grid { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.9rem; }
.pain-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.pain-icon { font-size: 1.4rem; margin-right: 0.4rem; }
@media (min-width: 640px) { .pain-grid { grid-template-columns: 1fr 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: none; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 1.4rem 1.2rem 1.2rem; border-top: 5px solid var(--steel); box-shadow: var(--shadow); }
.steps li:nth-child(odd) { border-top-color: var(--forest); }
.step-num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 0.6rem; }
.steps p { margin: 0; color: var(--slate); }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.cards { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .cards.two { grid-template-columns: 1fr 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card-sub { color: var(--slate); margin-top: -0.3rem; }
.card-isnt { border-top: 5px solid var(--steel); }

ul.check, ul.cross { list-style: none; padding: 0; margin: 0; }
ul.check li, ul.cross li { position: relative; padding-left: 1.8rem; margin-bottom: 0.65rem; }
ul.check li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/70% no-repeat; }
ul.cross li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--steel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/62% no-repeat; }
ul.check.light li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23224736' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

/* Pricing */
.price-wrap { display: grid; gap: 1.2rem; margin-bottom: 1.5rem; }
@media (min-width: 800px) { .price-wrap { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.price-card.featured { border: 3px solid var(--forest); }
.badge { display: inline-block; background: var(--forest); color: #fff; font-weight: 700; font-size: 0.85rem; padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 1rem; }
.muted-badge { background: var(--steel-tint); color: var(--steel); }
.price { margin: 0 0 0.3rem; display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.price .amt { font-size: 2.2rem; font-weight: 800; color: var(--forest); }
.price-card:not(.featured) .amt { color: var(--steel); font-size: 1.7rem; }
.price .per { color: var(--slate); font-weight: 600; }
.price-card .check { margin: 1.1rem 0 1.4rem; }
.note { background: #fff; border-left: 5px solid var(--blue); border-radius: 10px; padding: 1.2rem 1.3rem; }
.note h3 { color: var(--blue); }

/* Who */
.tags, .towns { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tags li { background: #fff; border: 2px solid var(--forest); color: var(--forest); font-weight: 700; padding: 0.45rem 0.95rem; border-radius: 999px; }
.towns-h { margin-top: 1rem; }
.towns li { background: var(--steel); color: #fff; font-weight: 700; padding: 0.45rem 0.95rem; border-radius: 8px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 0.7rem; background: #fff; }
.faq summary { cursor: pointer; padding: 1rem 2.6rem 1rem 1.1rem; font-weight: 700; color: var(--forest); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.1rem 1rem; margin: 0; color: var(--slate); }

/* Contact */
.contact { background: linear-gradient(150deg, var(--forest) 0%, var(--forest-dark) 55%, var(--steel) 100%); color: #fff; }
.contact h2 { color: #fff; }
.contact-inner { display: grid; gap: 2rem; }
.contact-copy p { color: #e6efe9; }
.contact-alt { display: flex; gap: 0.6rem; flex-wrap: wrap; }
@media (min-width: 900px) { .contact-inner { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.form-panel { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.form-row { margin-bottom: 1rem; }
.form-grid { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 700; margin-bottom: 0.3rem; color: var(--forest); }
.req { color: #b3261e; }
.opt { font-weight: 400; color: var(--slate); }
input, select, textarea { width: 100%; font: inherit; padding: 0.7rem 0.8rem; border: 1.5px solid #b9c6bf; border-radius: 8px; background: #fff; color: var(--ink); min-height: 44px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(30, 88, 170, 0.25); outline-offset: 0; }
input.error { border-color: #b3261e; }
.field-error { display: none; color: #b3261e; font-size: 0.9rem; margin: 0.3rem 0 0; }
.field-error.show { display: block; }
.hint { font-size: 0.9rem; color: var(--slate); margin: -0.4rem 0 1rem; }
.hp { position: absolute; left: -9999px; }
.form-hidden { display: none; }
.form-status:empty { display: none; }
.form-status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 8px; font-weight: 600; }
.form-status.success { background: var(--forest-tint); color: var(--forest); border: 1px solid var(--forest); margin-top: 0; }
.form-status.error { background: #fdecea; color: #8c1d18; border: 1px solid #e3a6a1; }

/* Footer */
.site-footer { background: var(--night); color: #c9d4ce; padding: 2.5rem 0 1.5rem; }
.footer-inner { display: grid; gap: 1.5rem; align-items: center; justify-items: start; }
.site-footer img { width: 200px; }
.footer-text p { margin: 0 0 0.3rem; }
.footer-name { color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-towns { font-size: 0.92rem; color: #9fb0a8; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; }
.footer-nav a { color: #9cc0ea; }
.footer-nav a:hover { color: #fff; }
.copyright { font-size: 0.85rem; color: #8b9a93; border-top: 1px solid #24303a; margin-top: 1.8rem; padding-top: 1.2rem; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: auto 1fr auto; } }

/* Thanks / 404 */
.thanks img { margin: 0 auto 1.5rem; }
