:root {
  --ink: #10201b;
  --muted: #5d6864;
  --line: #d9e4df;
  --paper: #f7faf6;
  --white: #ffffff;
  --green: #0f8f52;
  --green-dark: #056a3a;
  --sun: #f4bd2a;
  --aqua: #dff5ef;
  --blue: #123a52;
  --shadow: 0 18px 50px rgba(13, 50, 37, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 32, 27, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: max-content;
  font-weight: 900;
}

.brand-logo {
  width: 118px;
  height: 78px;
  object-fit: contain;
  padding: 4px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 32, 27, 0.08);
}

.brand-logo.is-hidden {
  display: none;
}

.brand-fallback {
  max-width: 360px;
  color: #0b1d4c;
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  width: 100%;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.header-cta {
  min-width: max-content;
  padding: 12px 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(15, 143, 82, 0.22);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 40, 29, 0.86), rgba(6, 40, 29, 0.56) 48%, rgba(6, 40, 29, 0.18)),
    linear-gradient(0deg, rgba(16, 32, 27, 0.2), rgba(16, 32, 27, 0.05));
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 78px);
  max-width: 850px;
  padding: 72px clamp(20px, 7vw, 88px) 112px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green-dark);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.36rem);
  line-height: 1.55;
}

.hero-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 24px;
}

.finance-offer {
  display: inline-flex;
  width: fit-content;
  max-width: min(100%, 520px);
  margin: 0;
  padding: 14px 18px;
  color: #071914;
  background: var(--sun);
  border-radius: 999px;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.hero-actions,
.final-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 28px rgba(15, 143, 82, 0.24);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--sun);
}

.button.full {
  width: 100%;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
}

.section,
.query-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 64px);
  background: var(--paper);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.quick-form-band,
.trust-band,
.savings-band,
.final-cta,
.query-hero {
  padding: clamp(48px, 8vw, 88px) clamp(18px, 5vw, 64px);
}

