:root {
  --background: #f8f7f2;
  --foreground: #182522;
  --muted: #64716c;
  --line: #d8ddd2;
  --panel: #ffffff;
  --ink: #123c35;
  --ink-2: #0f2c28;
  --terracotta: #c75f35;
  --terracotta-dark: #a94726;
  --gold: #e6b84a;
  --blue: #2d6f88;
  --font-sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 247, 242, 0.96);
  border-bottom: 1px solid rgba(18, 60, 53, 0.14);
  backdrop-filter: blur(16px);
}

.topline {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 6px 20px;
  background: var(--ink);
  color: #f6f2e8;
  font-size: 0.88rem;
}

.topline p {
  margin: 0;
}

.topline a {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.94rem;
}

.nav-links a {
  border-radius: 8px;
  color: #31413d;
  padding: 9px 10px;
}

.nav-links a:hover {
  background: rgba(18, 60, 53, 0.08);
}

.nav-call {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--terracotta);
  color: #fff;
  font-weight: 850;
  padding: 10px 18px;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: clamp(560px, 76svh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--foreground);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(7, 19, 18, 0.86) 0%, rgba(7, 19, 18, 0.62) 48%, rgba(7, 19, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 19, 18, 0.8) 0%, rgba(7, 19, 18, 0.02) 42%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 84px 0 62px;
}

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

.hero .eyebrow,
.section--ink .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 6.2vw, 5.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: #182522;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: #172521;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  padding: 12px 18px;
  text-align: center;
}

.button--primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 18px 38px rgba(166, 70, 34, 0.26);
}

.button--primary:hover,
.nav-call:hover {
  background: var(--terracotta-dark);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button--accent {
  background: var(--gold);
  color: #1b2a26;
}

.button--secondary {
  border-color: rgba(18, 60, 53, 0.2);
  background: #fff;
  color: var(--ink);
}

.proof-grid {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
}

.proof-grid div {
  padding: 18px;
  background: rgba(8, 24, 22, 0.58);
}

.proof-grid dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-grid dd {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
}

.section {
  padding: 82px 0;
}

.section--intro {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.section--soft {
  background: #eef4eb;
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.section--ink h2,
.section--ink p {
  color: #fff;
}

.section--contact {
  background:
    linear-gradient(135deg, rgba(18, 60, 53, 0.96), rgba(45, 111, 136, 0.92)),
    url("/images/toiture-detail.webp") center/cover;
  color: #fff;
}

.section--contact h2,
.section--contact p {
  color: #fff;
}

.contact-strip {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1.25fr;
  gap: 1px;
  background: var(--line);
}

.contact-strip a,
.contact-strip p {
  min-width: 0;
  margin: 0;
  padding: 20px;
  background: #fff;
}

.contact-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-strip strong {
  display: block;
  margin-top: 4px;
  color: #172521;
  font-size: 1rem;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 34px;
  text-align: center;
}

.section-heading:not(.section-heading--left) {
  margin-inline: auto;
}

.section-heading p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading--left {
  text-align: left;
}

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

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(18, 37, 34, 0.08);
}

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

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

.service-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.urgency {
  display: grid;
  grid-template-columns: 1.05fr 1fr auto;
  align-items: center;
  gap: 28px;
}

.urgency p {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 46px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #31413d;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(18, 37, 34, 0.12);
}

.gallery img:nth-child(2),
.gallery img:nth-child(3) {
  aspect-ratio: 4 / 5;
}

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

.zone-grid span {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 60, 53, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #20302c;
  font-weight: 820;
  text-align: center;
  padding: 10px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-grid > div,
.trust-grid figure {
  margin: 0;
  border: 1px solid rgba(18, 60, 53, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.trust-grid > div {
  background: var(--ink);
  color: #fff;
}

.trust-grid > div h2,
.trust-grid > div p {
  color: #fff;
}

.trust-grid > div p {
  margin: 18px 0 0;
}

blockquote {
  margin: 0;
  color: #20302c;
  font-size: 1.06rem;
  font-weight: 750;
}

figcaption {
  margin-top: 18px;
  color: var(--terracotta);
  font-weight: 900;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 46px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 18px;
}

summary {
  cursor: pointer;
  color: #172521;
  font-weight: 900;
  list-style: none;
  padding: 18px 0;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  float: right;
  color: var(--terracotta);
  content: "+";
  font-weight: 900;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.contact-panel h2 {
  max-width: 680px;
}

.contact-panel p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.contact-actions {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 22px;
}

.contact-actions p {
  margin: 4px 0 0;
  font-size: 0.94rem;
}

.footer {
  background: #0f2c28;
  color: rgba(255, 255, 255, 0.84);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
}

.footer strong {
  color: #fff;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .contact-strip,
  .service-grid,
  .urgency,
  .split,
  .trust-grid,
  .faq-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .trust-grid {
    gap: 12px;
  }

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

  .urgency {
    align-items: start;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container,
  .nav-shell {
    width: min(100% - 28px, 1120px);
  }

  .topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    font-size: 0.82rem;
  }

  .nav-shell {
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  .nav-call {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(7, 19, 18, 0.86), rgba(7, 19, 18, 0.58)),
      linear-gradient(0deg, rgba(7, 19, 18, 0.84), rgba(7, 19, 18, 0.08));
  }

  .hero__content {
    padding: 64px 0 42px;
  }

  .hero__lead {
    max-width: min(330px, calc(100vw - 40px));
  }

  .hero__actions,
  .proof-grid {
    max-width: min(360px, calc(100vw - 28px));
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }

  .hero__actions,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .proof-grid {
    display: grid;
  }

  .section {
    padding: 62px 0;
  }

  .section--intro {
    padding: 0;
  }

  .contact-strip a,
  .contact-strip p {
    padding: 18px 0;
  }

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

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

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