/* ==========================================================================
   JaviAirFlow A/C & Heating — Design System
   Warm cream + sand, cyan (cooling) + orange/amber (heating). Soft surfaces
   over slabs of shadow, sharp corners over pills, restrained motion.
   ========================================================================== */

:root {
  /* Surfaces — warm, sunlit, San Antonio daylight */
  --bg: #fbf7f0;
  --bg-elevated: #f2e9db;
  --bg-elevated-2: #ffffff;

  /* Accents — deepened just enough to read on light surfaces */
  --cool: #0b84a6;
  --cool-dim: #0a6d89;
  --warm: #e07a22;
  --warm-dim: #c98a2e;

  /* Text — ink, not pure black, keeps a hint of brand navy */
  --text: #1c2b36;
  --text-muted: #5b6670;
  --text-faint: #8a8375;
  --paper: #1c2b36;

  /* Lines & state */
  --line: rgba(28, 43, 54, 0.08);
  --line-strong: rgba(28, 43, 54, 0.16);
  --success: #2f8f5b;
  --danger: #c1432f;

  /* Shadows — soft, for airy elevation instead of hairline-only cards */
  --shadow-sm: 0 1px 2px rgba(28, 43, 54, 0.05), 0 6px 20px rgba(28, 43, 54, 0.05);
  --shadow-md: 0 12px 32px rgba(28, 43, 54, 0.09);

  /* Type */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-logo: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --brand-blue: #1b88c6;
  --slogan: #c2650f;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(64px, 10vw, 128px);
  --radius: 8px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-s: 400ms;
  --dur-m: 650ms;
  --dur-l: 900ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--warm);
  color: var(--text);
  padding: 10px 16px;
  font-weight: 600;
  z-index: 999;
  transition: top var(--dur-s) var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--cool);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; padding-block: var(--section-pad); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cool);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--warm);
}
.eyebrow.is-warm { color: var(--warm-dim); }
.eyebrow.is-warm::before { background: var(--cool); }

h2.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  max-width: 20ch;
}

.section-lede {
  color: var(--text-muted);
  font-size: clamp(15px, 1.4vw, 17.5px);
  max-width: 56ch;
  margin-top: 16px;
}

.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.centered { text-align: center; margin-inline: auto; }
.section-head.centered .section-lede { margin-inline: auto; }
.section-head.centered .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--warm);
  color: #201005;
  border: 1.5px solid var(--warm);
}
.btn-primary:hover { background: var(--warm-dim); border-color: var(--warm-dim); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}
.btn-outline:hover { border-color: var(--cool); color: var(--cool); }

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 247, 240, 0.94);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { height: 30px; width: auto; flex-shrink: 0; mix-blend-mode: multiply; }
.logo-word {
  display: flex;
  flex-direction: column;
  font-family: var(--font-logo);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-blue);
  text-shadow: 1px 1px 0 rgba(240, 144, 58, 0.9);
}
.logo-name { font-size: 19px; letter-spacing: -0.01em; }
.logo-sub { font-size: 11.5px; font-weight: 700; margin-top: 4px; letter-spacing: 0.01em; }

