/* ============================================================
   single-project.css — individual PROJECT single (single-project.php).
   Loaded alongside design-project.css (hero .dph + rooms .dproom + .dpcta)
   and design-interior.css (design gallery .di-*). This file adds ONLY the
   renovation-branch «Получите бесплатную консультацию» lead-form CTA (.rcta)
   plus small single-page rhythm fixes. Tokens/header/footer come from style.css.
   ============================================================ */

/* others-gallery wrapper: pass-through (the inner block already has margin-top:120). */
.dp-others{width:100%}

/* ============================================================
   RENOVATION CTA — «Получите бесплатную консультацию» (Figma 698:1808)
   Full-width navy band: heading + lead-form on the left, photo on the right.
   Mirrors the home .ctaview form band, with a person photo like Figma.
   ============================================================ */
.rcta{
  width:100%;
  margin-top:140px;
  position:relative;
  background:
    radial-gradient(70% 120% at 0% 100%, rgba(27,69,94,.68), rgba(1,46,74,0) 55%),
    radial-gradient(75% 120% at 0% 0%, rgba(27,69,94,.52), rgba(1,46,74,0) 55%),
    radial-gradient(80% 120% at 100% 0%, rgba(27,69,94,.35), rgba(1,46,74,0) 55%),
    var(--navy);
  overflow:hidden;
}
.rcta__inner{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:60px;
  padding:138px 0;
}
.rcta__content{
  width:1072px;
  flex:none;
  display:flex;
  flex-direction:column;
  gap:66px;
}

/* ---- heading ---- */
.rcta__head{position:relative}
.rcta__accent{
  position:absolute;
  left:404px;
  top:63px;
  width:359px;
  height:6px;
  background:rgba(11,102,195,.5);
  z-index:0;
}
.rcta__headtext{position:relative;z-index:1;display:flex;flex-direction:column;gap:24px}
.rcta__titles{display:flex;flex-direction:column;gap:6px}
.rcta__title{margin:0;font-weight:700;font-size:59px;line-height:70.2px;color:#fff}
.rcta__subtitle{margin:0;font-weight:400;font-size:38px;line-height:44px;color:#fff}
.rcta__lead{margin:0;max-width:793px;font-weight:400;font-size:20px;line-height:29.5px;color:#fff}

/* ---- form ---- */
.rcta__form{display:flex;flex-direction:column;gap:32px}
.rcta__row{display:flex;align-items:flex-end;gap:20px}
.rcta__field{display:flex;flex-direction:column;width:344px}
.rcta__label{margin-bottom:8px;font-weight:700;font-size:20px;line-height:29.5px;color:#fff;opacity:.83}
.rcta__input{
  width:100%;
  height:75px;
  padding:0 23px;
  background:#1B455E;
  border:0;
  border-radius:12px;
  color:#fff;
  font-family:"Circe","Arial",sans-serif;
  font-weight:400;
  font-size:20px;
  line-height:29.5px;
}
.rcta__input::placeholder{color:rgba(255,255,255,.42);opacity:1}
.rcta__input:focus{outline:none}
.rcta__btnwrap{width:344px}
.rcta__btn{
  width:100%;
  height:75px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:0;
  border-radius:12px;
  color:#012E4A;
  cursor:pointer;
  font-family:"Arial",sans-serif;
  font-weight:700;
  font-size:22px;
  line-height:25.3px;
}
.rcta__btn:hover{background:#eef4fb}

/* ---- consent ---- */
.rcta__consent{display:flex;align-items:center;gap:12px;opacity:.66;cursor:pointer}
.rcta__check{flex:none;width:23px;height:23px;border:1px solid #fff;border-radius:3.4px;
  display:flex;align-items:center;justify-content:center}
.rcta__form .skf-consent:checked + .rcta__check{background:var(--accent);border-color:var(--accent)}
.rcta__consent-text{font-weight:400;font-size:15.1px;line-height:21.2px;color:#fff}
.rcta__consent-text a{color:#fff;text-decoration:underline}
.rcta__msg{margin:0;font-size:16px;line-height:22px;color:#fff}

/* ---- photo (Figma сергей, right) ---- */
.rcta__photo{
  flex:none;
  align-self:flex-end;
  width:478px;
  height:520px;
  margin-bottom:-138px;   /* let the figure bleed to the band's bottom edge */
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.rcta__photo img{max-width:100%;max-height:100%;object-fit:contain;object-position:bottom}

.skf-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ============================================================
   TABLET / small desktop
   ============================================================ */
@media(max-width:1600px){
  .rcta__inner{padding-left:24px;padding-right:24px}
  .rcta__content{width:auto;flex:1 1 auto;min-width:0}
}
@media(max-width:1200px){
  .rcta__photo{display:none}
  .rcta__title{font-size:44px;line-height:1.1;white-space:normal}
  .rcta__subtitle{font-size:30px;line-height:1.15}
  .rcta__accent{display:none}
}
@media(max-width:1024px){
  .rcta{margin-top:80px}
  .rcta__inner{padding:56px 16px;gap:0}
  .rcta__content{gap:40px}
  .rcta__title{font-size:32px;line-height:36px}
  .rcta__subtitle{font-size:22px;line-height:26px}
  .rcta__lead{font-size:18px;line-height:26px}
  .rcta__row{flex-direction:column;align-items:stretch;gap:20px}
  .rcta__field,.rcta__btnwrap{width:100%}
  .rcta__input,.rcta__btn{height:63px}
  .rcta__label{font-size:16px}
}

/* Finished-renovation hero video overlay (Figma «Страница ремонта») */
.dph__video{display:block;position:relative;width:100%;height:100%;cursor:pointer}
.dph__video img{width:100%;height:100%;object-fit:cover;display:block}
.dph__play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:96px;height:96px;border-radius:50%;background:rgba(1,46,74,.55);
  display:flex;align-items:center;justify-content:center;transition:background .2s,transform .2s}
.dph__play svg{margin-left:5px}
.dph__video:hover .dph__play{background:rgba(1,46,74,.8);transform:translate(-50%,-50%) scale(1.06)}
@media(max-width:1024px){.dph__play{width:66px;height:66px}.dph__play svg{width:20px;height:22px}}
