:root {
  --ink: #15191f;
  --muted: #5b6573;
  --line: #dde3ea;
  --paper: #fbfcfd;
  --white: #ffffff;
  --orange: #f47920;
  --orange-dark: #cc5713;
  --green: #167b5b;
  --blue: #153b67;
  --steel: #edf2f6;
  --shadow: 0 18px 60px rgba(21, 25, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 253, 0.92);
  border-bottom: 1px solid rgba(221, 227, 234, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.05;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: conic-gradient(from 20deg, var(--orange), #f7a12f, var(--blue), var(--orange));
  border-radius: 50%;
  font-size: 16px;
  letter-spacing: 0;
  box-shadow: 0 10px 30px rgba(244, 121, 32, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #2d3540;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--orange-dark);
}

.nav-phone {
  padding: 10px 14px;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  padding: 128px clamp(18px, 5vw, 72px) 42px;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 20, 26, 0.9) 0%, rgba(16, 20, 26, 0.55) 48%, rgba(16, 20, 26, 0.1) 100%),
    linear-gradient(0deg, rgba(16, 20, 26, 0.8) 0%, rgba(16, 20, 26, 0) 45%),
    url("../images/hero-basketball-goal.jpg") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(820px, 100%);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7.2vw, 6.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 690px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.footer-links,
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 16px 34px rgba(244, 121, 32, 0.32);
}

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

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.button.outline {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.light-actions {
  margin-top: 28px;
}

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

.hero-proof span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-weight: 700;
}

.intro-section,
.split-band,
.area-strip,
.cta-band,
.page-hero,
.contact-layout {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.72fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  background: var(--white);
}

.intro-section > p,
.page-hero > p,
.page-hero div > p,
.contact-copy > p {
  color: var(--muted);
  font-size: 1.12rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px) clamp(64px, 9vw, 112px);
  background: var(--white);
}

.service-card,
.city-grid article,
.estimate-form,
.stat-stack div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(21, 25, 31, 0.08);
}

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

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

.service-card p,
.detail-row p,
.city-grid p,
.gallery-grid figcaption,
.site-footer p {
  color: var(--muted);
}

.service-card a,
.text-link,
.detail-row a {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange-dark);
  font-weight: 800;
  text-decoration: none;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 59, 103, 0.96), rgba(21, 25, 31, 0.98)),
    url("../images/installation.jpg") center / cover;
}

.split-copy p {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.split-copy a {
  color: #ffd48f;
  font-weight: 800;
}

.stat-stack {
  display: grid;
  gap: 12px;
}

.stat-stack div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  color: var(--ink);
}

.stat-stack strong {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.area-strip {
  background: var(--steel);
}

.area-strip h2 {
  max-width: 1120px;
}

.review-section,
.faq-section,
.content-band {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background: var(--white);
}

.review-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 78px);
}

.review-grid {
  display: grid;
  gap: 16px;
}

blockquote {
  margin: 0;
  padding: 24px;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

blockquote p {
  color: #2c3642;
  font-size: 1.05rem;
}

cite {
  display: block;
  margin-top: 16px;
  color: var(--orange-dark);
  font-style: normal;
  font-weight: 800;
}

.faq-section h2,
.content-band h2 {
  max-width: 900px;
  margin-bottom: 24px;
}

details {
  max-width: 980px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 800;
}

details p {
  max-width: 820px;
  margin-top: 10px;
  color: var(--muted);
}

.page-hero {
  display: grid;
  gap: 20px;
  background: var(--white);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background: var(--white);
}

.landing-hero h1 {
  color: var(--ink);
  font-size: clamp(2.7rem, 5.7vw, 5.7rem);
}

.landing-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.12rem;
}

.landing-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-band > p {
  max-width: 920px;
  color: var(--muted);
  font-size: 1.12rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.mini-grid article {
  padding: 22px;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-grid p {
  margin-top: 10px;
  color: var(--muted);
}

.page-hero.compact {
  max-width: 1120px;
}

.area-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
}

.area-hero img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-detail-list {
  display: grid;
  gap: 0;
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
  background: var(--steel);
}

.detail-row:nth-child(even) {
  background: var(--white);
}

.detail-row.reverse img {
  order: 2;
}

.detail-row img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-row p {
  margin-top: 16px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #33404e;
  font-weight: 700;
}

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

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px) clamp(64px, 9vw, 112px);
  background: var(--white);
}

.city-grid article {
  padding: 22px;
}

.city-grid h2 {
  font-size: 1.35rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px) clamp(64px, 9vw, 112px);
  background: var(--white);
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 14px 16px;
  font-weight: 800;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: var(--ink);
}

.cta-band h2 {
  max-width: 860px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.7fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
  min-height: calc(100vh - 84px);
  background:
    linear-gradient(90deg, rgba(251, 252, 253, 0.98), rgba(251, 252, 253, 0.88)),
    url("../images/hero-basketball-goal.jpg") center / cover;
}

.contact-copy h1 {
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
}

.contact-copy > p {
  max-width: 720px;
  margin-top: 20px;
}

.contact-methods {
  margin-top: 28px;
}

.contact-methods a {
  min-width: min(100%, 310px);
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(21, 25, 31, 0.08);
}

.contact-methods span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-methods strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.estimate-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 6px;
  color: #303946;
  font-weight: 800;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check input {
  width: auto;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #10141a;
}

.footer-links {
  align-items: center;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

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

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

  .site-nav a {
    padding: 12px;
  }

  .intro-section,
  .split-band,
  .area-hero,
  .contact-layout,
  .landing-hero,
  .review-section {
    grid-template-columns: 1fr;
  }

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

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

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .detail-row,
  .detail-row.reverse {
    grid-template-columns: 1fr;
  }

  .detail-row.reverse img {
    order: 0;
  }

  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 700px;
    padding-top: 96px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .service-grid,
  .gallery-grid,
  .city-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof span,
  .button {
    width: 100%;
  }

  .stat-stack div {
    grid-template-columns: 44px 1fr;
  }
}