.slogan {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slogan);
}
.hero-solo .slogan { margin-top: 22px; }
.about-copy p.slogan { color: var(--slogan); font-size: 13px; margin: 10px 0 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a { color: var(--text-muted); transition: color var(--dur-s) var(--ease); }
.nav-links a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.nav-phone svg { color: var(--cool); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-panel {
  position: fixed;
  inset: 78px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 20px var(--gutter) 32px;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(28px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.mobile-panel.is-open { opacity: 1; transform: translateX(0); pointer-events: auto; }
.mobile-panel > a {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-panel .mobile-cta { position: relative; z-index: 1; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.mobile-panel .mobile-cta .btn { min-height: 54px; font-size: 16px; }

/* A quick gust across the panel each time it opens */
.panel-wind { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.wind-streak { position: absolute; width: 75%; opacity: 0; fill: none; stroke-width: 2; }
.wind-streak-1 { top: 22%; left: 0; stroke: var(--cool); }
.wind-streak-2 { top: 52%; right: 0; stroke: var(--warm); }
.mobile-panel.is-open .wind-streak-1 { animation: windSweep 850ms var(--ease) 80ms both; }
.mobile-panel.is-open .wind-streak-2 { animation: windSweep 850ms var(--ease) 200ms both; }
@keyframes windSweep {
  0% { opacity: 0; transform: translateX(-32px); }
  35% { opacity: 0.45; }
  100% { opacity: 0; transform: translateX(32px); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding-top: calc(78px + clamp(56px, 9vw, 120px));
  padding-bottom: clamp(56px, 9vw, 120px);
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(11, 132, 166, 0.12), transparent 60%),
    radial-gradient(ellipse 700px 400px at 5% 100%, rgba(224, 122, 34, 0.12), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero-solo {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.02;
}
.hero-headline .accent { color: var(--cool); }

.hero-sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-reputation {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stars { color: var(--warm-dim); font-size: 15px; letter-spacing: 2px; }
.hero-reputation-text { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }
.hero-reputation-text strong { color: var(--text); font-family: var(--font-head); }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip {
  padding-block: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 40px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.trust-item svg { width: 17px; height: 17px; color: var(--cool); flex-shrink: 0; }
.trust-item strong { color: var(--text); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-icon { width: 34px; height: 34px; color: var(--cool); }
.service-card:nth-child(even) .service-icon { color: var(--warm); }
.service-card h3 { font-size: 19px; }
.service-card p { color: var(--text-muted); font-size: 14.5px; flex-grow: 1; }
.service-link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  transition: gap var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.service-link:hover { gap: 12px; color: var(--cool); }

.service-card-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.service-card-wide .service-icon { margin-bottom: 0; flex-shrink: 0; }
.service-card-wide .service-copy { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }
.service-card-wide .service-link { margin-top: 0; padding-top: 0; border-top: none; flex-shrink: 0; }

/* ==========================================================================
   ON THE JOB (photos)
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-item {
  margin: 0;
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.work-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.work-item figcaption { padding: 14px 18px 16px; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--text-muted); }

/* ==========================================================================
   REPUTATION / REVIEWS
   ========================================================================== */
.reviews-section { background: var(--bg-elevated); }
.reviews-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.rating-badge .num { font-family: var(--font-head); font-size: 26px; font-weight: 800; }
.rating-badge .meta { font-size: 12.5px; line-height: 1.35; }
.rating-badge .stars { color: var(--warm-dim); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.review-card {
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-card .stars { font-size: 13px; }
.review-card p {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  flex-grow: 1;
}
.review-author { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--text); }

.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--cool);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-solo { max-width: 680px; }

.about-copy { margin-top: 20px; }
.about-copy p { color: var(--text-muted); font-size: 16px; margin-bottom: 18px; max-width: 58ch; }

#about, #service-area { background: var(--bg-elevated); }

/* ==========================================================================
   PROCESS (3-step)
   ========================================================================== */
.process-section { background: var(--bg); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 40px);
  position: relative;
}
.process-step { position: relative; padding-top: 8px; }
.process-num {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
  line-height: 1;
  margin-bottom: 18px;
}
.process-step:nth-child(2) .process-num { -webkit-text-stroke-color: var(--cool); }
.process-step:nth-child(3) .process-num { -webkit-text-stroke-color: var(--warm); }
.process-step h3 { font-size: 18px; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 14.5px; max-width: 34ch; }

/* ==========================================================================
   SERVICE AREA
   ========================================================================== */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.area-list { display: flex; flex-direction: column; gap: 0; margin-top: 24px; }
.area-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
}
.area-map-frame {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--bg-elevated);
}
.area-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--cool); }

/* ==========================================================================
   VENDOR / CREDIBILITY
   ========================================================================== */
.credibility-section { background: var(--bg); }
.credibility-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--bg-elevated-2);
  overflow: hidden;
}
.cred-key { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.cred-stat { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.cred-stat:last-child { border-right: none; }
.cred-stat strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.01em; color: var(--text); overflow-wrap: anywhere; }
.cred-stat span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.cred-details { display: grid; grid-template-columns: repeat(3, 1fr); }
.cred-details > div { padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cred-details > div:nth-child(3n) { border-right: none; }
.cred-details > div:nth-last-child(-n + 3) { border-bottom: none; }
.cred-details dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 4px; }
.cred-details dd { font-family: var(--font-head); font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-section { background: var(--bg-elevated); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-side p { color: var(--text-muted); margin-top: 14px; max-width: 40ch; }

.hours { margin-top: 36px; max-width: 360px; }
.hours h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 14px; }
.hours dl { display: flex; flex-direction: column; }
.hours .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours dt { color: var(--text-muted); }
.hours dd { font-family: var(--font-head); font-weight: 700; }
.contact-side .hours-note { margin-top: 14px; font-size: 14px; color: var(--cool); font-weight: 600; }

.contact-actions { display: flex; flex-direction: column; gap: 16px; }
.contact-action {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.contact-action:hover { border-color: var(--cool); box-shadow: var(--shadow-md); }
.contact-action .ca-icon { width: 26px; height: 26px; color: var(--cool); flex-shrink: 0; }
.contact-action .ca-text { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.contact-action .ca-label { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.contact-action .ca-value { font-family: var(--font-head); font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; color: var(--text); overflow-wrap: anywhere; }
.contact-action .ca-arrow { color: var(--text-faint); flex-shrink: 0; transition: transform var(--dur-s) var(--ease), color var(--dur-s) var(--ease); }
.contact-action:hover .ca-arrow { transform: translateX(4px); color: var(--cool); }

.contact-action.is-primary { background: var(--warm); border-color: var(--warm); }
.contact-action.is-primary:hover { background: var(--warm-dim); border-color: var(--warm-dim); }
.contact-action.is-primary .ca-icon,
.contact-action.is-primary .ca-label,
.contact-action.is-primary .ca-value,
.contact-action.is-primary .ca-arrow { color: #201005; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 28px; }
.footer-skyline { display: flex; justify-content: center; margin-bottom: 40px; opacity: 0.55; }
.footer-skyline svg { width: 200px; height: auto; color: var(--text-faint); }
.footer-skyline rect, .footer-skyline line, .footer-skyline ellipse { fill: none; stroke: currentColor; stroke-width: 1.4; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-brand .slogan { color: var(--slogan); margin-top: 12px; font-size: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 14px; max-width: 34ch; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: var(--text-muted); transition: color var(--dur-s) var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-licenses { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-licenses > span { white-space: nowrap; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ==========================================================================
   MOBILE STICKY ACTION BAR
   ========================================================================== */
.mobile-action-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  border-top: 1px solid var(--line-strong);
  background: var(--bg-elevated-2);
  box-shadow: 0 -4px 20px rgba(28, 43, 54, 0.08);
}
.mobile-action-bar .row { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
}
.mobile-action-bar .call { background: var(--bg-elevated-2); color: var(--text); border-right: 1px solid var(--line); }
.mobile-action-bar .request { background: var(--warm); color: #201005; }

/* ==========================================================================
   SCROLL REVEAL ANIMATION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Wind reveals — content drifts in from the side, like moving air */
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity var(--dur-l) var(--ease), transform var(--dur-l) var(--ease);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity var(--dur-l) var(--ease), transform var(--dur-l) var(--ease);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.reveal-word { overflow: hidden; display: inline-block; vertical-align: top; }
.reveal-word > span {
  display: inline-block;
  transform: translateX(-105%);
  opacity: 0;
  transition: transform var(--dur-m) var(--ease), opacity var(--dur-m) var(--ease);
  transition-delay: var(--word-delay, 0ms);
}
.reveal-word.is-visible > span { transform: translateX(0); opacity: 1; }

/* Hero wind lines — thin airflow curves filling the space beside the text */
.hero-wind {
  position: absolute;
  top: 12%;
  right: 0;
  width: min(60%, 620px);
  pointer-events: none;
  z-index: 0;
}
.hero-wind svg { width: 100%; height: auto; overflow: visible; }
.wind-line-cool { stroke: var(--cool); }
.wind-line-warm { stroke: var(--warm); }
.hero-wind path {
  fill: none;
  stroke-width: 2;
  opacity: 0.22;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: windDraw 1.8s var(--ease) 0.2s forwards;
}
.hero-wind svg:last-child path { animation-delay: 0.45s; }
@keyframes windDraw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-word > span {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .hero-wind path { animation: none !important; stroke-dashoffset: 0 !important; }
  .wind-streak { animation: none !important; opacity: 0 !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-phone span { display: none; }
  .nav-right .btn-primary { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: span 2; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }

  .process-grid { grid-template-columns: 1fr; gap: 36px; }

  .area-grid { grid-template-columns: 1fr; }
  .area-map-frame { aspect-ratio: 4 / 3; }

  .cred-key { grid-template-columns: repeat(2, 1fr); }
  .cred-stat:nth-child(2) { border-right: none; }
  .cred-stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .cred-details { grid-template-columns: repeat(2, 1fr); }
  .cred-details > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .cred-details > div:nth-child(2n) { border-right: none; }
  .cred-details > div:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .cred-details > div:nth-last-child(-n + 2) { border-bottom: none; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .mobile-action-bar { display: block; padding-bottom: env(safe-area-inset-bottom); }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }

  /* comfortable tap targets (~44px) */
  .logo { padding-block: 7px; }
  .nav-phone { min-width: 44px; min-height: 44px; justify-content: center; }
  .service-link { padding-block: 14px 12px; }
  .service-card-wide .service-link { padding-block: 12px; }
  .reviews-link, .map-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; }
  .footer-col ul { gap: 0; }
  .footer-col a { display: inline-block; padding-block: 11px; }
}

@media (max-width: 640px) {
  .reveal-left { transform: translateX(-16px); }
  .reveal-right { transform: translateX(16px); }
  .reveal-left.is-visible, .reveal-right.is-visible { transform: translateX(0); }
  .trust-row { justify-content: flex-start; gap: 16px 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cred-details { grid-template-columns: 1fr; }
  .cred-details > div { border-right: none; border-bottom: 1px solid var(--line) !important; }
  .cred-details > div:last-child { border-bottom: none !important; }
  .slots-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .rating-badge { flex-direction: row; }
}

/* ==========================================================================
   PHONE LAYOUT — less scrolling, no repetition, actions first
   ========================================================================== */
@media (max-width: 640px) {
  section { padding-block: 52px; }
  .section-head { margin-bottom: 28px; }
  .eyebrow { letter-spacing: 0.12em; margin-bottom: 14px; }

  /* hero: full-width buttons; rating already appears in the strip right below */
  .hero { padding-bottom: 44px; }
  .hero-actions { flex-direction: column; margin-top: 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-reputation { display: none; }

  /* trust strip: compact 2-column facts */
  .trust-strip { padding-block: 20px; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; justify-content: stretch; }
  .trust-item { align-items: flex-start; font-size: 12.5px; line-height: 1.35; }
  .trust-item svg { margin-top: 1px; }
  .trust-item:first-child { grid-column: 1 / -1; }

  /* services: tighter cards, one clear tap target (the sticky Call/Text bar) */
  .services-grid { gap: 12px; }
  .service-card { display: grid; grid-template-columns: 30px 1fr; align-items: center; column-gap: 14px; row-gap: 8px; padding: 20px; }
  .service-card .service-icon { width: 30px; height: 30px; }
  .service-card p { grid-column: 1 / -1; }
  .service-card-wide { align-items: center; }
  .service-card-wide .service-copy { display: contents; }
  .service-card p { font-size: 14.5px; }
  .service-link { display: none; }

  /* reviews: swipe sideways instead of six stacked walls of text */
  .reviews-grid {
    display: flex;
    gap: 14px;
    margin: 32px calc(var(--gutter) * -1) 0;
    padding: 0 var(--gutter) 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card { flex: 0 0 85%; scroll-snap-align: start; padding: 22px; }
  .review-card.reveal { opacity: 1; transform: none; }

  /* photos: compact 2-up grid */
  .work-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work-item figcaption { padding: 10px 12px 12px; font-size: 12px; line-height: 1.3; }

  .process-grid { gap: 26px; }
  .process-num { font-size: 38px; margin-bottom: 12px; }

  /* service area: text first, shorter map */
  .area-map { order: 0; }
  .area-map-frame { aspect-ratio: 16 / 10; }

  /* contact: buttons first, hours after */
  .contact-grid { gap: 0; }
  .contact-side { display: contents; }
  .contact-actions { order: 4; margin-top: 26px; gap: 12px; }
  .contact-action { padding: 18px; gap: 14px; }
  .contact-action .ca-arrow { display: none; }
  .contact-action .ca-value { font-size: 18px; }
  .contact-action[href^="mailto"] .ca-value { font-size: 16px; overflow-wrap: normal; }
  .hours { order: 5; margin-top: 30px; max-width: none; }

  .footer-grid { gap: 28px; }

  /* business info: licenses get a full row so they never break mid-number */
  .cred-stat { padding: 18px 20px; }
  .cred-stat:nth-child(1), .cred-stat:nth-child(2) { grid-column: 1 / -1; border-right: none; border-bottom: 1px solid var(--line); }
  .cred-stat:nth-child(3) { border-right: 1px solid var(--line); }
  .cred-stat strong { overflow-wrap: normal; }
  .cred-details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 20px; border-right: none !important; }
  .cred-details dt { margin-bottom: 0; }
  .cred-details dd { text-align: right; font-size: 15px; }
}
