/* Southern Comfort AC & Heating — site styles
   Colors and type match the original Squarespace site. */

:root {
  --sand: #EDDFC4;        /* page background */
  --sand-deep: #D3BF95;   /* pricing tiles */
  --field: #FBF8F3;       /* inputs, ticket paper */
  --blue: #3B6E83;        /* cooling / step headings */
  --brown: #84532F;       /* heating / quotes */
  --gold: #E4B63D;        /* buttons, logo handshake */
  --gold-dark: #C99A22;
  --ink: #161412;
  --muted: #5B5246;
  --line: #161412;
  --night: #252322;       /* footer */
  --radius-field: 18px;
  --radius-pill: 999px;
  --wrap: 1080px;
  --text: 640px;
  font-size: 17px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Baloo 2", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--text); margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 12px; padding-bottom: 4px; }
.brand { grid-column: 2; display: block; }
.brand img { width: 168px; height: auto; }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }
.btn.header-call { display: none; }

.menu-btn {
  width: 52px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; padding: 0; color: var(--ink);
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 42px; height: 1.6px; background: currentColor; position: relative; content: ""; transition: transform .25s ease, background .2s;
}
.menu-btn span::before { position: absolute; top: -12px; }
.menu-btn span::after { position: absolute; top: 12px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(12px) rotate(45deg); }
body.menu-open .menu-btn span::after { transform: translateY(-12px) rotate(-45deg); }

/* Full-screen menu, same question-style links as the original site */
.menu {
  position: fixed; inset: 0; z-index: 15; background: var(--sand);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 180px 20px 40px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.menu a {
  font-weight: 800; font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.5; text-decoration: none;
}
.menu a[aria-current="page"] { color: var(--blue); }
.menu a:hover { color: var(--brown); }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 800; line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
.hero-title { font-size: clamp(2.6rem, 11vw, 4.6rem); }
.hero-title .cool { color: var(--blue); }
.hero-title .heat { color: var(--brown); }
.page-title { font-size: clamp(2.1rem, 8.4vw, 3.4rem); text-align: center; }
.kicker { color: var(--brown); font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 800; text-align: center; margin: 44px 0 10px; }
.lead-in { text-align: center; font-size: 1.05rem; color: var(--ink); margin: 16px auto 0; max-width: 34ch; }

/* ---------- Sections ---------- */
.page-hero { padding: 26px 0 8px; }
section { padding: 0; }
.block { padding: 40px 0; }

/* Numbered steps — real sequences only */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li {
  counter-increment: step; text-align: center; padding: 34px 0 38px;
  border-bottom: 1.5px solid var(--line);
}
.steps > li:last-child { border-bottom: 0; }
.steps h3 { color: var(--blue); font-size: clamp(1.7rem, 6.8vw, 2.3rem); }
.steps h3::before { content: counter(step) ". "; }
.steps p { margin: 18px auto 0; max-width: 36ch; font-size: 1.06rem; }

.quote {
  color: var(--brown); font-style: italic; font-weight: 700; font-size: 1.12rem;
  margin: 22px auto 0; max-width: 34ch; text-align: center;
}

.callout { text-align: center; padding: 36px 0; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.callout h2 { font-size: clamp(1.6rem, 6.4vw, 2.2rem); }
.callout.warm h2, .callout.warm p { color: var(--brown); }
.callout.cool h2 { color: var(--blue); }
.callout p { margin: 16px auto 0; max-width: 40ch; font-size: 1.04rem; }

/* ---------- Checklist accordion ---------- */
.checklist { border-bottom: 1.5px solid var(--line); }
.checklist summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 30px 0; font-weight: 800; font-size: clamp(1.5rem, 6.2vw, 2.1rem); line-height: 1.15;
}
.checklist summary::-webkit-details-marker { display: none; }
.checklist summary .plus { position: relative; width: 26px; height: 26px; flex: none; }
.checklist summary .plus::before, .checklist summary .plus::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; background: var(--ink); transition: transform .2s ease;
}
.checklist summary .plus::after { transform: rotate(90deg); }
.checklist[open] summary .plus::after { transform: rotate(0deg); }
.checklist .groups { display: grid; gap: 26px; padding: 0 0 34px; }
.checklist h4 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; }
.checklist ul { margin: 0; padding-left: 1.3em; columns: 1; }
.checklist li { margin: 3px 0; break-inside: avoid; }
@media (min-width: 760px) { .checklist .groups { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* ---------- Lead form ---------- */
.request { padding: 30px 0 60px; scroll-margin-top: 20px; }
.form-title { font-size: clamp(1.7rem, 6.6vw, 2.3rem); text-align: center; }
.form-sub { text-align: center; margin: 10px auto 26px; max-width: 34ch; color: var(--muted); }

.lead-form { display: grid; gap: 16px; max-width: 560px; margin: 0 auto; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 800; font-size: 1.02rem; margin: 0 0 6px; }
.field label .req { color: var(--muted); font-weight: 700; }
.field label .opt { color: var(--muted); font-weight: 600; font-size: .92rem; }
.field input, .field select {
  width: 100%; font: inherit; font-weight: 600; color: var(--ink);
  background: var(--field); border: 1.5px solid #77706A; border-radius: var(--radius-field);
  padding: 14px 18px; min-height: 58px; appearance: none; -webkit-appearance: none;
}
.field select {
  border-radius: var(--radius-pill); padding-right: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='16' viewBox='0 0 26 16'%3E%3Cpath d='M1.5 1.5 13 13 24.5 1.5' fill='none' stroke='%23161412' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 22px center;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,110,131,.25); }
.field.invalid input, .field.invalid select { border-color: #A3311D; }
.field .err { color: #A3311D; font-size: .9rem; margin-top: 4px; display: none; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  font: inherit; font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  min-height: 72px; padding: 12px 28px; border-radius: var(--radius-pill);
  border: 1.6px solid var(--ink); background: var(--gold); color: var(--ink);
  transition: background .15s ease, transform .1s ease;
}
.btn:hover { background: #EBC251; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-block { width: 100%; }
.btn-quiet {
  background: transparent; border: 0; min-height: 48px; font-size: 1.05rem; text-decoration: underline; text-underline-offset: 4px;
  color: var(--brown); padding: 6px 12px;
}
.btn-quiet:hover { background: transparent; color: var(--ink); }
.btn svg { width: 22px; height: 22px; flex: none; }
.form-actions { display: grid; gap: 6px; margin-top: 8px; justify-items: center; }
.fine { text-align: center; color: var(--muted); font-size: .9rem; margin: 6px 0 0; }

.form-status { display: none; text-align: center; max-width: 520px; margin: 0 auto; }
.form-status.show { display: block; }
.form-status h3 { font-size: clamp(1.6rem, 6vw, 2.1rem); color: var(--blue); }
.form-status p { margin: 12px auto 22px; max-width: 34ch; }
.form-error { color: #A3311D; text-align: center; margin: 4px 0 0; display: none; }
.form-error.show { display: block; }

/* ---------- Home ---------- */
.home-hero { padding: 10px 0 0; text-align: center; }
.home-hero .hero-title { line-height: 1.22; }
.services-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 22px 0 6px; padding: 0; list-style: none; }
.services-strip a {
  display: inline-block; text-decoration: none; font-weight: 800; font-size: 1.02rem;
  padding: 6px 16px; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); background: rgba(251,248,243,.5);
}
.services-strip a:hover { background: var(--field); }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--line); }
.service-list li { border-bottom: 1.5px solid var(--line); }
.service-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 22px 2px; text-decoration: none; }
.service-list strong { font-size: clamp(1.45rem, 5.6vw, 1.9rem); font-weight: 800; line-height: 1.2; }
.service-list span { grid-column: 1; color: var(--muted); font-size: 1rem; }
.service-list .arrow { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transition: background .15s; }
.service-list .arrow svg { width: 16px; height: 16px; }
.service-list a:hover .arrow { background: var(--gold); }
.service-list a:hover strong { color: var(--blue); }

