/* ==========================================================================
   ATX Roof Inspect
   ========================================================================== */

:root {
  --ink:        #0b1626;
  --ink-2:      #122036;
  --ink-3:      #1b2c46;
  --paper:      #ffffff;
  --paper-2:    #f5f7fa;
  --paper-3:    #eaeff5;
  --line:       #dde5ee;
  --line-dark:  rgba(255, 255, 255, .14);

  --text:       #16233a;
  --text-2:     #4a5c76;
  --text-3:     #6b7d96;
  --on-dark:    #eef4fb;
  --on-dark-2:  #a9bcd4;

  --brand:      #f0a020;
  --brand-2:    #ffb945;
  --brand-ink:  #2a1a00;
  --sky:        #3ba7e8;
  --good:       #16a06a;
  --warn:       #d98518;
  --bad:        #d8503c;

  --radius:     14px;
  --radius-lg:  22px;
  --radius-sm:  10px;

  --shadow-sm:  0 1px 2px rgba(11, 22, 38, .06), 0 2px 8px rgba(11, 22, 38, .05);
  --shadow:     0 12px 32px -12px rgba(11, 22, 38, .22), 0 2px 8px rgba(11, 22, 38, .06);
  --shadow-lg:  0 40px 80px -32px rgba(11, 22, 38, .45), 0 8px 24px rgba(11, 22, 38, .12);

  --font:       "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head:  "Sora", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --wrap:       1160px;
  --header-h:   72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.022em;
  color: var(--ink);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; }

a { color: #17608f; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #0d4870; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap-narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--text-3); font-size: .88rem; }

/* --------------------------------------------------------------- buttons */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: .97rem;
  line-height: 1; text-align: center; text-decoration: none;
  padding: 15px 24px; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, opacity .16s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; pointer-events: none; }

