/* СБ Модуль — посты охраны (light access studio) */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --ink: #0f2744;
  --muted: #5b6b7c;
  --bg: #f3f6f9;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-2: #0d9488;
  --warm: #c2410c;
  --line: rgba(15, 39, 68, 0.1);
  --shadow: 0 20px 48px rgba(15, 39, 68, 0.1);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 76px;
  --wrap: 1160px;
  --wrap-pad: clamp(1.1rem, 4vw, 1.5rem);
  --space-section: clamp(1.6rem, 3.2vw, 2.4rem);
  --gap: clamp(0.75rem, 1.5vw, 1rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(700px 340px at 0% -10%, rgba(13, 148, 136, 0.1), transparent 55%),
    linear-gradient(180deg, #f8f8f6 0%, var(--bg) 40%, #e8eef3 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(var(--wrap), calc(100% - var(--wrap-pad) * 2));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section { padding: var(--space-section) 0; }

.section-intro {
  max-width: 640px;
  margin-bottom: clamp(0.9rem, 2vw, 1.25rem);
}

.section-intro h2,
.delivery-panel h2,
.cta-band h2,
.contact-card h2,
.seo-split h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.75rem;
}

.section-intro p,
.delivery-panel > p,
.cta-band p,
.contact-lead { margin: 0; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-2); }

.btn-line {
  background: transparent;
  border-color: rgba(15, 39, 68, 0.22);
  color: var(--ink);
}
.btn-line:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Header — light */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  background: rgba(248, 248, 246, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(15, 39, 68, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { height: 42px; width: auto; }

.nav {
  display: flex;
  gap: 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.phone {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span { width: 18px; height: 2px; background: var(--ink); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 39;
  background: #fff;
  padding: 1rem 1.2rem 1.4rem;
  flex-direction: column;
  gap: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { color: var(--ink); font-weight: 600; }

/* Hero — light split */
.hero {
  padding: calc(var(--header-h) + 0.85rem) 0 1rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.25rem;
  align-items: center;
  min-height: 0;
}

.hero-copy { max-width: 34rem; animation: riseIn 0.8s var(--ease) both; }

.hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
}

.hero h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  color: var(--accent);
}

.hero h3 {
  margin: 0 0 1.4rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.hero-facts li {
  padding: 0.45rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  animation: riseIn 0.9s 0.1s var(--ease) both;
}
.hero-visual > img:first-child {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

/* Catalog mosaic */
.catalog-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--gap);
  align-items: stretch;
}

.product-feature {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100%;
}

.product-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.product {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 round 16px);
  box-shadow: 0 1px 0 rgba(15, 39, 68, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.product:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow: 0 16px 36px rgba(15, 39, 68, 0.1);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 20%, #f4f7f9 0%, #d7e0e7 100%);
}
.product-feature .product-media {
  aspect-ratio: 5 / 4;
  min-height: 300px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.75s var(--ease);
  will-change: transform;
  backface-visibility: hidden;
}
.product:hover .product-media img { transform: scale(1.08); }

.product-body {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 0.95rem 1rem 1.05rem;
}
.product-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 0.65rem;
  min-height: 2.5rem;
}
.product-top h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.product-feature .product-top h3 { font-size: 1.28rem; }
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(15, 118, 110, 0.1);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  line-height: 1;
  margin-top: 0.12rem;
}
.product-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}
.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}
.product-foot strong { color: var(--warm); font-variant-numeric: tabular-nums; }
.product-foot span { font-weight: 700; color: var(--accent); }