.promise { display: grid; gap: 26px; text-align: center; }
.promise h3 { color: var(--blue); font-size: 1.5rem; }
.promise p { margin: 8px auto 0; max-width: 32ch; }
@media (min-width: 820px) { .promise { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

.area { text-align: center; }
.area h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
.area ul { list-style: none; padding: 0; margin: 18px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; max-width: 560px; }
.area li { font-size: 1.08rem; padding: 0 12px; }
.area li + li { border-left: 1.5px solid rgba(22,20,18,.35); }

/* Desktop home: headline left, form right */
@media (min-width: 960px) {
  .home-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; padding-top: 30px; }
  .home-grid .home-hero { text-align: left; position: sticky; top: 30px; padding-top: 30px; }
  .home-grid .services-strip { justify-content: flex-start; }
  .home-grid .lead-in { text-align: left; margin-left: 0; }
  .home-grid .request { padding-top: 0; }
  .home-grid .form-title, .home-grid .form-sub { text-align: left; margin-left: 0; }
  .home-grid .lead-form { margin: 0; }
}

/* ---------- Comfort Club ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.plan {
  background: var(--sand-deep); border-radius: 30px; padding: 22px 14px 20px; text-align: center;
  box-shadow: 0 10px 0 -2px rgba(22,20,18,.85); border: 1.5px solid var(--ink); position: relative;
}
.plan.best { background: var(--gold); }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--field); font-size: .82rem; font-weight: 800; padding: 2px 12px; border-radius: 999px; white-space: nowrap; }
.plan .amount { color: var(--brown); font-weight: 800; font-size: clamp(2.6rem, 12vw, 3.6rem); line-height: 1; }
.plan.best .amount { color: var(--ink); }
.plan .amount sup { font-size: .45em; vertical-align: .9em; margin-right: 1px; }
.plan .per { font-weight: 800; font-size: 1.1rem; }
.plan .note { margin-top: 8px; font-size: .95rem; line-height: 1.35; }

.perks { list-style: none; margin: 30px 0 0; padding: 0; text-align: center; }
.perks li { padding: 18px 0; }
.perks h3 { color: var(--blue); font-size: clamp(1.45rem, 5.8vw, 1.85rem); }
.perks p { margin: 8px auto 0; max-width: 38ch; }
.perks em { color: var(--muted); }
@media (min-width: 820px) { .perks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; } }

/* The value ticket — styled like a service work order */
.ticket-wrap { padding: 44px 0 20px; }
.ticket {
  position: relative; max-width: 560px; margin: 0 auto; background: var(--field); color: var(--ink);
  padding: 30px 26px 0; border-radius: 26px 26px 0 0;
  box-shadow: 0 1px 0 rgba(22,20,18,.08), 0 18px 40px -22px rgba(60,40,10,.45);
}
.ticket::after { /* scalloped tear-off edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 12px;
  background: radial-gradient(circle at 10px 0, var(--gold) 9.5px, transparent 10.5px) 0 0 / 20px 12px repeat-x;
}
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.ticket-head h2 { font-size: 1.5rem; }
.ticket-head p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.ticket-head img { width: 62px; height: 62px; flex: none; }
.ticket table { width: 100%; border-collapse: collapse; margin: 6px 0 0; }
.ticket td { padding: 12px 0; vertical-align: top; border-bottom: 1.5px dashed rgba(22,20,18,.28); }
.ticket td:last-child { text-align: right; white-space: nowrap; padding-left: 14px; font-variant-numeric: tabular-nums; font-weight: 800; }
.ticket td small { display: block; color: var(--muted); font-weight: 600; font-size: .88rem; line-height: 1.3; }
.ticket .sum td { border-bottom: 0; padding-top: 16px; font-size: 1.15rem; }
.ticket .sum td:last-child s { text-decoration-thickness: 2px; color: var(--muted); }
.ticket .price td { font-size: 1.5rem; font-weight: 800; padding-top: 4px; border-bottom: 0; }
.ticket .price td:last-child { color: var(--blue); }
.ticket .stamp {
  margin: 14px -26px 0; background: var(--gold); border-top: 2px solid var(--ink);
  text-align: center; padding: 18px 16px 26px;
}
.ticket .stamp strong { display: block; font-size: clamp(1.7rem, 7.4vw, 2.3rem); line-height: 1.1; }
.ticket .stamp span { font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #EDE4D3; padding: 46px 0 34px; margin-top: 20px; }
.site-footer .wrap { display: grid; gap: 26px; }
.site-footer img { width: 92px; }
.site-footer h2 { font-size: 1.4rem; color: #fff; }
.site-footer a { color: #fff; }
.site-footer .foot-call { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--gold); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer nav a { text-decoration: none; opacity: .9; }
.site-footer .small { font-size: .85rem; opacity: .7; }
@media (min-width: 820px) { .site-footer .wrap { grid-template-columns: auto 1fr 1fr; align-items: start; gap: 40px; } }

/* ---------- Sticky mobile bar ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 12;
  transform: translateY(140%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; min-height: 60px; font-size: 1.15rem; box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
@media (min-width: 960px) {
  .sticky-cta { display: none; }
  .btn.header-call { display: inline-flex; min-height: 48px; font-size: 1rem; padding: 6px 20px; }
  .site-header .wrap { padding-top: 18px; }
}

/* ---------- Landing page: logo, headline, form. Nothing else. ---------- */
.site-header.minimal .wrap { display: flex; justify-content: center; padding-top: 18px; }
.site-header.minimal .brand img { width: 200px; }
.landing main { padding-bottom: 48px; }
.landing-title { text-align: center; line-height: 1.22; margin: 18px 0 30px; }
.landing .request { padding-top: 0; padding-bottom: 20px; }
.landing .form-status { padding-top: 10px; }
.landing .btn.header-call { display: none; }
.landing .brand img { width: 190px; }

/* Menu button tucked into the top-right corner, small but easy to spot */
.site-header .header-actions {
  position: absolute; top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
}
.menu-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(251, 248, 243, .75); border: 1.5px solid rgba(22, 20, 18, .55);
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after { width: 22px; height: 2px; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
body.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
.menu-btn:hover { background: var(--field); border-color: var(--ink); }
.plan-scope { text-align: center; margin: 26px auto 0; max-width: 40ch; font-size: .98rem; color: var(--muted); }

/* ---------- Privacy / text pages ---------- */
.prose { padding: 26px 20px 60px; }
.prose .updated { text-align: center; color: var(--muted); margin: 8px 0 20px; }
.prose h2 { font-size: 1.4rem; margin: 30px 0 8px; color: var(--blue); }
.prose p { margin: 0 0 12px; }
.fine a { color: inherit; }
