:root {
    --ink: #17221d;
    --forest: #263e34;
    --forest-deep: #172b23;
    --cream: #f4f0e9;
    --paper: #fbfaf7;
    --sand: #ded3c4;
    --line: rgba(23, 34, 29, .14);
    --blue: #3c7e91;
    --yellow: #e7c743;
    --white: #fff;
    --radius: 3px;
    --shadow: 0 24px 70px rgba(18, 28, 23, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; line-height: .98; }
h2 { margin-bottom: 0; font-size: clamp(2.55rem, 5vw, 5.2rem); }
.container { width: min(1380px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin-bottom: 20px; color: rgba(255,255,255,.74); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--blue); }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s, border .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: #17221d; }
.button-primary:hover, .button-accent:hover { background: #f3d957; }
.button-light { border-color: rgba(255,255,255,.48); color: var(--white); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.button-light:hover { background: var(--white); color: var(--ink); }
.button-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }
.button-accent { background: var(--yellow); color: var(--ink); }
.button.full { width: 100%; }
.arrow-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: .84rem; font-weight: 700; letter-spacing: .04em; }
.arrow-link span { font-size: 1.25rem; }
.button-link { padding-inline: 0; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.18); transition: background .25s, color .25s, box-shadow .25s; }
.site-header.is-scrolled { color: var(--white); background: rgba(20,34,28,.97); box-shadow: 0 8px 35px rgba(15,30,23,.16); backdrop-filter: blur(18px); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 15px; flex: none; }
.brand img { width: 220px; height: auto; filter: none; }
.brand span { padding-left: 15px; border-left: 1px solid currentColor; opacity: .7; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 36px); }
.main-nav a { position: relative; font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -9px; width: 0; height: 1px; background: currentColor; transition: width .2s; }
.main-nav a:hover::after { width: 100%; }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.header-contact > a { font-weight: 700; }
.text-button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--yellow); cursor: pointer; font-size: .72rem; }
.site-header:not(.is-scrolled) .text-button, .text-button.light { color: var(--yellow); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: currentColor; }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 6px 0; background: currentColor; }

