/* ============================================================
   Valley Comfort Cooling — stylesheet
   Lighter, calmer counterpart to the Desert Air Pros direction.
   Rebrand by editing :root only.
   ============================================================ */

:root {
  --teal:    #0f766e;
  --teal-d:  #0b5a54;
  --teal-l:  #e6f4f2;
  --slate:   #1e293b;
  --ink:     #0f172a;
  --body:    #51607a;
  --line:    #e2e8f0;
  --bg:      #ffffff;
  --tint:    #f7fafc;
  --r:       12px;
  --wrap:    1140px;
  --font:    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0; font-family: var(--font); color: var(--body);
  background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased;
  padding-bottom: 58px;
}

h1, h2, h3 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.125rem); }
h3 { font-size: 1.0625rem; }
p { margin: 0 0 1rem; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.1rem 0; }
address { font-style: normal; font-size: .9375rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- buttons ---------- */
.b {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.35rem; border-radius: var(--r); border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: .9875rem; cursor: pointer;
  transition: background .13s ease, color .13s ease, border-color .13s ease;
}
.b:hover { text-decoration: none; }
.b-solid { background: var(--teal); color: #fff; }
.b-solid:hover { background: var(--teal-d); }
.b-line { background: #fff; color: var(--teal); border-color: var(--line); }
.b-line:hover { border-color: var(--teal); background: var(--teal-l); }
.b-full { width: 100%; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; min-height: 68px; gap: 1.25rem; }
.brand { font-size: 1.125rem; font-weight: 750; color: var(--ink); letter-spacing: -.01em; }
.brand span { color: var(--teal); font-weight: 650; }
.brand:hover { text-decoration: none; }
.links { display: none; margin-left: auto; gap: 1.6rem; }
.links a { color: var(--body); font-size: .9375rem; font-weight: 550; }
.links a:hover { color: var(--teal); text-decoration: none; }
.phone { margin-left: auto; font-weight: 750; font-size: 1.0625rem; color: var(--ink); }
.phone:hover { color: var(--teal); text-decoration: none; }

/* ---------- hero ---------- */
.lead { padding: 3.25rem 0 3.75rem; background: linear-gradient(180deg, var(--teal-l) 0%, #fff 100%); }
.lead-in { display: grid; gap: 2.5rem; }
.tag { display: inline-block; margin-bottom: 1rem; padding: .3rem .75rem; background: #fff; border: 1px solid #c3e2de; border-radius: 100px; color: var(--teal-d); font-size: .8125rem; font-weight: 650; }
.sub { font-size: 1.125rem; max-width: 50ch; margin-bottom: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.25rem; }
.micro { font-size: .875rem; color: var(--body); margin: 0; }

.lead-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; box-shadow: 0 12px 32px rgba(15,23,42,.07); }
.lead-card-h { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--teal); margin-bottom: .35rem; }
.lead-card-big { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; margin: 0 0 .25rem; letter-spacing: -.03em; }
.lead-card-sub { font-weight: 600; color: var(--ink); margin-bottom: 0; }
.lead-card ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .55rem; font-size: .9375rem; }
.lead-card li { padding-left: 1.5rem; position: relative; }
.lead-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ---------- bands ---------- */
.band { padding: 3.75rem 0; }
.band-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-head { max-width: 60ch; margin-bottom: 2.25rem; }
.band-head p { font-size: 1.0625rem; margin: 0; }

/* ---------- service tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.tile-ico { display: block; font-size: 1.6rem; margin-bottom: .6rem; }
.tile p { margin: 0; font-size: .9375rem; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.75rem; }
.plan-feat { border: 2px solid var(--teal); box-shadow: 0 12px 30px rgba(15,118,110,.14); position: relative; }
.plan-flag { position: absolute; top: -.8rem; left: 1.75rem; background: var(--teal); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .2rem .7rem; border-radius: 100px; margin: 0; }
.plan-price { font-size: 2.5rem; font-weight: 800; color: var(--ink); line-height: 1; margin: .25rem 0 1.1rem; letter-spacing: -.03em; }
.plan-price span { font-size: 1rem; font-weight: 600; color: var(--body); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .55rem; font-size: .9375rem; }
.plan li { padding-left: 1.5rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ---------- why us ---------- */
.split { display: grid; gap: 2.5rem; }
.split-lede { font-size: 1.0625rem; max-width: 52ch; }
.facts { margin: 1.75rem 0 0; display: grid; gap: 1.25rem; }
.facts dt { font-weight: 700; color: var(--ink); margin-bottom: .15rem; }
.facts dd { margin: 0; font-size: .9375rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { background: var(--teal-l); border-radius: var(--r); padding: 1.4rem; text-align: center; }
.stat-n { font-size: 2rem; font-weight: 800; color: var(--teal-d); line-height: 1; margin: 0 0 .3rem; letter-spacing: -.02em; }
.stat-l { font-size: .8125rem; font-weight: 600; color: var(--body); margin: 0; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 2.5rem; }
.contact-phone { font-size: 1.75rem; font-weight: 800; margin: 1.25rem 0 .4rem; }
.contact-phone a { color: var(--ink); }
.contact-hours { font-size: .9375rem; margin-bottom: 1.25rem; }
.contact form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.75rem; display: grid; gap: .9rem; }
.contact label { display: grid; gap: .3rem; font-size: .8125rem; font-weight: 700; color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.contact input, .contact textarea, .contact select {
  font: inherit; font-size: .9375rem; padding: .65rem .75rem; width: 100%;
  border: 1.5px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff;
}
.contact input:focus, .contact textarea:focus, .contact select:focus { outline: 3px solid rgba(15,118,110,.2); border-color: var(--teal); }
.contact textarea { resize: vertical; }
.fine { font-size: .8125rem; font-weight: 400; text-align: center; margin: 0; }

/* ---------- footer ---------- */
.end { background: var(--slate); color: rgba(255,255,255,.75); padding: 2.25rem 0; font-size: .9375rem; }
.end a { color: #7dd3cc; }
.end strong { color: #fff; }
.end p { margin: 0 0 .4rem; }
.end-fine { font-size: .8125rem; color: rgba(255,255,255,.5); margin: 0; }
.end-fine span { font-style: italic; }

/* ---------- mobile tap bar ---------- */
.tapbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: block; padding: 1rem; text-align: center;
  background: var(--teal); color: #fff; font-weight: 750; font-size: 1.0625rem;
  box-shadow: 0 -4px 16px rgba(15,23,42,.18);
}
.tapbar:hover { text-decoration: none; background: var(--teal-d); }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .links { display: flex; }
  .phone { margin-left: 0; }
  .lead { padding: 5rem 0 5.5rem; }
  .lead-in { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 4rem; }
  .band { padding: 5rem 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 4rem; }
  .contact { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
  .tapbar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .b { transition: none; }
}

/* Anchor links (#services, #club…) must clear the sticky header,
   otherwise the heading lands hidden underneath it. */
[id] { scroll-margin-top: 84px; }
