:root {
  --ink: #0a0f1a;
  --navy: #0e2a47;
  --blue: #0d6fb1;
  --blue-dark: #0a5a91;
  --sky: #00adef;
  --sky-soft: #e3f5fd;
  --mist: #f3f8fd;
  --line: #d6e0eb;
  --text: #18212e;
  --muted: #52627a;
  --white: #ffffff;
  --wrap: 1180px;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(14, 42, 71, .35);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", "Archivo", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.4rem;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px -8px rgba(13,111,177,.7); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,.6); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--navy); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--sky-soft); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px -16px rgba(14,42,71,.5); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 92px; }
.brand-logo { height: 72px; width: auto; }
/* Brand. When the new logo arrives, replace the two spans inside .brand
   with: <img src="logo.svg" alt="TDH Exterior Cleaning" height="40"> */
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); font-weight: 900; font-stretch: 125%; font-size: .95rem; }
.brand-name { font-weight: 700; line-height: 1.1; font-size: 1.05rem; }
.brand-name small { display: block; font-weight: 400; color: #a9b7c9; font-size: .8rem; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav .btn { padding: .6rem 1.1rem; box-shadow: none; }
.nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(0,173,239,.28), transparent 45%),
    linear-gradient(180deg, #cfeefc 0%, #eaf7fd 70%, var(--white) 100%);
  padding: 4.5rem 0 7rem;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.hero-lede { margin-top: 1.4rem; max-width: 34rem; font-size: 1.18rem; color: #33445a; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-areas { margin-top: 2rem; display: flex; gap: .5rem; align-items: flex-start; color: #33445a; font-size: .95rem; max-width: 32rem; }
.hero-areas svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }

.hero-visual { position: relative; min-height: 520px; }
.snap { position: absolute; background: var(--white); padding: 10px; border-radius: 14px; box-shadow: var(--shadow); }
.snap img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.snap-back { width: 58%; top: 0; right: 0; transform: rotate(4deg); }
.snap-front { width: 70%; bottom: 0; left: 0; transform: rotate(-3deg); }
.hero-badge {
  position: absolute; left: 0; top: 4%; z-index: 3;
  background: var(--white); border-radius: 14px; padding: .9rem 1.1rem;
  box-shadow: var(--shadow); max-width: 15rem;
}
.hero-badge p { font-weight: 700; color: var(--ink); line-height: 1.3; }
.hero-badge .stars { margin-bottom: .35rem; }

@media (prefers-reduced-motion: no-preference) {
  .snap-back { animation: settle-back .9s cubic-bezier(.2,.8,.2,1) both; }
  .snap-front { animation: settle-front .9s .12s cubic-bezier(.2,.8,.2,1) both; }
  .hero-badge { animation: pop .5s .7s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes settle-back { from { opacity: 0; transform: translateY(24px) rotate(0); } }
  @keyframes settle-front { from { opacity: 0; transform: translateY(24px) rotate(0); } }
  @keyframes pop { from { opacity: 0; transform: scale(.85); } }
}

/* Trust panel overlapping hero */
.trust { position: relative; z-index: 2; margin-top: -4rem; }
.trust ul {
  list-style: none; margin: 0 auto; padding: 1.8rem 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow);
}
.trust li { display: flex; gap: .85rem; align-items: flex-start; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.trust li strong { display: block; color: var(--ink); font-weight: 700; font-size: 1rem; }
.trust-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sky-soft); color: var(--blue); flex: none; }
.trust-icon svg { width: 22px; height: 22px; }

/* Sections */
.section { padding: 6rem 0; }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.service-card { background: var(--mist); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 42% 1fr; align-items: start; }
.service-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.service-body { padding: 1.8rem 1.8rem 2rem; }
.service-body h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.service-body p { color: var(--muted); }
.service-body ul { margin: 1rem 0 0; padding: 0; list-style: none; font-size: .95rem; }
.service-body li { padding-left: 1.3rem; position: relative; margin-top: .35rem; }
.service-body li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }

/* Results */
.results { background: var(--sky-soft); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.result { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -20px rgba(14,42,71,.5); }
.result img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.result figcaption { padding: 1rem 1.2rem 1.2rem; font-weight: 700; color: var(--ink); }
.result figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }

/* About Marc */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.about-card, .about-photo { border-radius: 24px; aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.about-photo-wrap { position: relative; isolation: isolate; max-width: 460px; }
.about-photo { box-shadow: var(--shadow); }
.about-photo-wrap::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border-radius: 24px; background: var(--sky-soft); z-index: -1; }
.about-card {
  background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: 2.2rem;
  box-shadow: var(--shadow);
}
.about-initial { font-family: var(--font-display); font-size: clamp(7rem, 14vw, 11rem); font-weight: 800; line-height: .8; color: var(--sky); }
.about-card p { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.2; max-width: 12ch; }
.about-copy h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1.4rem; }
.about-copy p { color: var(--muted); font-size: 1.1rem; max-width: 36rem; }
.about-copy p + p { margin-top: 1rem; }
.about-copy .btn { margin-top: 2rem; }