.hero { position: relative; min-height: 860px; height: 100svh; color: var(--white); overflow: hidden; background: var(--forest-deep); }
.hero-image { position: absolute; inset: 0; background: url('assets/images/hero-kitchen.png') center / cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,15,.9) 0%, rgba(10,20,15,.68) 34%, rgba(10,20,15,.12) 70%, rgba(10,20,15,.04) 100%), linear-gradient(0deg, rgba(8,15,12,.45), transparent 50%); }
.hero-content { position: relative; z-index: 2; display: flex; min-height: 100%; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 90px; }
.hero h1 { max-width: 820px; margin-bottom: 30px; font-size: clamp(4rem, 7.2vw, 8.2rem); }
.mobile-break { display: none; }
.hero h1 em { color: #d9c9b4; font-weight: 400; }
.hero-lead { max-width: 590px; margin-bottom: 34px; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-offer { display: flex; flex-wrap: wrap; gap: 10px; margin: -6px 0 30px; padding: 0; list-style: none; }
.hero-offer li { display: flex; min-width: 168px; flex-direction: column; padding: 14px 18px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; background: rgba(16,27,22,.46); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-offer strong { font-family: Georgia, serif; font-size: 1.85rem; font-weight: 400; line-height: 1.05; }
.hero-offer span { margin-top: 4px; color: rgba(255,255,255,.78); font-size: .82rem; line-height: 1.3; }
.hero-offer li.is-main { border-color: var(--yellow); background: rgba(231,199,67,.16); }
.hero-offer li.is-main strong { color: var(--yellow); }
.hero-facts { display: flex; gap: 50px; margin: 76px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.25); list-style: none; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { margin-bottom: 2px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.hero-facts span { color: rgba(255,255,255,.64); font-size: .78rem; }
.hero-scroll { position: absolute; z-index: 3; right: 34px; bottom: 35px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; transform: rotate(90deg); transform-origin: right center; }
.hero-scroll span { width: 44px; height: 1px; background: currentColor; }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 100px; }
.intro-copy { max-width: 520px; font-size: 1.1rem; }
.intro-copy p { margin-bottom: 34px; color: #56605b; }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-strip article { min-height: 240px; padding: 34px 36px 38px 0; }
.feature-strip article + article { padding-left: 36px; border-left: 1px solid var(--line); }
.feature-strip article > span { color: var(--blue); font-size: .7rem; font-weight: 700; }
.feature-strip .feature-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(60,126,145,.35); border-radius: 50%; }
.feature-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-strip h3 { margin: 40px 0 12px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.feature-strip p { max-width: 340px; margin-bottom: 0; color: #68716d; font-size: .9rem; }

.projects { background: #ece8e1; }
.section-heading { margin-bottom: 58px; }
.split-heading { display: grid; grid-template-columns: 1.25fr .55fr; align-items: end; gap: 80px; }
.split-heading > p { max-width: 440px; margin-bottom: 7px; color: #68716d; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 38px; }
.filter { min-height: 40px; padding: 0 18px; border: 1px solid rgba(23,34,29,.25); border-radius: 50px; background: transparent; color: #525d57; cursor: pointer; font-size: .78rem; transition: .2s; }
.filter:hover, .filter.is-active { border-color: var(--forest); background: var(--forest); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 58px 24px; }
.project-card { min-width: 0; }
.project-card.is-extra { display: none; }
.project-card.is-hidden { display: none !important; }
.project-image { position: relative; display: block; width: 100%; aspect-ratio: 1.42; padding: 0; overflow: hidden; border: 0; background: #d8d4cc; cursor: pointer; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project-image:hover img { transform: scale(1.035); }
.project-more { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 15px; padding: 12px 15px; background: rgba(251,250,247,.94); color: var(--ink); font-size: .73rem; opacity: 0; transform: translateY(8px); transition: .25s; }
.project-image:hover .project-more { opacity: 1; transform: none; }
.project-more b { font-size: 1.1rem; }
.project-meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; }
.project-meta h3 { margin-bottom: 3px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.project-meta p, .project-meta > span { margin: 0; color: #68716d; font-size: .78rem; }
.project-meta > span { padding-top: 5px; }
.project-card-description { margin: 12px 0 0; color: #59625e; font-size: .86rem; line-height: 1.55; }
.projects-more { margin-top: 50px; text-align: center; }

.quiz-section { background: #ece8e1; padding-top: 0; }
.quiz-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 70px; color: var(--white); background: var(--forest); box-shadow: var(--shadow); }
.quiz-copy h2 { margin-bottom: 25px; font-size: clamp(2.8rem, 4.5vw, 5rem); }
.quiz-copy > p:last-child { max-width: 480px; color: rgba(255,255,255,.68); }
.quick-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-content: center; }
form label > span { display: block; margin-bottom: 8px; color: inherit; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
input, select, textarea { width: 100%; border: 1px solid rgba(255,255,255,.34); border-radius: 0; outline: none; background: transparent; color: inherit; }
input, select { height: 54px; padding: 0 15px; }
textarea { min-height: 105px; padding: 15px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--yellow); }
select option { color: var(--ink); }
.consent { display: flex; align-items: flex-start; gap: 9px; grid-column: 1 / -1; cursor: pointer; }
.consent input { width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--yellow); }
.consent span { margin: 0; color: rgba(255,255,255,.58); font-size: .68rem; letter-spacing: 0; text-transform: none; }
.form-status { grid-column: 1 / -1; min-height: 20px; margin: 0; font-size: .78rem; }
.form-status.is-success { color: #cbe79d; }
.form-status.is-error { color: #ffc1b7; }

.materials { background: var(--paper); }
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.material-card { position: relative; display: flex; min-height: 390px; flex-direction: column; justify-content: space-between; padding: 30px; overflow: hidden; color: var(--white); }
.material-card::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(16,25,21,.06) 25%, rgba(13,23,18,.9) 100%); }
.material-card::after { display: none; }
.material-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.material-card:hover > img { transform: scale(1.035); }
.material-green { background: linear-gradient(145deg, #52665d, #263e34); }
.material-green::before { width: 280px; height: 280px; right: -80px; top: -80px; border: 1px solid rgba(255,255,255,.2); }
.material-stone { background: linear-gradient(145deg, #c9bdac, #817668); }
.material-stone::before { inset: 0; border-radius: 0; background: repeating-linear-gradient(114deg, transparent 0 56px, rgba(255,255,255,.12) 57px 59px); }
.material-wood { background: linear-gradient(145deg, #9a6f4d, #4e3224); }
.material-wood::before { inset: 0; border-radius: 0; background: repeating-radial-gradient(ellipse at 20% 50%, transparent 0 32px, rgba(33,14,5,.13) 34px 36px); }
.material-icon { position: relative; z-index: 1; display: grid; width: 82px; height: 82px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-family: Georgia, serif; font-size: 2rem; }
.material-card > div:last-child { position: relative; z-index: 2; margin-top: auto; }
.material-card p { margin-bottom: 8px; color: rgba(255,255,255,.6); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.material-card h3 { margin-bottom: 10px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.material-card span { color: rgba(255,255,255,.7); font-size: .82rem; }
.sample-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 30px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.sample-row p { margin: 0; color: #68716d; }

.process { color: var(--white); background: var(--forest-deep); }
.process .section-heading { max-width: 840px; }
.steps { margin: 70px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.steps li { display: grid; grid-template-columns: .3fr 1fr; gap: 50px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.steps li > span { color: var(--yellow); font-size: .72rem; font-weight: 700; }
.steps li div { display: grid; grid-template-columns: .7fr 1fr; gap: 50px; }
.steps h3 { margin: 0; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.steps p { max-width: 530px; margin: 0; color: rgba(255,255,255,.62); }
.process-visual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 55px; }
.process-visual-grid figure { position: relative; min-height: 310px; margin: 0; overflow: hidden; background: #25332d; }
.process-visual-grid img { width: 100%; height: 100%; object-fit: cover; }
.process-visual-grid figure::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(9,18,14,.88)); }
.process-visual-grid figcaption { position: absolute; z-index: 1; right: 20px; bottom: 18px; left: 20px; font-family: Georgia, serif; font-size: 1.12rem; }
.process-visual-grid figcaption span { display: block; margin-bottom: 7px; color: var(--yellow); font-family: Arial, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .12em; }

.about { background: #dcd3c8; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 650px; }
.about-panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 75px; color: var(--white); background: var(--blue); }
.about-panel h2 { margin-bottom: 32px; font-size: clamp(2.8rem, 4.8vw, 5rem); }
.about-panel > p:not(.eyebrow) { max-width: 640px; margin-bottom: 36px; color: rgba(255,255,255,.75); }
.about-numbers { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--paper); }
.about-numbers > div { display: flex; flex-direction: column; justify-content: flex-end; padding: 35px; border: 1px solid var(--line); }
.about-numbers strong { font-family: Georgia, serif; font-size: clamp(2rem, 3.5vw, 4rem); font-weight: 400; line-height: 1; }
.about-numbers span { max-width: 240px; margin-top: 12px; color: #68716d; font-size: .78rem; }
.about-numbers blockquote { grid-column: 1 / -1; margin: 0; padding: 45px; font-family: Georgia, serif; font-size: clamp(1.6rem, 2.6vw, 2.7rem); font-style: italic; line-height: 1.25; }

.reviews { background: var(--paper); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-grid figure { display: flex; min-height: 340px; flex-direction: column; justify-content: space-between; margin: 0; padding: 34px; border: 1px solid var(--line); }
.stars { color: #c5a21d; letter-spacing: .15em; }
.review-grid blockquote { margin: 35px 0; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.45; }
.review-grid figcaption { font-size: .8rem; font-weight: 700; }
.review-grid figcaption span { display: block; color: #76807b; font-weight: 400; }

.faq { padding-top: 20px; background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.faq-grid > div:first-child > p:last-child { max-width: 320px; margin-top: 25px; color: #68716d; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; cursor: pointer; font-family: Georgia, serif; font-size: 1.25rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-family: Arial, sans-serif; font-size: 1.5rem; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 740px; padding: 0 50px 24px 0; color: #68716d; }

.contact-section { padding: 110px 0; color: var(--white); background: var(--forest); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.contact-grid h2 { max-width: 660px; margin-bottom: 25px; }
.contact-grid > div > p:last-child { max-width: 520px; color: rgba(255,255,255,.62); }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-form .wide { grid-column: 1 / -1; }
.form-footer { display: flex; align-items: center; gap: 20px; }
.form-footer .consent { max-width: 300px; }

.footer { padding-top: 70px; color: rgba(255,255,255,.68); background: #101914; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 60px; padding-bottom: 70px; }
.footer-main > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-brand img { width: 225px; filter: none; }
.footer-brand p { max-width: 240px; margin-top: 12px; }
.footer-title { margin-bottom: 14px; color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-main a, .footer-main p { font-size: .8rem; }
.footer-main a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.13); font-size: .7rem; }

.modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: .25s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9,17,13,.72); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: min(500px, 100%); padding: 45px; background: var(--paper); box-shadow: var(--shadow); transform: translateY(20px); transition: transform .25s; }
.modal.is-open .modal-dialog { transform: none; }
.modal-dialog h2 { margin-bottom: 18px; font-size: 2.8rem; }
.modal-dialog > p:not(.eyebrow) { color: #68716d; }
.modal-dialog form { display: grid; gap: 16px; margin-top: 25px; }
.modal-dialog input { border-color: var(--line); color: var(--ink); }
.modal-dialog .consent span { color: #68716d; }
.modal-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; cursor: pointer; color: var(--ink); font-size: 2rem; line-height: 1; }

/* Inner pages */
.inner-page { padding-top: 90px; }
.inner-header { color: var(--ink); }
.main-nav a.is-active::after { width: 100%; }
.page-hero { padding: 125px 0 100px; background: var(--paper); }
.compact-hero { padding-bottom: 82px; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .55fr; gap: 90px; align-items: end; }
.page-hero h1, .project-title-grid h1 { margin: 0; font-size: clamp(4rem, 7.3vw, 8rem); }
.page-hero h1 em { color: #81786c; font-weight: 400; }
.page-hero-grid > p { max-width: 480px; margin-bottom: 10px; color: #66706b; font-size: 1.05rem; }
.catalog-page-section { padding: 45px 0 120px; }
.catalog-grid .project-card { display: block; }
.catalog-grid .project-meta h2 { margin: 0 0 3px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; line-height: 1.2; }
.catalog-cta { padding: 90px 0; color: var(--white); background: var(--forest); }
.split-cta { display: grid; grid-template-columns: 1fr .7fr; gap: 80px; align-items: center; }
.split-cta h2 { max-width: 750px; }
.split-cta > div:last-child > p { max-width: 520px; margin-bottom: 28px; color: rgba(255,255,255,.68); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 11px; padding-top: 55px; color: #7c857f; font-size: .73rem; }
.breadcrumbs a:hover { color: var(--ink); }
.project-detail-head { padding: 65px 0 55px; background: var(--paper); }
.project-title-grid { display: grid; grid-template-columns: 1fr .55fr; align-items: end; gap: 70px; margin-top: 65px; }
.project-short { justify-self: end; }
.project-showcase { padding-bottom: 28px; background: var(--paper); }
.project-showcase img { width: 100%; max-height: 830px; object-fit: cover; background: #ddd7ce; }
.project-gallery { padding: 18px 0 28px; background: var(--paper); }
.project-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-gallery figure { margin: 0; overflow: hidden; background: #ddd7ce; }
.project-gallery img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.project-info-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 100px; }
.project-info-grid > div > p:last-child { max-width: 700px; margin-top: 30px; color: #66706b; }
.project-info-grid dl { margin: 0; border-top: 1px solid var(--line); }
.project-info-grid dl div { display: grid; grid-template-columns: .65fr 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.project-info-grid dt { color: #78817d; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.project-info-grid dd { margin: 0; }
.detail-principles { padding: 110px 0; color: var(--white); background: var(--forest-deep); }
.detail-principles .section-heading { max-width: 860px; }
.detail-principles-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 75px); align-items: stretch; margin-top: 60px; }
.detail-principles-layout > figure { position: relative; min-height: 620px; margin: 0; overflow: hidden; }
.detail-principles-layout > figure img { width: 100%; height: 100%; object-fit: cover; }
.detail-principles-layout > figure figcaption { position: absolute; right: 20px; bottom: 20px; left: 20px; padding: 18px 20px; background: rgba(20,34,28,.9); font-family: Georgia, serif; font-size: 1.05rem; }
.detail-principles-layout .feature-strip { grid-template-columns: 1fr; margin-top: 0; }
.detail-principles-layout .feature-strip article { min-height: auto; padding: 28px 0; }
.detail-principles-layout .feature-strip article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.17); }
.detail-principles-layout .feature-strip h3 { margin-top: 18px; }
.dark-strip { border-color: rgba(255,255,255,.17); }
.dark-strip article + article { border-color: rgba(255,255,255,.17); }
.dark-strip p { color: rgba(255,255,255,.6); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-grid a { display: block; }
.related-grid img { width: 100%; aspect-ratio: 1.2; object-fit: cover; transition: transform .3s; }
.related-grid a:hover img { transform: scale(.985); }
.related-grid a > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 15px; }
.related-grid h3 { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.related-grid span { color: #68716d; font-size: .76rem; }
.material-page-hero { background: #e6dfd4; }
.material-list { border-top: 1px solid var(--line); }
.material-list > article { display: grid; grid-template-columns: 70px 1fr .8fr; gap: 45px; min-height: 520px; padding: 70px 0; border-bottom: 1px solid var(--line); }
.material-list > article > span { color: var(--blue); font-size: .72rem; font-weight: 700; }
.material-list h2 { margin-bottom: 25px; font-size: clamp(2.8rem, 4.5vw, 4.8rem); }
.material-list article > div:nth-child(2) > p:not(.eyebrow) { max-width: 630px; color: #66706b; }
.material-list ul { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.material-list li { padding-left: 20px; position: relative; font-size: .86rem; }
.material-list li::before { content: '—'; position: absolute; left: 0; color: var(--blue); }
.material-visual { position: relative; min-height: 380px; align-self: stretch; margin: 0; overflow: hidden; background: #d9d2c8; }
.material-visual img { width: 100%; height: 100%; object-fit: cover; }
.material-visual figcaption { position: absolute; right: 16px; bottom: 16px; left: 16px; padding: 14px 16px; color: var(--white); background: rgba(20,34,28,.86); font-size: .78rem; line-height: 1.4; }
.texture { min-height: 380px; align-self: stretch; position: relative; overflow: hidden; }
.texture::after { content: ''; position: absolute; inset: 18%; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; }
.texture-paint { background: radial-gradient(circle at 35% 30%, #778f84, transparent 30%), linear-gradient(145deg, #617a6f, #263d33); }
.texture-wood { background: repeating-radial-gradient(ellipse at 20% 50%, transparent 0 34px, rgba(48,25,12,.2) 36px 39px), linear-gradient(90deg, #b1845e, #725038); }
.texture-stone { background: repeating-linear-gradient(120deg, transparent 0 53px, rgba(255,255,255,.25) 55px 57px), linear-gradient(145deg, #d5cabb, #918578); }
.texture-metal { background: radial-gradient(circle at 60% 30%, rgba(255,255,255,.32), transparent 17%), linear-gradient(135deg, #90999b, #424b4c); }
.about-page-hero { background: #d9d0c4; }
.story-grid { display: grid; grid-template-columns: .55fr 1fr; gap: 100px; align-items: start; }
.story-mark { color: var(--blue); font-family: Georgia, serif; font-size: clamp(7rem, 15vw, 15rem); line-height: .8; }
.story-mark span { color: var(--yellow); font-size: .4em; }
.story-mark.story-year { font-size: clamp(4.8rem, 10vw, 10rem); letter-spacing: -.07em; }
.story-grid h2 { margin-bottom: 35px; }
.story-grid > div:last-child > p:not(.eyebrow) { max-width: 750px; color: #66706b; font-size: 1.04rem; }
.values { color: var(--white); background: var(--forest-deep); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.value-grid article { min-height: 300px; padding: 35px 28px; }
.value-grid article + article { border-left: 1px solid rgba(255,255,255,.17); }
.value-grid article > span { color: var(--yellow); font-size: .7rem; }
.value-grid h3 { margin: 80px 0 15px; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; }
.value-grid p { color: rgba(255,255,255,.6); font-size: .86rem; }
.about-contact-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 90px; align-items: end; }
.about-contact-grid > div:last-child p { max-width: 540px; margin-bottom: 28px; color: #66706b; }
.contacts-hero { padding-bottom: 70px; background: #e6dfd4; }
.contacts-section { padding-top: 45px; }
.contacts-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.contact-data { border-top: 1px solid var(--line); }
.contact-data > div { padding: 25px 0; border-bottom: 1px solid var(--line); }
.contact-data span { display: block; margin-bottom: 9px; color: #78817d; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-data a { display: inline-block; font-family: Georgia, serif; font-size: 1.45rem; }
.contact-data p, .contact-data address { margin: 5px 0 0; color: #66706b; font-size: .85rem; font-style: normal; }
.contact-form-light { padding: 50px; color: var(--ink); background: #eee9e1; }
.contact-form-light h2 { grid-column: 1 / -1; margin-bottom: 20px; font-size: 3.2rem; }
.contact-form-light input, .contact-form-light textarea { border-color: rgba(23,34,29,.24); }
.contact-form-light .consent span { color: #66706b; }
.contact-form-light .form-status.is-error { color: #a83322; }
.contact-form-light .form-status.is-success { color: #38703b; }
.map-placeholder { min-height: 500px; padding: 90px 0; background: radial-gradient(circle at 65% 40%, rgba(231,199,67,.17), transparent 17%), repeating-linear-gradient(90deg, transparent 0 110px, rgba(255,255,255,.04) 111px 112px), repeating-linear-gradient(0deg, transparent 0 110px, rgba(255,255,255,.04) 111px 112px), var(--forest); }
.map-card { width: min(410px, 100%); padding: 38px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.map-card span { color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.map-card strong { display: block; margin: 15px 0; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.map-card p { color: #66706b; font-size: .85rem; }
.map-card a { display: inline-block; margin-top: 15px; border-bottom: 1px solid currentColor; font-size: .78rem; font-weight: 700; }
.text-page .lead { margin-top: 25px; color: #66706b; }
.legal { padding-top: 20px; }
.legal-content { max-width: 900px; }
.legal-content h2 { margin: 50px 0 18px; font-size: 2.2rem; }
.legal-content p { color: #66706b; }
.legal-content a { border-bottom: 1px solid currentColor; }
.empty-state { padding-bottom: 45px; }
.empty-state p:not(.eyebrow) { margin: 28px 0; color: #66706b; }
.editorial-band { position: relative; margin-top: -25px; margin-bottom: 50px; }
.editorial-band img { width: 100%; height: clamp(420px, 52vw, 720px); object-fit: cover; background: #d9d2c8; }
.editorial-band figcaption { position: absolute; left: 28px; bottom: 28px; display: grid; max-width: 430px; gap: 7px; padding: 20px 24px; color: var(--white); background: rgba(20,34,28,.9); backdrop-filter: blur(12px); }
.editorial-band figcaption span { color: var(--yellow); font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.editorial-band figcaption p { margin: 0; font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.35; }
.contacts-hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.contacts-hero-grid h1 { font-size: clamp(3.8rem, 6.3vw, 7.2rem); }
.contacts-hero-grid > div > p:last-child { max-width: 630px; margin-top: 30px; color: #66706b; }
.contacts-hero-grid img { width: 100%; min-height: 470px; object-fit: cover; }
.locations { background: #f0ebe3; }
.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.location-card { background: var(--paper); border: 1px solid var(--line); }
.location-card > img { width: 100%; aspect-ratio: 1.62; object-fit: cover; background: #d9d2c8; }
.location-card-content { padding: clamp(25px, 4vw, 48px); }
.location-card-content > span { color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.location-card h3 { margin: 14px 0 18px; font-family: Georgia, serif; font-size: clamp(1.8rem, 2.5vw, 2.8rem); font-weight: 400; line-height: 1.1; }
.location-card p, .location-card address { color: #66706b; font-size: .9rem; font-style: normal; }
.location-card address { margin-top: 24px; color: var(--ink); font-family: Georgia, serif; font-size: 1.13rem; line-height: 1.5; }
.location-card .location-hours { margin: 12px 0 24px; font-size: .8rem; }
.location-card .arrow-link { display: inline-flex; }

@media (max-width: 1100px) {
    .container { width: min(100% - 40px, 1380px); }
    .main-nav { display: none; position: absolute; top: 80px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 0; padding: 15px 24px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
    .menu-toggle { display: block; order: 3; }
    .header-contact { margin-left: auto; }
    .hero { min-height: 760px; }
    .intro-grid, .split-heading, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
    .quiz-card { grid-template-columns: 1fr; gap: 40px; padding: 50px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: repeat(2, 1fr); }
    .page-hero-grid, .project-title-grid, .project-info-grid, .split-cta, .story-grid, .about-contact-grid, .contacts-layout, .contacts-hero-grid { grid-template-columns: 1fr; gap: 45px; }
    .project-short { justify-self: start; }
    .material-list > article { grid-template-columns: 50px 1fr; }
    .material-list .texture, .material-list .material-visual { grid-column: 2; min-height: 320px; }
    .process-visual-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-principles-layout { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid article:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.17); }
    .value-grid article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.17); }
}

@media (max-width: 760px) {
    .container { width: min(100% - 28px, 1380px); }
    .section { padding: 78px 0; }
    h2 { font-size: clamp(2.45rem, 12vw, 4.1rem); }
    .header-inner { min-height: 72px; }
    .brand img { width: 176px; }
    .brand span, .header-contact { display: none; }
    .main-nav { top: 69px; left: 14px; right: 14px; }
    .hero { min-height: 760px; height: 100svh; }
    .hero-image { background-position: 60% center; }
    .hero-shade { background: linear-gradient(90deg, rgba(10,20,15,.86), rgba(10,20,15,.4)), linear-gradient(0deg, rgba(8,15,12,.65), transparent 60%); }
    .hero-content { padding-top: 80px; }
    .hero h1 { width: 100%; max-width: 100%; font-size: clamp(3.1rem, 14vw, 3.8rem); line-height: 1.02; }
    .mobile-break { display: block; }
    .hero-lead { width: 100%; max-width: 100%; font-size: .98rem; }
    .hero-actions { width: 100%; }
    .hero-actions .button { width: 100%; }
    .hero-offer { width: 100%; gap: 8px; margin: -10px 0 22px; }
    .hero-offer li { min-width: 0; flex: 1 1 calc(50% - 4px); padding: 11px 13px; }
    .hero-offer li:nth-child(3) { display: none; }
    .hero-offer strong { font-size: 1.45rem; }
    .hero-offer span { font-size: .76rem; }
    .hero-facts { width: 100%; gap: 0; justify-content: space-between; margin-top: 45px; }
    .hero-facts li:nth-child(3) { display: none; }
    .hero-scroll { display: none; }
    .intro-grid { gap: 30px; }
    .feature-strip { grid-template-columns: 1fr; margin-top: 55px; }
    .feature-strip article { min-height: auto; padding: 28px 0; }
    .feature-strip article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .feature-strip h3 { margin-top: 20px; }
    .split-heading { margin-bottom: 40px; }
    .project-grid { grid-template-columns: 1fr; gap: 38px; }
    .project-image { aspect-ratio: 1.15; }
    .project-more { opacity: 1; transform: none; }
    .project-meta > span { display: none; }
    .quiz-card { width: 100%; padding: 45px 22px; }
    .quick-form, .contact-form { grid-template-columns: 1fr; }
    .material-grid { grid-template-columns: 1fr; }
    .material-card { min-height: 330px; }
    .process-visual-grid, .location-grid { grid-template-columns: 1fr; }
    .process-visual-grid figure { min-height: 280px; }
    .sample-row { align-items: flex-start; flex-direction: column; }
    .steps li { grid-template-columns: 45px 1fr; gap: 15px; }
    .steps li div { grid-template-columns: 1fr; gap: 10px; }
    .about-panel { padding: 55px 24px; }
    .about-numbers { grid-template-columns: 1fr; }
    .about-numbers > div { min-height: 180px; }
    .review-grid { grid-template-columns: 1fr; }
    .review-grid figure { min-height: 290px; }
    .faq-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-section { padding: 80px 0; }
    .contact-grid { gap: 45px; }
    .form-footer { align-items: stretch; flex-direction: column; }
    .footer-main { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { flex-direction: column; }
    .modal-dialog { padding: 38px 24px 28px; }
    .inner-page { padding-top: 72px; }
    .page-hero { padding: 75px 0 60px; }
    .page-hero h1, .project-title-grid h1 { font-size: clamp(3.1rem, 14vw, 4.2rem); }
    .catalog-page-section { padding: 25px 0 80px; }
    .split-cta { gap: 30px; }
    .project-detail-head { padding-top: 35px; }
    .breadcrumbs { padding-top: 25px; }
    .project-title-grid { margin-top: 45px; }
    .project-showcase .container { width: 100%; }
    .project-showcase img { min-height: 420px; }
    .project-gallery-grid { grid-template-columns: 1fr; }
    .project-info-grid dl div { grid-template-columns: 1fr; gap: 5px; }
    .related-grid { grid-template-columns: 1fr; }
    .material-list > article { grid-template-columns: 35px 1fr; gap: 20px; padding: 45px 0; }
    .material-list .texture, .material-list .material-visual { grid-column: 1 / -1; min-height: 280px; }
    .detail-principles-layout > figure { min-height: 420px; }
    .story-grid { gap: 55px; }
    .value-grid { grid-template-columns: 1fr; }
    .value-grid article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.17); }
    .contact-form-light { padding: 35px 20px; }
    .contact-form-light h2 { font-size: 2.5rem; }
    .editorial-band { width: 100%; margin-top: 0; }
    .editorial-band img { height: 440px; }
    .editorial-band figcaption { left: 14px; right: 14px; bottom: 14px; }
    .contacts-hero-grid img { min-height: 360px; }
}

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

/* Catalog architecture and semantic landing pages */
.section-tight { padding: 70px 0 100px; }
.landing-hero { padding: 70px 0 90px; background: linear-gradient(135deg, #f4f0e9, #fbfaf7 62%); }
.landing-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .55fr); gap: clamp(45px, 8vw, 120px); align-items: end; margin-top: 54px; }
.landing-hero h1 { max-width: 920px; margin-bottom: 28px; font-size: clamp(3.5rem, 7vw, 7.4rem); }
.landing-lead { max-width: 760px; margin-bottom: 32px; font-size: 1.15rem; color: rgba(23,34,29,.76); }
.landing-aside { padding: 32px; border: 1px solid var(--line); background: rgba(255,255,255,.58); }
.landing-aside span { display: block; margin-bottom: 14px; color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.landing-aside strong { display: block; margin-bottom: 12px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; line-height: 1.15; }
.landing-aside p { margin: 0; color: rgba(23,34,29,.68); }
.landing-process { background: var(--paper); }
.landing-process-visual { position: relative; margin: 55px 0 0; overflow: hidden; background: #d9d2c8; }
.landing-process-visual img { width: 100%; height: clamp(330px, 45vw, 620px); object-fit: cover; }
.landing-process-visual figcaption { position: absolute; right: 25px; bottom: 25px; width: min(430px, calc(100% - 50px)); padding: 22px 24px; color: var(--white); background: rgba(20,34,28,.9); }
.landing-process-visual figcaption span { color: var(--yellow); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.landing-process-visual figcaption p { margin: 8px 0 0; font-family: Georgia, serif; font-size: 1.08rem; line-height: 1.35; }
.landing-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 65px 0 0; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.landing-steps li { min-height: 190px; padding: 28px; border-right: 1px solid var(--line); }
.landing-steps li:last-child { border-right: 0; }
.landing-steps span { display: block; margin-bottom: 45px; color: var(--blue); font-size: .72rem; letter-spacing: .14em; }
.landing-steps strong { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; line-height: 1.2; }
.landing-projects { background: #f0ebe3; }
.honest-empty { background: #f0ebe3; }
.related-links { border-top: 1px solid var(--line); }
.directory-grid, .landing-directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.directory-grid a, .landing-directory a { min-height: 150px; padding: 28px; background: var(--paper); transition: background .2s, transform .2s; }
.directory-grid a:hover, .landing-directory a:hover { z-index: 1; background: var(--cream); transform: translateY(-2px); }
.directory-grid strong, .landing-directory strong { display: block; margin-bottom: 12px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; line-height: 1.15; }
.directory-grid span, .landing-directory span { color: rgba(23,34,29,.62); font-size: .82rem; }
.landing-directory.compact a { min-height: 115px; }
.directory-summary, .pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 22px; color: rgba(23,34,29,.62); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pagination { margin: 28px 0 0; }
.pagination a { padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--ink); }
.catalog-filter-panel { margin-bottom: 65px; padding: 34px; border: 1px solid var(--line); background: var(--cream); }
.filter-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.filter-panel-head h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.filter-panel-head > span { color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.filter-fields { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; }
.filter-fields label span { display: block; margin-bottom: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.filter-fields select { width: 100%; min-height: 52px; padding: 0 38px 0 14px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); }
.filter-actions { display: flex; align-items: center; gap: 14px; }
.text-clear { border-bottom: 1px solid currentColor; font-size: .76rem; }
.catalog-empty { max-width: 740px; margin: 30px auto 80px; padding: 55px; text-align: center; border: 1px solid var(--line); }
.catalog-empty h2 { margin-bottom: 18px; font-size: 3rem; }
.catalog-empty p { margin-bottom: 25px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(50px, 8vw, 120px); align-items: start; }
.article-layout article { max-width: 820px; }
.article-layout article h2 { margin: 55px 0 20px; font-size: clamp(2.3rem, 4vw, 4rem); }
.article-layout article h2:first-child { margin-top: 0; }
.article-layout article p, .article-layout article li { font-size: 1.06rem; color: rgba(23,34,29,.76); }
.article-note { position: sticky; top: 120px; padding: 30px; border-left: 3px solid var(--yellow); background: var(--cream); }
.article-note strong { display: block; margin-bottom: 12px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.article-note p { color: rgba(23,34,29,.7); }

@media (max-width: 1120px) {
    .main-nav { gap: 14px; }
    .main-nav a { font-size: .66rem; }
    .header-contact { display: none; }
    .filter-fields { grid-template-columns: repeat(2, 1fr); }
    .filter-actions { min-height: 54px; }
    .directory-grid, .landing-directory { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .section-tight { padding: 48px 0 75px; }
    .landing-hero { padding: 35px 0 70px; }
    .landing-hero-grid, .article-layout { grid-template-columns: 1fr; gap: 35px; margin-top: 35px; }
    .landing-hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
    .landing-lead { font-size: 1rem; }
    .landing-steps { grid-template-columns: 1fr; }
    .landing-steps li { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .landing-steps li:last-child { border-bottom: 0; }
    .landing-steps span { margin-bottom: 18px; }
    .directory-grid, .landing-directory, .filter-fields { grid-template-columns: 1fr; }
    .directory-grid a, .landing-directory a { min-height: auto; }
    .catalog-filter-panel { padding: 24px 18px; }
    .filter-panel-head { align-items: flex-start; flex-direction: column; }
    .filter-actions { flex-wrap: wrap; }
    .article-note { position: static; }
}

/* Unique visual heroes for catalog sections and SEO collections */
.catalog-visual-hero {
    --hero-focus-x: 50%;
    --hero-focus-y: 50%;
    position: relative;
    min-height: clamp(650px, 72vh, 850px);
    overflow: hidden;
    color: var(--white);
    background: #101b16;
    isolation: isolate;
}
.catalog-hero-media,
.catalog-hero-shade { position: absolute; inset: 0; }
.catalog-hero-media { z-index: -2; }
.catalog-hero-photo { position: absolute; display: block; object-fit: cover; }
.catalog-hero-photo--main {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: var(--hero-focus-x) var(--hero-focus-y);
    transform: scale(1.015);
}
.catalog-hero-photo--second,
.catalog-hero-photo--third {
    z-index: 2;
    right: clamp(24px, 4.5vw, 78px);
    width: clamp(170px, 18vw, 310px);
    border: 1px solid rgba(255,255,255,.48);
    box-shadow: 0 28px 70px rgba(0,0,0,.32);
}
.catalog-hero-photo--second { top: 12%; height: 34%; }
.catalog-hero-photo--third { right: clamp(120px, 14vw, 245px); bottom: 8%; height: 29%; }
.catalog-hero-shade {
    z-index: 3;
    background:
        linear-gradient(90deg, rgba(7,16,12,.91) 0%, rgba(7,16,12,.73) 39%, rgba(7,16,12,.25) 70%, rgba(7,16,12,.1) 100%),
        linear-gradient(0deg, rgba(5,12,9,.72), transparent 58%);
}
.catalog-visual-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .2;
    background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,.18) 25%);
    pointer-events: none;
}
.catalog-hero-shell { display: flex; min-height: inherit; flex-direction: column; }
.catalog-hero-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 42px;
    color: rgba(255,255,255,.68);
    font-size: .72rem;
}
.catalog-hero-breadcrumbs a { transition: color .2s; }
.catalog-hero-breadcrumbs a:hover { color: var(--yellow); }
.catalog-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(225px, .28fr);
    gap: clamp(45px, 8vw, 125px);
    align-items: end;
    margin-top: auto;
    padding: clamp(75px, 12vh, 145px) 0 64px;
}
.catalog-hero-copy { max-width: 940px; }
.catalog-hero-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px;
    color: var(--yellow);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.catalog-hero-kicker::before { content: ''; width: 44px; height: 1px; background: currentColor; }
.catalog-visual-hero h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(3.5rem, 6.6vw, 7.2rem);
    line-height: .94;
    letter-spacing: -.045em;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(0,0,0,.16);
}
.catalog-hero-lead {
    max-width: 690px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.78);
    font-size: clamp(.98rem, 1.4vw, 1.15rem);
}
.catalog-hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.catalog-hero-actions > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,.55);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.catalog-hero-actions > a span { color: var(--yellow); }
.catalog-hero-proof {
    position: relative;
    z-index: 4;
    align-self: end;
    padding: 25px 0 4px 24px;
    border-left: 1px solid rgba(255,255,255,.42);
    backdrop-filter: blur(2px);
}
.catalog-hero-proof > span {
    display: block;
    color: var(--yellow);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.catalog-hero-proof strong {
    display: block;
    margin: 10px 0 8px;
    font-family: Georgia, serif;
    font-size: clamp(3.5rem, 5.5vw, 5.8rem);
    font-weight: 400;
    line-height: .9;
}
.catalog-hero-proof p { margin: 0; color: rgba(255,255,255,.68); font-size: .78rem; line-height: 1.55; }
.catalog-visual-hero--v1 .catalog-hero-photo--second { top: 9%; height: 29%; }
.catalog-visual-hero--v1 .catalog-hero-photo--third { right: clamp(76px, 10vw, 170px); bottom: 6%; height: 34%; }
.catalog-visual-hero--v2 .catalog-hero-photo--second { right: clamp(90px, 11vw, 190px); top: 8%; height: 36%; }
.catalog-visual-hero--v2 .catalog-hero-photo--third { right: clamp(22px, 4vw, 70px); bottom: 10%; height: 25%; }
.catalog-visual-hero--v3 .catalog-hero-photo--second { top: 15%; height: 27%; }
.catalog-visual-hero--v3 .catalog-hero-photo--third { right: clamp(145px, 16vw, 280px); bottom: 5%; height: 36%; }
.catalog-visual-hero--v4 .catalog-hero-photo--second { right: clamp(125px, 14vw, 240px); top: 8%; height: 31%; }
.catalog-visual-hero--v4 .catalog-hero-photo--third { right: clamp(26px, 4vw, 72px); bottom: 7%; height: 31%; }
.catalog-visual-hero--v5 .catalog-hero-photo--second { top: 7%; height: 35%; }
.catalog-visual-hero--v5 .catalog-hero-photo--third { right: clamp(95px, 12vw, 205px); bottom: 8%; height: 26%; }

@media (max-width: 1050px) {
    .catalog-hero-photo--second,
    .catalog-hero-photo--third { opacity: .72; }
    .catalog-hero-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 38px; }
    .catalog-hero-shade { background: linear-gradient(90deg, rgba(7,16,12,.92), rgba(7,16,12,.62) 68%, rgba(7,16,12,.28)), linear-gradient(0deg, rgba(5,12,9,.76), transparent 60%); }
}

@media (max-width: 760px) {
    .catalog-visual-hero { min-height: 720px; }
    .catalog-hero-breadcrumbs { padding-top: 24px; font-size: .66rem; }
    .catalog-hero-breadcrumbs span:last-child { display: none; }
    .catalog-hero-layout { display: block; padding: 150px 0 35px; }
    .catalog-visual-hero h1 { max-width: 100%; font-size: clamp(3rem, 13.2vw, 4.35rem); line-height: .96; }
    .catalog-hero-lead { margin-top: 22px; font-size: .94rem; }
    .catalog-hero-actions { align-items: stretch; flex-direction: column; gap: 18px; margin-top: 27px; }
    .catalog-hero-actions .button { width: 100%; }
    .catalog-hero-actions > a { align-self: flex-start; }
    .catalog-hero-proof { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: end; margin-top: 30px; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.38); border-left: 0; }
    .catalog-hero-proof > span { grid-column: 1 / -1; }
    .catalog-hero-proof strong { margin: 7px 0 0; font-size: 3.5rem; }
    .catalog-hero-proof p { padding-bottom: 5px; }
    .catalog-hero-photo--second { top: 28px; right: 14px !important; width: 118px; height: 126px !important; opacity: .88; }
    .catalog-hero-photo--third { top: 74px; right: 108px !important; bottom: auto !important; width: 92px; height: 104px !important; opacity: .72; }
    .catalog-hero-shade { background: linear-gradient(0deg, rgba(6,14,10,.96) 0%, rgba(6,14,10,.78) 64%, rgba(6,14,10,.34) 100%); }
    .catalog-visual-hero::after { background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(255,255,255,.14) 50%); }
}

/* ---------- Маркетинговые доработки (октябрь 2026) ---------- */

/* Сетка разделов: без серых «пустых карточек» в неполном ряду — линии рисуются у самих карточек. */
.directory-grid, .landing-directory { gap: 0; background: transparent; border: 0; }
.directory-grid a, .landing-directory a { box-shadow: inset 0 0 0 1px var(--line); margin: 0 -1px -1px 0; }

/* Шапка: мессенджер рядом с телефоном. */
.header-actions-row { display: flex; align-items: center; gap: 14px; }
.header-messenger { font-size: .74rem; font-weight: 700; color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.inner-header .header-messenger, .site-header.is-scrolled .header-messenger { color: var(--blue); }
.header-messenger:hover { opacity: .8; }

/* Мобильная панель «Позвонить · Написать · Расчёт». */
.mobile-cta { display: none; }
@media (max-width: 760px) {
    .mobile-cta { position: fixed; z-index: 900; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; padding: 0 0 env(safe-area-inset-bottom); background: rgba(23,34,29,.18); box-shadow: 0 -8px 24px rgba(18,28,23,.16); }
    .mobile-cta a { display: flex; min-height: 58px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: var(--forest-deep); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
    .mobile-cta a.is-accent { background: var(--yellow); color: var(--ink); }
    .mobile-cta svg { width: 20px; height: 20px; fill: currentColor; }
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    body.modal-open .mobile-cta { display: none; }
}

/* Лид-магниты. */
.lead-magnets { background: var(--cream); }
.magnet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 50px; }
.magnet-card { display: flex; flex-direction: column; gap: 26px; padding: clamp(26px, 3.4vw, 46px); background: var(--white); box-shadow: var(--shadow); }
.magnet-plan { background: var(--forest); color: var(--white); }
.magnet-head h3 { margin: 14px 0 12px; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.3vw, 2.1rem); font-weight: 400; line-height: 1.12; letter-spacing: -.02em; }
.magnet-head p { margin: 0; color: #66706b; font-size: .95rem; }
.magnet-plan .magnet-head p { color: rgba(255,255,255,.74); }
.magnet-badge { display: inline-block; padding: 6px 11px; border-radius: 20px; background: var(--yellow); color: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.magnet-form { display: grid; gap: 16px; }
.magnet-form label > span, .magnet-form legend { display: block; margin-bottom: 7px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #66706b; }
.magnet-plan .magnet-form label > span, .magnet-plan .magnet-form legend { color: rgba(255,255,255,.62); }
.magnet-form input[type=text], .magnet-form input[type=tel], .magnet-form select { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.magnet-plan input[type=text], .magnet-plan input[type=tel] { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: var(--white); }
.magnet-plan input::placeholder { color: rgba(255,255,255,.45); }
.magnet-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.magnet-file { position: relative; display: flex; min-height: 92px; align-items: center; justify-content: center; padding: 18px; border: 1.5px dashed rgba(255,255,255,.42); border-radius: 6px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.magnet-file:hover, .magnet-file.has-file { border-color: var(--yellow); background: rgba(231,199,67,.1); }
.magnet-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.magnet-file span { color: rgba(255,255,255,.75); font-size: .86rem; }
.magnet-file b { display: block; margin-bottom: 4px; color: var(--yellow); font-size: 1rem; }
.contact-way { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.contact-way legend { width: 100%; }
.contact-way label, .pick-options label { position: relative; cursor: pointer; }
.contact-way input, .pick-options input { position: absolute; opacity: 0; }
.contact-way span, .pick-options span { display: inline-flex; min-height: 40px; align-items: center; padding: 0 15px; border: 1px solid var(--line); border-radius: 20px; font-size: .84rem; transition: all .15s; }
.magnet-plan .contact-way span { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.contact-way input:checked + span, .pick-options input:checked + span { border-color: var(--yellow); background: var(--yellow); color: var(--ink); font-weight: 700; }
.contact-way input:focus-visible + span, .pick-options input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.pick-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.pick-options legend { width: 100%; }
.magnet-plan .consent span { color: rgba(255,255,255,.55); }
.magnet-pick .consent span, .calc-lead .consent span { color: #68716d; }
.magnet-pick .form-status.is-error, .calc-lead .form-status.is-error { color: #a83322; }
.magnet-pick .form-status.is-success, .calc-lead .form-status.is-success { color: #38703b; }
.button.full { width: 100%; }
.magnet-note { margin: -4px 0 0; color: #66706b; font-size: .78rem; }

/* Лента Telegram-канала. */
.telegram-feed-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.telegram-feed-intro p { margin: 0; }
.telegram-feed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 46px; }
.telegram-post { display: flex; flex-direction: column; background: var(--white); box-shadow: 0 10px 30px rgba(18,28,23,.07); transition: transform .2s, box-shadow .2s; }
.telegram-post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.telegram-post img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.telegram-post > div { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.telegram-post time { color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.telegram-post p { margin: 0; color: #4d5752; font-size: .92rem; }
.telegram-post span { margin-top: auto; color: var(--ink); font-size: .8rem; font-weight: 700; }

/* Производство и шоурум: действия и галерея реальных фото. */
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.real-gallery { margin-top: 56px; }
.real-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.real-gallery figure { margin: 0; }
.real-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.real-gallery figcaption { margin-top: 8px; color: #66706b; font-size: .8rem; }

/* Калькулятор стоимости. */
.calc-hero { padding: 120px 0 40px; background: var(--paper); }
.calc-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-top: 50px; }
.calc-hero h1 { margin-bottom: 22px; font-size: clamp(3rem, 6vw, 6.4rem); }
.calc-promises { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.calc-promises li { display: flex; align-items: baseline; gap: 14px; padding: 18px 22px; background: var(--white); }
.calc-promises strong { min-width: 110px; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 400; }
.calc-promises li:first-child strong { color: #b08c00; }
.calc-promises span { color: #66706b; font-size: .88rem; }
.calc-section { padding-bottom: 90px; }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.calc-form { display: grid; gap: 22px; }
.calc-step { margin: 0; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.calc-step legend { display: flex; align-items: center; gap: 12px; padding: 0; font-family: Georgia, serif; font-size: 1.5rem; float: left; width: 100%; margin-bottom: 20px; }
.calc-step legend span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--forest); color: var(--white); font-family: Arial, sans-serif; font-size: .8rem; font-weight: 700; }
.calc-cards { display: grid; gap: 10px; clear: both; }
.calc-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.calc-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.calc-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; transition: border-color .15s, background .15s; }
.calc-card:hover { border-color: rgba(23,34,29,.35); }
.calc-card input { position: absolute; opacity: 0; }
.calc-card:has(input:checked) { border-color: var(--forest); background: #eef4f0; }
.calc-card:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.calc-card.check:has(input:checked)::after { content: '✓'; position: absolute; top: 10px; right: 12px; color: var(--forest); font-weight: 700; }
.calc-card strong { font-size: .98rem; }
.calc-card small { color: #66706b; font-size: .78rem; line-height: 1.35; }
.calc-icon { width: 54px; height: 40px; margin-bottom: 8px; background: no-repeat center / contain; }
.calc-icon-straight { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 40'%3E%3Crect x='3' y='6' width='48' height='9' fill='%23263e34'/%3E%3C/svg%3E"); }
.calc-icon-corner { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 40'%3E%3Cpath d='M3 6h48v9H12v22H3z' fill='%23263e34'/%3E%3C/svg%3E"); }
.calc-icon-u_shape { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 40'%3E%3Cpath d='M3 6h48v31h-9V15H12v22H3z' fill='%23263e34'/%3E%3C/svg%3E"); }
.calc-icon-island { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 40'%3E%3Crect x='3' y='4' width='48' height='9' fill='%23263e34'/%3E%3Crect x='14' y='24' width='26' height='11' fill='%233c7e91'/%3E%3C/svg%3E"); }
.calc-range { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 16px; clear: both; }
.calc-range + .calc-range { margin-top: 22px; }
.calc-range label { font-weight: 700; }
.calc-range output { font-family: Georgia, serif; font-size: 1.6rem; }
.calc-range input { grid-column: 1 / -1; width: 100%; accent-color: var(--forest); }
.calc-range p { grid-column: 1 / -1; margin: 0; color: #66706b; font-size: .82rem; }
.calc-help { display: inline-block; margin-top: 14px; color: var(--blue); font-size: .84rem; font-weight: 700; }
.calc-result { position: sticky; top: 100px; display: grid; gap: 16px; }
.calc-result-box { padding: 28px; background: var(--forest); color: var(--white); }
.calc-result-box .eyebrow.dark { color: #a9cbd5; }
.calc-price { margin: 4px 0 10px; font-family: Georgia, serif; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; color: var(--yellow); }
.calc-price-off { font-size: 1.9rem; }
.calc-price-note { margin: 0 0 18px; color: rgba(255,255,255,.66); font-size: .8rem; }
.calc-summary { display: grid; gap: 7px; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; font-size: .84rem; }
.calc-summary li { display: flex; justify-content: space-between; gap: 14px; }
.calc-summary span { color: rgba(255,255,255,.6); }
.calc-summary b { text-align: right; font-weight: 600; }
.calc-lead { display: grid; gap: 13px; padding: 26px 28px; border: 1px solid var(--line); background: var(--white); }
.calc-lead-title { margin: 0; font-family: Georgia, serif; font-size: 1.45rem; }
.calc-lead label > span, .calc-lead legend { display: block; margin-bottom: 6px; color: #66706b; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.calc-lead input[type=text], .calc-lead input[type=tel] { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.calc-telegram { color: var(--blue); font-size: .84rem; font-weight: 700; text-align: center; }
@media (max-width: 1100px) {
    .calc-layout { grid-template-columns: 1fr; }
    .calc-result { position: static; }
    .calc-hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .telegram-feed-grid { grid-template-columns: 1fr 1fr; }
    .real-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .magnet-grid, .magnet-row { grid-template-columns: 1fr; }
    .calc-hero { padding: 96px 0 24px; }
    .calc-cards.four, .calc-cards.three { grid-template-columns: 1fr 1fr; }
    .calc-step { padding: 20px 16px; }
    .telegram-feed-grid { grid-template-columns: 1fr; }
    .location-actions .button { width: 100%; }
}
/* Варианты-«пилюли» и согласие внутри форм лид-магнитов и калькулятора: обычный регистр, не как подписи полей. */
.magnet-form .contact-way label > span, .magnet-form .pick-options label > span, .calc-lead .contact-way label > span { display: inline-flex; margin: 0; color: inherit; font-size: .86rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.magnet-plan .contact-way label > span { color: rgba(255,255,255,.88); }
.magnet-form .contact-way input:checked + span, .magnet-form .pick-options input:checked + span, .calc-lead .contact-way input:checked + span { color: var(--ink); font-weight: 700; }
.magnet-form .consent span, .calc-lead .consent span { display: inline; margin: 0; font-size: .72rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.magnet-plan .consent span { color: rgba(255,255,255,.6); }
.magnet-file > span { display: block; margin: 0; color: rgba(255,255,255,.72); font-size: .82rem; letter-spacing: 0; text-transform: none; }
.magnet-file > span b { letter-spacing: .04em; }

/* Цены «от» в карточках каталога и на странице кухни (ставки калькулятора). */
.project-short { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* Команда: роли от замера до монтажа. */
.team-group { margin-bottom: 26px; }
.team-group img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.team-card { grid-column: span 2; display: flex; flex-direction: column; background: var(--white); box-shadow: var(--shadow); }
.team-card:nth-child(4), .team-card:nth-child(5) { grid-column: span 3; }
.team-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.team-card:nth-child(4) img, .team-card:nth-child(5) img { aspect-ratio: 16 / 9; }
.team-card > div { padding: 22px 24px 26px; }
.team-card span { display: block; margin-bottom: 8px; color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.team-card h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 1.4rem; font-weight: 400; }
.team-card p { margin: 0; color: #59625e; font-size: .9rem; line-height: 1.55; }
.team-note { margin-top: 18px; color: #7a827e; font-size: .78rem; }
@media (max-width: 900px) {
    .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .team-card, .team-card:nth-child(4), .team-card:nth-child(5) { grid-column: span 1; }
    .team-card:nth-child(4) img, .team-card:nth-child(5) img { aspect-ratio: 4 / 3; }
    .team-card:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 560px) {
    .team-grid { grid-template-columns: 1fr; }
    .team-card:last-child:nth-child(odd) { grid-column: span 1; }
    .team-group img { aspect-ratio: 4 / 3; }
    .team-card > div { padding: 18px 18px 20px; }
}

/* Акцентная цена в карточках: зачёркнутая цена без акции, крупная цена «от», размер расчёта. */
/* Метки на фото карточки. */
.project-badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.project-badge { display: inline-block; padding: 7px 11px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.project-badge.is-exclusive { color: var(--yellow); background: var(--forest-deep); }
.project-badge.is-trend { color: var(--ink); background: var(--yellow); }
.project-badges.is-inline { position: static; margin-top: 18px; }
/* Цена на странице кухни. */
.project-short { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.project-price-box { display: grid; gap: 6px; min-width: 300px; max-width: 380px; padding: 22px 24px; background: var(--white); box-shadow: var(--shadow); border-top: 4px solid var(--yellow); }
.project-price-box > span { color: #c0392b; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-price-old { display: flex; align-items: center; gap: 10px; }
.project-price-old s { color: #8b928e; font-size: 1.05rem; text-decoration-color: #c0392b; text-decoration-thickness: 2px; }
.project-price-old b { padding: 4px 8px; border-radius: 4px; color: var(--white); background: #c0392b; font-size: .78rem; }
.project-price-box strong { font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.05; color: var(--ink); }
.project-price-box small { color: #66706b; font-size: .84rem; line-height: 1.5; }
.project-price-box a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Калькулятор: цена без акции над вилкой. */
.calc-price-old { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 0; }
.calc-price-old span { padding: 4px 8px; border-radius: 4px; color: var(--white); background: #c0392b; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.calc-price-old s { color: rgba(255,255,255,.6); font-size: 1.05rem; text-decoration-color: #e15a4a; text-decoration-thickness: 2px; }
@media (max-width: 560px) {
    .project-price-box { min-width: 0; width: 100%; max-width: none; }
}

@media (max-width: 760px) {
    /* На тач-экранах «Открыть проект» видна всегда и закрывала бы цену; фото и так ведёт на проект. */
    .project-image:has(.project-price-tag) .project-more { display: none; }
}
/* Цена поверх фото: зачёркнутая — текстом без подложки, актуальная — на жёлтой плашке. */
.project-price-tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: grid; justify-items: start; gap: 6px; pointer-events: none; }
.project-price-tag s { color: #fff; font-size: 1.08rem; font-weight: 700; text-decoration-color: #ff5a47; text-decoration-thickness: 2px; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 14px rgba(0,0,0,.65), 0 0 4px rgba(0,0,0,.6); }
.project-price-row { display: flex; align-items: center; gap: 10px; }
.project-price-row strong { padding: 9px 14px 10px; border-radius: 4px; color: var(--ink); background: var(--yellow); box-shadow: 0 10px 28px rgba(0,0,0,.25); font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.project-price-row small { color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 0 10px rgba(0,0,0,.5); }
@media (max-width: 560px) {
    .project-price-tag { left: 10px; bottom: 10px; }
    .project-price-row strong { font-size: 1.3rem; padding: 8px 12px 9px; }
}

/* Видео шоурума в карточке локации. */
.location-card > .location-video { display: block; width: 100%; aspect-ratio: 1.62; object-fit: cover; background: #d9d2c8; }

/* Каталог: номера страниц (для поисковиков и без JavaScript) и бесконечный скролл. */
.pagination-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.pagination-pages a, .pagination-pages b { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); }
.pagination-pages a { border-bottom: 1px solid var(--line); padding-bottom: 0; }
.pagination-pages b { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.pagination-pages i { font-style: normal; }
.catalog-pagination.is-infinite { display: none; }
.catalog-sentinel { height: 1px; }
.catalog-loader { margin: 26px 0 0; color: #66706b; font-size: .85rem; text-align: center; }
.project-card.is-appearing { animation: card-appear .45s ease both; }
@keyframes card-appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .project-card.is-appearing { animation: none; } }


/* Баннеры в каталоге после каждых 6 карточек: компактная полоса на всю ширину сетки — тезис слева, кнопка справа. */
.catalog-banner { position: relative; grid-column: 1 / -1; overflow: hidden; color: var(--white); background: var(--forest-deep) var(--banner-image) center / cover no-repeat; }
.catalog-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,30,24,.94) 0%, rgba(16,30,24,.86) 55%, rgba(16,30,24,.62) 100%); }
.catalog-banner-content { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 26px clamp(24px, 3.4vw, 44px); }
.catalog-banner-copy { max-width: 760px; }
.catalog-banner-eyebrow { margin: 0 0 8px; color: var(--yellow); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.catalog-banner-title { margin: 0 0 6px; font-family: Georgia, serif; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.015em; }
.catalog-banner-text { margin: 0; color: rgba(255,255,255,.76); font-size: .88rem; line-height: 1.5; }
.catalog-banner .button { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 760px) {
    .catalog-banner-content { flex-direction: column; align-items: stretch; gap: 18px; padding: 24px 20px; }
    .catalog-banner .button { width: 100%; white-space: normal; }
}

/* Карусель фото в карточке кухни: свайп/прокрутка со «щелчком», стрелки, счётчик и точки. */
.project-slider .project-slides { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.project-slider .project-slides::-webkit-scrollbar { display: none; }
.project-slider .project-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; user-select: none; }
.project-slider:hover img { transform: none; }
.project-slider .project-more, .project-slider .project-badges, .project-slider .project-price-tag { pointer-events: none; }
.slider-arrow { position: absolute; top: 50%; z-index: 3; place-items: center; width: 42px; height: 42px; margin-top: -21px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: rgba(251,250,247,.92); box-shadow: 0 6px 18px rgba(0,0,0,.2); font-size: 1.7rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s, transform .2s; }
.slider-arrow.is-prev { left: 12px; }
.slider-arrow.is-next { right: 12px; }
.slider-arrow:hover { transform: scale(1.06); }
.js .project-slider .slider-arrow { display: grid; }
.project-slider:hover .slider-arrow, .slider-arrow:focus-visible { opacity: 1; }
.slider-count { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 5px 9px; border-radius: 999px; color: #fff; background: rgba(16,30,24,.62); font-size: .72rem; font-weight: 700; letter-spacing: .04em; pointer-events: none; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.slider-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 3px rgba(0,0,0,.4); transition: width .2s, background .2s; }
.slider-dots i.is-active { width: 16px; border-radius: 3px; background: #fff; }
@media (max-width: 760px) {
    .slider-dots { left: auto; right: 12px; bottom: 16px; }
    .slider-arrow { width: 34px; height: 34px; margin-top: -17px; font-size: 1.35rem; opacity: .9; }
    .slider-arrow.is-prev { left: 8px; }
    .slider-arrow.is-next { right: 8px; }
}
@media (hover: none) { .slider-arrow { opacity: .9; } }

/* Шапка каталога — современная подача: светлее фото, без линий-сетки, скруглённые плавающие кадры,
   «стеклянная» карточка со счётчиком и кнопка-пилюля. */
.catalog-visual-hero::after { display: none; }
.catalog-hero-photo--main { transform: scale(1.04); animation: hero-zoom 18s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1.04); } }
.catalog-hero-shade {
    background:
        radial-gradient(120% 90% at 0% 100%, rgba(8,18,14,.88) 0%, rgba(8,18,14,.55) 45%, rgba(8,18,14,0) 75%),
        linear-gradient(90deg, rgba(8,18,14,.7) 0%, rgba(8,18,14,.35) 45%, rgba(8,18,14,0) 75%),
        linear-gradient(180deg, rgba(8,18,14,.45) 0%, rgba(8,18,14,0) 22%);
}
.catalog-hero-photo--second,
.catalog-hero-photo--third { border: 1px solid rgba(255,255,255,.28); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.38), 0 0 0 6px rgba(255,255,255,.06); }
.catalog-hero-kicker { display: inline-flex; padding: 8px 14px 8px 12px; border: 1px solid rgba(231,199,67,.4); border-radius: 999px; background: rgba(8,18,14,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); letter-spacing: .14em; }
.catalog-hero-kicker::before { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(231,199,67,.18); }
.catalog-visual-hero h1 { letter-spacing: -.05em; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.catalog-hero-actions .button { border-radius: 999px; padding-left: 30px; padding-right: 30px; }
.catalog-hero-actions > a { padding: 14px 22px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.catalog-hero-actions > a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.8); }
.catalog-hero-proof { padding: 24px 26px 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; background: rgba(8,18,14,.5); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.catalog-hero-breadcrumbs { color: rgba(255,255,255,.8); }
@media (max-width: 760px) {
    .catalog-hero-shade { background: linear-gradient(180deg, rgba(8,18,14,.35) 0%, rgba(8,18,14,.55) 35%, rgba(8,18,14,.9) 70%); }
    .catalog-hero-photo--second, .catalog-hero-photo--third { border-radius: 14px; }
    .catalog-hero-actions > a { align-self: stretch; justify-content: center; }
    .catalog-hero-proof { padding: 16px 18px; border-radius: 18px; border-top: 1px solid rgba(255,255,255,.22); }
}
@media (prefers-reduced-motion: reduce) { .catalog-hero-photo--main { animation: none; } }

/* Страница «Материалы»: навигация по разделам, карточки вариантов, сравнение фасадов. */
.mp-nav { position: sticky; top: 90px; z-index: 30; border-block: 1px solid var(--line); background: rgba(251,250,247,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mp-nav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.mp-nav .container::-webkit-scrollbar { display: none; }
.mp-nav a { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .78rem; font-weight: 700; white-space: nowrap; transition: background .2s, border-color .2s; }
.mp-nav a:hover { border-color: var(--forest); background: var(--forest); color: var(--white); }
.mp-section { scroll-margin-top: 150px; border-bottom: 1px solid var(--line); }
.mp-section:nth-of-type(even) { background: var(--cream); }
.mp-section-head { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: center; margin-bottom: 42px; }
.mp-section-head h2 { margin: 10px 0 18px; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.mp-section-head p:not(.eyebrow) { max-width: 560px; color: #59625e; }
.mp-section-head figure { margin: 0; }
.mp-section-head img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow); }
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.mp-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border: 1px solid var(--line); background: var(--white); }
.mp-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mp-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; line-height: 1.15; }
.mp-price { flex: 0 0 auto; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.mp-price b { color: var(--ink); }
.mp-price i { color: #c9c4ba; font-style: normal; }
.mp-card > p { margin: 0; color: #59625e; font-size: .88rem; line-height: 1.55; }
.mp-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.mp-card li { padding: 4px 9px; border-radius: 999px; background: #eef4ef; color: #2f4f40; font-size: .74rem; }
.mp-card .mp-cons { padding: 8px 10px; border-left: 3px solid var(--yellow); background: #fbf7e8; color: #5d5a4c; font-size: .8rem; }
.mp-link { margin-top: auto; padding-top: 10px; color: var(--blue); font-size: .8rem; font-weight: 700; }
.mp-link:hover { text-decoration: underline; }
.mp-compare-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.mp-compare-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .86rem; }
.mp-compare-table th, .mp-compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.mp-compare-table thead th { color: #66706b; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mp-compare-table tbody th { text-align: left; font-family: Georgia, serif; font-size: 1.02rem; font-weight: 400; white-space: nowrap; }
.mp-compare-table tbody tr:hover { background: var(--paper); }
.mp-dots { display: inline-flex; gap: 5px; }
.mp-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2ddd3; }
.mp-dots-1 i:nth-child(-n+1), .mp-dots-2 i:nth-child(-n+2), .mp-dots-3 i:nth-child(-n+3) { background: var(--forest); }
@media (max-width: 900px) {
    .mp-nav { top: 72px; }
    .mp-section-head { grid-template-columns: 1fr; }
    .mp-section-head figure { order: -1; }
}

/* Материалы: миниатюры карточек и вложенные страницы /materials/<раздел>/<пункт>/ */
.mp-card-media { display: block; margin: -22px -22px 6px; overflow: hidden; background: #e9e4dc; }
.mp-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.mp-card:hover .mp-card-media img { transform: scale(1.03); }
.mp-card h3 a:hover { color: var(--blue); }
.mp-card-links { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-top: auto; padding-top: 10px; }
.mp-card-links .mp-link { margin-top: 0; padding-top: 0; }
.mp-more { color: var(--ink); font-size: .8rem; font-weight: 700; }
.mp-more span { display: inline-block; transition: transform .2s; }
.mp-more:hover span { transform: translateX(3px); }
.mt-price { display: flex; align-items: baseline; gap: 2px; font-family: inherit; font-size: 1.3rem; letter-spacing: .04em; }
.mt-price em { margin-left: 10px; color: rgba(23,34,29,.62); font-size: .85rem; font-style: normal; font-weight: 400; letter-spacing: 0; }
.mt-figure { margin-top: -40px; margin-bottom: 0; }
.mt-figure img { display: block; width: 100%; height: auto; max-height: 720px; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }
.mt-article h2 { font-size: clamp(1.9rem, 3vw, 2.8rem) !important; }
.mt-article ul { padding-left: 1.2em; }
.mt-article li { margin-bottom: 6px; }
.mt-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 55px; }
.mt-proscons > div { padding: 26px 26px 18px; border: 1px solid var(--line); background: var(--white); }
.mt-proscons h3 { margin: 0 0 14px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.mt-proscons ul { margin: 0; padding: 0; list-style: none; }
.mt-proscons li { position: relative; padding-left: 22px; font-size: .95rem !important; }
.mt-proscons li::before { content: "+"; position: absolute; left: 0; color: var(--forest); font-weight: 700; }
.mt-proscons .mt-cons { border-left: 3px solid var(--yellow); background: #fbf7e8; }
.mt-proscons .mt-cons li::before { content: "!"; color: #9a7b14; }
.mt-specs dl { margin: 0 0 22px; }
.mt-specs dt { margin-top: 14px; color: rgba(23,34,29,.55); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mt-specs dd { margin: 4px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .9rem; line-height: 1.45; }
.mt-related { background: var(--cream); }
.mt-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.mt-related-grid a { display: flex; flex-direction: column; gap: 6px; padding-bottom: 16px; border: 1px solid var(--line); background: var(--white); transition: transform .2s, box-shadow .2s; }
.mt-related-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.mt-related-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mt-related-grid strong { padding: 8px 16px 0; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 400; line-height: 1.2; }
.mt-related-grid span { padding: 0 16px; color: rgba(23,34,29,.6); font-size: .78rem; }
@media (max-width: 900px) {
    .mt-figure { margin-top: -30px; }
    .mt-proscons { grid-template-columns: 1fr; }
}

/* Страница «Стоимость» (/stoimost/) */
.pr-hero { padding: 0 0 90px; background: linear-gradient(135deg, #f4f0e9, #fbfaf7 62%); }
.pr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: clamp(40px, 6vw, 90px); align-items: start; margin-top: 45px; }
.pr-hero h1 { margin-bottom: 26px; font-size: clamp(3.2rem, 6vw, 6.4rem); }
.pr-hero .landing-lead strong { color: var(--ink); white-space: nowrap; }
.pr-promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 40px 0 0; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.pr-promises li { padding: 20px 18px 18px 0; }
.pr-promises li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.pr-promises strong { display: block; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; line-height: 1.1; }
.pr-promises span { color: rgba(23,34,29,.62); font-size: .8rem; }
.pr-quick { position: sticky; top: 110px; display: grid; gap: 16px; padding: 28px; border-radius: 6px; background: var(--white); box-shadow: var(--shadow); }
.pr-quick-title { margin: 0; font-family: Georgia, serif; font-size: 1.55rem; }
.pr-quick fieldset { margin: 0; padding: 0; border: 0; }
.pr-quick legend, .pr-range label { display: block; margin-bottom: 8px; color: #66706b; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-chips label { position: relative; cursor: pointer; }
.pr-chips input { position: absolute; opacity: 0; }
.pr-chips span { display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 18px; font-size: .8rem; transition: all .15s; }
.pr-chips input:checked + span { border-color: var(--forest); background: var(--forest); color: var(--white); }
.pr-chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.pr-range { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
.pr-range output { font-weight: 700; }
.pr-range input { grid-column: 1 / -1; width: 100%; accent-color: var(--forest); }
.pr-quick-result { padding: 18px; border-radius: 4px; background: var(--cream); }
.pr-quick-old { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 4px; font-size: .78rem; }
.pr-quick-old span { color: #9a7b14; font-weight: 700; }
.pr-quick-old s { color: rgba(23,34,29,.5); }
.pr-quick-price { margin: 0; font-family: Georgia, serif; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.15; }
.pr-quick-note { margin: 8px 0 0; color: rgba(23,34,29,.6); font-size: .76rem; line-height: 1.45; }
.pr-quick-more { justify-self: center; color: var(--blue); font-size: .82rem; font-weight: 700; }
.pr-pricelist { background: var(--paper); }
.pr-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pr-tier { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 24px 22px; border: 1px solid var(--line); background: var(--white); }
.pr-tier.is-popular { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.pr-tier-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin: 0; color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pr-tier-label span { padding: 2px 8px; border-radius: 10px; background: var(--yellow); color: var(--ink); letter-spacing: .04em; text-transform: none; }
.pr-tier h3 { margin: 4px 0 0; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.pr-tier-hint { margin: 0; color: rgba(23,34,29,.6); font-size: .85rem; }
.pr-tier-rate { display: grid; margin: 12px 0 6px; padding: 14px 0; border-block: 1px solid var(--line); }
.pr-tier-rate s { color: rgba(23,34,29,.45); font-size: .82rem; }
.pr-tier-rate strong { font-family: Georgia, serif; font-size: 1.9rem; font-weight: 400; line-height: 1.1; }
.pr-tier-rate small { color: rgba(23,34,29,.6); font-size: .76rem; }
.pr-tier dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin: 0; font-size: .86rem; }
.pr-tier dt { color: rgba(23,34,29,.65); }
.pr-tier dd { margin: 0; font-weight: 700; text-align: right; }
.pr-tier-small { margin: 0; color: rgba(23,34,29,.5); font-size: .72rem; }
.pr-tier .mp-link { margin-top: auto; padding-top: 12px; }
.pr-tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.pr-table-card { padding: 24px; border: 1px solid var(--line); background: var(--white); }
.pr-table-card h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.pr-table-card table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.pr-table-card th, .pr-table-card td { padding: 11px 0; border-top: 1px solid var(--line); vertical-align: top; }
.pr-table-card th { font-weight: 700; text-align: left; }
.pr-table-card th a:hover { color: var(--blue); }
.pr-table-card td { padding-left: 12px; font-weight: 700; text-align: right; white-space: nowrap; }
.pr-table-card small { display: block; margin-top: 2px; color: rgba(23,34,29,.55); font-size: .74rem; font-weight: 400; }
.pr-promo-note { margin-top: 18px; color: rgba(23,34,29,.6); font-size: .8rem; }
.pr-scenarios { background: #f0ebe3; }
.pr-scenario-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pr-scenario { display: flex; flex-direction: column; background: var(--white); }
.pr-scenario-media { position: relative; display: block; overflow: hidden; }
.pr-scenario-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.pr-scenario-media:hover img { transform: scale(1.03); }
.pr-scenario-media span { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 3px; background: rgba(20,34,28,.82); color: var(--white); font-size: .7rem; }
.pr-scenario-body { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.pr-scenario h3 { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.pr-scenario-note { margin: 0; color: rgba(23,34,29,.6); font-size: .82rem; }
.pr-scenario-price { display: grid; margin: 6px 0; }
.pr-scenario-price s { color: rgba(23,34,29,.45); font-size: .8rem; }
.pr-scenario-price strong { font-size: 1.12rem; }
.pr-scenario ul { margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; color: rgba(23,34,29,.72); font-size: .82rem; }
.pr-scenario li { padding: 3px 0; }
.pr-scenario li::first-letter { text-transform: uppercase; }
.pr-levers-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.pr-levers-grid h2 { margin: 10px 0 20px; }
.pr-levers-grid > div > p { color: rgba(23,34,29,.72); }
.pr-lever-list { margin: 0; padding: 0; list-style: none; }
.pr-lever-list li { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pr-lever-list li:first-child { border-top: 1px solid var(--line); }
.pr-lever-label { font-size: .95rem; }
.pr-lever-list b { font-size: .95rem; white-space: nowrap; }
.pr-lever-bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: #ebe6dd; }
.pr-lever-bar i { display: block; height: 100%; border-radius: 4px; background: var(--forest); }
.pr-included { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.pr-included > div { padding: 20px; border: 1px solid var(--line); background: var(--white); }
.pr-included > div:last-child { border-left: 3px solid var(--yellow); background: #fbf7e8; }
.pr-included h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 400; }
.pr-included ul { margin: 0; padding-left: 1.1em; font-size: .86rem; color: rgba(23,34,29,.75); }
.pr-included li { margin-bottom: 4px; }
.pr-save { background: var(--cream); }
.pr-save-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pr-save-grid article { padding: 26px 24px; border: 1px solid var(--line); background: var(--white); }
.pr-save-grid span { color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.pr-save-grid h3 { margin: 18px 0 10px; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; line-height: 1.2; }
.pr-save-grid p { margin: 0; color: rgba(23,34,29,.7); font-size: .9rem; }
.pr-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; list-style: none; }
.pr-steps li { position: relative; padding: 0 24px 0 0; }
.pr-steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.pr-steps span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; background: var(--forest); color: var(--white); font-weight: 700; }
.pr-steps strong { display: block; margin-bottom: 8px; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.pr-steps p { margin: 0; color: rgba(23,34,29,.68); font-size: .9rem; }
.pr-budget-grid { grid-template-columns: repeat(3, 1fr); }
.pr-cta { padding: 100px 0; color: var(--white); background: var(--forest-deep); scroll-margin-top: 80px; }
.pr-cta-grid { display: grid; grid-template-columns: 1fr minmax(340px, .85fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.pr-cta h2 { margin: 10px 0 20px; color: var(--white); font-size: clamp(2.6rem, 4.5vw, 4.4rem); }
.pr-cta-grid > div > p { color: rgba(255,255,255,.72); }
.pr-cta-list { margin: 26px 0; padding: 0; list-style: none; }
.pr-cta-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.88); }
.pr-cta-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
.pr-cta-messengers a { margin-left: 10px; color: var(--yellow); font-weight: 700; }
.pr-cta-form { display: grid; gap: 16px; padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; background: rgba(255,255,255,.04); }
.pr-cta .magnet-form label > span, .pr-cta .magnet-form legend { color: rgba(255,255,255,.62); }
.pr-cta .contact-way span { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.pr-cta .consent span { color: rgba(255,255,255,.55); }
.pr-cta-picked { margin: 0; padding: 12px 14px; border-left: 3px solid var(--yellow); background: rgba(231,199,67,.1); color: rgba(255,255,255,.85); font-size: .82rem; }
.pr-cta .form-status { color: var(--white); }
@media (max-width: 1100px) {
    .pr-tiers, .pr-scenario-grid, .pr-save-grid { grid-template-columns: repeat(2, 1fr); }
    .pr-tables { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .pr-hero { padding-bottom: 60px; }
    .pr-hero-grid, .pr-levers-grid, .pr-cta-grid { grid-template-columns: 1fr; }
    .pr-quick { position: static; }
    .pr-promises { grid-template-columns: repeat(2, 1fr); }
    .pr-promises li:nth-child(3) { padding-left: 0; border-left: 0; }
    .pr-steps { grid-template-columns: 1fr 1fr; gap: 30px 0; }
    .pr-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
    .pr-budget-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .pr-tiers, .pr-scenario-grid, .pr-save-grid, .pr-included, .pr-steps { grid-template-columns: 1fr; }
    .pr-steps li, .pr-steps li + li { padding: 0; border-left: 0; }
    .pr-quick, .pr-cta-form { padding: 22px 18px; }
    .pr-cta { padding: 70px 0; }
}
.pr-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pr-jump a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.6); font-size: .8rem; font-weight: 700; transition: background .2s, color .2s; }
.pr-jump a:hover { border-color: var(--forest); background: var(--forest); color: var(--white); }
.pr-page section[id] { scroll-margin-top: 90px; }

/* Рейтинг на Яндекс Картах — над подвалом каждой страницы (includes/yandex-rating-section.php) */
.ya-rating { padding: 56px 0; background: var(--cream); }
.ya-rating-card { position: relative; z-index: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 44px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); box-shadow: 0 12px 32px rgba(23, 34, 29, .06); }
.ya-rating-map { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fff 8%, rgba(255,255,255,.96) 36%, rgba(255,255,255,.25) 78%), url('/assets/images/yandex/yandex-reviews-map.svg') right center / auto 115% no-repeat; }
.ya-rating-summary { position: relative; z-index: 2; }
.ya-rating-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: rgba(23,34,29,.7); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.ya-rating-brand img { display: block; width: 34px; height: 34px; }
.ya-rating-score-row { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.ya-rating-score { color: var(--ink); font: 400 clamp(3.4rem, 6vw, 4.6rem)/1 Georgia, serif; letter-spacing: -.03em; }
.ya-rating-stars { display: flex; gap: 5px; filter: drop-shadow(0 3px 0 #d68d12) drop-shadow(0 5px 7px rgba(223,154,17,.22)); }
.ya-rating-stars svg { display: block; width: clamp(28px, 3.2vw, 40px); height: clamp(28px, 3.2vw, 40px); fill: #ffc329; stroke: #e9a31c; stroke-width: 1; }
.ya-rating-title { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.ya-rating-text { margin: 0 0 20px; color: rgba(23,34,29,.65); }
.ya-rating-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.ya-rating-btn:hover { transform: translateY(-2px); border-color: #ff4433; background: #ff4433; color: #fff; }
.ya-rating-reviews { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; padding: 10px 0 24px; }
.ya-review { position: relative; width: 100%; padding: 16px 18px; border: 1px solid #ece4d8; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(55,39,24,.12); }
.ya-review-1 { transform: rotate(-1.5deg); }
.ya-review-2 { margin-top: 44px; transform: rotate(1.5deg); }
.ya-review-head { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; }
.ya-review-head strong, .ya-review-head small { display: block; }
.ya-review-head strong { color: var(--ink); font-size: .9rem; }
.ya-review-head small { margin-top: 2px; color: rgba(23,34,29,.55); font-size: .72rem; }
.ya-review-avatar { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: #eef4ef; color: var(--forest); font-weight: 700; }
.ya-review-2 .ya-review-avatar { background: #fff0c9; color: #9a6810; }
.ya-review-badge { padding: 6px 9px; border-radius: 10px; background: #fff6da; color: #7e5700; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.ya-review p { margin: 12px 0 0; color: rgba(23,34,29,.78); font-size: .88rem; line-height: 1.55; }
@media (max-width: 980px) {
    .ya-rating-card { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
    .ya-rating-map { background: linear-gradient(180deg, rgba(255,255,255,.98) 30%, rgba(255,255,255,.55)), url('/assets/images/yandex/yandex-reviews-map.svg') center / auto 100% no-repeat; }
}
@media (max-width: 640px) {
    .ya-rating { padding: 36px 0; }
    .ya-rating-card { padding: 24px 18px; }
    .ya-rating-btn { width: 100%; justify-content: center; }
    .ya-rating-reviews { grid-template-columns: 1fr; gap: 12px; padding: 0; }
    .ya-review, .ya-review-2 { margin-top: 0; transform: none; }
    .ya-review-2 { display: none; }
}

/* Карточка проекта: первый экран «галерея + информация» (templates/project.php) */
.pd-top { padding: 0 0 70px; background: var(--paper); }
.pd-crumbs { padding-top: 24px; padding-bottom: 20px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.pd-gallery { min-width: 0; }
.pd-main { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: #e9e4dc; }
.pd-main img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pd-counter { position: absolute; left: 14px; bottom: 14px; padding: 5px 10px; border-radius: 14px; background: rgba(20,34,28,.78); color: var(--white); font-size: .75rem; }
.pd-arrow { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.12); opacity: 0; transition: opacity .2s, background .2s; }
.pd-prev { left: 14px; } .pd-next { right: 14px; }
.pd-main:hover .pd-arrow, .pd-arrow:focus-visible { opacity: 1; }
.pd-arrow:hover { background: var(--white); }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pd-thumbs button { flex: 0 0 auto; width: 92px; padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.pd-thumbs button:hover { opacity: 1; }
.pd-thumbs button.is-active { border-color: var(--forest); opacity: 1; }
.pd-thumbs img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.pd-info { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 16px; }
.pd-info .eyebrow { margin: 0; }
.pd-info h1 { margin: 0; font-size: clamp(2.4rem, 3.6vw, 3.6rem); line-height: 1.02; }
.pd-info .project-badges { margin: 0; }
.pd-price { padding: 18px 20px; border-top: 3px solid var(--yellow); background: var(--white); box-shadow: 0 10px 30px rgba(23,34,29,.06); }
.pd-price-old { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; font-size: .78rem; }
.pd-price-old span { color: #b3261e; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pd-price-old s { color: rgba(23,34,29,.45); }
.pd-price-old b { padding: 2px 7px; border-radius: 3px; background: #c43b2f; color: var(--white); font-size: .72rem; }
.pd-price strong { display: block; font-family: Georgia, serif; font-size: clamp(1.9rem, 2.6vw, 2.4rem); font-weight: 400; line-height: 1.1; }
.pd-price small { display: block; margin-top: 6px; color: rgba(23,34,29,.6); font-size: .78rem; line-height: 1.45; }
.pd-lead { margin: 0; color: rgba(23,34,29,.75); font-size: .95rem; line-height: 1.6; }
.pd-facts { display: grid; margin: 0; border-top: 1px solid var(--line); }
.pd-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.pd-facts dt { color: rgba(23,34,29,.55); }
.pd-facts dd { margin: 0; color: var(--ink); }
.pd-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.pd-actions .button { justify-content: center; text-align: center; }
.pd-trust { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: rgba(23,34,29,.65); font-size: .82rem; }
.pd-trust li { position: relative; padding-left: 20px; }
.pd-trust li::before { content: "\2713"; position: absolute; left: 0; color: var(--forest); font-weight: 700; }
.pd-trust b { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) {
    .pd-grid { grid-template-columns: 1fr; }
    .pd-info { position: static; }
    .pd-arrow { opacity: 1; width: 40px; height: 40px; margin-top: -20px; }
}
@media (max-width: 560px) {
    .pd-crumbs { padding-top: 16px; padding-bottom: 12px; }
    .pd-top { padding-bottom: 48px; }
    .pd-thumbs button { width: 72px; }
    .pd-actions { grid-template-columns: 1fr; }
    .pd-facts div { grid-template-columns: 100px 1fr; }
}
