/* ==========================================================
   Franklin Garage Cleaners
   White, airy page. Brand navy #163853, door blue #8CCBE6.
   Shapes: buttons and chips are full round; cards and photo 28px.
   ========================================================== */

/* Same face as the logo and Facebook cover: Helvetica. Arial on
   Windows, self-hosted Arimo (a Helvetica/Arial match) elsewhere. */
@font-face {
  font-family: "Arimo";
  src: url("assets/fonts/arimo.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #F6F8FA;
  --white: #FCFDFE;
  --navy: #163853;
  --navy-2: #1E4767;
  --navy-deep: #0E263B;
  --ink: #12283C;
  --ink-2: #4A5D6E;
  --ink-3: #6E8091;
  --sky: #8CCBE6;
  --steel: #2B7895;
  --hair: #E1E8EE;
  --font: "Helvetica Neue", Helvetica, Arial, "Arimo", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 8px; }
.nowrap { white-space: nowrap; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 60;
  padding: 10px 16px; border-radius: 999px;
  background: var(--navy); color: #fff;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip:focus-visible { transform: none; }

/* ==========================================================
   Nav
   ========================================================== */
.nav-wrap {
  position: fixed;
  inset: calc(12px + env(safe-area-inset-top)) 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: 12px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 980px;
  height: 60px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: rgb(252 253 254 / 0.96);
  box-shadow: 0 0 0 1px var(--hair), 0 8px 24px -14px rgb(14 38 59 / 0.25);
  transition: box-shadow 300ms ease;
}
.nav.is-scrolled { box-shadow: 0 0 0 1px var(--hair), 0 12px 30px -14px rgb(14 38 59 / 0.35); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  white-space: nowrap;
  margin-right: auto;
}
.brand .mark { width: 28px; height: 25px; }
.nav-links { display: none; gap: 2px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  transition: color 150ms ease, background-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--navy); background: #EEF3F7; }
}
.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 4px 12px -4px rgb(14 38 59 / 0.5);
  transition: transform 160ms var(--ease-out), background-color 180ms ease;
}
.nav-call:active { transform: scale(0.97); }
.nav-call svg { width: 17px; height: 17px; flex: none; }
@media (max-width: 420px) {
  .brand span { display: none; }
}
@media (hover: hover) and (pointer: fine) { .nav-call:hover { background: var(--navy-2); } }
@media (min-width: 880px) { .nav-links { display: flex; } .nav-links + .nav-call { margin-left: 8px; } }

/* ==========================================================
   Buttons + chips
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, box-shadow 180ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid {
  background: var(--navy);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 10px 24px -10px rgb(14 38 59 / 0.6);
}
.btn-line { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.45); }
.btn-light { background: var(--white); color: var(--navy); box-shadow: 0 8px 20px -8px rgb(0 0 0 / 0.35); }
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--navy-2); }
  .btn-line:hover { background: #EEF3F7; }
  .btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
  .btn-light:hover { background: #fff; }
}
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  display: inline-flex;
  background: #E3F1F8;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #1F6A86;
  font-size: 0.875rem;
  font-weight: 700;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: calc(140px + env(safe-area-inset-top)) var(--gutter) clamp(56px, 8vw, 96px);
}
.hero-copy { max-width: 820px; }
.hero h1 {
  margin-top: 24px;
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--navy);
  text-wrap: balance;
}
.hero-sub {
  margin-top: 24px;
  max-width: 36em;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero .ctas { margin-top: 36px; }

@media (min-width: 960px) {
  .hero { padding-bottom: 72px; }
  .hero h1 .l { display: block; white-space: nowrap; }
}
@media (max-width: 520px) {
  .hero .ctas .btn { flex: 1 1 100%; }
}

/* ==========================================================
   Sections
   ========================================================== */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
}
.section-head { max-width: 640px; }
.label {
  color: var(--steel);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.section h2, .offer h2 {
  margin-top: 10px;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--navy);
  text-wrap: balance;
}
.section h3 {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  color: var(--navy);
}

/* Full-width soft band behind a section */
.section-tint { position: relative; }
.section-tint::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: linear-gradient(180deg, var(--paper), #EAF1F6 30%, #EAF1F6 70%, var(--paper));
}

/* ---------- Offer ---------- */
.offer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.offer-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--hair), 0 20px 40px -28px rgb(14 38 59 / 0.35);
}
.offer-price { display: grid; line-height: 1; }
.offer-from { color: var(--ink-3); font-size: 1rem; font-weight: 700; }
.offer-num {
  margin-top: 6px;
  font-weight: 700;
  font-size: clamp(4rem, 9vw, 6.5rem);
  letter-spacing: -0.05em;
  color: var(--steel);
}
.offer h2 { margin-top: 0; font-size: clamp(1.5rem, 2.6vw, 2.125rem); }
.offer-copy p { margin-top: 12px; color: var(--ink-2); max-width: 46ch; }
@media (min-width: 760px) { .offer-card { grid-template-columns: auto 1fr; } }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}
.service {
  padding: 32px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--hair);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}
.service-icon {
  display: grid;
  background: #E3F1F8;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--navy);
}
.service-icon svg { width: 24px; height: 24px; }
.service p { margin-top: 10px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .service:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--hair), 0 24px 40px -28px rgb(14 38 59 / 0.4); }
}
@media (min-width: 820px) { .services { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 56px;
}
.step-num {
  display: grid;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--navy);
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.25rem;
}
.step p { margin-top: 8px; color: var(--ink-2); max-width: 30ch; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: var(--hair);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p:not(.label) { margin-top: 18px; color: var(--ink-2); font-size: 1.125rem; max-width: 36em; text-wrap: pretty; }
@media (min-width: 900px) { .about { grid-template-columns: 0.85fr 1fr; gap: clamp(48px, 7vw, 96px); } }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 48px;
  margin-top: 40px;
  border-top: 1px solid var(--hair);
}
.faq > div { padding: 22px 0; border-bottom: 1px solid var(--hair); }
.faq dt { font-weight: 700; color: var(--navy); font-size: 1.0625rem; }
.faq dd { margin-top: 6px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  place-items: center;
  max-width: var(--wrap);
  margin: clamp(24px, 4vw, 48px) auto clamp(56px, 8vw, 96px);
  padding: clamp(64px, 10vw, 120px) var(--gutter);
  border-radius: 32px;
  background: var(--navy);
}
@media (min-width: 1240px) { .contact { margin-inline: auto; } }
@media (max-width: 1239px) { .contact { margin-inline: var(--gutter); } }
.contact-card {
  display: grid;
  justify-items: center;
  width: min(100%, 560px);
  text-align: center;
  color: #fff;
}
.label-light { color: var(--sky); }
.contact-num {
  margin-top: 10px;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.contact-note { margin-top: 6px; color: rgb(255 255 255 / 0.75); }
.contact .ctas { margin-top: 28px; justify-content: center; }

/* ---------- Footer ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) calc(32px + env(safe-area-inset-bottom));
  color: var(--ink-3);
  font-size: 0.875rem;
}

/* ==========================================================
   Motion
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .nav { animation: drop 800ms var(--ease-out) 100ms both; }
  .enter { animation: rise 900ms var(--ease-out) both; animation-delay: calc(200ms + var(--i) * 80ms); }

  .js [data-reveal] .rv {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 800ms ease, transform 1000ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js [data-reveal].in .rv { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
