/* VOROTA.CSS — стили только контента страницы full-vorota.html.
   Шапка, меню, кнопки, форма и footer берутся из proflist.css. */

.v-page{
  background:#f6f8fa;
  color:var(--text,#132235);
}

.v-label{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-bottom:14px;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(245,173,79,.16);
  color:var(--gold2,#f5ad4f);
  font-size:11px;
  font-weight:900;
  line-height:1;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.v-label--light{
  background:#fff3df;
  color:#9b5f1f;
}

.v-section-head{
  max-width:820px;
  margin:0 0 34px;
}

.v-section-head--center{
  max-width:850px;
  margin:0 auto 38px;
  text-align:center;
}

.v-section-head h2{
  margin:0 0 16px;
  color:var(--text,#132235);
  font-size:clamp(32px,4vw,48px);
  line-height:1.08;
  letter-spacing:-.035em;
}

.section-dark .v-section-head h2,
.section-dark h2{
  color:#fff;
}

.v-section-head p{
  max-width:720px;
  margin:0 auto;
  color:var(--muted,#657382);
  font-size:17px;
  line-height:1.65;
}

.section-dark .v-section-head p,
.section-dark p{
  color:rgba(255,255,255,.78);
}

/* hero */

.v-hero{
  position:relative;
  min-height:640px;
  overflow:hidden;
  background:#071523;
  color:#fff;
}

.v-hero__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(7,21,35,.96),rgba(7,21,35,.78) 46%,rgba(7,21,35,.42)),
    url("../img/3cb3bee5cec83bf8553d9a96eca9a2a2.jpg") center right/cover no-repeat;
}

.v-hero__grid{
  position:relative;
  z-index:2;
  min-height:640px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:48px;
  align-items:center;
  padding-top:70px;
  padding-bottom:70px;
}

.v-hero h1{
  max-width:850px;
  margin:0 0 22px;
  color:#fff;
  font-size:clamp(42px,5vw,68px);
  line-height:1.02;
  letter-spacing:-.05em;
}

.v-hero p{
  max-width:720px;
  margin:0 0 30px;
  color:rgba(255,255,255,.9);
  font-size:19px;
  line-height:1.6;
}

.v-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.v-hero__panel{
  display:grid;
  gap:14px;
  padding:24px;
  border-radius:26px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 24px 70px rgba(0,0,0,.22);
  backdrop-filter:blur(12px);
}

.v-hero__panel div{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:14px;
  align-items:center;
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
}

.v-hero__panel b{
  color:var(--gold2,#f5ad4f);
  font-size:26px;
  line-height:1;
}

.v-hero__panel span{
  color:#fff;
  font-weight:800;
  line-height:1.35;
}

/* type cards */

.v-types{
  background:#fff;
}

.v-types__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.v-type-card{
  overflow:hidden;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line,#e7ebef);
  box-shadow:0 18px 48px rgba(7,21,35,.08);
}

.v-type-card img{
  display:block;
  width:100%;
  height:250px;
  object-fit:cover;
}

.v-type-card div{
  padding:24px;
}

.v-type-card span{
  display:inline-flex;
  margin-bottom:12px;
  padding:7px 11px;
  border-radius:999px;
  background:#fff3df;
  color:#9b5f1f;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
}

.v-type-card h3{
  margin:0 0 12px;
  color:var(--text,#132235);
  font-size:27px;
  line-height:1.12;
}

.v-type-card p{
  color:var(--muted,#657382);
}

.v-type-card ul{
  margin:0;
  padding:0;
  list-style:none;
}

.v-type-card li{
  position:relative;
  margin:8px 0;
  padding-left:22px;
  color:var(--muted,#657382);
  font-weight:800;
}

.v-type-card li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:#9b5f1f;
}

/* style */

.v-style__grid{
  display:grid;
  grid-template-columns:390px 1fr;
  gap:42px;
  align-items:start;
}

.v-style__cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.v-style__cards article{
  padding:24px;
  border-radius:22px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
}

.v-style__cards b,
.v-style__cards span{
  display:block;
}

.v-style__cards b{
  margin-bottom:8px;
  color:#fff;
  font-size:24px;
}

.v-style__cards span{
  color:rgba(255,255,255,.72);
  font-weight:700;
}

/* benefits */

.v-benefits{
  background:#fff;
}

.v-benefits__grid,
.v-process__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.v-benefits__grid article,
.v-process__grid article{
  padding:24px;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line,#e7ebef);
  box-shadow:0 14px 34px rgba(7,21,35,.08);
}

.v-benefits__grid b,
.v-process__grid b{
  display:inline-flex;
  width:46px;
  height:46px;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  border-radius:14px;
  background:#fff3df;
  color:#9b5f1f;
  font-weight:900;
}

.v-benefits__grid h3,
.v-process__grid h3{
  margin:0 0 10px;
  color:var(--text,#132235);
  font-size:21px;
}

.v-benefits__grid p,
.v-process__grid p{
  margin:0;
  color:var(--muted,#657382);
}

/* auto */

.v-auto__grid,
.v-construction__grid,
.v-calc__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:center;
}

.v-auto__photo,
.v-construction__image{
  overflow:hidden;
  border-radius:26px;
  background:#071523;
  box-shadow:0 24px 60px rgba(0,0,0,.22);
}

.v-auto__photo img,
.v-construction__image img{
  display:block;
  width:100%;
  height:440px;
  object-fit:cover;
}

.v-auto__brands{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.v-auto__brands span{
  padding:11px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-weight:800;
}

/* construction */

.v-construction{
  background:#fff;
}

.v-construction__image{
  background:#fff;
  border:1px solid var(--line,#e7ebef);
  box-shadow:0 18px 48px rgba(7,21,35,.08);
}

.v-construction__image img{
  height:auto;
  padding:24px;
  object-fit:contain;
}

.v-construction__list{
  margin:22px 0 0;
  padding-left:20px;
}

.v-construction__list li{
  margin:10px 0;
  color:var(--muted,#657382);
  font-weight:800;
}

/* process */

.v-process{
  background:#f6f8fa;
}

.v-process__grid{
  grid-template-columns:repeat(6,1fr);
}

.v-process__grid article{
  padding:20px;
}

/* gallery */

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

.v-gallery__item{
  position:relative;
  display:block;
  height:220px;
  overflow:hidden;
  border-radius:22px;
  background:#071523;
  box-shadow:0 18px 48px rgba(0,0,0,.16);
}

.v-gallery__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}

.v-gallery__item:hover img{
  transform:scale(1.055);
}

.v-gallery__item:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(7,21,35,.74),transparent 60%);
}

.v-gallery__item span{
  position:absolute;
  z-index:2;
  left:16px;
  right:16px;
  bottom:16px;
  color:#fff;
  font-weight:900;
}

/* price */

.v-price{
  background:#fff;
}

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

.v-price__grid article{
  padding:28px;
  border-radius:24px;
  background:#f7f9fb;
  border:1px solid var(--line,#e7ebef);
}

.v-price__grid span{
  display:inline-flex;
  margin-bottom:12px;
  color:#9b5f1f;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.v-price__grid h3{
  margin:0 0 12px;
  color:var(--text,#132235);
  font-size:26px;
}

.v-price__grid p{
  color:var(--muted,#657382);
}

/* calc */

.v-calc p{
  color:rgba(255,255,255,.78);
}

/* animation */

.v-reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s ease, transform .6s ease;
}

.v-reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* adaptive */

@media(max-width:1100px){
  .v-hero__grid,
  .v-style__grid,
  .v-auto__grid,
  .v-construction__grid,
  .v-calc__grid{
    grid-template-columns:1fr;
  }

  .v-types__grid{
    grid-template-columns:1fr;
  }

  .v-benefits__grid,
  .v-gallery__grid{
    grid-template-columns:repeat(2,1fr);
  }

  .v-process__grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:760px){
  .v-hero,
  .v-hero__grid{
    min-height:auto;
  }

  .v-hero__grid{
    padding-top:54px;
    padding-bottom:54px;
  }

  .v-hero h1{
    font-size:38px;
  }

  .v-hero p{
    font-size:16px;
  }

  .v-hero__panel div{
    grid-template-columns:42px 1fr;
  }

  .v-style__cards,
  .v-benefits__grid,
  .v-process__grid,
  .v-gallery__grid,
  .v-price__grid{
    grid-template-columns:1fr;
  }

  .v-auto__photo img{
    height:320px;
  }

  .v-gallery__item{
    height:240px;
  }
}

/* ===== VOROTA FINAL FIX: просмотр фото и адаптив ===== */
.v-gallery__grid{align-items:stretch}
.v-gallery__item{cursor:zoom-in;aspect-ratio:4/3;height:auto;min-height:210px}
.v-gallery__item img{display:block;width:100%;height:100%;object-fit:cover}
.v-photo-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:34px 82px;background:rgba(0,0,0,.92)}
.v-photo-modal.is-active{display:flex}
.v-photo-modal__frame{margin:0;max-width:92vw;max-height:90vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.v-photo-modal img{display:block;width:auto!important;height:auto!important;max-width:88vw!important;max-height:82vh!important;object-fit:contain!important;border-radius:14px;background:#111;box-shadow:0 24px 80px rgba(0,0,0,.55)}
.v-photo-modal figcaption{max-width:88vw;color:rgba(255,255,255,.86);font-size:15px;font-weight:800;line-height:1.4;text-align:center}
.v-photo-modal__close,.v-photo-modal__nav{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;border:0;cursor:pointer;color:#071523;background:#fff;box-shadow:0 12px 34px rgba(0,0,0,.25);transition:background .2s ease}
.v-photo-modal__close{top:22px;right:28px;width:48px;height:48px;border-radius:50%;font-size:32px;line-height:1}
.v-photo-modal__nav{top:50%;width:54px;height:54px;border-radius:50%;transform:translateY(-50%);font-size:44px;line-height:1}
.v-photo-modal__nav--prev{left:24px}.v-photo-modal__nav--next{right:24px}
.v-photo-modal__close:hover,.v-photo-modal__nav:hover{background:var(--gold2,#f5ad4f)}
body.v-modal-open{overflow:hidden}
@media(min-width:1200px){.v-gallery__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){
.v-hero__grid,.v-style__grid,.v-auto__grid,.v-construction__grid,.v-calc__grid{grid-template-columns:1fr!important}
.v-types__grid{grid-template-columns:1fr!important}
.v-benefits__grid,.v-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.v-process__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.v-photo-modal{padding:28px 64px}.v-photo-modal img{max-width:86vw!important;max-height:80vh!important}
}
@media(max-width:760px){
.v-page{overflow-x:hidden}.v-hero,.v-hero__grid{min-height:auto!important}
.v-hero__grid{padding-top:48px!important;padding-bottom:48px!important}
.v-hero h1{font-size:36px!important;line-height:1.05!important}.v-hero p{font-size:16px!important}
.v-hero__panel{padding:16px;border-radius:22px}.v-hero__panel div{grid-template-columns:42px 1fr!important;padding:14px}
.v-style__cards,.v-benefits__grid,.v-process__grid,.v-gallery__grid,.v-price__grid{grid-template-columns:1fr!important}
.v-type-card img{height:220px}.v-auto__photo img{height:280px!important}.v-gallery__item{min-height:230px}
.v-photo-modal{padding:18px 14px 76px}.v-photo-modal img{max-width:94vw!important;max-height:76vh!important;border-radius:10px}
.v-photo-modal figcaption{max-width:94vw;font-size:13px}
.v-photo-modal__close{top:12px;right:12px;width:42px;height:42px;font-size:28px}
.v-photo-modal__nav{top:auto;bottom:14px;transform:none;width:46px;height:46px;font-size:36px}
.v-photo-modal__nav--prev{left:calc(50% - 58px)}.v-photo-modal__nav--next{right:calc(50% - 58px)}
}
@media(max-width:420px){.v-hero h1{font-size:32px!important}.v-section-head h2,.v-price h2,.v-calc h2{font-size:30px!important}.v-gallery__item{min-height:210px}}
