﻿:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --text: #1c2b40;
  --muted: #5f6f87;
  --line: #d9e4f0;
  --brand: #1f5f88;
  --brand-soft: #e6f2fb;
  --accent: #f2b117;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 14px 34px rgba(26, 73, 108, 0.14);
}

* { box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }

/* Hide side scrollbar globally but keep page scroll available */
html,
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Rubik", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 0%, rgba(95, 163, 201, 0.18), transparent 28%),
    radial-gradient(circle at 0% 30%, rgba(242, 177, 23, 0.12), transparent 24%),
    var(--bg);
}
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

img { max-width: 100%; display: block; }
.container { width: min(1140px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(20,50,80,0.07);
}

.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 200px 1fr auto auto;
  align-items: center;
  gap: 14px;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 600;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
}

.main-nav a.active,
.main-nav a:hover { background: var(--brand-soft); color: #164868; }

.head-phone {
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  white-space: nowrap;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0;
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

h1, h2, h3 { margin: 0; line-height: 1.12; }
h1 { font-family: "Russo One", sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); color: #173d5d; margin-top: 14px; }
h2 { font-family: "Russo One", sans-serif; font-size: clamp(1.5rem, 2.4vw, 2.2rem); color: #1a4162; }

.hero-text p { color: var(--muted); font-size: 1.1rem; max-width: 48ch; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn {
  border: 0;
  font: inherit;
  border-radius: 12px;
  padding: 12px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary { background: linear-gradient(130deg, #1f5f88, #174b6c); color: #fff; box-shadow: var(--shadow); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }

.hero-visual {
  background: linear-gradient(160deg, #eaf4fc 0%, #dceaf7 100%);
  border: 1px solid #c9dded;
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.hero-visual img {
  border-radius: 18px;
  background: #edf5fc;
  max-height: 520px;
  width: 100%;
  object-fit: contain;
}

.section { margin: 18px 0; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

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

.service-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.service-box p { color: var(--muted); }
.service-box ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }

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

.product {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fbfdff;
  display: flex;
  flex-direction: column;
}

.product img {
  height: 280px;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.services-hero { padding-bottom: 8px; }

.services-list {
  width: min(1140px, 92%);
  margin: 0 auto 40px;
}

.svc-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.svc-item:last-child { border-bottom: none; }

.svc-num {
  font-family: "Russo One", sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  color: #d5e6f2;
  user-select: none;
  padding-top: 4px;
}

.svc-body {}

.svc-body h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: #173d5d;
  margin-bottom: 12px;
}

.svc-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.svc-body ul li {
  padding-left: 18px;
  position: relative;
  color: var(--text);
  line-height: 1.5;
}

.svc-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.svc-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.svc-phone {
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.05rem;
}

.svc-phone:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .svc-item {
    grid-template-columns: 48px 1fr;
    gap: 0 14px;
    padding: 24px 0;
  }
  .svc-num { font-size: 2.2rem; }
}

/* ─── Service inner page (gasification / geodesy) ─── */
.svc-page-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.svc-page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.svc-page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,35,57,0.82) 40%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 36px;
}
.svc-page-overlay-text h1 { color: #fff; font-size: clamp(1.5rem,3vw,2.4rem); font-family: "Russo One",sans-serif; }
.svc-page-overlay-text p  { color: #b0d0e8; margin-top: 8px; font-size: 1.02rem; max-width: 52ch; }

.svc-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.svc-page-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc-page-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.04rem;
}
.svc-page-list li::before {
  content: "✓";
  flex-shrink: 0;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
}
@media (max-width: 760px) {
  .svc-page-hero { height: 220px; }
  .svc-page-overlay { padding-bottom: 18px; }
  .svc-page-layout { grid-template-columns: 1fr; gap: 14px; }
}

/* Final services fusion style: image as part of each tab/card */
.services-list {
  width: min(1140px, 92%);
  margin: 8px auto 34px;
  display: grid;
  gap: 16px;
}

.services-list .svc-item {
  position: relative;
  display: block;
  border: 1px solid #d6e3f0;
  border-radius: 22px;
  background: #ffffff;
  padding: 28px 40% 28px 24px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(18, 55, 86, 0.08);
  min-height: 200px;
}

.services-list .svc-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #1f5f88, #5fa3c9 70%, #9ec5df);
}

.services-list .svc-num {
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: "Russo One", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: #dbeaf6;
  pointer-events: none;
  user-select: none;
}

.services-list .svc-body {
  position: relative;
  z-index: 2;
  padding-left: 52px;
}

.services-list .svc-body h2 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  margin: 2px 0 10px;
  color: #173d5d;
}

.services-list .svc-body p {
  color: var(--muted);
}

.services-list .svc-body ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.services-list .svc-body ul li {
  position: relative;
  padding-left: 16px;
  color: #243d59;
  line-height: 1.4;
}

.services-list .svc-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1f5f88;
}

.services-list .svc-img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  z-index: 1;
  overflow: hidden;
}

.services-list .svc-img img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  display: block;
}

.services-list .svc-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0.85) 18%, rgba(255,255,255,0.3) 38%, rgba(255,255,255,0) 56%);
}

