:root {
  color-scheme: light;
  --ink: #17211f;
  --ink-soft: #394844;
  --muted: #66746f;
  --line: #d8e1dc;
  --paper: #ffffff;
  --paper-soft: #f4f8f4;
  --wash: #e7f4f1;
  --teal: #0b7d77;
  --teal-dark: #075652;
  --green: #6ea735;
  --lime: #c7dc58;
  --amber: #f0b44d;
  --clay: #bd6041;
  --shadow: 0 18px 48px rgba(23, 33, 31, 0.12);
  --radius: 8px;
  --radius-sm: 4px;
  --max: 1180px;
  --ease: 180ms ease;
  font-family: "Aptos", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  padding-bottom: 72px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 125, 119, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 125, 119, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.32;
}

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

svg {
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Trebuchet MS", "Aptos Display", "Segoe UI", sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: 3.75rem;
  max-width: 12ch;
}

h2 {
  font-size: 2.15rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-140%);
  background: var(--ink);
  color: white;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem 2rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: 210px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.site-nav a:not(.btn) {
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:not(.btn):not(.social-icon-button):hover,
.site-nav a:not(.btn):not(.social-icon-button):focus {
  border-color: var(--green);
}

.social-icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #1877f2;
  color: white;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.social-icon-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  stroke: none;
}

.social-icon-button:hover,
.social-icon-button:focus {
  background: #0f5fc4;
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.24);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.1;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 10px 24px rgba(11, 125, 119, 0.24);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--teal-dark);
}

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

.hero,
.landing-hero,
.service-hero,
.page-hero,
.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: 5rem 2rem;
}

.hero,
.landing-hero,
.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: 3.2rem;
}

.hero-home {
  padding-top: 4.4rem;
}

.hero-copy p,
.landing-copy p,
.page-hero p,
.service-hero p {
  max-width: 720px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.6rem 0 1rem;
}

.microcopy,
.form-note,
.footer-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.trust-bar {
  max-width: var(--max);
  margin: -1rem auto 1rem;
  padding: 1rem 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
}

.trust-bar span {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  font-weight: 800;
  color: var(--ink);
}

.trust-bar svg {
  color: var(--green);
  flex: 0 0 auto;
}

.before-after {
  position: relative;
  margin: 0;
  aspect-ratio: 1.18 / 1;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--wash);
  box-shadow: var(--shadow);
}

.before-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after .before-img {
  z-index: 2;
  clip-path: polygon(0 0, var(--split) 0, var(--split) 100%, 0 100%);
}

.before-after .after-img {
  z-index: 1;
}

.before-after::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 3px;
  background: white;
  box-shadow: 0 0 0 1px rgba(23, 33, 31, 0.12);
  z-index: 3;
}

.before-after input {
  position: absolute;
  inset: auto 1rem 1rem;
  width: calc(100% - 2rem);
  accent-color: var(--teal);
  z-index: 4;
}

.before-after figcaption {
  position: absolute;
  inset: 1rem 1rem auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  pointer-events: none;
  z-index: 4;
}

.before-after figcaption span,
.before-after figcaption strong {
  padding: 0.38rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 33, 31, 0.12);
  font-size: 0.82rem;
}

.section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2,
.section-heading p {
  max-width: 620px;
}

.split-section,
.quote-section,
.two-col,
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.process-list article,
.testimonial-grid blockquote,
.pricing-table article,
.gallery-grid article,
.ad-grid article,
.notice-panel,
.offer-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.service-card div,
.pricing-table article,
.gallery-grid article,
.ad-grid article,
.notice-panel,
.offer-box {
  padding: 1.15rem;
}

.price-line {
  color: var(--teal-dark);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
}

.process-list {
  display: grid;
  gap: 0.8rem;
}

.process-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.8rem;
  padding: 1rem;
}

.process-list svg {
  grid-row: span 2;
  width: 1.55rem;
  height: 1.55rem;
  color: var(--teal);
}

.process-list h3,
.process-list p {
  margin: 0;
}

.media-band {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(90deg, var(--wash), transparent);
  max-width: none;
  padding-inline: max(2rem, calc((100vw - var(--max)) / 2 + 2rem));
}

