
:root {
  --graphite: #252a2e;
  --graphite-2: #171a1c;
  --steel: #68727c;
  --orange: #f36a21;
  --orange-dark: #d94f0b;
  --paper: #f5f5f2;
  --white: #ffffff;
  --line: rgba(37, 42, 46, .14);
  --radius: 18px;
  --shadow: 0 24px 70px rgba(15, 18, 20, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--graphite); background: var(--paper); font-family: Inter, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
.eyebrow { margin: 0 0 18px; color: #ff9a5f; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.dark { color: var(--orange-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 700; letter-spacing: .015em; text-transform: uppercase; }
h1 { max-width: 820px; margin-bottom: 24px; color: var(--white); font-size: clamp(4rem, 9vw, 7.8rem); line-height: .84; }
h1 span { color: var(--orange); }
h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: .95; }
h3 { font-size: 1.35rem; line-height: 1.05; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid rgba(37,42,46,.14); background: rgba(232,234,233,.94); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 126px; height: 58px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 32px; color: rgba(37,42,46,.74); font-size: .94rem; }
.main-nav a:hover { color: var(--orange-dark); }
.phone-link { display: flex; flex-direction: column; align-items: flex-end; color: var(--graphite); font-weight: 800; }
.phone-link small { color: var(--orange); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.hero { position: relative; min-height: 860px; display: grid; align-items: center; overflow: hidden; background: var(--graphite-2); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(15,17,18,.96) 0%, rgba(15,17,18,.77) 46%, rgba(15,17,18,.16) 82%), linear-gradient(0deg, rgba(15,17,18,.5), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 110px; }
.hero-lead { max-width: 650px; margin-bottom: 34px; color: rgba(255,255,255,.83); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; border: 0; border-radius: 9px; cursor: pointer; font: inherit; font-weight: 800; }
.button-primary { color: var(--white); background: var(--orange); box-shadow: 0 12px 32px rgba(243,106,33,.24); }
.button-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.trust-list { margin: 56px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 26px; color: rgba(255,255,255,.78); list-style: none; }
.trust-list li { position: relative; padding-left: 22px; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: .47em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

.split-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 80px; margin-bottom: 54px; }
.split-heading > p { margin-bottom: 4px; color: #5b6267; font-size: 1.1rem; }
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.use-grid article { min-height: 250px; padding: 32px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.use-grid strong { color: var(--orange); font-size: .86rem; }
.use-grid h3 { margin: 54px 0 14px; }
.use-grid p { margin: 0; color: #656b70; }

.calculation { color: var(--white); background: var(--graphite); }
.section-title { margin-bottom: 52px; }
.section-title .eyebrow { color: var(--orange); }
.section-title.light { color: var(--white); }
.calculation-intro { max-width: 790px; margin: 22px 0 0; color: rgba(255,255,255,.76); font-size: 1.1rem; }
.calculation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.calculation-card { min-height: 276px; padding: 32px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.045); }
.calculation-diameter { display: block; margin-bottom: 36px; color: #ff9a5f; font-size: 1.3rem; font-weight: 800; }
.calculation-card h3 { margin-bottom: 14px; }
.calculation-card p { max-width: 32ch; margin: 0; color: rgba(255,255,255,.72); }
.calculation-terms { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calculation-terms p { margin: 0; padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.035); }
.calculation-terms strong, .calculation-terms span { display: block; }
.calculation-terms strong { margin-bottom: 7px; color: #ff9a5f; font-size: .95rem; }
.calculation-terms span { color: rgba(255,255,255,.74); font-size: .95rem; }
.calculation-action { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.calculation-action p { max-width: 670px; margin: 0; color: rgba(255,255,255,.8); }
.calculation-action .button { flex-shrink: 0; }

.project-showcase { color: var(--white); background: var(--graphite-2); }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.gallery figure { position: relative; flex: 0 1 calc((100% - 36px) / 3); aspect-ratio: 1 / 1; min-width: 0; margin: 0; overflow: hidden; border-radius: 14px; background: #202427; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption { position: absolute; inset: auto 0 0; display: flex; min-height: 96px; align-items: flex-end; padding: 46px 22px 20px; background: linear-gradient(transparent, rgba(0,0,0,.84)); font-size: .94rem; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.steps li { min-height: 190px; display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); list-style: none; }
.steps span { color: var(--orange); font-size: 1.1rem; font-weight: 900; }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: #646b70; }

.estimate { color: var(--white); background: var(--graphite); }
.estimate-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.estimate-copy h2 { max-width: 530px; margin-bottom: 26px; }
.estimate-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.68); }
.estimate-phone { display: inline-block; margin-top: 34px; color: var(--orange); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 900; }
.estimate-form { padding: 34px; border-radius: var(--radius); color: var(--graphite); background: var(--white); box-shadow: var(--shadow); }
.estimate-form label { display: grid; gap: 8px; margin-bottom: 18px; font-size: .88rem; font-weight: 800; }
.estimate-form input, .estimate-form select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #d9dde0; border-radius: 8px; color: var(--graphite); background: #fafafa; font: inherit; }
.estimate-form input:focus, .estimate-form select:focus { outline: 3px solid rgba(243,106,33,.16); border-color: var(--orange); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.estimate-form .button { width: 100%; }
.form-note { margin: 12px 0 0; color: #7b8287; font-size: .78rem; text-align: center; }
.consent-check { grid-template-columns: 22px 1fr !important; align-items: start; gap: 10px !important; font-weight: 500 !important; line-height: 1.45; }
.consent-check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--orange); }
.consent-check a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 2px; }

.document-page { min-height: 100vh; padding: 130px 0 80px; background: var(--paper); }
.document-shell { max-width: 900px; padding: 48px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.document-shell h1 { max-width: none; margin-bottom: 18px; color: var(--graphite); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .95; }
.document-shell h2 { margin: 38px 0 14px; font-family: Inter, Arial, Helvetica, sans-serif; font-size: 1.25rem; line-height: 1.3; text-transform: none; }
.document-shell p, .document-shell li { color: #555d62; }
.document-shell ul { padding-left: 22px; }
.document-shell a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 2px; }
.document-meta { margin-bottom: 34px; color: #7b8287 !important; font-size: .9rem; }
.document-back { display: inline-flex; margin-top: 34px; color: var(--orange-dark); font-weight: 800; }

.site-footer { padding: 42px 0; color: var(--white); background: #101214; }
.footer-inner { display: grid; grid-template-columns: 150px 1fr auto; gap: 40px; align-items: center; }
.footer-inner img { width: 120px; max-height: 76px; object-fit: contain; }
.footer-inner p { margin: 0; color: rgba(255,255,255,.55); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; }
.footer-contact > a { font-size: 1.25rem; font-weight: 900; }
.footer-contact span { color: rgba(255,255,255,.5); font-size: .84rem; }
.footer-contact span a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { min-height: 780px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(15,17,18,.95), rgba(15,17,18,.58)), linear-gradient(0deg, rgba(15,17,18,.6), transparent); }
  .split-heading, .estimate-grid { grid-template-columns: 1fr; gap: 30px; }
  .use-grid, .calculation-grid { grid-template-columns: repeat(2, 1fr); }
  .calculation-card:last-child { grid-column: span 2; min-height: 210px; }
  .calculation-terms { grid-template-columns: 1fr; }
  .gallery figure { flex-basis: calc((100% - 18px) / 2); }
  .footer-inner { grid-template-columns: 120px 1fr; }
  .footer-contact { grid-column: span 2; align-items: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 74px 0; }
  .header-inner { min-height: 68px; }
  .brand { width: 104px; height: 50px; }
  .phone-link span { font-size: .92rem; }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 90px; }
  h1 { font-size: clamp(3.5rem, 19vw, 5.2rem); }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; gap: 12px; margin-top: 38px; }
  .split-heading { margin-bottom: 34px; }
  .use-grid, .calculation-grid, .steps { grid-template-columns: 1fr; }
  .calculation-card, .calculation-card:last-child { min-height: 0; grid-column: auto; }
  .calculation-diameter { margin-bottom: 24px; }
  .calculation-action { flex-direction: column; align-items: stretch; }
  .calculation-action .button { width: 100%; }
  .gallery figure { flex-basis: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .estimate-form { padding: 24px 18px; }
  .document-page { padding: 100px 0 50px; }
  .document-shell { padding: 28px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Standalone hosting: readable text, fixed-header anchors and keyboard focus. */
html { scroll-padding-top: 96px; }
a:focus-visible, button:focus-visible { outline: 3px solid #f36a21; outline-offset: 5px; }
h1 { font-size: clamp(3.2rem, 7.7vw, 7rem); line-height: .98; }
h2 { font-size: clamp(2.15rem, 4.5vw, 4.2rem); line-height: 1.08; }
h3 { line-height: 1.15; }
.eyebrow, .form-note, .phone-link small { font-size: .875rem; }
.form-note { color: #5b6267; }
.form-status { margin: 16px 0 0; color: #434b50; }
.form-status a { color: #b43d03; text-decoration: underline; }
.estimate-form .button:disabled { opacity: .7; cursor: wait; }
.form-status[data-state="error"] { color: #a3291d; }
.form-status[data-state="success"] { color: #245c30; }
@media (max-width: 620px) {
 h1 { font-size: clamp(2.5rem, 12.5vw, 4.85rem); }
 h2 { font-size: clamp(2rem, 8.4vw, 3.2rem); }
 .header-inner { gap: 12px; }
 .estimate-phone { font-size: clamp(1.3rem, 6vw, 2rem); }
 .document-shell h1 { font-size: clamp(1.8rem, 8vw, 3rem); }
 .gallery figcaption { font-size: 1rem; }
}
