:root {
  --blue: #0a8bdc;
  --blue-dark: #075c99;
  --blue-light: #e8f6ff;
  --cyan: #00aeea;
  --dark: #0b1d2d;
  --text: #1f2d3d;
  --muted: #6b7a8c;
  --line: #d9e6f2;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(7, 92, 153, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 230, 242, 0.8);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.01em;
}

.logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: #284056;
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: var(--blue-dark);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--dark);
  border-radius: 5px;
}

.section {
  padding: 88px 0;
}

.section-light {
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 174, 234, 0.15), transparent 26%),
    linear-gradient(135deg, #f5fbff 0%, #ffffff 55%, #eef8ff 100%);
}

.section-blue {
  background: #f3f9ff;
}

.section-dark {
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 174, 234, 0.25), transparent 34%),
    linear-gradient(135deg, #07182a 0%, #0b2d4a 100%);
  color: var(--white);
}

.hero {
  padding: 82px 0 92px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--blue-dark);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-dark .section-label {
  color: #82d8ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--dark);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  color: var(--dark);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

h3 {
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 22px;
  line-height: 1.25;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 30px;
  color: #40566b;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-phones {
  align-items: center;
  color: var(--blue-dark);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.phone-text a {
  color: var(--blue-dark);
  text-decoration: none;
}

.phone-text a:hover {
  color: var(--blue);
}

.phone-separator {
  color: rgba(7, 92, 153, 0.32);
  font-size: 18px;
}

.hero-media {
  position: relative;
  min-height: 430px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #eaf7ff;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(7, 92, 153, 0.12);
  backdrop-filter: blur(12px);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  color: var(--dark);
  font-size: 16px;
}

.hero-badge span {
  color: var(--muted);
  font-size: 14px;
}

.two-columns,
.about-grid,
.work-grid {
  display: grid;
  gap: 54px;
}

.two-columns {
  grid-template-columns: 0.85fr 1.15fr;
}

.about-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.work-grid {
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
}

.align-center {
  align-items: center;
}

.text-block p {
  color: #40566b;
  font-size: 18px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.image-panel {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #eef8ff;
}

.image-panel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.small-panel img {
  height: 540px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 40px;
}

.section-head p:last-child {
  color: #536779;
  font-size: 17px;
}

.section-head.compact {
  max-width: 720px;
}

.services-list {
  display: grid;
  gap: 22px;
}

.service-card,
.advantage-card,
.step-card,
.contact-card {
  border: 1px solid rgba(10, 139, 220, 0.13);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(7, 92, 153, 0.07);
}

.detailed-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 28px;
}

.detailed-card.with-image {
  grid-template-columns: 54px minmax(0, 1fr) 340px;
  align-items: center;
}

.detailed-card.with-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(7, 92, 153, 0.10);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  font-weight: 900;
  font-size: 20px;
}

.service-card p {
  color: #41576c;
}

.service-card li {
  color: #41576c;
}

.price {
  display: inline-block;
  margin: 12px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue-dark) !important;
  font-size: 14px;
  font-weight: 800;
}

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

.gallery-grid figure {
  position: relative;
  margin: 0;
  min-height: 310px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #eaf7ff;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.gallery-grid figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--dark);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(7, 92, 153, 0.12);
}

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

.advantage-card {
  padding: 26px;
}

.advantage-card span {
  display: block;
  width: 38px;
  height: 6px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.advantage-card p,
.step-card p {
  margin-bottom: 0;
  color: #536779;
}

.client-list {
  display: grid;
  gap: 12px;
}

.client-list div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: #2d4358;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(7, 92, 153, 0.05);
}

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

.step-card {
  padding: 26px;
}

.step-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-intro {
  max-width: 520px;
  color: #c9d9e8;
  font-size: 17px;
}

.contact-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.contact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row span {
  color: #82d8ff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-row p {
  margin: 0;
  color: #f4fbff;
}

.contact-row a {
  color: #ffffff;
  font-weight: 800;
}

.map-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-dark);
  font-weight: 900;
}

.details {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.details h3 {
  margin-bottom: 20px;
}

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

.details-grid div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.details-grid span,
.details-grid strong {
  display: block;
}

.details-grid span {
  margin-bottom: 6px;
  color: #82d8ff;
  font-size: 13px;
}

.details-grid strong {
  color: #ffffff;
  font-size: 15px;
}

.site-footer {
  background: #061525;
  color: #c9d9e8;
}

.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #82d8ff;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .hero-grid,
  .about-grid,
  .work-grid,
  .two-columns,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img,
  .image-panel img,
  .small-panel img {
    height: 380px;
    min-height: 380px;
  }

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

  .detailed-card.with-image {
    grid-template-columns: 54px 1fr;
  }

  .detailed-card.with-image img {
    grid-column: 2;
    height: 280px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 10px;
  }

  .main-nav a::after {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 58px 0 70px;
  }

  .hero-grid,
  .about-grid,
  .work-grid {
    gap: 34px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-phones {
    align-items: flex-start;
    gap: 8px;
  }

  .phone-separator {
    display: none;
  }

  .detailed-card,
  .detailed-card.with-image,
  .advantages-grid,
  .gallery-grid,
  .steps,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .service-number {
    width: 46px;
    height: 46px;
  }

  .detailed-card.with-image img {
    grid-column: auto;
    height: 240px;
  }

  .hero-media img,
  .image-panel img,
  .small-panel img {
    height: 300px;
    min-height: 300px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .logo span {
    font-size: 15px;
  }

  .logo img {
    width: 46px;
    height: 46px;
  }

  .hero-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .hero-media img,
  .image-panel img,
  .small-panel img,
  .gallery-grid img,
  .gallery-grid figure {
    min-height: 250px;
    height: 250px;
  }

  .detailed-card,
  .advantage-card,
  .step-card,
  .contact-card {
    padding: 22px;
  }
}
