:root {
  --ink: #20211f;
  --muted: #666b64;
  --line: #d8d9d3;
  --bg: #d7e6ec;
  --sheet: #f7f7f2;
  --soft: #ededE7;
  --panel: #ffffff;
  --dark: #30352f;
  --blue: #6f9eb9;
  --blue-dark: #4f7890;
  --blue-soft: #dbe9ef;
  --accent: #5d685d;
  --accent-2: #9a8f80;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

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

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

.site-header,
.hero,
main > section:not(.hero) {
  width: min(100% - 44px, 1420px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: 300px minmax(320px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  margin-top: 14px;
  padding: 10px 14px 10px 22px;
  border: 1px solid rgba(32, 33, 31, 0.1);
  border-radius: var(--radius);
  background: rgba(247, 247, 242, 0.92);
  backdrop-filter: blur(16px);
}

.logo img {
  width: 238px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: 999px;
}

.main-nav a:hover {
  color: var(--ink);
  background: var(--blue-soft);
}

.header-contact {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-align: right;
}

.header-contact a {
  display: block;
  color: var(--ink);
}

.phone-button,
.service-photo a,
.billing a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 19px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--blue-dark);
}

.hero {
  position: relative;
  min-height: 660px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(32, 33, 31, 0.1);
  border-radius: var(--radius);
  background: var(--sheet);
}

.hero > img {
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: 14px;
  width: 58%;
  height: calc(100% - 28px);
  border-radius: 8px;
  object-fit: cover;
  object-position: 33% center;
  filter: saturate(0.78) contrast(0.96);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 14px 14px 14px auto;
  width: calc(42% - 28px);
  border-radius: 8px;
  background: #f4f4ef;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(520px, 36%);
  margin-left: auto;
  padding: 76px clamp(28px, 4vw, 54px) 74px 0;
}

.hero h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(54px, 6vw, 94px);
  line-height: 0.88;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 0 0 34px;
  color: var(--ink);
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.08;
  font-weight: 700;
}

.hero-lead {
  max-width: 480px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.hero ul {
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  list-style: none;
}

.hero li::before {
  content: "– ";
}

.star-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-width: 132px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(79, 120, 144, 0.25);
  border-radius: 999px;
  color: var(--ink);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

main {
  padding-bottom: 76px;
}

.services-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(300px, 0.82fr);
  grid-template-rows: minmax(260px, auto) minmax(154px, auto);
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(32, 33, 31, 0.1);
  border-radius: var(--radius);
  background: var(--sheet);
}

.service-copy-card,
.extra-services,
.billing,
.about,
.why {
  border: 1px solid rgba(32, 33, 31, 0.1);
  border-radius: var(--radius);
  background: var(--sheet);
}

.service-copy-card {
  position: relative;
  min-height: 260px;
  padding: 34px 30px 28px;
  background: var(--panel);
}

.service-copy-card span {
  display: block;
  width: 58px;
  height: 26px;
  margin-bottom: 56px;
  border-top: 1px solid var(--blue-dark);
}

.service-copy-card h2 {
  max-width: 540px;
  margin: 0 0 18px;
  font-size: clamp(27px, 2.5vw, 40px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: 0;
}

.service-copy-card p,
.extra-services p,
.billing-copy p,
.about-copy p,
.why p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.service-photo {
  grid-row: span 2;
  display: grid;
  grid-template-rows: minmax(374px, 1fr) 50px;
  gap: 10px;
}

.service-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 8px;
  object-fit: cover;
  filter: saturate(0.72);
}

.service-photo a {
  min-height: 50px;
}

.extra-services {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  padding: 30px;
  color: var(--ink);
  background: var(--blue-soft);
}

.extra-services::before {
  content: "";
  position: absolute;
  right: 28px;
  top: 20px;
  width: 180px;
  height: 110px;
  border: 1px solid rgba(79, 120, 144, 0.28);
  border-radius: 999px;
}

.extra-services h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.9;
  font-weight: 400;
}

.extra-services p {
  position: relative;
  z-index: 1;
  max-width: 540px;
  color: var(--ink);
  font-weight: 700;
}

