/* ===== INDEX PAGE ===== */
body:not(.page-security) {
  background: var(--green);
}


:root {
  --bg: #ffffff;
  --text: #0e1f1a;
  --muted: #5c6b67;

  /*--green:#0a5a3e;      /* основной зеленый как на примере */  
  /* #ffdacc */
  --green: #ffdacc;
  --green2: #064330;
  /* более тёмный */
  --yellow: #282b2b;
  /* акцент */
  --yellow2: #ffcf0d;

  --card: #ffffff;
  --line: rgba(13, 34, 27, .10);
  --shadow: 0 14px 40px rgba(0, 0, 0, .12);
  --radius: 18px;
  --container: 1180px;
}


* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #b48c7d;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.header__row {
  display: flex;

  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  height: 90px;
}

.brand__logo {
  height: 210px;
  width: auto;
  box-sizing: border-box;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.top-contacts__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  opacity: .95;
}

.top-contacts__item:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px
}

.ico {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .18))
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.nav a {
  padding: 10px 12px;
  border-radius: 12px;
  opacity: .95;
}

.nav a:hover {
  background: rgba(255, 255, 255, .10);
  opacity: 1
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.burger span::before {
  top: -6px
}

.burger span::after {
  top: 6px
}

.mobile {
  display: none
}

.mobile__panel {
  padding: 12px 0 18px;
  display: grid;
  gap: 10px;
}

.mobile__panel a {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 14px 12px;
  font-weight: 900;
  color: #fff;
}

.mobile__panel a:hover {
  background: rgba(255, 255, 255, .12)
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 950;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02)
}

.btn--yellow {
  background: linear-gradient(180deg, var(--yellow), var(--yellow2));
  color: #1f1a07;
  box-shadow: 0 14px 30px rgba(243, 194, 0, 0.4);
}

.btn--ghost {
  background: rgba(250, 214, 11, 0.651);
  color: #fff;
  border: 1px solid #ffcf0dc5(255, 255, 255, .18);
}

.btn--small {
  padding: 10px 14px;
  font-weight: 900
}

.btn--xl {
  padding: 14px 22px;
  min-width: 260px
}

.btn--wide {
  width: 100%;
  padding: 14px 18px
}

/* Hero */
.hero {
  position: relative;
  height: 633px;
  background: var(--green);
  color: rgb(255, 255, 255);
  overflow: hidden;
}

.hero__stripe {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -40px;
  height: 210px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  transform: rotate(-6deg);
  border-top: 14px solid #fff;
  border-bottom: 0;
  opacity: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: center;
  padding: 34px 0 56px;
}

.hero__text h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -.8px;
}

.hero__lead {
  margin: 0 0 18px;
  max-width: 560px;
  font-weight: 650;
  opacity: .92;
  font-size: 16px;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 360px;
}

/* .hero__girl{
  width:min(420px, 100%);
  height:auto;
  border-radius: 26px;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
} */



/* Левая колонка */
.mini-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
}

/* Галерея в ряд */
.mini-gallery {
  display: flex;
  gap: 12px;
}

/* Логотипы */
.mini-gallery img {
  width: 75px;
  height: 75px;
  object-fit: contain;   /* лучше для логотипов */
  border-radius: 12px;
}

.mini-title {
  margin-top: 0;   /* убрать стандартный отступ h3 */
}

.hero__girl {

  border: none !important;
  box-shadow: none !important;
  outline: none !important;

}

.hero__bubbles {
  position: absolute;
  left: 0;
  bottom: 12px;
  display: block;
}

.bubble {
  position: absolute;
  border-radius: 999px;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .96);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .25);
  background: #fff;
}

.bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.bubble--sm {
  width: 120px;
  height: 120px;
  left: 20px;
  bottom: 150px
}

.bubble--sm2 {
  width: 120px;
  height: 120px;
  left: 170px;
  bottom: 140px
}

.bubble--lg {
  width: 170px;
  height: 170px;
  left: 90px;
  bottom: 0
}

/* Sections */
.section {
  padding: 46px 0;

}

.section__title {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.3px;
}



.section__title--left {
  text-align: left;
}

.section--white {

  background: #fff
}

.section--green {
  background: var(--green);
  color: #fff
}

/* Benefits */
.benefits {
  
  /* display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; */

    display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.benefit {
  /* background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .10); */

    background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
  text-align: center;
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -.2px
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-weight: 650
}

/* Services section layout */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;

  position: relative;
}

.services__left .section__title {
  margin-bottom: 14px
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 750;
  opacity: .95;
}

.tick {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(243, 196, 0, .18);
  border: 1px solid rgba(243, 196, 0, .35);
  color: #fff;
  flex: 0 0 auto;
  margin-top: 1px;
}

.services__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-shot {
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  /* было .08 */
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
}

.service-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.service-shot--tall {
  border-radius: 140px;
  height: 300px
}

.service-shot--circle {
  border-radius: 999px;
  height: 210px
}

.service-shot--wide {
  position: static;
  /* или просто удалить */
  grid-column: 1 / -1;
  /* на всю ширину */
  height: 300px;
  border-radius: 90px;

  box-shadow: none;
  border: none;
  background: none;
}

