/* Brightline Solar Cleaning */
@font-face {
  font-family: "Pretendard"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("fonts/pretendard-latin-variable.woff2") format("woff2");
}

:root {
  --ink: #0D2B35;      /* brand dark: text, dark bands, header */
  --yellow: #FFC40E;   /* accent: primary buttons, step numerals */
  --tint: #EBF7FB;     /* pale band background */
  --white: #FFFFFF;
  --text: #0D2B35;
  --muted: #52666F;
  --line: #D5DEE2;
  --field: #6F858F;
  --footer: #0A1220;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(13, 43, 53, 0.16);
  --band: 112px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Pretendard", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px; font-weight: 400; line-height: 1.65;
  color: var(--text); background: var(--white);
}

h1, h2, h3 {
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0;
  text-wrap: balance;
}
h1 { font-size: 64px; }
h2 { font-size: 44px; margin-bottom: 32px; }
h3 { font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
p { margin: 0 0 16px; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

a { color: inherit; text-decoration: none; transition: color 150ms; }
a:hover { text-decoration: underline; }
main p a, main dd a { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.site-header :focus-visible, .band-dark :focus-visible, .hero :focus-visible,
.mobile-bar :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 40; }

/* Buttons */
.btn {
  display: inline-block; font: inherit; font-size: 15px; font-weight: 600;
  text-transform: uppercase; text-align: center; white-space: nowrap; line-height: 1.2;
  padding: 16px 32px; border-radius: 999px; border: 2px solid var(--yellow);
  background: var(--yellow); color: var(--ink); cursor: pointer;
  transition: filter 150ms;
}
.btn:hover { filter: brightness(0.92); text-decoration: none; }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); filter: none; }

/* Header: solid by default. On the home page it starts transparent over the hero
   where scroll timelines are supported, and turns solid once scrolled. */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ink); color: var(--white); }
