:root {
  --brand: #f58220;
  --brand-dark: #df6810;
  --ink: #141414;
  --muted: #686868;
  --line: #e9e6e2;
  --paper: #fff;
  --cream: #f7f4f0;
  --shadow: 0 16px 45px rgba(30, 24, 17, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { color: var(--ink); background: var(--paper); font-family: "Manrope", sans-serif; line-height: 1.65; }
body.modal-open, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { letter-spacing: -.03em; }
.container { max-width: 1200px; }

.site-header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid rgba(0, 0, 0, .04); backdrop-filter: blur(14px); }
.navbar { min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 47px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark svg { width: 47px; height: 42px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.logo-roof { stroke: var(--brand); stroke-width: 6; }
.logo-house { stroke: var(--ink); stroke-width: 4; }
.logo-door { stroke: var(--ink); stroke-width: 3.5; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { color: var(--ink); font-size: 22px; font-weight: 800; }
.brand-copy strong span { color: var(--brand); }
.brand-copy small { color: var(--ink); font-size: 8px; font-weight: 800; letter-spacing: .15em; margin-top: 6px; }
.nav-link { color: var(--ink); font-size: 14px; font-weight: 700; margin: 0 12px; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--brand); }
.nav-link::after { content: ""; height: 2px; background: var(--brand); position: absolute; left: 8px; right: 100%; bottom: 3px; transition: right .25s ease; }
.nav-link:hover::after, .nav-link.active::after { right: 8px; }
.navbar-toggler { width: 46px; height: 46px; padding: 0; display: grid; place-items: center; position: relative; z-index: 2; }
.menu-icon { width: 26px; height: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.menu-icon span { display: block; width: 100%; height: 2px; border-radius: 3px; background: var(--ink); transform-origin: center; transition: none; }
.navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.mobile-menu-label { display: none; }

.btn { border-radius: 999px; font-weight: 800; border-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; }
.btn-brand { color: white; background: var(--brand); box-shadow: 0 10px 24px rgba(245, 130, 32, .23); }
.btn-brand:hover, .btn-brand:focus { color: white; background: var(--brand-dark); }
.header-phone { padding: 11px 19px; font-size: 13px; }

.hero { height: clamp(570px, 46vw, 690px); position: relative; background: url("assets/hero-renovation.webp") center center / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 25%, rgba(255,255,255,.12) 60%, transparent 100%); }
.hero .container { position: relative; z-index: 1; }
.hero-copy { padding-top: 30px; }
.eyebrow { display: inline-block; color: var(--brand); font-size: 12px; line-height: 1.3; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 11px; }
.hero h1 { max-width: 650px; font-size: clamp(42px, 5vw, 70px); line-height: 1.02; font-weight: 800; margin-bottom: 20px; }
.hero h1 span { color: var(--brand); display: block; }
.hero p { max-width: 520px; color: #323232; font-size: 16px; margin-bottom: 25px; }
.hero .btn-lg { font-size: 14px; padding: 14px 24px; }
.hero-benefits { margin-top: 45px; max-width: 650px; }
.benefit { display: flex; gap: 12px; align-items: center; }
.benefit > svg { color: var(--brand); width: 27px; height: 27px; flex: 0 0 auto; stroke-width: 1.9; }
.benefit div { display: flex; flex-direction: column; line-height: 1.35; }
.benefit strong { font-size: 12px; }
.benefit small { color: #555; font-size: 10px; }

.section { padding: 60px 0; }
.section-heading { max-width: 710px; margin: 0 auto 30px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2, .trust-copy h2 { font-size: clamp(31px, 4vw, 43px); line-height: 1.15; font-weight: 800; margin-bottom: 12px; }
.section-heading p { color: var(--muted); margin-bottom: 0; }
.services-section { background: #fff; }
.service-card { height: 100%; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 18px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); }
.service-title { min-height: 60px; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 11px; }
.service-title svg { color: var(--brand); width: 36px; height: 36px; flex: 0 0 auto; stroke-width: 1.8; }
.service-title h3 { font-size: 17px; line-height: 1.25; font-weight: 800; margin: 2px 0 0; }
.service-photo { height: 135px; width: 100%; border-radius: 7px; background-size: 200% 200%; background-repeat: no-repeat; margin-bottom: 15px; transition: filter .25s ease; }
.service-card:hover .service-photo { filter: saturate(1.08) contrast(1.02); }
.sheet-interior { background-image: url("assets/services-interior-grid.webp"); }
.sheet-exterior { background-image: url("assets/services-exterior-grid.webp"); }
.pos-tl { background-position: left top; }
.pos-tr { background-position: right top; }
.pos-bl { background-position: left bottom; }
.pos-br { background-position: right bottom; }
.service-card ul { list-style: none; padding: 0; margin: 0; color: #424242; font-size: 12px; }
.service-card li { position: relative; padding-left: 14px; margin: 6px 0; }
.service-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); position: absolute; left: 0; top: .65em; }

.trust-section { background: var(--cream); overflow: hidden; }
.trust-copy { max-width: 600px; margin-left: auto; padding: 62px 65px 58px 20px; }
.trust-item { display: flex; align-items: flex-start; gap: 15px; }
.trust-item > svg { width: 32px; height: 32px; color: var(--brand); flex: 0 0 auto; stroke-width: 1.8; }
.trust-item strong { font-size: 13px; }
.trust-item p { color: #555; font-size: 11px; line-height: 1.55; margin: 5px 0 0; }
.trust-photo-wrap { position: relative; min-height: 500px; overflow: hidden; }
.trust-photo { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; position: absolute; inset: 0; }
.contact-float { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 12px; color: white; background: var(--brand); border-radius: 10px; padding: 12px 18px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.contact-float:hover { color: white; }
.contact-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--brand); flex: 0 0 auto; }
.contact-icon svg { width: 21px; }
.contact-float span:last-child { display: flex; flex-direction: column; }
.contact-float small { font-size: 11px; }
.contact-float strong { font-size: 20px; line-height: 1.2; }

.dark-cta { padding: 42px 0; color: white; position: relative; background: linear-gradient(90deg, rgba(17,17,17,.97), rgba(17,17,17,.88)), url("assets/hero-renovation.webp") center 68% / cover no-repeat; }
.dark-cta h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 800; margin-bottom: 4px; }
.dark-cta p { color: #d2d2d2; font-size: 14px; margin: 0; }

.portfolio-section { background: white; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr 1fr 1.35fr; grid-template-rows: 230px; gap: 7px; }
.portfolio-item { border: 0; border-radius: 3px; background-size: 200% 200%; background-repeat: no-repeat; cursor: zoom-in; position: relative; overflow: hidden; transition: transform .25s ease, filter .25s ease; }
.portfolio-item::after { content: ""; position: absolute; inset: 0; background: rgba(245,130,32,0); transition: background .25s ease; }
.portfolio-item:hover { transform: translateY(-4px); filter: contrast(1.03) saturate(1.08); z-index: 2; }
.portfolio-item:hover::after { background: rgba(245,130,32,.09); }
.portfolio-more { margin-top: 14px; }
.btn-more { padding: 8px 17px; border: 1px solid #d5d2ce; color: #333; background: white; font-size: 11px; box-shadow: 0 5px 16px rgba(0,0,0,.05); }
.btn-more:hover { color: white; background: var(--ink); border-color: var(--ink); }

.site-footer { padding: 0; background: white; font-size: 12px; }
.site-footer > .container { border-top: 1px solid var(--line); padding-top: 38px; }
.footer-brand { margin-bottom: 18px; }
.site-footer p { color: var(--muted); line-height: 1.8; }
.site-footer h3 { font-size: 13px; font-weight: 800; margin-bottom: 15px; }
.site-footer .col-6, .site-footer .col-lg-3 { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer a, .site-footer .col-lg-3 > span { color: #555; margin: 4px 0; }
.site-footer a:hover { color: var(--brand); }
.site-footer svg { width: 15px; margin-right: 8px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 42px; padding: 19px 0; display: flex; align-items: center; justify-content: space-between; color: #777; font-size: 10px; }
.footer-bottom a { color: var(--ink); font-weight: 800; margin: 0; }
.footer-bottom a:hover { color: var(--brand); }

.gallery-modal { position: fixed; inset: 0; z-index: 1080; display: grid; place-items: center; padding: 24px; background: rgba(12,12,12,.9); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.gallery-modal.open { opacity: 1; visibility: visible; }
.gallery-content { width: min(1000px, 92vw); transform: scale(.96); transition: transform .25s ease; }
.gallery-modal.open .gallery-content { transform: scale(1); }
.gallery-image { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background-size: 200% 200%; background-repeat: no-repeat; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.gallery-content h2 { color: white; text-align: center; font-size: 20px; margin-top: 16px; }
.gallery-close { position: fixed; right: 24px; top: 20px; width: 46px; height: 46px; display: grid; place-items: center; color: white; background: rgba(255,255,255,.12); border: 0; border-radius: 50%; }
@media (max-width: 1199.98px) {
  .nav-link { margin: 0 7px; }
  .hero { background-position: 48% center; }
  .hero::before { background: linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.88) 42%, rgba(255,255,255,.05) 72%); }
  .service-photo { height: 155px; }
}

@media (max-width: 991.98px) {
  .site-header { z-index: 1040; background: #fff; backdrop-filter: none; }
  .container { --bs-gutter-x: 30px; }
  .navbar-collapse {
    position: fixed;
    inset: 84px 0 0;
    height: calc(100dvh - 84px);
    padding: 38px max(15px, calc((100vw - 1170px) / 2)) 22px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 100% 100%, rgba(245,130,32,.14), transparent 38%),
      linear-gradient(150deg, #fff 0%, #fbf8f4 100%);
    border-top: 1px solid var(--line);
    transition: none !important;
  }
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: calc(100dvh - 84px) !important;
    transition: none !important;
  }
  .mobile-menu-label { display: block; color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
  .navbar-nav { width: 100%; align-items: stretch !important; margin: 0 0 24px !important; }
  .nav-item { width: 100%; border-bottom: 1px solid rgba(20,20,20,.09); }
  .nav-link { width: 100%; display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 10px 0 !important; font-size: 16px; line-height: 1.3; letter-spacing: -.02em; }
  .nav-link::before { content: "↗"; order: 2; color: #b9b3ac; font-size: .7em; font-weight: 500; transition: none; }
  .nav-link:hover::before, .nav-link.active::before { color: var(--brand); transform: translate(3px, -3px); }
  .nav-link::after { display: none; }
  .header-phone { width: 100%; min-height: 54px; margin-top: auto; font-size: 15px; }
  .hero { height: 640px; background-position: 58% center; }
  .hero::before { background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.2) 100%); }
  .hero-copy { padding: 85px 0 70px; }
  .trust-copy { max-width: 760px; margin: auto; padding: 75px 30px; }
  .trust-photo-wrap { min-height: 520px; }
  .contact-float { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .portfolio-grid { grid-template-columns: repeat(6, 1fr); grid-template-rows: 210px 210px; }
  .portfolio-item:nth-child(1) { grid-column: span 2; }
  .portfolio-item:nth-child(2) { grid-column: span 4; }
  .portfolio-item:nth-child(3), .portfolio-item:nth-child(4), .portfolio-item:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 767.98px) {
  .navbar { min-height: 72px; }
  html { scroll-padding-top: 72px; }
  .brand-mark { width: 40px; }
  .brand-mark svg { width: 40px; height: 37px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { font-size: 7px; }
  .navbar-collapse,
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    top: 72px;
    height: calc(100dvh - 72px) !important;
  }
  .navbar-collapse { padding-right: 15px; padding-left: 15px; }
  .hero { height: 810px; background-position: 64% center; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 46%, rgba(255,255,255,.66) 68%, rgba(255,255,255,.2) 100%); }
  .hero > .container { padding-right: 22px; padding-left: 22px; }
  .hero .row { margin-right: 0; margin-left: 0; }
  .hero-copy { align-self: flex-start; width: 100%; padding: 50px 0 36px; }
  .hero h1 { max-width: 520px; font-size: clamp(38px, 7.2vw, 43px); line-height: 1.05; margin-bottom: 18px; }
  .hero p { max-width: 520px; font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
  .hero-benefits { display: grid; grid-template-columns: 1fr; gap: 7px; width: min(100%, 330px); margin: 28px 0 0; }
  .hero-benefits > [class*="col-"] { width: 100%; padding: 0; }
  .benefit { width: 100%; min-height: 48px; background: rgba(255,255,255,.9); padding: 8px 11px; border: 1px solid rgba(255,255,255,.75); border-radius: 9px; box-shadow: 0 7px 20px rgba(55,43,29,.05); }
  .benefit div { flex: 1; }
  .benefit strong { font-size: 11px; }
  .benefit small { font-size: 9px; }
  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 32px; }
  .service-photo { height: 175px; }
  .trust-copy { padding: 65px 20px; }
  .trust-photo-wrap { min-height: 470px; }
  .contact-float { bottom: 18px; padding: 13px 18px; }
  .contact-icon { width: 42px; height: 42px; }
  .contact-float strong { font-size: 19px; }
  .dark-cta { text-align: center; }
  .portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 190px); }
  .portfolio-item, .portfolio-item:nth-child(n) { grid-column: span 1; }
  .portfolio-item:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 575.98px) {
  .hero { height: 790px; background-position: 62% center; }
  .hero-copy { padding-top: 44px; }
  .hero h1 { font-size: clamp(36px, 10.2vw, 40px); }
  .hero-benefits { margin-top: 25px; }
  .service-photo { height: 200px; }
  .trust-photo-wrap { min-height: 410px; }
  .contact-float { width: calc(100% - 30px); white-space: normal; }
  .portfolio-grid { grid-template-rows: repeat(3, 150px); gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