.quote-section {
  background: linear-gradient(180deg, #ffffff, var(--paper-soft));
}

form {
  margin: 0;
}

label,
legend {
  display: block;
  font-weight: 800;
  color: var(--ink);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #bdcbc5;
  border-radius: var(--radius-sm);
  padding: 0.78rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: white;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(240, 180, 77, 0.8);
  outline-offset: 2px;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  margin: 0;
}

.hidden-field {
  display: none;
}

.lead-form,
.estimator {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 32px rgba(23, 33, 31, 0.08);
}

.lead-form-compact {
  box-shadow: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.check-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-right: 1rem;
  font-weight: 700;
}

.check-label input {
  width: auto;
  margin-top: 0.22rem;
}

.consent {
  display: flex;
}

.estimate-output {
  display: block;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.testimonial-band {
  background: var(--ink);
  max-width: none;
  padding-inline: max(2rem, calc((100vw - var(--max)) / 2 + 2rem));
}

.testimonial-band h2,
.testimonial-band p,
.testimonial-band blockquote,
.testimonial-band cite {
  color: white;
}

.testimonial-grid,
.pricing-table,
.gallery-grid,
.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-grid blockquote {
  margin: 0;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-grid cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 900;
}

.page-hero {
  padding-bottom: 3rem;
}

.page-hero h1 {
  max-width: 15ch;
}

.service-hero {
  align-items: center;
}

.check-list,
.step-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.step-list {
  counter-reset: steps;
}

.step-list li {
  position: relative;
  padding-left: 3rem;
}

.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.check-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.check-list svg {
  margin-top: 0.18rem;
  color: var(--green);
  flex: 0 0 auto;
}

.muted-list svg {
  color: var(--clay);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 0.95rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0.75rem 0 0;
}

.landing-hero {
  max-width: none;
  padding-inline: max(2rem, calc((100vw - var(--max)) / 2 + 2rem));
  background:
    linear-gradient(90deg, rgba(11, 125, 119, 0.12), transparent 52%),
    linear-gradient(180deg, white, var(--paper-soft));
}

.landing-copy h1 {
  max-width: 16ch;
  font-size: 3.15rem;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.benefit-strip article {
  padding: 2rem;
  background: white;
}

.offer-box {
  background: var(--teal-dark);
  color: white;
  border-color: var(--teal-dark);
}

.offer-box p {
  color: rgba(255, 255, 255, 0.88);
}

.contact-panel {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.contact-panel a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 900;
  background: white;
}

.site-footer {
  background: var(--ink);
  color: white;
  padding: 3rem 2rem 5rem;
}

.footer-grid {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

.site-footer h2 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  display: block;
  text-decoration: none;
  margin-bottom: 0.45rem;
}

.site-footer a:hover,
.site-footer a:focus {
  color: white;
}

.footer-note {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
}

.sticky-cta {
  position: fixed;
  z-index: 8;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 48px;
  text-decoration: none;
  font-weight: 900;
  border-right: 1px solid var(--line);
}

.sticky-cta a:last-child {
  border-right: 0;
  background: var(--teal);
  color: white;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 10;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .site-header {
    padding-inline: 1rem;
  }

  .landing-copy h1 {
    font-size: 2.45rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: white;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem 1rem 1rem;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem;
  }

  .site-nav .social-icon-button {
    width: 100%;
  }

  .hero,
  .landing-hero,
  .service-hero,
  .split-section,
  .quote-section,
  .two-col,
  .about-hero,
  .media-band {
    grid-template-columns: 1fr;
  }

  .trust-bar,
  .service-grid,
  .testimonial-grid,
  .pricing-table,
  .gallery-grid,
  .ad-grid,
  .benefit-strip,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-band,
  .landing-hero,
  .testimonial-band {
    padding-inline: 2rem;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.15rem;
    max-width: 100%;
  }

  .landing-copy h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .brand-link img {
    width: 176px;
  }

  .hero,
  .landing-hero,
  .service-hero,
  .page-hero,
  .section {
    padding: 3rem 1rem;
  }

  .hero-home {
    padding-top: 2.6rem;
  }

  .hero-actions,
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .trust-bar,
  .service-grid,
  .testimonial-grid,
  .pricing-table,
  .gallery-grid,
  .ad-grid,
  .benefit-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    margin-top: 0;
    padding: 0 1rem 2rem;
  }

  .before-after {
    min-height: 300px;
  }

  .before-after figcaption strong {
    display: none;
  }

  .media-band,
  .landing-hero,
  .testimonial-band {
    padding-inline: 1rem;
  }

  .sticky-cta {
    display: grid;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 4.5rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