.btn-primary {
  --btn-bg: linear-gradient(180deg, var(--brand-2), var(--brand));
  --btn-fg: var(--brand-ink);
  box-shadow: 0 10px 24px -10px rgba(240, 160, 32, .75), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover { box-shadow: 0 16px 34px -12px rgba(240, 160, 32, .85), inset 0 1px 0 rgba(255,255,255,.5); }

.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { --btn-bg: var(--paper-2); box-shadow: inset 0 0 0 1.5px #c9d5e3; }

.btn-danger { --btn-bg: #fff; --btn-fg: var(--bad); box-shadow: inset 0 0 0 1.5px #f0c4bc; }
.btn-danger:hover { --btn-bg: #fdf3f1; }

.btn-lg { padding: 18px 30px; font-size: 1.03rem; }
.btn-sm { padding: 11px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Dark surfaces flip the ghost button */
.hero .btn-ghost, .cta-band .btn-ghost {
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.34);
  backdrop-filter: blur(6px);
}
.hero .btn-ghost:hover, .cta-band .btn-ghost:hover { --btn-bg: rgba(255,255,255,.1); }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 22, 38, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-family: var(--font-head);
  font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em;
  margin-right: auto;
}
.brand-mark { width: 30px; height: 30px; color: var(--brand); flex: none; }
.brand-text span { color: var(--brand); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  color: var(--on-dark-2); text-decoration: none; font-size: .93rem; font-weight: 500;
  transition: color .15s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav .nav-phone { color: #fff; font-variant-numeric: tabular-nums; }
.site-nav .btn { color: var(--brand-ink); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none;
  padding: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(8,17,30,.96) 0%, rgba(9,19,33,.88) 42%, rgba(9,19,33,.42) 72%, rgba(9,19,33,.55) 100%),
    linear-gradient(0deg, rgba(8,17,30,.85), rgba(8,17,30,0) 45%);
}

.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: 56px; align-items: center;
  padding-block: clamp(64px, 9vw, 116px);
}

.hero-copy h1 { color: #fff; max-width: 15ch; }
.price-pop {
  color: var(--brand);
  white-space: nowrap;
}
.hero .lede {
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  color: #d5e2f1; max-width: 54ch; margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: #cfe0f2;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 24px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.center-actions { justify-content: center; }

.hero-points {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 30px 0 0; padding: 0;
  font-size: .93rem; color: #bed0e4;
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: rgba(74,222,128,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%234ade80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* hero booking card */
.hero-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.hero-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.hero-card-sub { color: var(--text-2); font-size: .93rem; margin-bottom: 20px; }
.hero-card label {
  display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 6px;
}
.hero-card input {
  width: 100%; margin-bottom: 16px;
  padding: 14px 15px; font: inherit; font-size: .98rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper-2); color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.hero-card input:focus { background: #fff; border-color: var(--sky); outline: none; box-shadow: 0 0 0 4px rgba(59,167,232,.15); }
.hero-card-note { font-size: .82rem; color: var(--text-3); text-align: center; margin: 14px 0 0; }

/* -------------------------------------------------------------- trustbar */

.trustbar { background: var(--ink-2); color: #fff; border-top: 1px solid rgba(255,255,255,.07); }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 26px; gap: 20px; text-align: center;
}
.trustbar-inner div { display: flex; flex-direction: column; gap: 3px; }
.trustbar strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--brand); letter-spacing: -.02em; }
.trustbar span { font-size: .84rem; color: var(--on-dark-2); letter-spacing: .02em; }

/* -------------------------------------------------------------- sections */

.section { padding-block: clamp(64px, 8vw, 108px); }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }

.section-head { max-width: 62ch; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--warn); margin-bottom: 12px;
}
.section-sub { color: var(--text-2); font-size: 1.06rem; margin: 0; }

/* steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: var(--brand-ink);
  box-shadow: 0 8px 18px -8px rgba(240,160,32,.8);
}
.steps p { color: var(--text-2); margin: 0; font-size: .97rem; }

/* report */
.report-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.report-copy .kicker, .report-copy h2 { text-align: left; }
.report-copy .section-sub { margin-bottom: 26px; }

.checklist { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.checklist li {
  position: relative; padding-left: 32px; color: var(--text-2); font-size: .98rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(22,160,106,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%2316a06a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}

.report-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.shot {
  margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink);
  box-shadow: var(--shadow); position: relative;
}
.shot-lg { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.shot-lg img { aspect-ratio: 16 / 9; }
.shot figcaption {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 30px 14px 12px; font-size: .82rem; color: #fff;
  background: linear-gradient(0deg, rgba(6,14,25,.92), rgba(6,14,25,0));
}
.tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; color: #fff;
}
.tag-urgent { background: var(--bad); }
.tag-watch  { background: var(--warn); }
.tag-ok     { background: var(--good); }

/* pricing */
.pricing-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
.price-card {
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  color: #fff; border-radius: var(--radius-lg); padding: 38px 34px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; top: -40%; right: -20%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,160,32,.22), transparent 65%);
}
.price-card-label { font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 10px; }
.price-figure {
  font-family: var(--font-head); font-weight: 700; font-size: 4.6rem; line-height: 1;
  letter-spacing: -.04em; color: #fff; margin: 0 0 26px; display: flex; align-items: baseline; gap: 4px;
}
.price-figure .dollar { font-size: 2.2rem; color: var(--brand); }
.price-figure .per { font-family: var(--font); font-size: .95rem; font-weight: 500; color: var(--on-dark-2); margin-left: 10px; letter-spacing: 0; }
.price-card .checklist li { color: #cddcec; }
.price-card .checklist li::before { background-color: rgba(74,222,128,.16); }
.price-note { font-size: .82rem; color: var(--on-dark-2); text-align: center; margin: 16px 0 0; }

.price-aside h3 { margin-top: 0; }
.price-aside h3 + p { color: var(--text-2); margin-bottom: 28px; }
.price-aside h3 ~ h3 { margin-top: 0; }
.plain-list { margin: 0; padding-left: 20px; color: var(--text-2); }
.plain-list li { margin-bottom: 8px; }

/* testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.quote-grid blockquote {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); position: relative;
}
.quote-grid p { font-size: 1.02rem; color: var(--text); margin-bottom: 14px; }
.quote-grid cite { font-style: normal; font-size: .87rem; font-weight: 600; color: var(--text-3); }

/* faq */
.faq-wrap { max-width: 840px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px;
  margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%236b7d96' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { color: var(--text-2); margin: 0 0 22px; max-width: 68ch; }

/* cta band */
.cta-band {
  background: linear-gradient(120deg, var(--ink), #16304f);
  color: #fff; padding-block: clamp(48px, 6vw, 76px);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: var(--on-dark-2); margin: 0; }

/* ---------------------------------------------------------- booking flow */

.book-page { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); background: var(--paper-2); min-height: 70vh; }
.book-head { max-width: 680px; margin-bottom: 34px; }
.book-head .section-sub { font-size: 1rem; }

.progress {
  list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 24px;
  flex-wrap: wrap;
}
.progress li {
  display: flex; align-items: center; gap: 9px;
  font-size: .88rem; font-weight: 600; color: var(--text-3);
  padding: 9px 16px 9px 9px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
}
.progress li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper-3); color: var(--text-3); font-size: .8rem;
}
.progress li.is-active { color: var(--ink); border-color: rgba(240,160,32,.5); box-shadow: 0 0 0 3px rgba(240,160,32,.12); }
.progress li.is-active span { background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: var(--brand-ink); }
.progress li.is-done span {
  background: var(--good); color: #fff;
  font-size: 0;
}
.progress li.is-done span::after { content: "✓"; font-size: 13px; }

.booking { display: block; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 38px); box-shadow: var(--shadow-sm);
}
.panel-title { font-size: 1.45rem; margin-bottom: 6px; }
.panel-sub { color: var(--text-2); font-size: .96rem; margin-bottom: 26px; }
.panel-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* calendar strip */
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-arrow {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; color: var(--text-2);
  font-size: 1rem; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.cal-arrow:hover { background: var(--paper-2); color: var(--ink); }
.cal-arrow[disabled] { opacity: .35; cursor: default; }

.cal-strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth;
  padding: 4px 2px 12px; flex: 1;
  scrollbar-width: thin;
}
.cal-loading { color: var(--text-3); font-size: .94rem; padding: 18px 4px; }

.day {
  flex: none; width: 88px; padding: 13px 8px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; text-align: center;
  font: inherit; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.day:hover { border-color: #bcccdd; transform: translateY(-2px); }
.day .dow { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.day .dnum { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.day .dmon { display: block; font-size: .74rem; color: var(--text-3); }
.day .dopen { display: block; margin-top: 6px; font-size: .7rem; font-weight: 600; color: var(--good); }
.day.is-full { opacity: .45; cursor: not-allowed; }
.day.is-full .dopen { color: var(--text-3); }
.day.is-selected {
  border-color: var(--brand); background: #fffaf0;
  box-shadow: 0 0 0 3px rgba(240,160,32,.18);
}

/* slot grid */
.slots {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px; margin-top: 22px;
}
.slot {
  padding: 16px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.slot:hover:not([disabled]) { border-color: #bcccdd; transform: translateY(-2px); }
.slot .stime { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.slot .sleft { display: block; font-size: .8rem; color: var(--text-3); margin-top: 3px; }
.slot[disabled] { opacity: .45; cursor: not-allowed; background: var(--paper-2); }
.slot.is-selected {
  border-color: var(--brand); background: #fffaf0;
  box-shadow: 0 0 0 3px rgba(240,160,32,.18);
}
.slot.is-selected .sleft { color: var(--warn); font-weight: 600; }
.slots-empty { color: var(--text-3); font-size: .95rem; grid-column: 1 / -1; padding: 10px 0; }

/* fields */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.optional { font-weight: 400; color: var(--text-3); font-size: .82rem; }

.field input, .field select, .field textarea, .lookup input {
  width: 100%; padding: 14px 15px; font: inherit; font-size: .98rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper-2); color: var(--text);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%236b7d96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus, .lookup input:focus {
  outline: none; background: #fff; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(59,167,232,.15);
}
.field.has-error input, .field.has-error select { border-color: var(--bad); background: #fef7f6; }
.field-hint { font-size: .82rem; color: var(--text-3); margin: 6px 0 0; }
.field-error { font-size: .85rem; color: var(--bad); margin: 6px 0 0; display: none; }
.field-error.is-visible { display: block; }
.lookup .field { margin-bottom: 18px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* review */
.review { margin: 0; display: grid; gap: 2px; }
.review > div {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.review dt { color: var(--text-3); font-size: .9rem; }
.review dd { margin: 0; color: var(--text); font-weight: 500; }

.total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 22px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--paper-2); border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600;
}
.total-row strong { font-size: 1.5rem; color: var(--ink); }
.fineprint { font-size: .82rem; color: var(--text-3); margin: 20px 0 0; }

.book-aside {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px; margin-top: 26px;
}
.book-aside div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 2px;
}
.book-aside strong { font-family: var(--font-head); font-size: 1.08rem; color: var(--ink); }
.book-aside span { font-size: .85rem; color: var(--text-3); }

/* ---------------------------------------------------- confirmation pages */

.confirm-page { background: var(--paper-2); padding-block: clamp(46px, 7vw, 84px); min-height: 72vh; }

.confirm-hero {
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 48px);
  text-align: center; box-shadow: var(--shadow-lg); margin-bottom: 26px;
}
.confirm-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .25em; }
.confirm-hero .kicker { color: var(--brand); }
.confirm-window { font-size: 1.2rem; color: #d5e2f1; margin-bottom: 18px; }
.confirm-ref { font-size: .92rem; color: var(--on-dark-2); margin: 0; }
.confirm-ref strong { color: #fff; font-family: var(--font-head); letter-spacing: .06em; }
.confirm-hero.is-cancelled { background: linear-gradient(165deg, #3a2723, #241715); }

.tick {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(74,222,128,.16); color: #4ade80;
  display: grid; place-items: center;
}
.tick svg { width: 38px; height: 38px; }

.confirm-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 34px); box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.confirm-card h2 { font-size: 1.25rem; margin-bottom: 16px; }
.next-steps { margin: 0; padding-left: 22px; color: var(--text-2); }
.next-steps li { margin-bottom: 10px; }
.confirm-note { font-size: .9rem; color: var(--text-3); margin: 16px 0 0; }
.confirm-help { text-align: center; color: var(--text-3); font-size: .92rem; }

.cancel-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cancel-row input {
  flex: 1 1 220px; padding: 14px 15px; font: inherit;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2);
}
.cancel-row input:focus { outline: none; background: #fff; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(59,167,232,.15); }
.confirm-cancel label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; }

/* ------------------------------------------------------- service + admin */

.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.area-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.area-col h2 { font-size: 1.15rem; margin-bottom: 14px; }
.area-col .plain-list { columns: 2; column-gap: 20px; font-size: .93rem; }
.area-note {
  margin-top: 26px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm);
}
.area-note h2 { font-size: 1.2rem; }
.area-note p { color: var(--text-2); max-width: 72ch; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 900px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--paper-2); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.admin-table tr.is-cancelled { opacity: .5; text-decoration: line-through; }
.notes-cell { max-width: 240px; color: var(--text-2); }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: var(--on-dark-2); padding-block: 56px 26px; font-size: .93rem; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 40px; padding-bottom: 36px;
}
.footer-brand p { max-width: 46ch; margin-top: 16px; }
.footer-legal { font-size: .82rem; color: #7f93ad; }
.footer-col h3 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--on-dark-2); text-decoration: none; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-hours { margin-top: 12px; font-size: .85rem; color: #7f93ad; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.09); padding-top: 22px;
  font-size: .84rem; color: #7f93ad;
}
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy h1 { max-width: 20ch; }
  .hero-card { max-width: 520px; }
  .report-grid, .pricing-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; order: 3; }
  .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,22,38,.98); backdrop-filter: blur(14px);
    padding: 12px 22px 22px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1rem; }
  .site-nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .trustbar-inner { grid-template-columns: 1fr 1fr; gap: 18px; }
  .grid-2 { grid-template-columns: 1fr; }
  .review > div { grid-template-columns: 1fr; gap: 2px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-actions .btn, .panel-actions .btn { flex: 1 1 100%; }
  .area-col .plain-list { columns: 1; }
  .cal-arrow { display: none; }
  .price-figure { font-size: 3.6rem; }
  .shot-lg { grid-column: span 2; }
  .report-gallery { grid-template-columns: 1fr; }
  .shot-lg { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