/* Reviews */
#reviews { background: var(--mist); }
.reviews-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: start; }
.feature-quote { position: sticky; top: 100px; background: var(--ink); color: var(--white); border-radius: 24px; padding: 2.6rem; }
.reviews-title { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.6rem; }
.feature-quote blockquote { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.3; font-weight: 600; }
.feature-quote cite { display: block; margin-top: 1.4rem; font-style: normal; color: #a9b7c9; }
.feature-quote .stars { color: var(--sky); }
.stars { display: flex; gap: 3px; color: #f5b400; margin-bottom: 1.2rem; }
.stars svg { width: 18px; height: 18px; }
.review-list { display: grid; gap: 1rem; }
.review { background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.7rem; border: 1px solid var(--line); }
.review p { font-size: 1.02rem; }
.review cite { display: block; margin-top: .7rem; font-style: normal; color: var(--blue); font-weight: 600; font-size: .95rem; }

/* Commercial */
.commercial { background: var(--navy); color: var(--white); padding: 4.5rem 0; }
.commercial .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; }
.commercial h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.commercial p { margin-top: .9rem; color: #c3cfdd; max-width: 40rem; }

/* Handyman link band */
.crosslink { padding: 4rem 0 0; }
.crosslink .wrap {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  background: var(--sky-soft); border-radius: 24px; padding: 2.5rem 3rem;
}
.crosslink h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.crosslink p { margin-top: .6rem; color: var(--muted); }

/* Contact */
.contact {
  background: radial-gradient(circle at 90% 10%, rgba(0,173,239,.35), transparent 40%), linear-gradient(150deg, var(--blue) 0%, var(--navy) 75%);
  color: var(--white); padding: 6rem 0 5rem; margin-top: 4rem;
}
.contact h2 { color: var(--white); font-size: clamp(2rem, 3.6vw, 2.9rem); }
.contact-intro { margin-top: 1rem; color: #dbe7f5; max-width: 38rem; font-size: 1.1rem; }
.phone-big {
  display: inline-block; margin-top: 2.5rem;
  font-family: var(--font-display); font-size: clamp(2.4rem, 7.5vw, 5.6rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1; color: var(--white); text-decoration: none;
  border-bottom: 4px solid var(--sky); padding-bottom: .5rem; transition: color .2s;
}
.phone-big:hover { color: var(--sky); }
.contact-other { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.contact-other a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #dbe7f5; font-size: 1.05rem; }
.contact-other a:hover { color: var(--white); }
.contact-other svg { width: 20px; height: 20px; color: var(--sky); }

footer { background: var(--ink); color: #7d8ca1; padding: 1.8rem 0; font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }

/* Handyman page */
.page-hero {
  background: radial-gradient(circle at 85% 20%, rgba(0,173,239,.28), transparent 45%), linear-gradient(180deg, #cfeefc 0%, #eaf7fd 70%, var(--white) 100%);
  padding: 5rem 0 4.5rem;
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 16ch; }
.page-hero .hero-lede { max-width: 38rem; }
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.job { background: var(--mist); border-radius: var(--radius); padding: 2rem 2.2rem; border-top: 4px solid var(--blue); }
.job h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.job p { color: var(--muted); }
.job-note { margin-top: 2rem; color: var(--muted); }
.job-note a { color: var(--blue); font-weight: 600; }
.steps-section { background: var(--navy); color: var(--white); }
.steps-section h2 { color: var(--white); }
.steps-section .section-head p { color: #c3cfdd; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 1.8rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: var(--ink); font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 1.1rem; }
.steps h3 { color: var(--white); font-size: 1.3rem; margin-bottom: .5rem; }
.steps p { color: #c3cfdd; }
.steps-section + .contact { margin-top: 0; }

/* Responsive */
@media (max-width: 1060px) {
  .service-card { grid-template-columns: 1fr; }
  .service-card img { aspect-ratio: 1; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / .85; max-width: 560px; width: 100%; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-card { aspect-ratio: auto; min-height: 280px; max-width: 520px; }
  .about-photo-wrap { max-width: 400px; }
  .reviews-layout { grid-template-columns: 1fr; }
  .feature-quote { position: static; }
  .commercial .wrap, .crosslink .wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav a:not(.btn):not(.nav-keep) { display: none; }
  .nav { gap: 1rem; }
  .brand-name small { display: none; }
  .site-header .wrap { height: 72px; }
  .brand-logo { height: 54px; }
  .hero { padding: 3rem 0 6rem; }
  .section { padding: 4.5rem 0; }
  .services-grid, .jobs { grid-template-columns: 1fr; }
  .crosslink .wrap { padding: 2rem 1.6rem; }
  .feature-quote { padding: 2rem 1.6rem; }
  .page-hero { padding: 3.5rem 0; }
}
@media (max-width: 520px) {
  .trust ul { grid-template-columns: 1fr; gap: 1.1rem; padding: 1.5rem; }
  .results-grid { grid-template-columns: 1fr; }
  .nav .btn span { display: none; }
  .hero-badge { max-width: 11rem; padding: .7rem .9rem; }
  .hero-badge p { font-size: .9rem; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 100;
  max-width: 34rem; margin-left: auto;
  background: var(--ink); color: #dbe7f5; border-radius: var(--radius);
  padding: 1.2rem 1.4rem; box-shadow: 0 20px 50px -15px rgba(0,0,0,.5);
  font-size: .95rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin-bottom: 1rem; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: .6rem 1.2rem; font-size: .95rem; box-shadow: none; }
.btn-plain { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-plain:hover { border-color: var(--white); }
.cookie-banner button { font-family: inherit; cursor: pointer; }
.footer-link { background: none; border: 0; padding: 0; font: inherit; color: #a9b7c9; text-decoration: underline; cursor: pointer; }
.footer-link:hover { color: var(--white); }
