:root {
  --red: #c3162f;
  --red-dark: #9f1024;
  --blue: #102f55;
  --blue-ink: #071b31;
  --blue-soft: #eaf0f7;
  --white: #ffffff;
  --paper: #f7f8fa;
  --text: #1d2733;
  --muted: #5e6b78;
  --line: #dce2ea;
  --shadow: 0 18px 42px rgba(7, 27, 49, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--white); padding: 8px 12px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 800; text-decoration: none; letter-spacing: 0; }
.brand-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; color: var(--white); background: linear-gradient(135deg, var(--red), var(--blue)); border-radius: 6px; font-size: 18px; }
.nav-menu { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.nav-menu a { text-decoration: none; color: var(--blue-ink); font-weight: 700; }
.nav-menu a:hover, .nav-menu a.active { color: var(--red); }
.nav-cta { padding: 10px 14px; background: var(--red); color: var(--white) !important; border-radius: 6px; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--white); color: var(--blue); padding: 9px 12px; border-radius: 6px; font-weight: 800; }

.hero { position: relative; min-height: 650px; display: grid; align-items: center; overflow: hidden; background: var(--blue-ink); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,49,0.86), rgba(7,27,49,0.58) 42%, rgba(7,27,49,0.12)); }
.hero-content { position: relative; color: var(--white); padding: 72px 0 92px; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 7vw, 84px); line-height: 0.96; letter-spacing: 0; }
.hero p:not(.eyebrow) { max-width: 620px; font-size: 21px; color: #eef4fb; }
.hero-disclosure { max-width: 620px; margin-top: 16px; font-size: 14px !important; color: #dfe9f5 !important; }
.hero-actions, .section-actions, .button-row, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border-radius: 6px; border: 0; font-weight: 800; text-decoration: none; cursor: pointer; }
.button-red { background: var(--red); color: var(--white); }
.button-red:hover { background: var(--red-dark); }
.button-blue { background: var(--blue); color: var(--white); }
.button-light { background: var(--white); color: var(--blue); }

.section { padding: 72px 0; }
.section-white { background: var(--white); }
.section-soft { background: var(--paper); }
.section-blue { background: var(--blue-ink); color: var(--white); }
.page-hero { padding: 86px 0 76px; color: var(--white); background: linear-gradient(135deg, var(--blue-ink), var(--blue)); }
.page-hero h1, .section h2 { margin: 0 0 16px; line-height: 1.1; letter-spacing: 0; }
.page-hero h1 { max-width: 860px; font-size: clamp(36px, 6vw, 62px); }
.page-hero p:not(.eyebrow) { max-width: 720px; color: #dfe9f5; font-size: 19px; }
.section h2 { font-size: clamp(28px, 4vw, 44px); color: var(--blue-ink); }
.section-blue h2 { color: var(--white); }
.eyebrow { margin: 0 0 10px; color: var(--red); font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; }
.section-blue .eyebrow, .hero .eyebrow { color: #ffb9c3; }
.intro-grid, .split, .cta-band { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 42px; align-items: center; }
.section-heading { max-width: 720px; margin-bottom: 28px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-list { grid-template-columns: repeat(3, 1fr); }
.service-card, .placeholder-card, .contact-panel, .estimate-form, .steps article, .area-grid div, .fact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(7, 27, 49, 0.06);
}
.service-card { min-height: 180px; padding: 22px; color: var(--text); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card span { display: block; margin-bottom: 10px; color: var(--blue); font-size: 20px; font-weight: 900; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); }
.fact-panel { display: grid; gap: 1px; overflow: hidden; background: var(--line); }
.fact-panel div { background: var(--white); padding: 22px; }
.fact-panel strong { display: block; color: var(--red); font-size: 30px; line-height: 1; }
.fact-panel span { color: var(--muted); font-weight: 700; }
.cta-band { align-items: center; }
.cta-actions { justify-content: flex-end; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.placeholder-card { overflow: hidden; }
.placeholder-card h2 { padding: 18px 18px 0; margin: 0; font-size: 22px; }
.placeholder-card p { padding: 0 18px 20px; color: var(--muted); }
.photo-placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--blue); font-weight: 900; background: repeating-linear-gradient(135deg, #eef2f6, #eef2f6 12px, #dce4ee 12px, #dce4ee 24px); border-bottom: 4px solid var(--red); }
.steps { display: grid; gap: 16px; }
.steps article { padding: 24px; display: grid; grid-template-columns: 80px 1fr; column-gap: 18px; align-items: start; }
.steps span { grid-row: span 2; color: var(--red); font-size: 30px; font-weight: 900; }
.steps h2 { margin: 0 0 8px; font-size: 24px; }
.steps p { margin: 0; color: var(--muted); }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area-grid div { min-height: 90px; display: grid; place-items: center; color: var(--blue); font-size: 22px; font-weight: 900; }
.faq-list { display: grid; gap: 14px; max-width: 900px; }
details { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; background: var(--white); }
summary { color: var(--blue); font-weight: 900; cursor: pointer; }
details p { color: var(--muted); }
.contact-panel { padding: 26px; }
.contact-panel h2 { font-size: 30px; }
.contact-panel a { color: var(--blue); font-weight: 800; }
.estimate-form { padding: 26px; display: grid; gap: 10px; }
label { color: var(--blue-ink); font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px; font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(195, 22, 47, 0.2); border-color: var(--red); }
.prose { max-width: 840px; }
.prose h2 { font-size: 28px; }

.assistant-launch {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  min-height: 52px;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  box-shadow: var(--shadow);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.assistant-launch:hover { background: var(--red-dark); }
.assistant-launch:focus-visible, .assistant-panel button:focus-visible, .assistant-panel a:focus-visible {
  outline: 3px solid rgba(195, 22, 47, 0.32);
  outline-offset: 3px;
}
.assistant-panel {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 21;
  width: min(390px, calc(100vw - 24px));
  max-height: min(680px, calc(100vh - 112px));
  display: none;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.assistant-panel.open { display: grid; }
.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--white);
  background: var(--blue-ink);
}
.assistant-header h2 { margin: 0; font-size: 18px; color: var(--white); }
.assistant-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  color: var(--white);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.assistant-body {
  display: grid;
  gap: 14px;
  padding: 16px;
  overflow-y: auto;
}
.assistant-messages { display: grid; gap: 10px; }
.assistant-message {
  max-width: 92%;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
}
.assistant-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}
.assistant-suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.assistant-suggestions button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.assistant-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.assistant-actions a {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}
.assistant-actions a:first-child { background: var(--red); }
.assistant-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.assistant-form input { min-width: 0; background: var(--white); }
.assistant-form button { min-height: 44px; padding: 0 14px; border-radius: 6px; border: 0; color: var(--white); background: var(--red); font: inherit; font-weight: 900; cursor: pointer; }

.site-footer { padding: 38px 0; color: #d8e3f0; background: var(--blue-ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 26px; }
.site-footer p { margin: 6px 0 0; color: #aebdd0; }
.site-footer a { display: block; color: #f4f8fc; text-decoration: none; margin-bottom: 8px; }
.site-footer a:hover { color: #ffb9c3; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: absolute; left: 16px; right: 16px; top: 74px; display: none; flex-direction: column; align-items: stretch; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 8px 4px; }
  .hero { min-height: 600px; }
  .intro-grid, .split, .cta-band { grid-template-columns: 1fr; }
  .card-grid, .service-list, .gallery-grid, .area-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1120px); }
  .hero { min-height: 560px; }
  .hero h1 { font-size: 42px; }
  .hero p:not(.eyebrow) { font-size: 18px; }
  .section, .page-hero { padding: 52px 0; }
  .card-grid, .service-list, .gallery-grid, .area-grid, .footer-grid { grid-template-columns: 1fr; }
  .steps article { grid-template-columns: 1fr; }
  .steps span { margin-bottom: 8px; }
  .button { width: 100%; }
  .assistant-launch { right: 12px; bottom: 12px; min-height: 48px; padding: 11px 14px; }
  .assistant-panel { right: 12px; bottom: 72px; max-height: calc(100vh - 92px); }
  .assistant-actions { grid-template-columns: 1fr; }
}
