/* =========================================================
   Mobile Climate Control Services — mccsvc.com
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-800: #122b4d;
  --blue: #1d4ed8;
  --blue-600: #2563eb;
  --ice: #38bdf8;
  --ice-100: #e0f2fe;
  --amber: #f59e0b;
  --ink: #0f172a;
  --ink-600: #475569;
  --ink-400: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .25);
  --container: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.muted { color: var(--ink-600); }
.kicker {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.link-arrow { font-weight: 600; color: var(--blue); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.02rem; color: var(--navy); letter-spacing: -0.01em; }
.brand-sub { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a { font-weight: 500; color: var(--ink-600); font-size: .95rem; }
.site-nav a:hover { color: var(--navy); }
.header-cta { margin-left: .5rem; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px;
}
.nav-toggle span { height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(56,189,248,.35), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(37,99,235,.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 60%, #0e2a52 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 85%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
  padding: 5.5rem 0 5rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; color: var(--ice-100);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: .35rem .8rem .35rem .6rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--ice); }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 56ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9rem; color: rgba(255,255,255,.75); }
.hero-badges li::before { content: "✓"; color: var(--ice); font-weight: 700; margin-right: .45rem; }

.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px; padding: 1.4rem; backdrop-filter: blur(8px); box-shadow: var(--shadow-lg);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: .85rem; }
.hero-card .muted { color: rgba(255,255,255,.6); }
.pill { padding: .25rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.pill-live { background: rgba(34,197,94,.18); color: #86efac; border: 1px solid rgba(34,197,94,.35); }
.temp-readout { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.temp-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.temp-value { font-size: 3.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ice); line-height: 1; margin: .2rem 0; }
.temp-value small { font-size: 1.4rem; font-weight: 600; color: rgba(255,255,255,.7); margin-left: .15rem; }
.temp-set { font-size: .85rem; color: rgba(255,255,255,.7); }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1.1rem; }
.hero-metrics div { background: rgba(0,0,0,.2); border-radius: 10px; padding: .65rem .75rem; display: flex; flex-direction: column; }
.metric-k { font-size: .72rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }
.metric-v { font-weight: 700; font-size: 1rem; }
.hero-status { font-size: .85rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: .5rem; }
.hero-status .check { color: #22c55e; font-weight: 800; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.25rem 1rem; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { color: var(--navy); font-size: 1.05rem; }
.trust-item span { font-size: .88rem; color: var(--ink-600); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head h2, .why-copy h2, .about-copy h2, .contact-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); margin-bottom: .9rem;
}
.section-sub { font-size: 1.08rem; color: var(--ink-600); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ice-100); color: var(--blue); margin-bottom: 1.1rem;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.service-card p { color: var(--ink-600); font-size: .96rem; margin-bottom: .5rem; }
.service-card--accent { background: linear-gradient(160deg, #fff7ed, #fff); border-color: #fed7aa; }
.service-card--accent .service-icon { background: #ffedd5; color: #c2410c; }

/* ---------- Why us ---------- */
.why-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.why-copy p { color: var(--ink-600); font-size: 1.05rem; }
.checklist { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.5rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink-600); }
.checklist li strong { color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .05rem;
  width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: .8rem; font-weight: 800; display: grid; place-items: center;
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.stat-v { font-size: 1.6rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.stat-k { font-size: .9rem; color: var(--ink-600); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.step p { color: var(--ink-600); font-size: .96rem; margin: 0; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.about-copy p { color: var(--ink-600); font-size: 1.05rem; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.about-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: .5rem; }
.about-card h3 + p { margin-bottom: 1.5rem; }
.about-card p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-copy p { color: var(--ink-600); font-size: 1.05rem; }
.contact-details { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.75rem; }
.contact-row {
  display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px;
}
a.contact-row:hover { border-color: var(--blue); }
.contact-icon { font-size: 1.3rem; }
.contact-row strong { color: var(--navy); }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2rem;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.contact-form .checkbox { flex-direction: row; align-items: center; gap: .6rem; font-weight: 500; color: var(--ink-600); }
.contact-form .checkbox input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-note { font-size: .85rem; margin: 0; }
.form-status { margin: 0; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 3rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; gap: .9rem; align-items: flex-start; }
.footer-brand p { margin: .25rem 0 0; font-size: .9rem; }
.site-footer .muted { color: rgba(255,255,255,.6); }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: .5rem; font-size: .95rem; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,.8); }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.25rem; font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 4rem 0; }
  .hero-visual { max-width: 460px; }
  .services-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .why-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .header-inner { height: 64px; gap: 1rem; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem 1.25rem; border-top: 1px solid var(--line); }
  .header-cta span { display: none; }
  .header-cta { padding: .6rem .7rem; margin-left: auto; }
  .nav-toggle { display: flex; margin-left: 0; }
  .brand-name { font-size: .9rem; }
  .section { padding: 3.75rem 0; }
  .services-grid, .steps, .stats-grid, .form-row { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: 0; }
  .contact-form { padding: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .35rem; }
}

/* ---------- Service area map + reviews ---------- */
.area-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: stretch; }
.map-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); min-height: 380px; background: var(--bg-alt);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.reviews-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem;
}
.google-badge {
  display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .9rem; color: var(--ink-600);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem .4rem .6rem; align-self: flex-start;
}
.reviews-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--navy); line-height: 1.25; }
.reviews-card p { margin: 0; }
.reviews-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .25rem; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.reviews-points { display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-600); font-size: .95rem; }
.reviews-points li::before { content: "★"; color: var(--amber); margin-right: .5rem; }
@media (max-width: 1024px) { .area-inner { grid-template-columns: 1fr; } }
