@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;700;800&family=Oswald:wght@500;700&display=swap");

:root {
  --bg: #d9dbde;
  --bg-deep: #c3c6ca;
  --surface: #efefef;
  --surface-2: #e2e3e6;
  --text: #1b1f24;
  --muted: #4a525c;
  --steel: #28313a;
  --steel-2: #1f262d;
  --accent: #f7b500;
  --accent-strong: #e5a100;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(24, 29, 35, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Barlow", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.55), transparent 33%),
    linear-gradient(170deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(18, 22, 27, 0.03),
    rgba(18, 22, 27, 0.03) 2px,
    transparent 2px,
    transparent 12px
  );
  z-index: -1;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(31, 38, 45, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.brand {
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #f5f6f7;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  text-decoration: none;
  color: #d3d7dc;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav a:hover {
  color: #fff;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #171a1d;
  text-decoration: none;
  border-radius: 4px;
  padding: 10px 14px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.hero {
  padding: 42px 0 24px;
}

.hero-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.08) 70%),
    linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3.4vw, 32px);
  border: 1px solid #b7bdc5;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(247, 181, 0, 0.22), transparent 65%);
  pointer-events: none;
}

h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin: 0 0 14px;
  line-height: 1.07;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}
h2 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin: 0 0 10px;
  line-height: 1.15;
  text-transform: uppercase;
}
h3 { margin: 0 0 8px; font-size: 1.1rem; }
p { margin: 0 0 14px; }

.muted { color: var(--muted); }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.btn {
  text-decoration: none;
  border-radius: 4px;
  padding: 12px 16px;
  font-weight: 800;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(25, 31, 39, 0.18);
}
.btn-primary {
  background: var(--steel);
  color: #f5f7f8;
  border: 1px solid #1c242b;
}
.btn-secondary {
  background: transparent;
  color: var(--steel);
  border: 1px solid #6f7883;
}

.grid {
  display: grid;
  gap: 14px;
}

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

.card {
  background: linear-gradient(180deg, #f0f1f2 0%, #e5e7ea 100%);
  border-radius: var(--radius);
  border: 1px solid #b8bec6;
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--steel), var(--accent));
  border-radius: var(--radius) var(--radius) 0 0;
}

.section { padding: 20px 0; }

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badges span {
  font-size: 0.86rem;
  background: #d9dde2;
  color: #29313a;
  border: 1px solid #aeb5be;
  border-radius: 4px;
  padding: 5px 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.faq dt { font-weight: 700; margin-top: 10px; }
.faq dd { margin: 4px 0 10px; color: var(--muted); }

.contact-form {
  display: grid;
  gap: 10px;
}

.cf-turnstile {
  margin-top: 4px;
}

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

input, textarea, select {
  width: 100%;
  border: 1px solid #b8bec6;
  border-radius: 6px;
  padding: 11px;
  background: #f3f4f5;
}

textarea { min-height: 120px; resize: vertical; }

button[type="submit"] {
  background: var(--steel-2);
  color: #fff;
  border: 1px solid #161c22;
  border-radius: 4px;
  font-weight: 800;
  padding: 12px 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid #8f98a3;
  background: #20262d;
}

.footer-inner {
  padding: 16px 0 90px;
  color: #c5ccd4;
  font-size: 0.95rem;
}

.footer-inner a {
  color: #f7d46f;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 10px;
  background: rgba(20, 25, 31, 0.92);
}

.sticky-call a {
  background: var(--accent);
  color: #111;
  text-decoration: none;
  width: min(680px, 94vw);
  text-align: center;
  padding: 14px 12px;
  border-radius: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 24px rgba(10, 12, 15, 0.28);
}

.hero-panel,
.card {
  animation: rise-in 0.55s ease both;
}

.grid .card:nth-child(2) { animation-delay: 0.08s; }
.grid .card:nth-child(3) { animation-delay: 0.16s; }

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .phone-link { width: 100%; justify-content: center; }
  .hero-panel { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel,
  .card,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 901px) {
  .sticky-call { display: none; }
  .footer-inner { padding-bottom: 20px; }
}

.calc-card {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  margin: 0 auto;
  width: min(560px, calc(100vw - 24px));
  border: 1px solid #9fa8b2;
  border-radius: 8px;
  padding: 12px;
  background: rgba(228, 232, 236, 0.97);
  box-shadow: 0 16px 28px rgba(12, 16, 20, 0.22);
}

.cookie-banner p {
  margin: 0 0 10px;
  font-size: 0.93rem;
}

.cookie-content {
  width: 100%;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-actions .cookie-accept {
  background: var(--accent);
  color: #171a1d;
  border: 2px solid #f8ca48;
  box-shadow: 0 0 0 3px rgba(247, 181, 0, 0.25);
}

.cookie-manage-button {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 85;
  border: 1px solid #8f99a5;
  border-radius: 999px;
  background: #26303a;
  color: #fff;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

.reviews-card {
  overflow: hidden;
}

.reviews-grid {
  align-items: stretch;
}

.reviews-panel {
  padding: 14px;
  border: 1px solid #aeb5be;
  border-radius: 6px;
  background: linear-gradient(180deg, #eceef0 0%, #e4e7ea 100%);
}

.reviews-panel h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.map-embed {
  border: 1px solid #aeb5be;
  border-radius: 6px;
  overflow: hidden;
  min-height: 320px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.calc-form {
  margin-top: 12px;
}

.calc-grid {
  margin-bottom: 14px;
}

.calc-field {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.calc-field span {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #29313a;
}

.calc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-result {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #a9b2bc;
  border-radius: 6px;
  background: linear-gradient(180deg, #eceef0 0%, #e4e7ea 100%);
}

.calc-total {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.calc-total strong {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.calc-error {
  margin: 12px 0 0;
  color: #a01919;
  font-weight: 700;
}

@media (max-width: 900px) {
  body.cookie-lock {
    overflow: hidden;
    touch-action: none;
  }

  .calc-actions .btn,
  .calc-actions button[type="submit"] {
    width: 100%;
    text-align: center;
  }

  .cookie-banner.cookie-banner--blocking {
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    border-radius: 0;
    border: 0;
    padding: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 23, 29, 0.94);
    z-index: 200;
  }

  .cookie-banner.cookie-banner--blocking .cookie-content {
    width: min(560px, 100%);
    border: 1px solid #9fa8b2;
    border-radius: 10px;
    padding: 16px;
    background: #e7ebef;
    box-shadow: 0 18px 30px rgba(9, 12, 16, 0.3);
  }

  .cookie-banner.cookie-banner--blocking .cookie-accept {
    font-size: 1.04rem;
    padding: 14px 16px;
    font-weight: 800;
  }

  .cookie-banner:not(.cookie-banner--blocking) {
    bottom: 74px;
  }

  .cookie-manage-button {
    bottom: 74px;
  }

  .cookie-banner .btn {
    width: 100%;
    text-align: center;
  }

  .map-embed,
  .map-embed iframe {
    min-height: 260px;
  }
}
