/* BrightPane Window Cleaning — site styles
   Tokens */
:root {
  --ink: #16324f;          /* deep navy — headlines */
  --sky: #0e86b8;          /* clear-sky blue — primary */
  --sky-dark: #0a6f9c;
  --sun: #f2a33c;          /* warm amber — accent, used sparingly */
  --mist: #eef6fa;         /* sky-tint band background */
  --slate: #47627c;        /* body text */
  --line: #d8e4ec;         /* borders */
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(22, 50, 79, .08);
  --display: "Fraunces", Georgia, serif;
  --body: "Public Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--slate);
  font-size: 17px;
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }

a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--sky-dark); }

strong { color: var(--ink); font-weight: 600; }

/* ---------- preview ribbon ---------- */
.preview-ribbon {
  background: var(--ink);
  color: #cfe3f0;
  text-align: center;
  font-size: 13px;
  padding: 6px 16px;
  letter-spacing: .02em;
}

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
}

.brand:hover { color: var(--ink); }

.brand-mark { width: 34px; height: 34px; align-self: center; color: var(--sky); flex: none; }

.brand-name { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }

.brand-sub { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }

.header-cta { display: flex; align-items: center; gap: 18px; }

.phone { font-weight: 600; color: var(--ink); white-space: nowrap; }
.phone:hover { color: var(--sky); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  min-height: 44px;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--sky); color: var(--white); }
.btn-primary:hover { background: var(--sky-dark); color: var(--white); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }

.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { background: var(--mist); border-bottom: 1px solid var(--line); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}

.hero h1 { font-size: clamp(38px, 5.2vw, 58px); margin-bottom: 18px; text-wrap: pretty; }

.lede { font-size: 20px; max-width: 34em; margin-bottom: 30px; color: var(--ink); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}

.trust-row li::before { content: "✓"; color: var(--sky); font-weight: 700; margin-right: 7px; }

/* hero TV-on-wall motif */
.hero-panel { display: flex; justify-content: center; }

.tv-wall {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1/1.1;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.tv-bracket {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 46%;
  height: 8px;
  transform: translateX(-50%);
  background: var(--sky);
  border-radius: 4px;
  z-index: 1;
}

.tv-frame {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  width: 62%;
  background: var(--ink);
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 16px 32px rgba(22, 50, 79, .28);
  z-index: 2;
}

.tv-screen {
  aspect-ratio: 16/9;
  background: linear-gradient(140deg, #1c3d5e 0%, #0b1c2e 60%, #16324f 100%);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.tv-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, .16) 52%, transparent 60%);
  transform: translateX(-70%);
  animation: tv-glint 8s ease-in-out infinite;
}

@keyframes tv-glint {
  0%, 55% { transform: translateX(-70%); }
  85%, 100% { transform: translateX(70%); }
}

.tv-level {
  position: absolute;
  bottom: 13%;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.bubble {
  width: 8px;
  height: 8px;
  background: var(--sun);
  border-radius: 50%;
}

/* ---------- sections ---------- */
section { padding: 72px 0; }

section h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 12px; text-wrap: pretty; }

.section-lede { font-size: 18px; max-width: 44em; margin-bottom: 36px; }

/* ---------- pricing ---------- */
.price-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  max-width: 760px;
  background: var(--white);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 15px 22px;
  border-top: 1px solid var(--line);
}

.price-row:first-child { border-top: none; }

.price-head {
  background: var(--ink);
  color: #cfe3f0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 11px 22px;
}

.price-row.popular { background: #f3fafd; box-shadow: inset 3px 0 0 var(--sky); }

.svc { display: block; color: var(--ink); font-weight: 600; }
.note { font-size: 14px; color: var(--slate); }

.price-row > div:last-child { text-align: right; white-space: nowrap; }
.price-row strong { font-size: 20px; }
.unit { font-size: 13px; color: var(--slate); margin-left: 2px; }

.price-foot { margin-top: 18px; max-width: 760px; font-size: 15px; }

/* ---------- how it works ---------- */
.how { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.steps li { position: relative; padding-top: 8px; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--sky);
  color: var(--sky);
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 16px;
}

.steps h3 { font-size: 21px; margin-bottom: 8px; }

.steps p { font-size: 15.5px; }

/* ---------- service area ---------- */
.area { text-align: center; }

.area h2 { max-width: 22em; margin-left: auto; margin-right: auto; }

.area p { max-width: 34em; margin: 0 auto; font-size: 17px; }

/* ---------- quote / form ---------- */
.quote { background: var(--mist); border-top: 1px solid var(--line); }

.quote-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.perks { list-style: none; margin: 22px 0; }

.perks li { padding: 7px 0 7px 30px; position: relative; }
.perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--sky);
  font-weight: 700;
}

.quote-phone { font-size: 16px; }
.quote-phone a { font-weight: 600; }

.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 18px; }
.form-half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  min-height: 46px;
}

textarea { min-height: 80px; resize: vertical; }

.check-row { display: flex; flex-direction: column; gap: 8px; }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0;
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--sky);
  flex: none;
}

.check-note { color: var(--slate); font-size: 13px; margin-left: auto; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(14, 134, 184, .18);
}

.estimate {
  background: #f3fafd;
  border: 1px dashed var(--sky);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 18px;
}

.estimate strong { font-size: 19px; color: var(--sky-dark); }

.form-note { font-size: 13px; color: var(--slate); text-align: center; margin-top: 12px; }

.form-error {
  background: #fdeeee;
  border: 1px solid #e2b6b6;
  color: #8a2f2f;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14.5px;
  margin-top: 14px;
}

.form-success {
  text-align: center;
  padding: 24px 8px;
}

.form-success h3 { font-size: 24px; margin-bottom: 10px; color: #1d7a4f; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9d2e4; padding: 44px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--white); margin-bottom: 6px; }

.footer-contact { text-align: right; font-size: 15px; }

.footer-contact a { color: var(--white); font-weight: 600; }
.footer-contact a:hover { color: var(--sun); }

.footer-copy { margin-top: 14px; font-size: 13px; color: #7fa1ba; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .hero-panel { display: none; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .quote-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .form-half { grid-template-columns: 1fr; gap: 18px; }
  .brand-sub { display: none; }
  .header-cta { gap: 10px; }
  .footer-contact { text-align: left; }
  body { font-size: 16px; }
}