.services-list .svc-footer {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.services-list .svc-phone {
  color: #1f5f88;
  font-weight: 800;
  text-decoration: none;
}

.services-list .svc-phone:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .services-list .svc-item {
    padding: 18px 18px 18px 18px;
    min-height: 0;
  }

  .services-list .svc-num {
    position: static;
    font-size: 1rem;
    color: #7ca7c7;
    margin-bottom: 6px;
  }

  .services-list .svc-body {
    padding-left: 0;
  }

  .services-list .svc-img {
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 14px;
  }

  .services-list .svc-img::before {
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0));
  }
}

/* ─── Shop product cards – magazine style ─── */
.shop-catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.shop-catalog-header h2 { font-size: 1.25rem; }
.product-v2 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(20,50,80,0.07);
  transition: box-shadow .2s, transform .2s;
}
.product-v2:hover { box-shadow: 0 12px 30px rgba(20,50,80,0.15); transform: translateY(-3px); }
.product-v2-img {
  background: linear-gradient(150deg, #eaf4fc, #ddeaf7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 240px;
}
.product-v2-img img { max-height: 200px; width: auto; object-fit: contain; }
.product-v2-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-v2-name { font-size: 1.15rem; font-weight: 700; color: #173d5d; margin: 0; }
.product-v2-sub  { font-size: 0.9rem; color: var(--muted); margin: 0; }
.product-v2-specs { margin: 6px 0 0; padding-left: 0; list-style: none; display: grid; gap: 4px; }
.product-v2-specs li { display: flex; gap: 6px; font-size: 0.9rem; color: #2d4460; }
.product-v2-specs li::before { content: "—"; color: #9ab6cb; }
.product-v2-footer { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #eef3f9; }
.product-v2-price { font-size: 1.3rem; font-weight: 800; color: #be1f1f; }
@media (max-width: 760px) {
  .product-v2 { flex-direction: row; border-radius: 16px; }
  .product-v2-img {
    min-height: unset;
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
    padding: 12px 8px;
    border-radius: 0;
  }
  .product-v2-img img { max-height: 110px; max-width: 100%; }
  .product-v2-body { padding: 12px 14px; gap: 4px; }
  .product-v2-name { font-size: 1rem; }
  .product-v2-sub { font-size: 0.82rem; }
  .product-v2-specs li { font-size: 0.82rem; }
  .product-v2-price { font-size: 1.15rem; }
  .product-v2-footer .btn { font-size: 0.82rem; padding: 8px 12px; min-width: unset; }
}

.product-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.product-body p { color: var(--muted); margin: 6px 0 8px; }
.product-body ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
.price-row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { color: #be1f1f; font-size: 1.2rem; font-weight: 700; }

.request-form {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  gap: 8px;
}

.request-form label { font-size: 0.95rem; font-weight: 500; }
.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid #cad7e7;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
.request-form textarea { resize: vertical; }
.form-note { margin: 0; color: var(--muted); font-size: 0.9rem; }
.form-success { min-height: 1.2em; margin: 0; color: #1c6a3a; font-weight: 600; }

.hamburger-btn {
  position: fixed;
  top: 24px;
  right: 16px;
  z-index: 50;
  background: #fff;
  border: 1px solid #d0dce9;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: box-shadow .2s;
}

/* Show quick hamburger only on narrow screens */
@media (min-width: 1025px) {
  .hamburger-btn,
  .quick-menu {
    display: none;
  }
}

.hamburger-btn:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.18); }

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1c2b40;
  border-radius: 2px;
}

.quick-menu {
  position: fixed;
  top: 70px;
  right: 16px;
  z-index: 49;
  width: min(260px, calc(100% - 28px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 18px 32px rgba(20, 39, 67, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: .2s ease;
}

.quick-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.quick-menu a {
  display: block;
  text-decoration: none;
  color: #204766;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.97rem;
  font-weight: 500;
}
.quick-menu a:hover { background: #edf6fc; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.notice {
  border: 1px solid #c9dded;
  background: #eaf4fc;
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #5a6a83;
}

@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .logo { grid-column: 1 / 2; }

  /* Hide phone number and text menu button; use only 3-line hamburger */
  .head-phone { display: none; }
  .menu-toggle { display: none; }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--line);
    padding: 10px 0 12px;
    overflow: visible;
    white-space: normal;
    background: #fff;
  }

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

  .main-nav a {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: none;
  }

  .main-nav a.active {
    background: var(--brand-soft);
    color: var(--brand);
  }

  .hero-grid,
  .grid-3,
  .product-grid,
  .two-col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* ─ Header ─ */
  .header-inner { min-height: 58px; }
  .logo img { height: 36px; }

  /* ─ Grids ─ */
  .hero-grid,
  .grid-3,
  .product-grid,
  .two-col,
  .order-panel,
  .sc-body,
  .contacts-grid { grid-template-columns: 1fr; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .page-hero { padding: 24px 0 20px; }
  h1 { font-size: clamp(1.7rem,8vw,2.4rem); margin-top: 8px; }
  h2 { font-size: clamp(1.3rem,5.5vw,1.8rem); }

  /* ─ Navigation hamburger ─ */
  .hamburger-btn { top: 10px; right: 10px; padding: 9px 10px; }
  .hamburger-btn span { width: 24px; }
  .quick-menu { top: 54px; right: 8px; width: min(280px, calc(100% - 16px)); }

  /* ─ Cards & sections ─ */
  .card { padding: 16px; border-radius: 16px; }
  .section { margin: 10px 0; }
  .container { width: 94%; }

  /* ─ Product cards ─ */
  .product img { height: 200px; }
  .product-body { padding: 12px; }
  .price-row { flex-wrap: wrap; gap: 6px; }
  .price { font-size: 1.1rem; }
  .btn { padding: 10px 14px; font-size: 0.93rem; }

  /* ─ Shop top ─ */
  .shop-top { padding: 18px 0 14px; }
  .shop-badges { gap: 6px; }
  .shop-badge { font-size: 0.8rem; padding: 4px 10px; }

  /* ─ Shop product cards ─ */
  .product-grid { gap: 10px; }

  /* ─ CTA band ─ */
  .cta-band { padding: 28px 0 32px; }
  .cta-inner { gap: 20px; }
  .cta-tel-num { font-size: 1.1rem; }
  .cta-form-wrap { padding: 16px; }

  /* ─ Services mobile: photo as bottom banner inside card ─ */
  .services-list .svc-item {
    padding: 16px;
    border-radius: 18px;
    min-height: 0;
    padding-right: 16px;
  }
  .services-list .svc-num {
    position: static;
    font-size: 1.2rem;
    color: #7ca7c7;
    margin-bottom: 6px;
  }
  .services-list .svc-body {
    padding-left: 0;
  }
  .services-list .svc-body h2 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
  .services-list .svc-img {
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 14px;
    display: block;
    box-shadow: 0 4px 16px rgba(18,55,86,0.18);
  }
  .services-list .svc-img img {
    object-position: center 30%;
    transition: transform .4s ease;
  }
  .services-list .svc-img:hover img {
    transform: scale(1.04);
  }
  .services-list .svc-img::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0) 30%,
      rgba(10,30,55,0.45) 100%
    );
    border-radius: 14px;
  }
  .services-list .svc-footer {
    margin-top: 12px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  /* ─ Service hero ─ */
  .sc-hero { height: 220px; }
  .sc-hero-overlay { padding-bottom: 18px; }
  .sc-hero-text h1 { font-size: 1.4rem; }
  .sc-body { gap: 14px; }

  /* ─ Contacts ─ */
  .contacts-page { padding: 20px 0 28px; }
  .contacts-page h1 { font-size: 1.6rem; margin-bottom: 16px; }
  .tel-number { font-size: 1.2rem; }

  /* ─ Service info page ─ */
  .svc-page-layout { grid-template-columns: 1fr; }
  .svc-page-img { height: 200px; }

  /* ─ Forms ─ */
  .request-form input,
  .request-form select,
  .request-form textarea { padding: 9px 10px; font-size: 0.96rem; }

  /* ─ Footer ─ */
  .site-footer { margin-top: 20px; }
  .footer-inner { font-size: 0.88rem; min-height: 54px; }

  /* ─ Order delivery options ─ */
  .delivery-opt { padding: 10px 12px; }
}

/* ─── Services with photos ─── */
.svc-item {
  display: grid;
  grid-template-columns: 72px 1fr 340px;
  gap: 0 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.svc-item:last-child { border-bottom: none; }
.svc-img { align-self: stretch; }
.svc-img img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 280px;
  object-fit: cover;
  border-radius: 16px;
}
@media (max-width: 900px) {
  .svc-item { grid-template-columns: 48px 1fr; }
  .svc-img { display: none; }
}

/* ─── CTA Band (main page) ─── */
.cta-band {
  background: linear-gradient(130deg, #153d5c 0%, #1f5f88 55%, #2878a6 100%);
  padding: 44px 0 48px;
  margin-top: 14px;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-family: "Russo One", sans-serif;
}
.cta-tagline { color: #b8d8ef; margin: 10px 0 0; font-size: 1.05rem; }
.cta-phones { margin-top: 22px; display: grid; gap: 12px; }
.cta-tel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 14px 16px;
  transition: background .2s;
}
.cta-tel:hover { background: rgba(255,255,255,0.18); }
.cta-tel-label { color: #8ec8e6; font-size: 0.85rem; font-weight: 500; }
.cta-tel-num { color: #fff; font-size: 1.26rem; font-weight: 700; letter-spacing: .3px; }
.cta-extra { margin-top: 14px; display: grid; gap: 6px; }
.cta-extra a, .cta-extra span { color: #9ed1ea; font-size: 0.95rem; text-decoration: none; }
.cta-extra a:hover { text-decoration: underline; }
.cta-form-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px;
}
.cta-form-wrap h3 { font-size: 1.15rem; margin-bottom: 12px; color: #173d5d; }
.cta-form-wrap .request-form { margin: 0; background: transparent; border: none; padding: 0; }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; }
}

/* ─── Shop page ─── */
.shop-top {
  background: linear-gradient(120deg, #f0f7fc 0%, #e3f0f9 100%);
  border-bottom: 1px solid var(--line);
  padding: 30px 0 24px;
}
.shop-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.shop-badge {
  background: #fff;
  border: 1px solid #cddcec;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.88rem;
  color: #314866;
}
.product {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(20,50,80,0.07);
  transition: box-shadow .2s, transform .2s;
}
.product:hover { box-shadow: 0 10px 28px rgba(20,50,80,0.14); transform: translateY(-2px); }
.product img {
  height: 240px;
  object-fit: contain;
  background: linear-gradient(160deg,#eaf4fc,#ddeaf7);
  padding: 16px;
}
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.15rem; }
.product-body p { color: var(--muted); margin: 5px 0 8px; font-size: 0.93rem; }
.product-body ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 0.93rem; }
.price-row { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { color: #be1f1f; font-size: 1.25rem; font-weight: 700; }
.order-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.order-info h2 { margin-bottom: 10px; }
.delivery-opts { display: grid; gap: 10px; margin-top: 14px; }
.delivery-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.delivery-opt-icon { font-size: 1.4rem; }
.delivery-opt-text strong { display: block; }
.delivery-opt-text small { color: var(--muted); }
@media (max-width: 760px) {
  .order-panel { grid-template-columns: 1fr; }
}

/* ─── Service center page ─── */
.sc-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.sc-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.sc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,35,57,0.78) 40%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 36px;
}
.sc-hero-text h1 { color: #fff; font-size: clamp(1.6rem,3vw,2.6rem); font-family: "Russo One",sans-serif; }
.sc-hero-text p { color: #b0d0e8; margin-top: 8px; font-size: 1.05rem; }
.sc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0 0;
}
.sc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.03rem;
}
.sc-list li::before {
  content: "✓";
  flex-shrink: 0;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 1px;
}
@media (max-width: 760px) {
  .sc-hero { height: 260px; }
  .sc-body { grid-template-columns: 1fr; }
}

/* ─── Contacts page ─── */
.contacts-page { padding: 32px 0 40px; }
.contacts-page h1 { font-size: clamp(1.7rem,3vw,2.4rem); font-family: "Russo One",sans-serif; color: #173d5d; margin-bottom: 24px; }
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.contact-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.tel-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.tel-block:last-of-type { border-bottom: none; }
.tel-label { font-size: 0.85rem; color: var(--muted); }
.tel-number { font-size: 1.5rem; font-weight: 700; color: var(--brand); letter-spacing: .4px; }
.addr-line { color: #2a3f57; margin: 8px 0; font-size: 1rem; }
.email-link { color: var(--brand); font-weight: 600; text-decoration: none; font-size: 1rem; }
.email-link:hover { text-decoration: underline; }
.req-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f4f9;
  font-size: 0.95rem;
}
.req-row:last-child { border-bottom: none; }
.req-label { color: var(--muted); }
.req-value { font-weight: 600; color: #1e3450; }
.sro-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f4f9;
  font-size: 0.93rem;
  color: #2a3f57;
}
.sro-item:last-child { border-bottom: none; }
.sro-num { display: inline-block; margin-top: 3px; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 760px) {
  .contacts-grid { grid-template-columns: 1fr; }
}

/* ─── Contacts hero ─── */
.contacts-hero {
  background: linear-gradient(130deg, #153d5c 0%, #1f5f88 55%, #2878a6 100%);
  padding: 44px 0 40px;
}
.contacts-body { padding: 28px 0 44px; }

/* contact-card icon */
.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

/* ─── Order band (shop page) ─── */
.order-band {
  background: linear-gradient(130deg, #153d5c 0%, #1f5f88 55%, #2878a6 100%);
  padding: 44px 0 52px;
  margin-top: 8px;
}
.order-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.order-band-info h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-family: "Russo One", sans-serif;
  margin: 0 0 8px;
}
.order-tagline { color: #b8d8ef; font-size: 1.05rem; margin: 0; }
.order-delivery { margin-top: 22px; display: grid; gap: 12px; }
.order-del-opt {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 14px 16px;
}
.order-del-icon {
  color: #8ec8e6;
  flex-shrink: 0;
  margin-top: 2px;
}
.order-del-opt strong {
  color: #fff;
  display: block;
  font-size: 1rem;
}
.order-del-opt span {
  color: #8ec8e6;
  font-size: 0.88rem;
  display: block;
  margin-top: 3px;
}
.order-phone {
  display: inline-block;
  margin-top: 20px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.order-phone:hover { text-decoration: underline; }
.order-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.order-form-card h3 {
  font-size: 1.15rem;
  margin: 0 0 14px;
  color: #173d5d;
  font-family: "Russo One", sans-serif;
}
.btn-order-submit {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.btn-order-submit:hover { background: #1fba58; }
@media (max-width: 860px) {
  .order-band-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .order-band { padding: 28px 0 36px; }
}

/* ═══════════════════════════════════════════
   Product detail page
═══════════════════════════════════════════ */
.pd-breadcrumb {
  background: #f0f7fc;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.pd-breadcrumb a { color: var(--brand); text-decoration: none; }
.pd-breadcrumb a:hover { text-decoration: underline; }
.pd-breadcrumb span { margin: 0 6px; }

/* Hero card: gallery + info in one white block */
.pd-hero-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18,55,86,0.09);
  margin-bottom: 18px;
}

/* Gallery */
.pd-gallery {
  background: linear-gradient(150deg, #eaf4fc, #ddeaf7);
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.pd-gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  flex: 1;
}
.pd-gallery-main img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
  transition: transform .3s;
}
.pd-gallery-main img:hover { transform: scale(1.04); }
.pd-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 78px;
  height: 78px;
  border: 2px solid #d6e3f0;
  border-radius: 12px;
  background: #f4f9fd;
  overflow: hidden;
  cursor: pointer;
  padding: 6px;
  transition: border-color .2s;
}
.pd-thumb:hover, .pd-thumb.active { border-color: var(--brand); }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Info panel */
.pd-info {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.pd-brand {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 6px;
  padding: 3px 10px;
  margin: 0 0 12px;
}
.pd-title {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: #173d5d;
  margin: 0 0 20px;
  line-height: 1.3;
}
.pd-price-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.pd-price {
  font-size: 2rem;
  font-weight: 700;
  color: #173d5d;
  font-family: "Russo One", sans-serif;
}
.pd-currency { font-size: 1.2rem; font-weight: 400; color: var(--muted); }
.pd-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s, transform .15s;
}
.pd-order-btn:hover { background: #174f73; transform: translateY(-1px); }

/* Key specs mini-table */
.pd-key-specs {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}
.pd-ks-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid #eef3f9;
  font-size: 0.94rem;
}
.pd-ks-row:last-child { border-bottom: none; }
.pd-ks-row span { color: var(--muted); }
.pd-ks-row strong { color: #1e3450; text-align: right; }

.pd-phone {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 4px;
}
.pd-phone:hover { text-decoration: underline; }

/* Tabs */
.pd-tabs-block {
  margin: 0 auto 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(18,55,86,0.06);
}
.pd-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line);
  padding: 0 28px;
  background: #f8fbff;
}
.pd-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 16px 20px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
  font-family: "Rubik", sans-serif;
}
.pd-tab:hover { color: var(--brand); }
.pd-tab.active { color: var(--brand); border-bottom-color: var(--brand); }

.pd-tab-content {
  padding: 16px 28px 28px;
}
.pd-tab-content.hidden { display: none; }

/* Specs full table */
.pd-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.pd-specs-table tr:nth-child(even) { background: #f7fbff; }
.pd-specs-table tr { border-bottom: 1px solid #eef3f9; }
.pd-specs-table tr:last-child { border-bottom: none; }
.pd-specs-table th {
  text-align: left;
  font-weight: 400;
  color: var(--muted);
  padding: 14px 16px 14px 12px;
  width: 60%;
  font-size: 0.94rem;
}
.pd-specs-table td {
  font-weight: 700;
  color: #1e3450;
  padding: 14px 12px 14px 0;
  font-size: 0.94rem;
  text-align: right;
}

/* Order form inside tab */
.pd-order-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.pd-order-left h3 {
  font-size: 1.3rem;
  color: #173d5d;
  font-family: "Russo One", sans-serif;
  margin: 0 0 8px;
}
.pd-order-left p { color: var(--muted); margin: 0 0 20px; }
.pd-order-delivery { display: grid; gap: 10px; }
.pd-del-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand);
}
.pd-del-item div strong { display: block; color: #1e3450; font-size: 0.95rem; }
.pd-del-item div span { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.pd-form { background: #f8fbff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 0; }

/* Back link */
.pd-back {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  padding-top: 8px;
}
.pd-back:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .pd-hero-card { grid-template-columns: 1fr; }
  .pd-gallery { border-right: none; border-bottom: 1px solid var(--line); }
  .pd-gallery-main { min-height: 220px; }
  .pd-info { padding: 20px; }
  .pd-order-form-wrap { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .pd-price { font-size: 1.6rem; }
  .pd-price-row { flex-wrap: wrap; }
  .pd-specs-table th { width: 55%; font-size: 0.88rem; padding-right: 8px; }
  .pd-tabs-block { border-radius: 14px; }
  .pd-tabs { padding: 0 14px; }
  .pd-tab-content { padding: 12px 14px 20px; }
  .pd-tab { padding: 10px 14px; font-size: 0.9rem; }
}
