/* СтройФиниш — shared site styles */

html{scroll-behavior:smooth}
[hidden]{display:none!important}
body{margin:0;font-family:Manrope,sans-serif;background:#F4F2EE}
body.page-projects, body.page-project{min-height:100vh}
a{color:#A9714A;text-decoration:none}
a:hover{color:#7C5030}

/* land anchor jumps below the sticky nav instead of under it */
#hero, #services, #about, #process, #gallery, #testimonials, #contact{scroll-margin-top:100px}

/* ============ Nav ============ */
.nav{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:22px 64px;background:#F4F2EEee;backdrop-filter:blur(8px);border-bottom:1px solid #DAD5CB}
.nav__logo{font-family:Unbounded,sans-serif;font-weight:800;font-size:22px;color:#23211D;letter-spacing:-0.5px;cursor:pointer}
.nav__logo-accent{color:#A9714A}
.nav__links{display:flex;gap:36px;font-size:15px;font-weight:600;color:#23211D;white-space:nowrap}
.nav__link{color:#23211D}
.nav__link--active{color:#A9714A}
.nav__actions{display:flex;align-items:center;gap:12px}
.nav__cta{white-space:nowrap}

.hamburger{display:none;align-items:center;justify-content:center;width:44px;height:44px;border:1.5px solid #23211D;border-radius:2px;cursor:pointer;flex-direction:column;gap:4px}
.hamburger__bar{width:20px;height:2px;background:#23211D}

/* mobile menu: fixed below the sticky nav so it stays reachable at any scroll position */
.mobile-menu{
  display:none;
  position:fixed;
  left:0;
  right:0;
  top:var(--nav-height, 80px);
  z-index:49;
  flex-direction:column;
  padding:20px;
  gap:4px;
  background:#F4F2EE;
  border-bottom:1px solid #DAD5CB;
  max-height:calc(100vh - var(--nav-height, 80px));
  overflow-y:auto;
}
.mobile-menu.open{display:flex}
.mobile-menu__link{padding:14px 8px;color:#23211D;font-weight:600;font-size:16px}
.mobile-menu__link--active{color:#A9714A}

@media (max-width:1080px){
  .nav__links, .nav__cta{display:none!important}
  .hamburger{display:flex!important}
  .nav{padding:18px 20px!important}
}

/* ============ Buttons ============ */
.btn{display:inline-block;font-weight:700;border-radius:2px;text-align:center}
.btn--primary{background:#A9714A;color:#fff}
.btn--dark{background:#23211D;color:#F4F2EE}
.btn--outline-dark{border:1.5px solid #23211D;color:#23211D}
.btn--outline-light{border:1.5px solid #fff;color:#fff}
.btn--sm{padding:12px 24px;font-size:14px}
.btn--md{padding:16px 28px;font-size:15px;white-space:nowrap}
.btn--lg{padding:18px 32px;font-size:16px}
.btn--xl{padding:18px 40px;font-size:16px}

/* ============ Section basics (homepage) ============ */
.sec{padding:96px 64px}
.sec-white{background:#fff}
.sec-tint{background:#F4F2EE}
.sec-header{display:flex;justify-content:space-between;align-items:end;margin-bottom:56px}
.eyebrow{font-size:14px;font-weight:700;color:#A9714A;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.eyebrow--center{text-align:center}
.section-title{font-family:Unbounded,sans-serif;font-weight:700;font-size:38px;color:#23211D;max-width:560px}
.section-title--sm{font-size:34px;max-width:none;line-height:1.15}
.section-title--center{text-align:center;max-width:none}
.mb-24{margin-bottom:24px}
.mb-28{margin-bottom:28px}
.mb-56{margin-bottom:56px}

@media (max-width:1080px){
  .sec{padding:56px 20px!important}
  .section-title{font-size:26px!important}
}

/* ============ Hero ============ */
.hero{position:relative;background:#F4F2EE;padding:96px 64px 0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr);gap:48px;align-items:end}
.hero__content{padding-bottom:80px}
.hero__title{font-family:Unbounded,sans-serif;font-weight:800;font-size:64px;line-height:1.02;color:#23211D;letter-spacing:-1.5px;margin-bottom:28px}
.hero__lede{font-size:19px;line-height:1.6;color:#6B675F;max-width:520px;margin-bottom:40px}
.hero__actions{display:flex;gap:16px}

@media (max-width:1080px){
  .hero{padding:48px 20px 0!important;grid-template-columns:1fr!important;gap:32px!important}
  .hero__content{padding-bottom:32px!important}
  .hero__title{font-size:36px!important;letter-spacing:-1px!important}
}

/* ============ Placeholder image blocks (image-slot replacement) ============ */
.placeholder-slot{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  width:100%;
  padding:16px;
  background:repeating-linear-gradient(135deg,#EAE6DE,#EAE6DE 10px,#E2DDD2 10px,#E2DDD2 20px);
  border:1px solid #DAD5CB;
  border-radius:4px;
  color:#7C5030;
  font-size:14px;
  font-weight:600;
  box-sizing:border-box;
}
.placeholder-slot--hero{height:520px}
.placeholder-slot--about{height:480px}
.placeholder-slot--card{height:280px}
.placeholder-slot--thumb{height:110px}

/* ============ Stats strip ============ */
.stats{display:grid;grid-template-columns:repeat(4,1fr);background:#23211D;color:#F4F2EE;margin-top:64px}
.stat{padding:36px 40px}
.stat:not(:last-child){border-right:1px solid rgba(255,255,255,.12)}
.stat__value{font-family:Unbounded,sans-serif;font-weight:800;font-size:38px;color:#C99464}
.stat__label{font-size:14px;color:#B8B4AA;margin-top:6px}

@media (max-width:1080px){
  .stats{grid-template-columns:repeat(2,1fr)!important}
}

/* ============ Services ============ */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#DAD5CB;border:1px solid #DAD5CB}
.service-card{background:#fff;padding:40px}
.service-card__title{font-family:Unbounded,sans-serif;font-weight:700;font-size:19px;color:#23211D;margin-bottom:12px}
.service-card__desc{font-size:15px;color:#6B675F;line-height:1.6}

@media (max-width:1080px){
  .services-grid{grid-template-columns:1fr!important}
}

/* ============ About ============ */
.grid-2{display:grid;gap:64px}
.about-grid{grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);align-items:center}
.about__text{font-size:16px;line-height:1.75;color:#6B675F;margin-bottom:20px}
.about__facts{display:flex;gap:36px}
.about__fact-value{font-family:Unbounded,sans-serif;font-weight:800;font-size:26px;color:#23211D}
.about__fact-label{font-size:13px;color:#6B675F}

@media (max-width:1080px){
  .grid-2{grid-template-columns:1fr!important}
}

/* ============ Process ============ */
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.process-step__num{font-family:Unbounded,sans-serif;font-weight:800;font-size:44px;color:#EAE6DE;margin-bottom:12px}
.process-step__title{font-weight:700;font-size:17px;color:#23211D;margin-bottom:10px}
.process-step__desc{font-size:14.5px;color:#6B675F;line-height:1.6}

@media (max-width:1080px){
  .process-grid{grid-template-columns:repeat(2,1fr)!important}
}

/* ============ Gallery preview (homepage) ============ */
.gallery-header{display:flex;justify-content:space-between;align-items:end;margin-bottom:48px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.gallery-card__title{margin-top:16px;font-weight:700;font-size:16px;color:#23211D}
.gallery-card__meta{font-size:13.5px;color:#A9714A;font-weight:600;margin-top:4px}

@media (max-width:1080px){
  .gallery-header{flex-direction:column;align-items:start;gap:20px}
  .gallery-grid{grid-template-columns:1fr!important}
}

/* ============ Testimonials ============ */
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.testimonial{padding:36px;background:#F4F2EE;border-radius:4px}
.testimonial__quote{font-size:16px;line-height:1.7;color:#3D3B36;margin-bottom:24px}
.testimonial__author{display:flex;align-items:center;gap:12px}
.testimonial__avatar{width:44px;height:44px;border-radius:50%;background:#EAE6DE;display:flex;align-items:center;justify-content:center;font-weight:700;color:#A9714A}
.testimonial__name{font-weight:700;font-size:14.5px;color:#23211D}
.testimonial__location{font-size:13px;color:#6B675F}

@media (max-width:1080px){
  .testimonials-grid{grid-template-columns:1fr!important}
}

/* ============ CTA banner (shared across pages) ============ */
.cta{padding:80px 64px;background:#23211D;text-align:center}
.cta__title{font-family:Unbounded,sans-serif;font-weight:700;font-size:36px;color:#fff;margin-bottom:20px}
.cta__lede{font-size:16px;color:#B8B4AA;margin-bottom:36px}
.cta__actions{display:flex;gap:16px;justify-content:center}

@media (max-width:1080px){
  .cta{padding:56px 20px!important}
  .cta__title{font-size:26px!important}
  .cta__actions{flex-direction:column!important}
}

/* ============ Contact ============ */
.contact-grid{grid-template-columns:1fr 1fr}
.contact__info{display:flex;flex-direction:column;gap:16px;font-size:15.5px;color:#3D3B36}
.contact__link, .contact__link:hover{color:#3D3B36}
.contact-form{display:flex;flex-direction:column;gap:14px}
.contact-form__field{padding:16px 18px;background:#fff;border:1px solid #DAD5CB;border-radius:2px;color:#23211D;font-size:14.5px;font-family:Manrope,sans-serif}
.contact-form__field--textarea{height:80px;resize:vertical}
.contact-form__submit{padding:16px;background:#23211D;color:#fff;font-weight:700;font-size:15px;text-align:center;border-radius:2px;border:none;cursor:pointer;font-family:Manrope,sans-serif}
.contact-success{padding:16px 18px;background:#EAE6DE;border-radius:2px;color:#7C5030;font-size:14.5px;font-weight:600}

/* ============ Footer (shared across pages) ============ */
.footer{display:flex;justify-content:space-between;align-items:center;padding:32px 64px;background:#23211D;color:#B8B4AA;font-size:13.5px}
.footer--bordered{border-top:1px solid rgba(255,255,255,.1)}
.footer__brand{font-family:Unbounded,sans-serif;font-weight:700;color:#fff}

@media (max-width:1080px){
  .footer{padding:24px 20px!important;flex-direction:column!important;gap:10px!important;text-align:center!important}
}

/* ============ Shared badge (project cards + project detail) ============ */
.badge{padding:5px 12px;background:#EAE6DE;border-radius:2px;font-size:12.5px;font-weight:700;color:#7C5030}

/* ============ Projects (gallery) page ============ */
.projects-header{padding:72px 64px 48px}
.projects-header__title{font-family:Unbounded,sans-serif;font-weight:800;font-size:48px;color:#23211D;letter-spacing:-1px;max-width:720px}
.projects-header__lede{font-size:17px;line-height:1.6;color:#6B675F;max-width:600px;margin-top:20px}
.filters{display:flex;gap:12px;flex-wrap:wrap;padding:0 64px 48px}
.filter-pill{padding:12px 22px;font-weight:700;font-size:14.5px;border-radius:2px;cursor:pointer;user-select:none}
.filter-pill--active{background:#23211D;color:#fff}
.filter-pill--inactive{background:#fff;border:1px solid #DAD5CB;color:#23211D}
.project-grid{padding:0 64px 96px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.no-results{padding:0 64px 120px;text-align:center;color:#6B675F;font-size:16px}
.project-card{cursor:pointer;display:block;color:inherit}
.project-card__row{display:flex;justify-content:space-between;align-items:start;margin-top:16px}
.project-card__title{font-weight:700;font-size:17px;color:#23211D}
.project-card__location{font-size:13.5px;color:#6B675F;margin-top:3px}
.project-card__meta{font-size:13.5px;color:#A9714A;font-weight:600;margin-top:8px}

@media (max-width:1080px){
  .projects-header{padding:40px 20px 32px!important}
  .projects-header__title{font-size:32px!important}
  .filters{padding:0 20px 32px!important}
  .project-grid{grid-template-columns:1fr!important;padding-left:20px!important;padding-right:20px!important}
}

/* ============ Project detail page ============ */
.breadcrumb{padding:32px 64px 0;font-size:14px;color:#6B675F}
.breadcrumb__link, .breadcrumb__link:hover{color:#6B675F}
.hdr-row{padding:24px 64px 40px;display:flex;justify-content:space-between;align-items:end;gap:32px;flex-wrap:wrap}
.hdr-row__meta{display:flex;gap:10px;align-items:center;margin-bottom:14px}
.hdr-row__location{font-size:13.5px;color:#6B675F}
.hdr-row__completed{font-size:13.5px;color:#6B675F;white-space:nowrap}
.hdr-row__completed strong{color:#23211D}
.hdr-title{font-family:Unbounded,sans-serif;font-weight:800;font-size:44px;color:#23211D;letter-spacing:-1px;max-width:760px}
.gallery{padding:0 64px 24px}
.gallery-main{height:560px}
.grid-6{padding:0 64px 24px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.video{padding:24px 64px 24px}
.video__label{font-weight:700;font-size:15px;color:#23211D;margin-bottom:12px}
.video-box{width:100%;height:420px;background:#23211D;border-radius:2px;display:flex;align-items:center;justify-content:center;color:#B8B4AA;font-size:15px}
.details{display:grid;grid-template-columns:1.4fr 1fr;gap:64px;padding:56px 64px 96px}
.details__desc{font-size:17px;line-height:1.8;color:#3D3B36}
.details__services{display:flex;flex-direction:column;gap:12px}
.service-item{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#fff;border:1px solid #DAD5CB;border-radius:2px;font-size:15px;color:#23211D}

@media (max-width:1080px){
  .breadcrumb{padding:24px 20px 0!important}
  .hdr-row{padding:20px 20px 28px!important;flex-direction:column!important;align-items:start!important;gap:16px!important}
  .hdr-title{font-size:28px!important}
  .gallery{padding:0 20px 20px!important}
  .gallery-main{height:280px!important}
  .grid-6{grid-template-columns:repeat(3,1fr)!important;padding-left:20px!important;padding-right:20px!important}
  .video{padding:20px 20px 20px!important}
  .video-box{height:220px!important}
  .details{grid-template-columns:1fr!important;padding:40px 20px 56px!important;gap:40px!important}
}

/* ============ 404 error page ============ */
.error-page{text-align:center}
.error-page__lede{max-width:520px;margin:0 auto 32px}