.billing {
  display: grid;
  grid-template-columns: 0.44fr 1fr;
  min-height: 440px;
  margin-top: 22px;
  overflow: hidden;
}

.billing img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  filter: saturate(0.62);
}

.billing-copy {
  position: relative;
  padding: clamp(44px, 5vw, 70px) clamp(36px, 6vw, 86px);
  background: linear-gradient(135deg, #f2f3ef 0%, #edf4f6 100%);
}

.billing-copy::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(79, 120, 144, 0.18);
  border-radius: 999px;
  transform: rotate(-5deg);
}

.billing-copy > * {
  position: relative;
  z-index: 1;
}

.billing h2,
.about h2,
.why h2 {
  margin: 0;
  font-size: clamp(43px, 5.2vw, 78px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: 0;
}

.billing p {
  max-width: 780px;
  margin-top: 24px;
}

.billing a {
  margin-top: 28px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.86fr);
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
}

.about-copy {
  padding: clamp(34px, 5vw, 62px) clamp(26px, 5vw, 54px);
  background: var(--panel);
  border-radius: 8px;
}

.about-copy p {
  max-width: 760px;
  margin-top: 30px;
}

.about-copy div {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(79, 120, 144, 0.28);
}

.about-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1;
  font-weight: 400;
}

.about-copy div p {
  margin-top: 0;
}

.about img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  border-radius: 8px;
  object-fit: cover;
  filter: saturate(0.66);
}

.why {
  margin-top: 22px;
  padding: clamp(34px, 5vw, 62px) 14px 14px;
}

.why h2 {
  max-width: 1180px;
  margin: 0 0 clamp(30px, 5vw, 58px);
  padding-inline: clamp(12px, 3vw, 42px);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.why article {
  min-height: 214px;
  padding: 28px;
  border: 1px solid rgba(32, 33, 31, 0.1);
  border-radius: 8px;
  background: var(--panel);
}

.why span {
  display: block;
  margin-bottom: 56px;
  color: var(--blue-dark);
  font-size: 43px;
  line-height: 0.75;
}

.why h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
    top: 0;
    width: 100%;
    margin-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .logo img {
    width: 220px;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--sheet);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 14px;
  }

  .header-contact,
  .phone-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header,
  .hero,
  main > section:not(.hero) {
    width: min(100% - 28px, 1420px);
  }

  .hero {
    min-height: auto;
    padding: 14px;
  }

  .hero > img,
  .hero::before {
    position: relative;
    inset: auto;
    width: 100%;
    height: 520px;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    width: 100%;
    margin-left: 0;
    padding: 34px 12px 68px;
  }

  .services-overview,
  .billing,
  .about,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .services-overview {
    grid-template-rows: auto;
  }

  .service-photo {
    grid-row: auto;
    grid-template-rows: 360px 50px;
  }

  .extra-services {
    grid-column: auto;
  }

  .billing img {
    min-height: 340px;
  }

  .about img {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .logo img {
    width: 210px;
  }

  .hero > img {
    height: 420px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-lead,
  .hero ul {
    font-size: 15px;
  }

  .service-copy-card {
    padding: 30px 28px;
  }

  .service-copy-card span {
    margin-bottom: 46px;
  }

  .service-copy-card h2 {
    font-size: 30px;
  }

  .extra-services h2 {
    font-size: 44px;
  }

  .billing h2,
  .about h2,
  .why h2 {
    font-size: 42px;
  }

  .billing {
    min-height: 0;
  }

  .billing-copy {
    padding: 38px 28px 42px;
  }

  .billing-copy::before {
    inset: 22px -80px 80px 22px;
  }

  .about-copy {
    padding: 34px 28px;
  }

  .why {
    padding-top: 38px;
  }

  .why article {
    min-height: 190px;
  }
}

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

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

.service-copy-card.scroll-reveal,
.why article.scroll-reveal {
  transition-duration: 0.58s;
}

.service-copy-card.scroll-reveal:nth-child(2),
.why article.scroll-reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.service-photo.scroll-reveal,
.why article.scroll-reveal:nth-child(3) {
  transition-delay: 0.14s;
}

.extra-services.scroll-reveal,
.why article.scroll-reveal:nth-child(4) {
  transition-delay: 0.2s;
}

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

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