:root {
  --bg: #f4f4f5;
  --surface: #ffffff;
  --tint: #e6e7e9;
  --ink: #1d1e21;
  --gray: #55585e;
  --line: #1d1e21;
  --red: #c62026;
  --red-dark: #9c161b;
  --dark: #25272b;
  --dark-2: #31343a;
  --on-dark: #f3f3f4;
  --on-dark-soft: #c9cbcf;
  --radius: 6px;
  --shadow: 6px 6px 0 var(--line);
  --shadow-sm: 4px 4px 0 var(--line);
  --wrap: 1160px;
  --head: "Lora", Georgia, "Times New Roman", serif;
  --body: "Raleway", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3 {
  font-family: var(--head);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 700;
}

h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.site-header :focus-visible,
.menu :focus-visible { outline-color: #ffffff; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--surface);
  color: var(--ink);
  padding: .6rem 1rem;
  border: 3px solid var(--line);
  z-index: 100;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  text-decoration: none;
  padding: .9rem 1.5rem;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  background: var(--red);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover {
  color: #ffffff;
  background: var(--red-dark);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--line);
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }

.btn.is-plain {
  background: var(--surface);
  color: var(--ink);
}
.btn.is-plain:hover { background: var(--tint); color: var(--ink); }

/* Variants for buttons placed on the dark background */
.btn.is-on-dark {
  border-color: #ffffff;
  box-shadow: 4px 4px 0 #ffffff;
}
.btn.is-on-dark:hover { box-shadow: 6px 6px 0 #ffffff; }
.btn.is-ghost-on-dark {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 4px 4px 0 var(--red);
}
.btn.is-ghost-on-dark:hover {
  background: var(--dark-2);
  color: #ffffff;
  box-shadow: 6px 6px 0 var(--red);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--dark);
  border-bottom: 3px solid var(--red);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: #ffffff;
}
.brand img {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
}
.brand span {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-call {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-call:hover { color: #ffffff; text-decoration: underline; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--red);
  color: #ffffff;
  border: 3px solid #ffffff;
  border-radius: var(--radius);
  padding: .55rem 1rem;
  font: 800 .95rem var(--body);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 3px 3px 0 #ffffff;
}
.menu-btn:hover { background: var(--red-dark); }
.menu-btn .bars {
  width: 20px;
  height: 14px;
  position: relative;
  display: inline-block;
}
.menu-btn .bars::before,
.menu-btn .bars::after,
.menu-btn .bars i {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
}
.menu-btn .bars::before { top: 0; }
.menu-btn .bars i { top: 6px; }
.menu-btn .bars::after { bottom: 0; }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--dark);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
}
.menu-close {
  background: transparent;
  color: #ffffff;
  border: 3px solid #ffffff;
  border-radius: var(--radius);
  padding: .5rem 1rem;
  font: 800 .95rem var(--body);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-close:hover { background: var(--dark-2); }
.menu nav { flex: 1; display: flex; align-items: center; padding: 2rem 0; }
.menu ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: m;
}
.menu li { counter-increment: m; }
.menu nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--head);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  text-decoration: none;
}
.menu nav a::before {
  content: "0" counter(m);
  font-family: var(--body);
  font-size: .9rem;
  font-weight: 700;
  color: var(--on-dark-soft);
}
.menu nav a:hover { color: #ffffff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 4px; }
.menu-foot {
  border-top: 1px solid #4a4d53;
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
}
.menu-foot a { color: #ffffff; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--tint { background: var(--tint); }
.section--white { background: var(--surface); }

.kicker {
  display: block;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin-bottom: .8rem;
}
.section--dark .kicker { color: #ff8b8f; }

.lead { font-size: 1.15rem; color: var(--gray); max-width: 60ch; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 5.4rem);
  color: #ffffff;
  margin-bottom: .35em;
}
.hero-name {
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--on-dark-soft);
  margin-bottom: 1.2rem;
}
.hero-name::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  background: var(--red);
  margin-top: 1rem;
}
.hero-text {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--on-dark);
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-facts {
  margin: 2.4rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid #4a4d53;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  list-style: none;
  color: var(--on-dark-soft);
  font-weight: 600;
}
.hero-facts li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--red);
  margin-right: .6rem;
  transform: rotate(45deg);
}
.hero-figure {
  margin: 0;
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
}
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--red);
}
.hero-figure img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
  border: 4px solid #ffffff;
}
.hero-figure figcaption {
  position: relative;
  margin-top: 1.6rem;
  font-size: .9rem;
  color: var(--on-dark-soft);
  text-align: center;
}

