:root {
  --bg: #05070b;
  --panel: #0d121a;
  --panel-soft: #121924;
  --text: #f6f8fb;
  --muted: #aab6c4;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #158cff;
  --blue-dark: #0d56c9;
  --cyan: #72d8ff;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  min-height: 84vh;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.98) 0%, rgba(5, 7, 11, 0.72) 46%, rgba(5, 7, 11, 0.94) 100%),
    radial-gradient(circle at 74% 34%, rgba(21, 140, 255, 0.28), transparent 34%),
    #05070b;
}

.simple-header {
  background: #05070b;
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  width: 118px;
  height: 62px;
  overflow: hidden;
}

.brand img {
  width: 118px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 650;
}

.nav-links a,
.footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.facebook-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24, 119, 242, 0.7);
  border-radius: 6px;
  background: rgba(24, 119, 242, 0.16);
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 900;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

.nav-call {
  border: 1px solid rgba(114, 216, 255, 0.42);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.site-alert {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 8px auto 0;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(114, 216, 255, 0.34);
  border-radius: 8px;
  background: rgba(21, 140, 255, 0.1);
  color: #e8f4ff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.site-alert.is-active {
  display: flex;
}

.site-alert strong {
  flex: 0 0 auto;
  color: var(--white);
}

.site-alert span {
  color: #d7e6f5;
}

.site-alert.alert-promo {
  border-color: rgba(114, 216, 255, 0.5);
  background: linear-gradient(135deg, rgba(21, 140, 255, 0.2), rgba(13, 86, 201, 0.1));
}

.site-alert.alert-closed {
  border-color: rgba(255, 187, 96, 0.62);
  background: rgba(255, 187, 96, 0.12);
}

.site-alert.alert-closed strong {
  color: #ffd39a;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(84vh - 86px);
  display: grid;
  grid-template-columns: minmax(510px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 34px;
  padding: 34px 0 68px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

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

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

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: #d7e1ec;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(114, 216, 255, 0.3);
  border-radius: 6px;
  background: rgba(21, 140, 255, 0.1);
  color: var(--cyan);
  font-size: 0.95rem;
  font-weight: 900;
}

.hero-copy p {
  margin: 0;
  color: #e1e8f0;
}

.hero-copy strong {
  display: block;
  position: relative;
  margin-top: 16px;
  padding-left: 18px;
  color: var(--white);
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  line-height: 1.45;
}

.hero-copy strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 4px;
  height: 1.7em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue-dark));
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button.facebook {
  border: 1px solid rgba(24, 119, 242, 0.64);
  background: rgba(24, 119, 242, 0.16);
  color: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: min(620px, 100%);
  opacity: 0.95;
  filter: drop-shadow(0 28px 58px rgba(21, 140, 255, 0.26));
}

.quick-info {
  width: min(1180px, calc(100% - 32px));
  margin: -76px auto 0;
  display: grid;
  grid-template-columns: 1.25fr 1.35fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quick-info article {
  min-height: 104px;
  padding: 20px;
  background: #0b1119;
}

.quick-info span,
.footer span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-info strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.intro-copy {
  margin: 0;
  color: #d3deea;
  font-size: 1.12rem;
}

.intro-copy p {
  margin: 0 0 16px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.photo-band {
  width: min(1180px, calc(100% - 32px));
  margin: -20px auto 24px;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr;
  gap: 12px;
}

.photo-band img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  filter: saturate(0.94) contrast(1.04);
}

.photo-band img:first-child {
  grid-row: span 2;
  height: 452px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 14px 0 0;
  color: #d3deea;
  font-size: 1.08rem;
}

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

.service-grid article {
  min-height: 238px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 25, 36, 0.96), rgba(10, 15, 23, 0.96));
  border-radius: 8px;
}

.service-grid p,
.contact-panel p {
  color: var(--muted);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(114, 216, 255, 0.46);
  border-radius: 50%;
  color: var(--cyan);
  background: linear-gradient(145deg, rgba(21, 140, 255, 0.16), rgba(114, 216, 255, 0.05));
  box-shadow: inset 0 0 18px rgba(21, 140, 255, 0.12);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.05;
}

.area-section {
  padding-top: 24px;
  padding-bottom: 30px;
  color: var(--muted);
  opacity: 0.74;
}

.area-intro {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
}

.area-details {
  margin-top: 8px;
  font-size: 0.8rem;
}

.area-details summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b8c8da;
  cursor: pointer;
  list-style: none;
}

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

.area-details summary::after {
  content: "+";
  color: var(--blue-light);
  font-size: 1rem;
  line-height: 1;
}

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

.area-list {
  max-width: 900px;
  padding-top: 8px;
}

.area-list p {
  margin: 5px 0;
  line-height: 1.5;
}

.area-list strong {
  color: #cbd6e2;
}

.contact-section {
  padding: 96px 16px;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.2), rgba(5, 7, 11, 0.78)),
    linear-gradient(135deg, #0e1622, #07101b);
}

.contact-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.map-card {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 286px;
  border: 0;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #dce7f2;
  font-size: 0.94rem;
  font-weight: 700;
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.human-check {
  max-width: 260px;
}

.form-error {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: #ffb4b4;
  font-size: 0.92rem;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(4, 7, 12, 0.72);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(114, 216, 255, 0.5);
  border-color: transparent;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--text);
}

.legal-page {
  background: #070b12;
}

.legal-content {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 96px;
}

.legal-content h1 {
  white-space: normal;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.legal-content h2 {
  margin-top: 42px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.legal-content p {
  color: #d3deea;
}

.legal-content .button {
  margin-top: 32px;
}

.form-status {
  min-height: 70vh;
}

.form-status.success h1 {
  color: var(--cyan);
}

.form-status.error h1 {
  color: #ffd39a;
}

.footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(114, 216, 255, 0.46);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(21, 140, 255, 0.94), rgba(13, 86, 201, 0.94));
  color: var(--white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

@media (max-width: 880px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .intro,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 86px;
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .site-alert.is-active {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  h1 {
    white-space: normal;
  }

  .hero-visual {
    min-height: 220px;
    order: -1;
    justify-content: flex-start;
    opacity: 0.9;
  }

  .hero-visual img {
    width: min(430px, 100%);
  }

  .quick-info,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .photo-band {
    grid-template-columns: 1fr 1fr;
    margin-top: -8px;
  }

  .photo-band img,
  .photo-band img:first-child {
    grid-row: auto;
    height: 210px;
  }

  .section,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .footer {
    flex-direction: column;
  }

  .footer div:last-child {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .nav {
    width: min(100% - 24px, 1180px);
    gap: 12px;
  }

  .brand,
  .brand img {
    width: 92px;
  }

  .nav-call {
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .facebook-icon {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }

  .hero,
  .quick-info,
  .section,
  .site-alert,
  .photo-band,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(2.35rem, 11.2vw, 3rem);
    white-space: nowrap;
  }

  .hero-actions .button,
  .contact-actions .button,
  .quote-form .button {
    width: 100%;
  }

  .quote-form {
    padding: 18px;
  }

  .photo-band {
    grid-template-columns: 1fr;
  }

  .photo-band img,
  .photo-band img:first-child {
    height: 230px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}