.quick-form-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.contact-strip {
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: #0b1d4c;
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.contact-strip span,
.contact-strip strong,
.contact-strip a {
  display: block;
}

.contact-strip span {
  margin-bottom: 4px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-strip strong,
.contact-strip a {
  color: var(--white);
  font-size: clamp(1.05rem, 1.8vw, 1.38rem);
  font-weight: 900;
}

.quick-form-grid,
.savings-grid,
.query-hero-grid,
.query-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.quick-form-grid h2 {
  max-width: 540px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.mini-lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

label span {
  font-size: 0.85rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd9d3;
  border-radius: var(--radius);
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 143, 82, 0.12);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 750;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card p,
.process-grid p,
.lead-panel p,
.footer-inner p,
.savings-grid p,
.query-hero p {
  color: var(--muted);
  line-height: 1.7;
}

.trust-band,
.query-hero {
  color: var(--white);
  background: var(--blue);
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
}

.trust-points {
  display: grid;
  gap: 14px;
}

.trust-points div {
  padding: 18px 0 18px 22px;
  border-left: 3px solid var(--sun);
}

.trust-points strong,
.trust-points span {
  display: block;
}

.trust-points span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.support-highlight {
  padding: 16px clamp(18px, 5vw, 64px);
  background: var(--sun);
  color: #071914;
}

.support-highlight-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  text-align: center;
}

.support-highlight strong {
  max-width: 860px;
  font-size: clamp(1rem, 2vw, 1.55rem);
  line-height: 1.22;
  text-transform: uppercase;
}

.process-section {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-grid article {
  min-height: 260px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.savings-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 61, 37, 0.92), rgba(8, 55, 72, 0.86)),
    url("https://images.unsplash.com/photo-1558449028-b53a39d100fc?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.savings-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.estimator {
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.input-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.input-row span {
  font-weight: 900;
}

.estimate-output {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.estimate-output.highlight-output {
  margin-top: 6px;
  padding: 18px;
  background: var(--aqua);
  border: 1px solid rgba(15, 143, 82, 0.24);
  border-radius: var(--radius);
}

.estimate-output span {
  color: var(--muted);
}

.estimate-output strong {
  font-size: 1.25rem;
}

.highlight-output strong {
  color: var(--green-dark);
  font-size: 1.55rem;
}

.calculator-note {
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card .crop-left {
  object-position: 25% center;
}

.project-card .crop-center {
  object-position: center center;
}

.project-card .crop-right {
  object-position: 75% center;
}

.project-card .crop-top {
  object-position: center 25%;
}

.project-card .crop-bottom {
  object-position: center 75%;
}

.project-card:hover img {
  transform: scale(1.06);
}

.reviews-section {
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  display: grid;
  gap: 14px;
  min-height: 280px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-stars {
  color: var(--sun);
  font-size: 1.12rem;
  font-weight: 900;
}

.review-card p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card strong {
  margin-top: auto;
  color: var(--ink);
  font-size: 1.05rem;
}

.review-card span {
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.director-message {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 64px);
  background: var(--paper);
}

.director-message-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.director-message-copy h2 {
  max-width: 820px;
}

.director-message-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.director-signature {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 4px solid var(--sun);
}

.director-signature span,
.director-signature strong {
  display: block;
}

.director-signature span {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.director-signature strong {
  margin-top: 4px;
  color: #0b1d4c;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  text-transform: uppercase;
}

.director-stats {
  display: grid;
  gap: 14px;
}

.director-stats div {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.director-stats strong,
.director-stats span {
  display: block;
}

.director-stats strong {
  color: var(--green-dark);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.director-stats span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  color: var(--white);
  background: var(--green-dark);
}

.final-cta-inner {
  justify-content: space-between;
}

.final-cta h2 {
  margin-bottom: 0;
}

.site-footer {
  padding: 34px clamp(18px, 5vw, 64px);
  background: #071914;
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner a:last-child {
  color: var(--sun);
  font-weight: 850;
}

.footer-legal {
  max-width: 1180px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-brand {
  min-width: 390px;
  padding: 8px 12px;
  background: var(--white);
  border-radius: 8px;
}

.footer-brand .brand-logo {
  width: 100px;
  height: 72px;
}

.footer-brand .brand-fallback {
  color: #0b1d4c;
  font-size: 1.8rem;
}

.query-hero {
  padding-top: clamp(56px, 8vw, 94px);
  background:
    radial-gradient(circle at 85% 12%, rgba(244, 189, 42, 0.22), transparent 32%),
    linear-gradient(135deg, #08241b 0%, #123a52 58%, #0f8f52 140%);
}

.query-hero h1 {
  max-width: 760px;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.75rem, 6vw, 5.45rem);
  line-height: 0.95;
}

.query-hero p {
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
}

.query-hero .query-hero-grid > div > p:not(.eyebrow):not(.eco-promise) {
  color: rgba(255, 255, 255, 0.82);
}

.query-image-stage {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 560px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.query-image-stage::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  background: radial-gradient(circle, rgba(244, 189, 42, 0.28), transparent 66%);
  animation: pulseGlow 4.8s ease-in-out infinite;
}

.query-hero img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: none;
}

.query-hero img.query-installation-image {
  object-position: center 50%;
}

.query-image-badge {
  position: absolute;
  z-index: 2;
  max-width: 210px;
  padding: 12px 14px;
  color: #071914;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(244, 189, 42, 0.52);
  border-radius: 8px;
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  animation: badgeFloat 4.5s ease-in-out infinite;
}

.query-image-badge.top {
  top: 16px;
  left: 16px;
}

.query-image-badge.bottom {
  right: 16px;
  bottom: 16px;
  background: var(--sun);
  animation-delay: 0.8s;
}

.eco-promise {
  display: inline-flex;
  max-width: 680px;
  margin-top: 8px;
  padding: 16px 18px;
  color: #071914;
  background: var(--sun);
  border-radius: var(--radius);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 900;
  line-height: 1.35;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.query-layout {
  align-items: start;
}

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

.lead-form {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.lead-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--sun), var(--blue));
}

.lead-form h2,
.lead-panel h2 {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

.lead-form label span,
.lead-panel li {
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
}

.form-heading h2 {
  margin-bottom: 0;
}

.lead-panel {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 4vw, 34px);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
}

.text-button {
  padding: 0;
  color: var(--green-dark);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.lead-item {
  display: grid;
  gap: 3px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-item strong {
  font-size: 1rem;
}

.lead-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-cta {
    margin-left: auto;
  }

  .quick-form-grid,
  .savings-grid,
  .query-hero-grid,
  .query-layout,
  .trust-layout,
  .director-message-inner {
    grid-template-columns: 1fr;
  }

  .mini-lead-form,
  .service-grid,
  .reviews-grid,
  .process-grid,
  .contact-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    min-height: auto;
  }

  .brand-logo {
    width: 78px;
    height: 56px;
  }

  .brand-fallback {
    max-width: 230px;
    font-size: 1.22rem;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 58px;
    padding-bottom: 76px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .mini-lead-form,
  .service-grid,
  .reviews-grid,
  .process-grid,
  .contact-strip-inner,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .quick-form-band,
  .trust-band,
  .savings-band,
  .final-cta,
  .query-hero,
  .section,
  .query-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .query-image-stage {
    padding: 8px;
  }

  .query-image-badge {
    left: 12px;
    right: 12px;
    max-width: none;
    font-size: 0.82rem;
  }

  .query-image-badge.top {
    top: 18px;
  }

  .query-image-badge.bottom {
    right: 12px;
    bottom: 18px;
  }

  .footer-inner,
  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

}

.site-header {
  animation: slideDown 0.7s ease both;
}

.hero-bg {
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-content > *,
.query-hero-grid > *,
.query-layout > * {
  animation: fadeUp 0.82s ease both;
}

.hero-content > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero-content > :nth-child(3) {
  animation-delay: 0.16s;
}

.hero-content > :nth-child(4) {
  animation-delay: 0.24s;
}

.hero-content > :nth-child(5),
.query-hero-grid > :nth-child(2),
.query-layout > :nth-child(2) {
  animation-delay: 0.32s;
}

.hero-content > :nth-child(6) {
  animation-delay: 0.4s;
}

.finance-offer {
  animation: gentleFloat 4.8s ease-in-out infinite;
}

.finance-offer:nth-child(2) {
  animation-delay: 0.7s;
}

.header-cta,
.button {
  position: relative;
  overflow: hidden;
}

.header-cta::after,
.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: buttonShine 3.6s ease-in-out infinite;
}

.button:hover {
  transform: translateY(-3px);
}

.hero-proof span,
.service-card,
.process-grid article,
.gallery-grid img,
.review-card,
.estimator,
.lead-form,
.lead-panel {
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.hero-proof span:hover,
.service-card:hover,
.process-grid article:hover,
.gallery-grid img:hover,
.review-card:hover,
.estimator:hover,
.lead-form:hover,
.lead-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(13, 50, 37, 0.18);
}

.hero-proof span:hover {
  background: rgba(255, 255, 255, 0.22);
}

.support-highlight {
  position: relative;
  overflow: hidden;
}

.support-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.38) 50%, transparent 90%);
  transform: translateX(-100%);
  animation: supportSweep 4s ease-in-out infinite;
}

.support-highlight-inner {
  position: relative;
  z-index: 1;
}

.query-hero {
  position: relative;
  overflow: hidden;
}

.query-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(244, 189, 42, 0.38), transparent 66%);
  pointer-events: none;
  animation: pulseGlow 5s ease-in-out infinite;
}

.query-hero img {
  animation: imageFloat 5.8s ease-in-out infinite;
}

.estimate-output strong {
  transition: transform 0.2s ease, color 0.2s ease;
}

.estimate-output strong.is-updated {
  color: var(--green-dark);
  transform: scale(1.08);
}

.lead-item {
  animation: fadeUp 0.45s ease both;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes imageFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.6deg);
  }
}

@keyframes buttonShine {
  0%,
  45% {
    transform: translateX(-120%);
  }
  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes supportSweep {
  0%,
  42% {
    transform: translateX(-100%);
  }
  72%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.12);
  }
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