@keyframes header-solid { from { background-color: transparent; } to { background-color: #0D2B35; } }
@supports (animation-timeline: scroll()) {
  .has-hero .site-header {
    animation: header-solid 1ms linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 160px;
  }
}
.site-header .wrap {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  gap: 24px; min-height: var(--header-h);
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.site-nav { justify-self: center; }
.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-size: 15px; white-space: nowrap; }
.site-nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.header-phone { font-weight: 600; white-space: nowrap; }
.menu-btn {
  display: none; font: inherit; font-size: 15px; font-weight: 600; text-transform: uppercase;
  color: var(--white); background: transparent; border: 2px solid var(--white);
  border-radius: 999px; padding: 10px 20px; cursor: pointer;
}

/* Hero (home) */
.hero {
  position: relative; isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  min-height: 640px; display: flex; align-items: center;
  padding: calc(var(--header-h) + 64px) 0 160px;
  background: var(--ink); color: var(--white);
}
.hero .wrap { width: 100%; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(13, 43, 53, 0.7); z-index: -1; }
.hero h1 { max-width: 860px; margin-bottom: 24px; }
.lead { font-size: 19px; max-width: 56ch; margin-bottom: 32px; }
.hero .lead, .page-head .lead { color: rgba(255, 255, 255, 0.85); }

/* Page head (inner pages) */
.page-head { background: var(--ink); color: var(--white); padding: 88px 0 96px; }
.page-head h1 { font-size: 52px; max-width: 900px; margin-bottom: 24px; }
.page-head h1:last-child { margin-bottom: 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cta-row p { margin: 0; }
.cta-row a[href^="tel"] { font-weight: 600; white-space: nowrap; }

/* Bands */
.band { padding: var(--band) 0; }
.band-dark { background: var(--ink); color: var(--white); }
.band-tint { background: var(--tint); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.top { align-items: start; }
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.photo.wide { aspect-ratio: 2 / 1; margin-top: 56px; }

/* Quote card */
.quote-band { padding-top: 0; }
.quote-card {
  position: relative; z-index: 2; margin-top: -64px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 56px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: start;
}
.quote-card.flat { margin-top: 0; }
/* Grid items default to min-width:auto, so a long unbreakable string — the
   contact email — would widen its track past the card on narrow screens. */
.quote-card > * { min-width: 0; }
.quote-card dd { overflow-wrap: anywhere; }
.quote-card h2 { font-size: 36px; margin-bottom: 12px; }
.quote-form label { display: block; font-size: 15px; font-weight: 600; margin: 20px 0 6px; }
.quote-form label span { font-weight: 400; color: var(--muted); }
.quote-form input, .quote-form textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--white);
  padding: 13px 14px; border: 1px solid var(--field); border-radius: 10px;
}
.quote-form textarea { resize: vertical; }
.field-row > div > label:first-child { margin-top: 20px; }
.form-done { font-size: 20px; font-weight: 600; line-height: 1.35; margin: 28px 0 0; }
.form-done:focus { outline: none; }
.quote-form .btn { margin-top: 28px; }
.form-note { margin-top: 20px; color: var(--muted); }
.assure { list-style: none; margin: 0; padding: 0; }
.assure li { font-size: 20px; font-weight: 600; line-height: 1.35; padding: 24px 0; border-top: 1px solid var(--line); }
.assure li:last-child { border-bottom: 1px solid var(--line); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); color: var(--text);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 150ms;
}
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.card-body p { margin-bottom: 12px; }
.price { font-weight: 600; }
.card-link { margin-top: auto; padding-top: 8px; font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.num { display: block; font-size: 96px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--yellow); margin-bottom: 16px; }

/* Before / after */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair-note { margin-top: 24px; color: var(--muted); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.review {
  display: flex; flex-direction: column; margin: 0; padding: 28px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.review blockquote { margin: 0 0 20px; }
.review figcaption { color: var(--muted); margin-bottom: 20px; }
.review .sample { margin: auto 0 0; align-self: flex-end; font-size: 12px; color: var(--muted); }

/* Closing call to action */
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); }
.cta-phone { display: inline-block; font-size: 52px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 8px 0 32px; }

/* Inner page content */
.service-list { padding-left: 1.2em; margin: 0 0 20px; }
.service-list li { margin-bottom: 6px; max-width: 58ch; }
dl { margin: 0; }
dt { font-size: 20px; font-weight: 600; line-height: 1.3; margin-top: 28px; }
dt:first-child { margin-top: 0; }
dd { margin: 6px 0 0; max-width: 62ch; }

/* Footer */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, 0.82); padding: 72px 0; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.site-footer p { margin: 0 0 6px; }
.site-footer strong { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .credit-wrap { display: block; margin-top: 48px; }
.site-footer .credit { max-width: none; text-align: center; font-size: 14px; color: #879BA6; }
.site-footer .credit a { text-decoration: underline; text-underline-offset: 3px; }

.mobile-bar { display: none; }

@media (min-width: 720px) {
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header .wrap { gap: 14px; }
  .site-nav ul { gap: 16px; }
  .brand { font-size: 18px; }
  .header-phone { font-size: 15px; }
  .site-header .btn { padding: 14px 22px; }
  .split, .quote-card { gap: 48px; }
}

@media (max-width: 1023px) {
  .site-header .wrap { grid-template-columns: 1fr auto auto auto; gap: 16px; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); padding: 8px 24px 20px; justify-self: stretch;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 12px 0; font-size: 17px; }
  .js .menu-btn { display: inline-block; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; }
  html:not(.js) .site-nav { position: static; grid-column: 1 / -1; padding: 0 0 12px; border: 0; }
  .split, .quote-card { gap: 40px; }
  .quote-card { padding: 40px; }
  .cards, .steps, .reviews { gap: 24px; }
}

@media (max-width: 720px) {
  :root { --band: 72px; --header-h: 68px; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; margin-bottom: 24px; }
  h3 { font-size: 22px; }
  .brand { font-size: 18px; }
  .site-header .btn { display: none; }
  .site-header .wrap { grid-template-columns: 1fr auto auto; gap: 12px; }
  .header-phone { font-size: 15px; }
  .menu-btn { padding: 8px 16px; }

  .hero { min-height: 560px; padding: calc(var(--header-h) + 40px) 0 128px; }
  .lead { font-size: 17px; }
  .hero .btn, .quote-form .btn { display: block; width: 100%; }
  .page-head { padding: 56px 0 64px; }
  .page-head h1 { font-size: 36px; }

  .split, .quote-card, .cards, .steps, .reviews { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .quote-card { padding: 28px 20px; gap: 32px; }
  .quote-card h2 { font-size: 28px; }
  .assure li { font-size: 18px; padding: 18px 0; }
  .steps { gap: 40px; }
  .num { font-size: 72px; margin-bottom: 8px; }
  .pair { gap: 12px; }
  .photo.wide { aspect-ratio: 4 / 3; margin-top: 40px; }
  .cta-phone { font-size: 36px; }
  .site-footer { padding: 56px 0; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 32px; }

  body { padding-bottom: 76px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--ink); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }
  .mobile-bar .btn { padding: 14px 8px; }
}

/* The header needs 444px to fit the full brand beside the phone number and
   the menu button, so drop the suffix below that — large phones (412-430px)
   sat in the gap and pushed the page sideways. */
@media (max-width: 480px) {
  .brand-rest { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .card, .btn, a { transition: none; }
  .card:hover { transform: none; }
}