/* FAQ */

.faq__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: flex-start
}

.faq__photo {
  border-radius: 26px;

  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 420px;
}

.faq__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}


/* Footer */
.footer {
  /* background: #b176761f; */
    background: #b48c7d;
  color: #fff;
  padding: 34px 0 0;
  
}
.benefit h3 {
  text-align: center;
}

.footer__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;   /* ← вот так */
} 

.footer__brand img {
  height: 54px;
  width: auto
}

.footer__contacts {
  justify-self: end;
  text-align: left;
  max-width: 520px;
  
}

.footer__title {
  font-weight: 950;
  margin-bottom: 10px
}

.footer__line {
  margin: 8px 0;
  font-weight: 700;
  opacity: .95
}

.footer__line a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px
}

.footer__bottom {
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .12);
}

.footer__bottom-row {
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  opacity: .95;
  font-weight: 650;
}

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

.footer__links a {
  color: #fff;
  opacity: .9
}

.footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000
}

.modal.show {
  display: block
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .56)
}

.modal__dialog {
  position: relative;
  max-width: 560px;
  width: calc(100% - 36px);
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: #fff;
  cursor: pointer;
}

.modal__title {
  margin: 6px 0 6px;
  font-size: 18px;
  letter-spacing: -.2px
}

.modal__note {
  margin: 0 0 14px;
  color: #c62828;
  font-weight: 800;
  font-size: 12px
}

.modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px
}

.calc {
  display: grid;
  gap: 12px
}

.field label {
  display: block;
  font-weight: 900;
  margin-bottom: 6px
}

.field input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fbfbfb;
  font: inherit;
  outline: none;
}

.field input:focus {
  border-color: rgba(10, 90, 62, .45);
  box-shadow: 0 0 0 4px rgba(10, 90, 62, .10)
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.hint {
  font-size: 12px;
  color: #6b6b6b;
  font-weight: 650;
  text-align: center;
  margin-top: 8px
}

.error {
  color: #c62828;
  font-weight: 800;
  font-size: 12px;
  margin-top: 6px
}

/* Picker buttons */
.picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pick {
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  border-radius: 14px;
  padding: 12px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.pick__ico {
  font-size: 26px
}

.pick.is-active {
  border-color: rgba(243, 196, 0, .95);
  box-shadow: 0 0 0 4px rgba(243, 196, 0, .22);
}

.pick:focus {
  outline: none
}

@media (max-width: 980px) {
  .top-contacts {
    display: none
  }

  .nav {
    display: none
  }

  .burger {
    display: block
  }

  .mobile.show {
    display: block
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding-bottom: 44px
  }

  .hero__visual {
    justify-content: center
  }

  .hero__bubbles {
    display: none
  }

  .benefits {
    grid-template-columns: 1fr 1fr
  }

  .services__grid {
    grid-template-columns: 1fr
  }

  .services__right {
    grid-template-columns: 1fr 1fr
  }

  .faq__grid {
    grid-template-columns: 1fr
  }

  .footer__row {
    grid-template-columns: 1fr
  }

  .footer__contacts {
    justify-self: start
  }

  .picker {
    grid-template-columns: 1fr 1fr
  }

  .modal__actions {
    grid-template-columns: 1fr
  }

  .grid2 {
    grid-template-columns: 1fr
  }
}

@media (max-width: 560px) {
  .benefits {
    grid-template-columns: 1fr
  }

  .services__right {
    grid-template-columns: 1fr
  }

  .service-shot--wide {
    grid-column: auto
  }

  .btn--xl {
    min-width: unset;
    width: 100%
  }
}

@media (min-width: 980px) {
  .faq__photo {
    /* position: sticky; */
    top: 110px;
  }
}

/* ===== NAV DROPDOWN (CLICK / PREMIUM FINAL) ===== */

.nav__item {
  position: relative;
}

.nav__link {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 10px 12px;
  border-radius: 12px;
}

.nav__link:hover {
  background: rgba(255, 255, 255, .10);
}

.nav__arrow {
  font-size: 12px;
  transition: transform .25s ease;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;

  min-width: 260px;
  padding: 10px 8px;

  background: #b48c7d;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;

  z-index: 1000;
}

.nav__item.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__item.is-open .nav__arrow {
  transform: rotate(180deg);
}

.nav__dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
}

.nav__dropdown a:hover {
  background: rgba(255, 255, 255, .15);
}

/* Единый hover-эффект для навигации и контактов */
.nav a,
.top-contacts__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  opacity: .95;

  padding: 10px 12px;
  border-radius: 12px;
  transition: background .2s ease, opacity .2s ease;
}

.top-contacts__item:hover {
  opacity: 1;
  background: rgba(255, 255, 255, .10);
  text-decoration: none;
  /* ← главное */
}




/* ===== SECURITY PAGE ===== */

.page-security {
  background: var();
  color: #fff;
}




/* ===== One-page helpers ===== */
:target{
  scroll-margin-top: 110px;
}
.page-section{
  border-top: 1px solid rgba(13, 34, 27, .10);
}
.page-section:first-of-type{
  border-top: none;
}