/* Process */
.section-process {
  background: #fff;
  border-block: 1px solid var(--line);
}
.steps-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.steps-board li {
  padding: 1.3rem 1.1rem;
  background: var(--bg);
  border-radius: 18px;
  border: 1px solid var(--line);
}
.steps-board b {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.steps-board h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.steps-board p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Delivery split */
.delivery { padding: var(--space-section) 0; }
.delivery-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: center;
}
.delivery-photo {
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
}
.delivery-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.delivery-panel {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.check-list {
  display: grid;
  gap: 0.45rem;
  margin: 1.1rem 0 1.35rem;
}
.check-list li {
  font-weight: 600;
  padding-left: 1.1rem;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}
.adv-grid article {
  padding: 1.2rem 1rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.adv-grid span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.55rem;
}
.adv-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.adv-grid p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* CTA */
.section-cta { padding-top: 0; }
.cta-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.3rem);
  border-radius: 24px;
  background:
    radial-gradient(420px 200px at 0% 0%, rgba(13, 148, 136, 0.25), transparent 55%),
    linear-gradient(145deg, #0f2744, #12324f);
  color: #fff;
}
.cta-band .eyebrow { color: #5eead4; }
.cta-band p { color: rgba(255, 255, 255, 0.75); }
.cta-form {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
}
.cta-form input[type="text"],
.cta-form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f8f9;
}
.cta-form input:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.cta-form .check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--muted);
}
.cta-form .check input {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  accent-color: var(--accent);
}
.cta-form .check a { color: var(--accent); text-decoration: underline; }
.cta-form .btn { width: 100%; border-radius: 12px; }

/* FAQ */
.section-faq { background: #fff; border-block: 1px solid var(--line); }
.faq-list { display: grid; gap: 0.65rem; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.15rem 1rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 0.95rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0 0 1rem; color: var(--muted); }

/* SEO */
.seo-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.15rem;
  align-items: center;
  margin-bottom: 1rem;
}
.seo-split p { color: var(--muted); margin: 0 0 0.9rem; }
.seo-shot {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 280px;
  background: transparent;
}
.seo-shot img {
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 32px rgba(15, 39, 68, 0.16));
}
.seo-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.seo-cols article {
  padding: 1.2rem 1.1rem;
  background: #fff;
  border-radius: 16px;
  border-top: 3px solid var(--accent);
  border: 1px solid var(--line);
  border-top-width: 3px;
  border-top-color: var(--accent);
}
.seo-cols h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.seo-cols p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Contacts */
.contact-stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  min-height: 380px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid var(--line);
}
.contact-visual { position: relative; min-height: 100%; }
.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.contact-card {
  display: grid;
  gap: 0.9rem;
  align-content: center;
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  background: #fff;
}
.contact-phone {
  display: inline-block;
  width: fit-content;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.15rem;
}
.contact-phone:hover { color: var(--accent); }
.contact-mail {
  width: fit-content;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid rgba(15, 118, 110, 0.3);
}
.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.contact-meta span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.28rem;
}
.contact-meta p { margin: 0; font-size: 0.94rem; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Footer */
.site-footer {
  background: #0f2744;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.4rem 0 1.3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}
.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 0.7rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-grid h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.72);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(15, 39, 68, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-dialog {
  position: relative;
  width: min(420px, calc(100% - 2rem));
  background: #fff;
  padding: 1.5rem 1.35rem 1.4rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--muted);
}
.modal-dialog h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
}
.modal-contacts { display: grid; gap: 0.65rem; }
.modal-contacts a { font-weight: 700; color: var(--accent); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .phone { display: none; }

  .hero-split,
  .catalog-mosaic,
  .steps-board,
  .delivery-split,
  .adv-grid,
  .cta-band,
  .seo-split,
  .seo-cols,
  .contact-stage,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-mosaic { grid-template-columns: 1fr; }
  .product-rail { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header-actions .btn-accent { display: none; }

  .hero-split,
  .catalog-mosaic,
  .product-rail,
  .steps-board,
  .delivery-split,
  .adv-grid,
  .cta-band,
  .seo-split,
  .seo-cols,
  .contact-stage,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-split { min-height: 0; gap: 1.2rem; }
  .hero-visual,
  .hero-visual > img:first-child { min-height: 300px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.6rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .contact-meta { grid-template-columns: 1fr; }
  .contact-visual img { min-height: 240px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .delivery-photo,
  .delivery-photo img { min-height: 260px; }
}