/* ---------- Services ---------- */
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: 3rem;
}
.services-head h2 { margin: 0; }
.services-head p { margin: 0; color: var(--gray); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-card {
  background: var(--surface);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.service-card .icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--red);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
}
.service-card .icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: .5rem; }
.service-card .owner-line { font-weight: 700; color: var(--ink); }
.service-card p { color: var(--gray); margin-bottom: .8rem; }
.service-card p:last-child { margin-bottom: 0; }
.service-card.is-more { background: var(--dark); color: var(--on-dark); }
.service-card.is-more h3 { color: #ffffff; }
.service-card.is-more .owner-line { color: #ffffff; }
.service-card.is-more p { color: var(--on-dark-soft); }
.service-card.is-more .icon { border-color: #ffffff; }
.service-card.is-more a { color: #ffffff; font-weight: 800; }

/* ---------- Roof comparison ---------- */
.compare-intro { max-width: 680px; margin-bottom: 2.6rem; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--line);
  gap: 3px;
  position: relative;
  overflow: hidden;
}
.compare figure { margin: 0; position: relative; background: var(--surface); }
.compare img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.compare figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  padding: .5rem .9rem;
  font-weight: 800;
  line-height: 1.3;
  max-width: calc(100% - 2rem);
}
.compare figcaption span {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  color: var(--gray);
}
.compare-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font: 800 .95rem var(--body);
  letter-spacing: .05em;
  z-index: 2;
}
.compare-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-top: 2.4rem;
}
.compare-notes h3 { font-size: 1.15rem; }
.compare-notes p { color: var(--gray); margin: 0; }

/* ---------- Why us ---------- */
.why .wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.why-badge {
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
  padding: 1.5rem;
  text-align: center;
}
.why-badge img { width: 220px; height: 220px; margin: 0 auto; object-fit: contain; }
.why-list { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-top: 2px solid var(--tint);
}
.why-list li:last-child { border-bottom: 2px solid var(--tint); }
.why-list .mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
}
.why-list .mark svg { width: 18px; height: 18px; }
.why-list h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.why-list p { margin: 0; color: var(--gray); }

/* ---------- Work pair ---------- */
.work .wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.pair figure { margin: 0; }
.pair figure:nth-child(2) { margin-top: 3rem; }
.pair img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pair figcaption {
  margin-top: .9rem;
  font-weight: 700;
  font-size: .95rem;
}

/* ---------- Steps ---------- */
.steps-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.steps-head .lead { margin-inline: auto; color: var(--on-dark-soft); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  padding: 0 2rem;
  border-left: 2px solid #4a4d53;
}
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps li:last-child { padding-right: 0; }
.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  font-family: var(--head);
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--red);
  border: 3px solid #ffffff;
  border-radius: 50%;
  margin-bottom: 1.2rem;
}
.steps h3 { color: #ffffff; }
.steps p { color: var(--on-dark-soft); margin: 0; }
.steps a { color: #ffffff; font-weight: 700; }
.steps a:hover { color: #ffffff; }

/* ---------- FAQ ---------- */
.faq .wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq-list details {
  border: 3px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3.4rem 1.1rem 1.3rem;
  font-weight: 800;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--gray); }

/* ---------- Contact ---------- */
.contact .wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-lines { list-style: none; margin: 2rem 0; padding: 0; }
.contact-lines li { margin-bottom: 1.2rem; }
.contact-lines span {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
}
.contact-lines a, .contact-lines strong {
  font-family: var(--head);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}
.contact-lines a:hover { color: var(--red-dark); text-decoration: underline; }
.contact-lines .social-link { margin-right: 1.4rem; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.map {
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--tint);
}
.map iframe { display: block; width: 100%; height: 260px; border: 0; }

.form {
  background: var(--surface);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.form h3 { font-size: 1.6rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem .9rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--red);
  outline-offset: 1px;
  background: #ffffff;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--gray); margin: 1rem 0 0; min-height: 1.5em; }

/* ---------- Closing band ---------- */
.closing { background: var(--red); color: #ffffff; padding: clamp(3rem, 7vw, 4.5rem) 0; border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.closing .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.closing h2 { margin: 0; color: #ffffff; max-width: 20ch; }
.closing .btn.is-plain { box-shadow: 4px 4px 0 var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); padding: 3rem 0 2rem; }
.site-footer .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 3rem;
  align-items: center;
}
.site-footer img { width: 110px; height: 110px; }
.site-footer p { margin: 0; color: var(--gray); }
.site-footer .foot-name { font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.foot-links { display: flex; flex-direction: column; gap: .3rem; text-align: right; }
.foot-links a { font-weight: 700; }
.foot-bottom {
  grid-column: 1 / -1;
  border-top: 2px solid var(--tint);
  padding-top: 1.2rem;
  font-size: .9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .services-head, .why .wrap, .work .wrap, .faq .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .why-badge { max-width: 320px; }
}

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { width: min(100%, 380px); margin-right: 16px; }
  .steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .steps li, .steps li:first-child, .steps li:last-child { border-left: 0; padding: 0; }
  .compare-notes { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; text-align: left; }
  .foot-links { text-align: left; }
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .header-call { display: none; }
  .brand span { font-size: 1rem; }
  .brand img { width: 50px; height: 50px; }
}

@media (max-width: 520px) {
  .compare { grid-template-columns: 1fr; }
  .compare-divider { top: 50%; }
  .pair { gap: .9rem; }
  .pair figure:nth-child(2) { margin-top: 2rem; }
  .pair figcaption { font-size: .85rem; }
}

@media (max-width: 380px) {
  .pair { grid-template-columns: 1fr; }
  .pair figure:nth-child(2) { margin-top: 0; }
}

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