:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --green: #1d1d1f;
  --green-2: #2d2d2f;
  --paper: #ffffff;
  --cream: #f5f5f7;
  --line: rgba(0, 0, 0, 0.09);
  --white: #ffffff;
  --accent: #0071e3;
  --accent-dark: #0077ed;
  --accent-soft: #eaf4ff;
  --surface: #f5f5f7;
  --surface-elevated: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.10);
  --radius-lg: 30px;
  --radius-md: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open, body.modal-open, body.planner-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 110px 0; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; height: 78px; color: var(--white); transition: .35s ease; }
.site-header.scrolled, .site-header.menu-active { color: var(--ink); background: rgba(247, 244, 237, .92); box-shadow: 0 1px 0 rgba(31, 38, 35, .1); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 126px; }
.brand-mark { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid currentColor; border-radius: 50% 50% 45% 45%; transform: rotate(45deg); }
.brand-mark::before { content: ""; width: 13px; height: 13px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; }
.brand-mark i { position: absolute; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; transform: rotate(-45deg); }
.brand-text { display: flex; align-items: baseline; gap: 7px; }
.brand-text strong { font-size: 20px; letter-spacing: .12em; }
.brand-text small { opacity: .7; font-size: 9px; letter-spacing: .2em; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.nav-link { position: relative; padding: 29px 0 24px; font-size: 14px; opacity: .76; }
.nav-link::after { content: ""; position: absolute; right: 0; bottom: 18px; left: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.nav-link:hover, .nav-link.active { opacity: 1; }
.nav-link.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: 13px; letter-spacing: .04em; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 14px; padding: 0 24px; border: 0; border-radius: 6px; cursor: pointer; font-weight: 650; transition: transform .25s, box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-small { min-height: 40px; padding: 0 17px; font-size: 13px; }
.btn-dark { color: white; background: var(--green); box-shadow: 0 10px 25px rgba(24, 53, 47, .18); }
.site-header:not(.scrolled):not(.menu-active) .btn-dark { color: var(--green); background: var(--white); }
.btn-accent { color: white; background: var(--accent); box-shadow: 0 12px 28px rgba(236, 107, 66, .24); }
.btn-accent:hover { background: var(--accent-dark); }
.hero-cta { position: relative; isolation: isolate; min-width: 250px; min-height: 68px; justify-content: space-between; padding: 0 11px 0 25px; overflow: hidden; border: 1px solid rgba(255,255,255,.34); border-radius: 14px; background: radial-gradient(circle at 18% -35%, rgba(255,255,255,.38), transparent 44%), linear-gradient(135deg, #f28a5d 0%, #df6942 46%, #c95335 100%); box-shadow: 0 22px 50px rgba(139, 54, 30, .34), inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(105,37,22,.22); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, filter .3s ease; }
.hero-cta::before { content: ""; position: absolute; z-index: -1; top: -80%; bottom: -80%; left: -42%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent); transform: rotate(18deg); transition: left .65s cubic-bezier(.2,.8,.2,1); }
.hero-cta:hover { background: radial-gradient(circle at 18% -35%, rgba(255,255,255,.42), transparent 44%), linear-gradient(135deg, #f39469 0%, #df6942 46%, #bd482f 100%); box-shadow: 0 27px 60px rgba(139, 54, 30, .42), inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(105,37,22,.22); filter: saturate(1.04); transform: translateY(-3px); }
.hero-cta:hover::before { left: 118%; }
.hero-cta:focus-visible { outline: 2px solid #f5d3b7; outline-offset: 4px; }
.hero-cta-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.hero-cta-copy small { color: rgba(255,255,255,.72); font-size: 8px; font-weight: 700; letter-spacing: .2em; line-height: 1; }
.hero-cta-copy strong { font-size: 16px; font-weight: 700; letter-spacing: .035em; line-height: 1.2; }
.hero-cta-icon { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(23,50,44,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); transition: transform .3s ease, background .3s ease; }
.hero-cta:hover .hero-cta-icon { background: rgba(23,50,44,.24); transform: translateX(2px); }
.hero-cta .hero-cta-icon svg { width: 18px; }
.menu-button { display: none; width: 42px; height: 42px; padding: 12px 8px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; height: 1.5px; margin: 5px 0; background: currentColor; transition: .25s; }
.menu-button span:last-child { width: 65%; margin-left: auto; }
.menu-active .menu-button span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-active .menu-button span:last-child { width: 100%; transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }

.hero { padding-top: 0; padding-bottom: 0; }
.hero .container { width: min(1440px, 100%); }
.hero-card { position: relative; min-height: min(800px, 92vh); display: flex; align-items: center; overflow: hidden; color: white; background: linear-gradient(90deg, rgba(19, 27, 24, .84) 0%, rgba(19, 27, 24, .48) 38%, rgba(19, 27, 24, .05) 68%), url("renovation-hero.webp") 54% center / cover no-repeat; }
.hero-card::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(0deg, rgba(12, 24, 20, .48), transparent); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: min(1180px, calc(100% - 80px)); margin: 50px auto 0; }
.hero-copy > * { max-width: 620px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: #8a6b4b; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 26px; height: 1px; background: currentColor; }
.eyebrow-light { color: #e7c19a; }
.hero-copy h1 { margin: 0; font-size: clamp(48px, 5.2vw, 76px); line-height: 1.14; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.hero-copy > p { max-width: 510px; margin: 26px 0 34px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(31, 38, 35, .35); background: transparent; cursor: pointer; font-size: 14px; font-weight: 650; }
.text-link-light { border-color: rgba(255,255,255,.4); }
.hero-brief { position: absolute; z-index: 3; right: max(40px, calc((100% - 1180px)/2)); bottom: 52px; width: 390px; padding: 24px 26px 20px; color: var(--ink); background: rgba(255,254,250,.9); border: 1px solid rgba(255,255,255,.45); border-radius: 14px; box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.brief-top, .brief-title, .brief-data { display: flex; align-items: center; justify-content: space-between; }
.brief-top { padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.live-dot { display: flex; align-items: center; gap: 6px; }
.live-dot::before { content: ""; width: 6px; height: 6px; background: #57a274; border-radius: 50%; box-shadow: 0 0 0 4px rgba(87,162,116,.13); }
.brief-title { padding: 17px 0; }
.brief-title strong { font-size: 17px; }
.brief-title span { color: #8a6b4b; font-size: 12px; }
.brief-data { padding-bottom: 17px; }
.brief-data div { min-width: 30%; border-right: 1px solid var(--line); }
.brief-data div:last-child { border: 0; }
.brief-data strong { display: block; font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.brief-data span { color: var(--muted); font-size: 10px; }
.hero-brief > a { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); color: var(--green); font-size: 12px; font-weight: 700; }
.hero-index { position: absolute; z-index: 2; right: 28px; top: 50%; font-family: Georgia, serif; font-size: 12px; letter-spacing: .1em; transform: rotate(90deg); }
.proof-strip { width: min(1180px, calc(100% - 40px)); min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 0 auto; color: var(--muted); border-bottom: 1px solid var(--line); }
.proof-strip > span { color: #9b8067; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.proof-strip div { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.proof-strip i { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #9db3a9; border-radius: 50%; color: var(--green); font-style: normal; font-size: 11px; }

.planner { background: #eeeadf; }
.planner-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 100px; }
.section-intro h2, .section-heading h2, .project-copy h2, .consult-card h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.18; letter-spacing: -.04em; font-weight: 550; }
.section-intro > p { max-width: 430px; margin: 26px 0 35px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.intro-note { display: flex; align-items: center; gap: 15px; padding-top: 26px; border-top: 1px solid #d5d0c4; }
.note-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; background: var(--green); font-family: Georgia, serif; }
.intro-note strong, .intro-note small { display: block; }
.intro-note strong { margin-bottom: 4px; font-size: 14px; }
.intro-note small { color: var(--muted); font-size: 11px; }
.estimator-card { padding: 38px 40px 34px; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(55, 48, 37, .1); }
.estimator-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 30px; }
.step-label { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.estimator-head h3 { margin: 6px 0 0; font-size: 25px; font-weight: 600; }
.secure-badge { padding: 7px 10px; color: #507668; background: #edf4ef; border-radius: 20px; font-size: 10px; }
.field-group { margin-top: 25px; }
.field-group > label, .range-title label { display: block; margin-bottom: 11px; color: #626962; font-size: 12px; font-weight: 650; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; color: var(--muted); background: #f7f6f1; border: 1px solid transparent; border-radius: 10px; cursor: pointer; }
.segmented button.active { color: var(--green); background: #eef4f0; border-color: #91aa9f; box-shadow: inset 0 0 0 1px #91aa9f; }
.segmented button span { font-size: 14px; font-weight: 700; }
.segmented button small { font-size: 10px; opacity: .7; }
.range-title { display: flex; align-items: center; justify-content: space-between; }
.range-title output { color: var(--green); font-family: Georgia, serif; font-size: 20px; }
.range-group input { width: 100%; height: 4px; appearance: none; border-radius: 20px; outline: none; background: linear-gradient(90deg, var(--green) var(--fill, 32.2%), #dedfd8 var(--fill, 32.2%)); }
.range-group input::-webkit-slider-thumb { width: 19px; height: 19px; appearance: none; border: 4px solid white; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 7px rgba(0,0,0,.25); cursor: grab; }
.range-group input::-moz-range-thumb { width: 12px; height: 12px; border: 4px solid white; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 7px rgba(0,0,0,.25); }
.range-scale { display: flex; justify-content: space-between; margin-top: 8px; color: #a3a7a1; font-size: 9px; }
.quality-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.quality-options button { position: relative; min-height: 86px; display: flex; flex-direction: column; align-items: flex-start; padding: 13px 12px; background: white; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.quality-options button.active { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.quality-options button.active::after { content: "✓"; position: absolute; top: -1px; right: -1px; display: grid; place-items: center; width: 19px; height: 19px; color: white; background: var(--green); border-radius: 0 8px 0 8px; font-size: 10px; }
.quality-options strong { margin: 9px 0 2px; font-size: 12px; }
.quality-options small { color: var(--muted); font-size: 9px; }
.quality-swatch { width: 30px; height: 4px; border-radius: 5px; background: #b8b4aa; }
.swatch-comfort { background: #a57851; }
.swatch-premium { background: #25453d; }
.estimate-result { display: grid; grid-template-columns: 1fr .78fr 1.45fr; align-items: center; gap: 18px; margin-top: 28px; padding: 20px 20px; color: white; background: var(--green); border-radius: 14px; }
.estimate-result > div { border-right: 1px solid rgba(255,255,255,.16); }
.estimate-result > div span { display: block; margin-bottom: 6px; color: rgba(255,255,255,.58); font-size: 9px; }
.estimate-result > div strong { font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.estimate-result > div small { font-family: var(--font); font-size: 10px; }
.estimate-result .btn { width: 100%; min-height: 48px; padding: 0 16px; font-size: 12px; }
.estimate-tip { margin: 12px 0 0; color: #929790; font-size: 9px; text-align: center; }

.styles-section { background: var(--paper); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 48px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading > p { max-width: 360px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.style-grid { display: grid; grid-template-columns: 1.12fr .88fr; grid-template-rows: 420px 330px; gap: 18px; }
.style-card { position: relative; overflow: hidden; padding: 26px; border: 0; border-radius: var(--radius-md); color: white; background-image: linear-gradient(0deg, rgba(17, 24, 21, .66), rgba(17,24,21,.02) 60%), url("style-grid.webp"); background-size: 200% 200%; cursor: pointer; text-align: left; isolation: isolate; }
.style-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: inherit; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.style-card:hover::before { transform: scale(1.04); }
.style-card.selected { box-shadow: inset 0 0 0 3px var(--accent); }
.style-one { background-position: 0 0; grid-row: span 1; }
.style-two { background-position: 100% 0; }
.style-three { background-position: 0 100%; }
.style-four { background-position: 100% 100%; }
.style-number { position: absolute; top: 23px; left: 25px; font-family: Georgia, serif; font-size: 13px; }
.style-content { position: absolute; right: 26px; bottom: 24px; left: 26px; display: flex; flex-direction: column; gap: 6px; }
.style-content small { color: rgba(255,255,255,.72); font-size: 11px; letter-spacing: .08em; }
.style-content strong { font-size: 28px; font-weight: 550; }
.style-arrow { position: absolute; right: 24px; bottom: 25px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 18px; transition: .25s; }
.style-card:hover .style-arrow { color: var(--green); background: white; transform: rotate(45deg); }
.style-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 25px; color: var(--muted); font-size: 12px; }
.style-footer p::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--accent); border-radius: 50%; }

.service-section { background: #e8e2d6; }
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #cfc8bb; }
.process-card { position: relative; min-height: 315px; padding: 38px 26px 24px; border-right: 1px solid #cfc8bb; transition: .35s; }
.process-card:first-child { border-left: 1px solid #cfc8bb; }
.process-card:hover, .process-card.active { color: white; background: var(--green); transform: translateY(-8px); box-shadow: 0 18px 45px rgba(24,53,47,.18); }
.process-index { color: #9b8b76; font-family: Georgia, serif; font-size: 11px; }
.process-card:hover .process-index, .process-card.active .process-index { color: #c6b79d; }
.process-icon { width: 50px; height: 50px; display: grid; place-items: center; margin: 32px 0 24px; border: 1px solid #b9b1a4; border-radius: 50%; }
.process-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.process-card h3 { margin: 0 0 12px; font-size: 18px; }
.process-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.process-card:hover p, .process-card.active p { color: rgba(255,255,255,.65); }
.process-card > small { position: absolute; bottom: 25px; color: #9e9588; font-size: 9px; letter-spacing: .08em; }

.project-section { overflow: hidden; color: white; background: var(--green); }
.project-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.project-copy > p { max-width: 500px; margin: 27px 0 38px; color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.9; }
.project-copy ul { margin: 0; padding: 0; list-style: none; }
.project-copy li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.13); }
.project-copy li > span { color: #d8ae83; font-family: Georgia, serif; font-size: 13px; }
.project-copy li strong, .project-copy li small { display: block; }
.project-copy li strong { margin-bottom: 5px; font-size: 14px; }
.project-copy li small { color: rgba(255,255,255,.5); font-size: 10px; }
.phone-stage { position: relative; min-height: 680px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.orbit-one { width: 630px; height: 630px; }
.orbit-two { width: 470px; height: 470px; }
.phone-shell { position: relative; z-index: 2; width: 306px; padding: 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 46px; background: #17231f; box-shadow: 0 40px 90px rgba(0,0,0,.42); transform: rotate(2deg); }
.phone-shell::before { content: ""; position: absolute; z-index: 2; top: 16px; left: 50%; width: 86px; height: 22px; background: #17231f; border-radius: 20px; transform: translateX(-50%); }
.phone-screen { position: relative; min-height: 620px; overflow: hidden; color: var(--ink); background: #f8f6f1; border-radius: 37px; }
.phone-status { height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 8px 22px 0; font-size: 8px; font-weight: 700; }
.phone-greeting { display: flex; align-items: center; justify-content: space-between; padding: 10px 19px 13px; }
.phone-greeting small, .phone-greeting strong { display: block; }
.phone-greeting small { margin-bottom: 3px; color: var(--muted); font-size: 8px; }
.phone-greeting strong { font-size: 16px; }
.phone-greeting button { position: relative; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #eeece5; }
.phone-greeting button i { position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; background: var(--accent); border: 1px solid white; border-radius: 50%; }
.project-thumb { height: 144px; display: flex; flex-direction: column; justify-content: space-between; margin: 0 12px; padding: 14px; color: white; background: linear-gradient(0deg, rgba(20,28,25,.65), rgba(20,28,25,.05)), url("renovation-hero.webp") center / cover; border-radius: 18px; }
.project-thumb > span { align-self: flex-start; padding: 4px 7px; background: rgba(24,53,47,.7); border-radius: 10px; font-size: 7px; }
.project-thumb small, .project-thumb strong { display: block; }
.project-thumb small { font-size: 7px; opacity: .7; }
.project-thumb strong { margin-top: 3px; font-size: 13px; }
.progress-row { display: flex; align-items: center; gap: 14px; margin: 12px; padding: 12px; background: white; border-radius: 16px; }
.progress-ring { width: 58px; height: 58px; display: grid; flex: 0 0 auto; place-items: center; background: conic-gradient(var(--accent) 68%, #ebece8 0); border-radius: 50%; }
.progress-ring::before { content: ""; position: absolute; width: 46px; height: 46px; background: white; border-radius: 50%; }
.progress-ring span { position: relative; z-index: 1; font-family: Georgia, serif; font-size: 17px; }
.progress-ring small { font-size: 7px; }
.progress-row > div:last-child small { color: var(--muted); font-size: 7px; }
.progress-row > div:last-child strong { display: block; margin: 3px 0 6px; font-size: 9px; }
.progress-row p { margin: 0; color: #9a7b5c; font-size: 7px; }
.phone-section-title { display: flex; justify-content: space-between; padding: 7px 17px 10px; }
.phone-section-title strong { font-size: 11px; }
.phone-section-title span { color: var(--muted); font-size: 7px; }
.timeline-item { display: flex; gap: 10px; margin: 0 14px; padding: 9px 0; border-top: 1px solid #e7e5df; }
.timeline-item > i { width: 17px; height: 17px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #bdbdb7; border-radius: 50%; color: white; font-size: 7px; font-style: normal; }
.timeline-item > i.done { border-color: var(--green); background: var(--green); }
.timeline-item strong, .timeline-item small { display: block; }
.timeline-item strong { margin-bottom: 4px; font-size: 9px; }
.timeline-item small { color: var(--muted); font-size: 7px; }
.mini-photos { display: flex; gap: 4px; margin-top: 7px; }
.mini-photos span { width: 38px; height: 27px; display: grid; place-items: center; color: white; background: url("style-grid.webp") 0 0 / 200% 200%; border-radius: 4px; font-size: 7px; }
.mini-photos span:nth-child(2) { background-position: 100% 100%; }
.mini-photos span:nth-child(3) { background: #d9d4c9; }
.phone-tabs { position: absolute; right: 0; bottom: 0; left: 0; height: 56px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; background: rgba(255,255,255,.96); border-top: 1px solid #e2e0db; }
.phone-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #a0a39e; font-size: 14px; }
.phone-tabs span.active { color: var(--green); }
.phone-tabs small { font-size: 7px; }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; min-width: 168px; padding: 12px 14px; color: var(--ink); background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.55); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.floating-note i { display: grid; place-items: center; width: 28px; height: 28px; color: white; background: var(--accent); border-radius: 50%; font-style: normal; font-size: 11px; }
.floating-note span, .floating-note small { display: block; }
.floating-note span { font-size: 10px; font-weight: 700; }
.floating-note small { margin-top: 3px; color: var(--muted); font-size: 7px; font-weight: 400; }
.note-left { left: 0; top: 30%; }
.note-right { right: -10px; bottom: 23%; }
.note-right i { background: #9e7350; }

.stories-section { background: var(--paper); }
.story-controls { display: flex; gap: 8px; }
.story-controls button { width: 45px; height: 45px; border: 1px solid #c9c6bd; border-radius: 50%; background: transparent; cursor: pointer; transition: .2s; }
.story-controls button:hover { color: white; background: var(--green); border-color: var(--green); }
.story-stage { display: grid; grid-template-columns: 1.8fr 1fr; align-items: end; gap: 70px; padding: 55px 0 20px; border-top: 1px solid var(--line); }
.story-stage blockquote { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(25px, 2.5vw, 38px); line-height: 1.65; letter-spacing: -.02em; }
.story-author { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.story-author > span { width: 44px; height: 44px; display: grid; place-items: center; color: white; background: #9c7454; border-radius: 50%; }
.story-author strong, .story-author small { display: block; }
.story-author strong { font-size: 12px; }
.story-author small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.story-rating { grid-column: 1 / -1; padding-top: 17px; color: #c58b55; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; }
.story-rating small { display: inline; margin-left: 5px; color: var(--ink); letter-spacing: 0; }

.consult-section { padding: 0 0 90px; background: var(--paper); }
.consult-card { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; padding: 75px 80px; color: white; background: #2a413a; border-radius: var(--radius-lg); }
.consult-card > div > p { max-width: 430px; margin: 22px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.8; }
.consult-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; align-content: center; }
.consult-form label { display: block; }
.consult-form label:nth-child(3) { grid-column: 1 / -1; }
.consult-form label > span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.64); font-size: 10px; }
.consult-form input { width: 100%; height: 48px; padding: 0 14px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 6px; outline: 0; }
.consult-form input::placeholder { color: rgba(255,255,255,.34); }
.consult-form input:focus { border-color: #d8ae83; background: rgba(255,255,255,.11); }
.consult-form .btn { grid-column: 1 / -1; width: 100%; }
.consult-form .privacy-check { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; }
.consult-form .privacy-check input { width: 13px; height: 13px; accent-color: var(--accent); }
.consult-form .privacy-check span { margin: 0; font-size: 9px; }
.form-error { grid-column: 1 / -1; min-height: 12px; margin: -10px 0 0; color: #ffb49d; font-size: 10px; }

.site-footer { padding: 62px 0 24px; color: white; background: #14241f; }
.footer-top { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1.1fr; gap: 50px; padding-bottom: 50px; }
.brand-light { color: white; }
.footer-brand p { margin: 19px 0 0; color: rgba(255,255,255,.43); font-size: 11px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links strong { margin-bottom: 4px; color: rgba(255,255,255,.86); font-size: 12px; }
.footer-links a { color: rgba(255,255,255,.45); font-size: 10px; }
.footer-links a:hover { color: white; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact small { color: rgba(255,255,255,.4); font-size: 9px; }
.footer-contact a { margin: 10px 0 8px; font-family: Georgia, serif; font-size: 26px; }
.footer-contact span { color: rgba(255,255,255,.45); font-size: 9px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; color: rgba(255,255,255,.3); border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; }
.footer-bottom div { display: flex; gap: 25px; }
.bottom-nav { display: none; }

.planner-workspace { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.planner-workspace.open { visibility: visible; opacity: 1; }
.planner-backdrop { position: absolute; inset: 0; background: rgba(11, 26, 21, .76); backdrop-filter: blur(10px); }
.planner-shell { position: relative; z-index: 1; width: min(1420px, 100%); height: min(920px, 100dvh); display: flex; flex-direction: column; overflow: hidden; color: var(--ink); background: #f8f6f0; box-shadow: 0 30px 100px rgba(0,0,0,.35); transform: translateY(20px) scale(.985); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.planner-workspace.open .planner-shell { transform: none; }
.planner-topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 0 34px; background: var(--green); color: white; }
.planner-brand { display: flex; align-items: center; gap: 15px; min-width: 210px; }
.planner-close { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: white; background: transparent; cursor: pointer; font-size: 22px; line-height: 1; }
.planner-brand > div { display: flex; flex-direction: column; gap: 3px; }
.planner-brand span { color: rgba(255,255,255,.5); font-size: 9px; letter-spacing: .16em; }
.planner-brand strong { font-size: 18px; font-weight: 600; letter-spacing: .06em; }
.planner-project-name { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.planner-project-name label { color: rgba(255,255,255,.45); font-size: 10px; }
.planner-project-name input { width: 160px; padding: 8px 11px; color: white; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 5px; outline: none; font-size: 12px; }
.planner-project-name input:focus { border-color: #e1b083; }
.planner-top-actions { display: flex; align-items: center; gap: 14px; }
.planner-saved-state { color: rgba(255,255,255,.46); font-size: 10px; }
.planner-saved-state.saved { color: #cce3cc; }
.planner-outline-button { min-height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 5px; color: white; background: transparent; cursor: pointer; font-size: 11px; }
.planner-outline-button:hover { background: rgba(255,255,255,.1); }
.planner-toolbar { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; border-bottom: 1px solid var(--line); background: var(--white); }
.planner-toolbar > div:first-child { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 14px; }
.planner-toolbar > div:first-child > span { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.planner-toolbar strong { font-size: 16px; font-weight: 650; }
.planner-toolbar small { grid-column: 2; margin-top: 3px; color: var(--muted); font-size: 10px; }
.planner-toolbar-actions { display: flex; align-items: center; gap: 14px; }
.planner-toolbar-actions button { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; }
.planner-toolbar-actions button:first-child { color: var(--green); font-weight: 700; }
.planner-toolbar-actions button:hover { color: var(--accent); }
.planner-body { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(360px, .72fr); overflow: hidden; }
.planner-catalog { min-width: 0; overflow: auto; padding: 28px 34px 50px; scrollbar-width: thin; scrollbar-color: #c9c7bd transparent; }
.planner-global-search { position: relative; z-index: 10; width: min(700px, 100%); margin-bottom: 14px; }
.planner-search-field { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 16px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 17px; background: rgba(255, 255, 255, .96); box-shadow: 0 7px 24px rgba(0, 0, 0, .045); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.planner-search-field:focus-within { border-color: rgba(0, 0, 0, .12); box-shadow: 0 12px 30px rgba(0, 0, 0, .065); transform: translateY(-1px); }
.planner-search-icon { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; color: var(--muted); font-size: 21px; line-height: 1; transform: translateY(-1px); }
.planner-search-field input { min-width: 0; flex: 1; height: 52px; padding: 0; color: var(--ink); border: 0; outline: 0; background: transparent; font-family: var(--font); font-size: 14px; }
#plannerApp #plannerItemSearch:focus,
#plannerApp #plannerItemSearch:focus-visible { outline: 0; outline-offset: 0; box-shadow: none; }
.planner-search-field input::placeholder { color: #929297; }
.planner-search-field input::-webkit-search-cancel-button { display: none; }
.planner-search-field kbd { flex: 0 0 auto; padding: 5px 8px; color: #77777c; border: 1px solid rgba(0, 0, 0, .08); border-radius: 7px; background: var(--surface); box-shadow: 0 1px 0 rgba(0, 0, 0, .05); font-family: var(--font); font-size: 9px; font-weight: 600; }
.planner-search-field button { width: 30px; height: 30px; flex: 0 0 auto; padding: 0; color: #6e6e73; border: 0; border-radius: 50%; background: #e8e8ed; cursor: pointer; font-size: 18px; line-height: 1; transition: color .2s ease, background .2s ease, transform .2s ease; }
.planner-search-field button:hover { color: white; background: var(--ink); transform: rotate(90deg); }
.planner-search-results { position: absolute; top: calc(100% + 8px); right: 0; left: 0; max-height: min(52vh, 440px); overflow: auto; padding: 7px; border: 1px solid rgba(0, 0, 0, .075); border-radius: 19px; background: rgba(255, 255, 255, .96); box-shadow: 0 24px 70px rgba(0, 0, 0, .16); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); scrollbar-width: thin; }
.planner-search-results button { width: 100%; min-height: 62px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 9px 10px; color: var(--ink); border: 0; border-radius: 13px; background: transparent; cursor: pointer; text-align: left; transition: background .16s ease, transform .16s ease; }
.planner-search-results button:hover,
.planner-search-results button:focus-visible { outline: 0; background: var(--accent-soft); transform: translateX(2px); }
.planner-search-result-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--accent); border-radius: 11px; background: var(--surface); font-size: 17px; }
.planner-search-result-copy { min-width: 0; }
.planner-search-result-copy strong,
.planner-search-result-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.planner-search-result-copy strong { font-size: 13px; font-weight: 650; }
.planner-search-result-copy small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.planner-search-results button > b { color: var(--accent); font-size: 9px; font-weight: 650; white-space: nowrap; }
.planner-search-results button > b i { margin-left: 3px; font-style: normal; }
.planner-search-empty { min-height: 92px; display: flex; align-items: center; gap: 13px; padding: 15px; }
.planner-search-empty > span { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; color: #8e8e93; border-radius: 50%; background: var(--surface); font-size: 19px; }
.planner-search-empty strong,
.planner-search-empty small { display: block; }
.planner-search-empty strong { font-size: 12px; }
.planner-search-empty small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.planner-type-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 700px; }
.planner-type-tabs button { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 13px 17px; text-align: left; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: var(--white); cursor: pointer; transition: .2s; }
.planner-type-tabs button:hover { border-color: #9aafa5; }
.planner-type-tabs button.active { color: var(--green); border-color: #86a197; background: #edf3ef; box-shadow: inset 0 0 0 1px #86a197; }
.type-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; color: #9a7657; background: #f0e8dc; border-radius: 9px; font-size: 20px; }
.planner-type-tabs button.active .type-icon { color: white; background: var(--green); }
.planner-type-tabs button > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.planner-type-tabs strong { font-size: 15px; }
.planner-type-tabs small { color: var(--muted); font-size: 9px; }
.planner-type-tabs b { align-self: flex-start; padding: 4px 7px; border-radius: 12px; color: #9c7a5e; background: #f6efe6; font-size: 9px; font-weight: 600; }
.planner-catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 31px 0 24px; }
.planner-metric-fields { display: flex; align-items: stretch; gap: 8px; }
.planner-kicker { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.planner-catalog-head h2 { margin: 6px 0 5px; font-size: 27px; letter-spacing: -.03em; }
.planner-catalog-head p { margin: 0; color: var(--muted); font-size: 11px; }
.planner-area-field { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.planner-area-field span { color: var(--muted); font-size: 9px; }
.planner-area-field strong { color: var(--green); font-family: Georgia, serif; font-size: 19px; font-weight: 500; }
.planner-area-field input { width: 62px; padding: 0; border: 0; outline: 0; color: inherit; background: transparent; font: inherit; text-align: right; }
.planner-area-field em { font-family: var(--font); font-size: 10px; font-style: normal; }
.planner-category-strip { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; gap: 8px; margin-bottom: 12px; }
.planner-category-nav { min-width: 0; display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px; scrollbar-width: none; scroll-behavior: smooth; }
.planner-category-nav::-webkit-scrollbar { display: none; }
.planner-category-page { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; color: var(--accent); border: 1px solid rgba(0, 0, 0, .07); border-radius: 50%; background: white; box-shadow: 0 5px 16px rgba(0, 0, 0, .055); cursor: pointer; font-family: var(--font); font-size: 22px; line-height: 1; transition: color .2s ease, background .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease; }
.planner-category-page:hover { color: white; border-color: var(--ink); background: var(--ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); transform: scale(1.05); }
.planner-category-page:disabled { opacity: 0; pointer-events: none; transform: scale(.86); }
.planner-category-nav button { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; color: #777d77; background: transparent; cursor: pointer; font-size: 10px; white-space: nowrap; }
.planner-category-nav button.active { color: white; border-color: var(--green); background: var(--green); }
#plannerApp .planner-category-nav .planner-add-category { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); border: 1px dashed rgba(0, 113, 227, .34); background: var(--accent-soft); font-weight: 650; }
#plannerApp .planner-category-nav .planner-add-category:hover { color: white; border-color: var(--accent); background: var(--accent); }
#plannerApp .planner-category-nav .planner-add-category span { font-size: 14px; font-weight: 400; line-height: 1; }
.planner-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.planner-add-custom-item { min-height: 156px; display: flex; align-items: center; gap: 13px; padding: 18px; color: var(--ink); border: 1px dashed rgba(0, 113, 227, .38); border-radius: 18px; background: rgba(255, 255, 255, .58); cursor: pointer; font-family: var(--font); text-align: left; transition: border-color .2s ease, background .2s ease, box-shadow .25s ease, transform .25s ease; }
.planner-add-custom-item:hover { border-color: var(--accent); background: white; box-shadow: 0 14px 34px rgba(0, 113, 227, .09); transform: translateY(-3px); }
.planner-add-custom-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; color: var(--accent); border: 1px solid rgba(0, 113, 227, .28); border-radius: 50%; background: var(--accent-soft); font-size: 22px; font-weight: 300; transition: color .2s ease, background .2s ease, transform .25s ease; }
.planner-add-custom-item:hover .planner-add-custom-icon { color: white; background: var(--accent); transform: rotate(90deg) scale(1.06); }
.planner-add-custom-item > span:nth-child(2) { min-width: 0; flex: 1; }
.planner-add-custom-item strong,
.planner-add-custom-item small { display: block; }
.planner-add-custom-item strong { font-size: 14px; font-weight: 650; }
.planner-add-custom-item small { overflow: hidden; margin-top: 6px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.planner-add-custom-item > b { color: var(--accent); font-size: 9px; font-weight: 650; white-space: nowrap; }
.planner-add-custom-item > b i { margin-left: 3px; font-style: normal; }
.planner-item { position: relative; display: flex; gap: 13px; min-height: 156px; padding: 15px; border: 1px solid #e1ddd3; border-radius: 12px; background: var(--white); transition: border-color .2s, box-shadow .2s, transform .2s; }
.planner-item:hover { border-color: #9db2a8; box-shadow: 0 10px 24px rgba(31,38,35,.07); transform: translateY(-2px); }
.planner-item.is-added { border-color: #92aa9e; background: #f5f9f5; }
.planner-item.is-search-target { border-color: var(--accent) !important; animation: planner-search-target 1.35s cubic-bezier(.22, 1, .36, 1); }
.planner-item.custom-entry { padding-right: 42px; }
.planner-item.custom-entry .item-icon { color: var(--accent); background: var(--accent-soft); }
.planner-custom-item-remove { position: absolute; z-index: 3; top: 10px; right: 10px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; color: #8e8e93; border: 0; border-radius: 50%; background: var(--surface); cursor: pointer; font-size: 15px; line-height: 1; opacity: .72; transition: color .2s ease, background .2s ease, opacity .2s ease, transform .2s ease; }
.planner-custom-item-remove:hover { color: white; background: #d70015; opacity: 1; transform: rotate(90deg); }
.item-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; color: #9a7456; background: #f0e8dd; border-radius: 9px; font-size: 19px; }
.planner-item.is-added .item-icon { color: white; background: var(--green); }
.item-main { min-width: 0; flex: 1; }
.item-meta { display: flex; align-items: center; gap: 6px; min-width: 0; margin-bottom: 5px; }
.item-category { display: block; color: #a18063; font-size: 9px; letter-spacing: .04em; }
.item-scope { overflow: hidden; padding: 2px 5px; color: #6f756f; border-radius: 999px; background: #f1f1ed; font-size: 7px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.item-main h3 { overflow: hidden; margin: 0 0 5px; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.item-main p { overflow: hidden; height: 30px; margin: 0 0 10px; color: var(--muted); font-size: 9px; line-height: 1.65; }
.item-price { display: flex; align-items: baseline; gap: 5px; }
.item-price strong { color: var(--green); font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.item-price small { color: #989d97; font-size: 8px; }
.item-add { position: absolute; right: 13px; bottom: 13px; display: flex; align-items: center; gap: 5px; padding: 0; border: 0; color: var(--green); background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; }
.item-add b { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #9db2a8; border-radius: 50%; font-size: 17px; font-weight: 400; line-height: 1; }
.planner-item.is-added .item-add b { color: white; background: var(--green); }
.planner-item.is-added .item-add span { color: #5d8173; }
.planner-cart { min-width: 0; display: flex; flex-direction: column; overflow: auto; padding: 27px 25px 25px; border-left: 1px solid var(--line); background: #eeeadf; scrollbar-width: thin; scrollbar-color: #c9c7bd transparent; }
.cart-head { display: flex; align-items: flex-start; justify-content: space-between; }
.cart-head > div > span { color: #9a8066; font-size: 8px; letter-spacing: .18em; }
.cart-head > button { display: none; }
.cart-notice { display: flex; gap: 9px; margin: 18px 0 15px; padding: 12px; color: #4f6d61; background: #e1ece3; border-radius: 8px; font-size: 10px; line-height: 1.5; }
.cart-notice i { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--green); font-style: normal; font-size: 10px; }
.cart-notice small { color: #80968b; font-size: 8px; }
.cart-list { display: flex; flex-direction: column; gap: 8px; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 11px; border: 1px solid #ddd8ce; border-radius: 8px; background: rgba(255,255,255,.66); }
.cart-row-main { min-width: 0; }
.cart-row-category { display: block; margin-bottom: 4px; color: #a08063; font-size: 8px; }
.cart-row h3 { overflow: hidden; margin: 0 0 6px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.cart-row-price { color: var(--green); font-family: Georgia, serif; font-size: 14px; }
.cart-row-unit { margin-left: 4px; color: var(--muted); font-family: var(--font); font-size: 8px; }
.cart-row-controls { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin-top: 7px; }
.cart-row-controls button { width: 20px; height: 20px; padding: 0; border: 1px solid #c8c9c1; border-radius: 50%; color: var(--green); background: white; cursor: pointer; font-size: 13px; line-height: 1; }
.cart-row-controls span { min-width: 13px; text-align: center; font-size: 10px; }
.cart-row-remove { align-self: start; padding: 2px; border: 0; color: #a4a69f; background: transparent; cursor: pointer; font-size: 13px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 176px; padding: 20px 10px; color: var(--muted); text-align: center; }
.cart-empty > span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border: 1px dashed #b8b7ad; border-radius: 50%; color: #a2a39d; font-size: 20px; }
.cart-empty strong { color: #5d665f; font-size: 12px; }
.cart-empty p { margin: 6px 0 12px; color: #989b94; font-size: 9px; line-height: 1.7; }
.cart-summary { margin-top: auto; padding-top: 16px; border-top: 1px solid #d0cbbf; }
.cart-summary > div { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 0; color: var(--muted); font-size: 10px; }
.cart-summary > div strong { color: var(--ink); font-family: Georgia, serif; font-size: 14px; font-weight: 500; }
.cart-summary em { margin-left: 3px; color: #a27b5d; font-size: 8px; font-style: normal; }
.cart-summary .cart-total { margin-top: 8px; padding-top: 13px; border-top: 1px solid #d0cbbf; color: var(--green); font-weight: 700; }
.cart-summary .cart-total strong { color: var(--green); font-size: 27px; }
.cart-footer { margin-top: 14px; text-align: center; }
.cart-footer .btn { width: 100%; min-height: 44px; font-size: 11px; }
.cart-footer small { display: block; margin-top: 8px; color: #9b9a91; font-size: 8px; }
.item-price-editor { display: inline-flex; align-items: center; gap: 3px; min-height: 31px; padding: 0 8px; border: 1px solid #cfd6d0; border-radius: 6px; color: var(--green); background: white; }
.item-price-editor > span { font-family: Georgia, serif; font-size: 14px; }
.item-price-editor input { width: 72px; padding: 0; border: 0; outline: 0; color: inherit; background: transparent; font-family: var(--font); font-size: 17px; font-variant-numeric: tabular-nums; }
.item-price-editor small { color: #989d97; font-family: var(--font); font-size: 8px; }
.item-price-editor:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px rgba(24,53,47,.08); }
.item-cost-controls { display: flex; align-items: center; gap: 5px; max-width: calc(100% - 58px); }
.item-cost-controls .item-price-editor input { width: 54px; }
.cost-multiply { flex: 0 0 auto; color: #a1a1a6; font-size: 10px; }
.item-measure-editor,
.cart-measure-editor { display: inline-flex; align-items: center; gap: 3px; min-height: 31px; padding: 0 7px; border: 1px solid #cfd6d0; border-radius: 6px; color: var(--green); background: white; }
.item-measure-editor input,
.cart-measure-editor input { width: 47px; min-width: 0; padding: 0; border: 0; outline: 0; color: inherit; background: transparent; font-family: var(--font); font-size: 14px; font-variant-numeric: tabular-nums; }
.item-measure-editor small,
.cart-measure-editor small { color: #989d97; font-family: var(--font); font-size: 8px; white-space: nowrap; }
.item-measure-editor:focus-within,
.cart-measure-editor:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px rgba(24,53,47,.08); }
.planner-item.catalog-entry { min-height: 168px; background: linear-gradient(135deg, #f9f4ec, #fff); }
.catalog-price-placeholder { display: flex; align-items: center; gap: 7px; min-height: 31px; padding: 0; color: #9a7354; border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 9px; font-weight: 700; text-align: left; }
.catalog-price-placeholder i { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border: 1px solid #b9a28d; border-radius: 50%; font-size: 15px; font-style: normal; font-weight: 400; line-height: 1; }
.cart-price-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; }
.cart-cost-editors { min-width: 0; display: flex; align-items: center; gap: 4px; }
.cart-price-editor { display: inline-flex; align-items: center; gap: 3px; padding: 4px 6px; border: 1px solid #d1d1ca; border-radius: 5px; color: var(--green); background: white; font-family: var(--font); font-size: 11px; font-variant-numeric: tabular-nums; }
.cart-price-editor input { width: 62px; padding: 0; border: 0; outline: 0; color: inherit; background: transparent; font: inherit; }
.cart-price-editor small { color: var(--muted); font-family: var(--font); font-size: 7px; }
.cart-measure-editor { min-height: 27px; padding: 0 5px; border-color: #d1d1ca; border-radius: 5px; }
.cart-measure-editor input { width: 38px; font-size: 11px; }
.cart-measure-editor small { font-size: 7px; }
.cart-line-total { color: var(--green); font-family: Georgia, serif; font-size: 14px; white-space: nowrap; }

@keyframes planner-search-target {
  0% { box-shadow: 0 0 0 0 rgba(0, 113, 227, 0); transform: scale(1); }
  28% { box-shadow: 0 0 0 6px rgba(0, 113, 227, .14), 0 18px 40px rgba(0, 113, 227, .12); transform: scale(1.012); }
  100% { box-shadow: 0 0 0 0 rgba(0, 113, 227, 0); transform: scale(1); }
}

.planner-custom-dialog { position: absolute; z-index: 30; inset: 0; display: grid; place-items: center; overflow: hidden; padding: 28px; visibility: hidden; opacity: 0; transition: opacity .24s ease, visibility .24s ease; }
.planner-custom-dialog.open { visibility: visible; opacity: 1; }
.planner-custom-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(0, 0, 0, .38); cursor: default; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.planner-custom-panel { position: relative; z-index: 1; width: min(610px, 100%); max-height: min(760px, calc(100dvh - 56px)); overflow: auto; border: 1px solid rgba(255, 255, 255, .82); border-radius: 28px; background: rgba(255, 255, 255, .97); box-shadow: 0 36px 110px rgba(0, 0, 0, .24); transform: translateY(16px) scale(.98); transition: transform .35s cubic-bezier(.22, 1, .36, 1); scrollbar-width: thin; }
.planner-custom-dialog.open .planner-custom-panel { transform: none; }
.planner-custom-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 26px 28px 22px; border-bottom: 1px solid var(--line); }
.planner-custom-head span { color: var(--accent); font-size: 8px; font-weight: 750; letter-spacing: .18em; }
.planner-custom-head h2 { margin: 7px 0 6px; font-size: 28px; letter-spacing: -.035em; }
.planner-custom-head p { margin: 0; color: var(--muted); font-size: 10px; }
.planner-custom-head > button { width: 34px; height: 34px; flex: 0 0 auto; padding: 0; color: var(--ink); border: 0; border-radius: 50%; background: var(--surface); cursor: pointer; font-size: 21px; line-height: 1; transition: color .2s ease, background .2s ease, transform .25s ease; }
.planner-custom-head > button:hover { color: white; background: var(--ink); transform: rotate(90deg); }
.planner-custom-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; padding: 24px 28px 26px; }
.planner-custom-field { min-width: 0; display: block; }
.planner-custom-field.field-wide { grid-column: 1 / -1; }
.planner-custom-field > span { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px; color: #515154; font-size: 10px; font-weight: 600; }
.planner-custom-field > span b { color: var(--accent); font-size: 8px; font-weight: 650; }
.planner-custom-field > input,
.planner-custom-field > select,
.planner-custom-field > textarea,
.planner-custom-field > strong { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 5px; padding: 0 13px; color: var(--ink); border: 1px solid rgba(0, 0, 0, .09); border-radius: 13px; outline: 0; background: var(--surface); font-family: var(--font); font-size: 14px; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.planner-custom-field > select { appearance: none; cursor: pointer; }
.planner-custom-field > textarea { min-height: 88px; padding-top: 12px; resize: vertical; line-height: 1.6; }
.planner-custom-field > strong { font-weight: 600; }
.planner-custom-field > strong input { min-width: 0; flex: 1; padding: 0; border: 0; outline: 0; background: transparent; font: inherit; }
.planner-custom-field > strong em { color: var(--muted); font-size: 10px; font-style: normal; }
.planner-custom-field > input:focus,
.planner-custom-field > select:focus,
.planner-custom-field > textarea:focus,
.planner-custom-field > strong:focus-within { border-color: var(--accent); background: white; box-shadow: 0 0 0 4px rgba(0, 113, 227, .1); }
.planner-custom-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 28px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(250, 250, 252, .82); }
.planner-custom-actions button { min-height: 44px; padding: 0 19px; border-radius: 999px; cursor: pointer; font-family: var(--font); font-size: 11px; font-weight: 650; transition: transform .2s ease, background .2s ease, color .2s ease; }
.planner-custom-actions button:active { transform: scale(.97); }
.planner-custom-cancel { color: #515154; border: 0; background: #e8e8ed; }
.planner-custom-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: white; border: 0; background: var(--ink); }
.planner-custom-submit:hover { background: #000; transform: translateY(-1px); }
.planner-custom-submit span { font-size: 16px; font-weight: 400; }
.planner-category-panel { width: min(480px, 100%); }
.planner-category-fields { grid-template-columns: minmax(0, 1fr) 110px; }

.product-drawer { position: absolute; z-index: 15; top: 76px; right: 0; bottom: 0; width: min(930px, 76%); display: flex; flex-direction: column; visibility: hidden; color: var(--ink); background: #f8f6f0; border-left: 1px solid var(--line); box-shadow: -24px 0 70px rgba(22,33,28,.2); transform: translateX(103%); transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility .35s; }
.product-drawer.open { visibility: visible; transform: none; }
.product-drawer-head { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 27px; color: white; background: var(--green); }
.product-drawer-head span { color: #e2b88e; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.product-drawer-head h2 { margin: 4px 0 2px; font-size: 23px; }
.product-drawer-head p { margin: 0; color: rgba(255,255,255,.5); font-size: 9px; }
.product-drawer-head button { width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: white; background: transparent; cursor: pointer; font-size: 23px; line-height: 1; }
.product-directory-note { display: flex; align-items: center; gap: 10px; margin: 18px 24px 0; padding: 11px 13px; color: #527165; background: #e3ece5; border-radius: 8px; }
.product-directory-note i { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; color: white; background: var(--green); border-radius: 50%; font-family: Georgia, serif; font-size: 11px; font-style: normal; }
.product-directory-note p, .product-directory-note strong, .product-directory-note span { display: block; margin: 0; }
.product-directory-note strong { font-size: 10px; }
.product-directory-note span { margin-top: 2px; color: #81938b; font-size: 8px; }
.product-directory-grid { min-height: 0; flex: 1; display: grid; grid-template-columns: 190px 230px minmax(270px, 1fr); gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.directory-column, .product-detail-column { min-width: 0; overflow: auto; padding: 22px 18px 28px; border-right: 1px solid var(--line); }
.product-detail-column { border-right: 0; background: var(--white); }
.directory-title { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.directory-title > span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border: 1px solid #b6a18d; border-radius: 50%; color: #9a7457; font-family: Georgia, serif; font-size: 9px; }
.directory-title strong, .directory-title small { display: block; }
.directory-title strong { font-size: 12px; }
.directory-title small { margin-top: 2px; color: #a3a69f; font-size: 7px; letter-spacing: .14em; }
.directory-search { height: 36px; display: flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 0 9px; border: 1px solid #d8d4ca; border-radius: 7px; color: #8f938d; background: white; }
.directory-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px rgba(24,53,47,.07); }
.directory-search span { font-size: 15px; }
.directory-search input { min-width: 0; width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 9px; }
.directory-list { display: flex; flex-direction: column; gap: 7px; }
.directory-entry { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 9px 10px; border: 1px solid #ddd9cf; border-radius: 7px; color: var(--muted); background: var(--white); cursor: pointer; text-align: left; }
.directory-entry:hover { border-color: #9bafa6; }
.directory-entry.active { color: var(--green); border-color: var(--green); background: #ecf3ee; }
.directory-entry span { overflow: hidden; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.directory-entry small { flex: 0 0 auto; color: #a2a59f; font-size: 8px; }
.directory-entry.model-entry { align-items: flex-start; min-height: 58px; }
.directory-entry.model-entry > span { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; white-space: normal; }
.directory-entry.model-entry > span small { overflow: hidden; max-width: 100%; color: #91958f; font-size: 7px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.directory-entry.model-entry > b { flex: 0 0 auto; color: #997657; font-family: Georgia, serif; font-size: 10px; font-weight: 500; }
.directory-load-more { display: none; width: 100%; min-height: 34px; margin-top: 9px; border: 1px solid #9db2a8; border-radius: 7px; color: var(--green); background: transparent; cursor: pointer; font-size: 9px; }
.directory-load-more.visible { display: block; }
.directory-empty-state { display: grid; place-items: center; min-height: 145px; padding: 18px 8px; border: 1px dashed #d0cbc0; border-radius: 8px; color: #9a9d97; text-align: center; }
.directory-empty-state span { font-size: 22px; }
.directory-empty-state strong { display: block; margin: 7px 0 4px; color: #6f766f; font-size: 10px; }
.directory-empty-state p { margin: 0; font-size: 8px; line-height: 1.6; }
.directory-add-form { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.brand-column .directory-add-form { margin: 0 0 12px; padding: 0 0 12px; border-top: 0; border-bottom: 1px solid var(--line); }
.directory-add-form input { width: 100%; height: 35px; padding: 0 9px; border: 1px solid #d6d3ca; border-radius: 6px; outline: 0; background: white; font-size: 9px; }
.directory-add-form input:focus { border-color: var(--green); }
.directory-add-form button { min-height: 34px; border: 1px solid #9db2a8; border-radius: 6px; color: var(--green); background: transparent; cursor: pointer; font-size: 9px; }
.directory-add-form button:disabled, .directory-add-form input:disabled { opacity: .45; cursor: not-allowed; }
.model-add-form label { display: flex; align-items: center; height: 35px; padding: 0 9px; color: var(--green); background: white; border: 1px solid #d6d3ca; border-radius: 6px; font-family: Georgia, serif; }
.model-add-form label input { height: auto; padding-left: 5px; border: 0; }
.product-detail-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 330px; color: #989c96; text-align: center; }
.product-detail-empty > span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px dashed #bdbdb5; border-radius: 50%; font-size: 20px; }
.product-detail-empty strong { margin: 12px 0 6px; color: #5f6861; font-size: 12px; }
.product-detail-empty p { max-width: 220px; margin: 0; font-size: 9px; line-height: 1.7; }
.product-detail-form { display: none; }
.product-detail-form.active { display: block; }
.selected-model-title { padding: 14px; color: white; background: var(--green); border-radius: 9px; }
.selected-model-title small, .selected-model-title strong { display: block; }
.selected-model-title small { color: rgba(255,255,255,.55); font-size: 9px; }
.selected-model-title strong { margin-top: 5px; font-size: 17px; }
.product-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.product-spec-grid div { padding: 8px; border: 1px solid #e0ddd4; border-radius: 7px; background: #faf9f5; }
.product-spec-grid span, .product-spec-grid strong { display: block; }
.product-spec-grid span { margin-bottom: 3px; color: #9a9d97; font-size: 7px; }
.product-spec-grid strong { overflow: hidden; color: #505a53; font-size: 9px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.brand-opinion { margin-top: 11px; padding: 10px; border-left: 2px solid #b48b67; color: #666f68; background: #f6f0e7; font-size: 8px; line-height: 1.65; }
.brand-opinion strong { display: block; margin-bottom: 4px; color: #8e684a; font-size: 9px; }
.brand-opinion em { color: #8b7060; font-style: normal; }
.product-price-reference { display: none; gap: 5px; margin-top: 12px; padding: 11px 12px; border: 1px solid #e0ddd4; border-radius: 9px; background: #fff; }
.product-price-reference.visible { display: grid; }
.product-price-reference div { display: grid; gap: 4px; }
.product-price-reference span { color: #8b8f8b; font-size: 8px; }
.product-price-reference strong { color: #27302b; font-size: 10px; line-height: 1.55; }
.product-price-reference small { color: #8b8f8b; font-size: 7px; line-height: 1.5; }
.product-detail-form > label { display: block; margin-top: 15px; }
.product-detail-form > label > span { display: block; margin-bottom: 7px; color: #757b75; font-size: 9px; font-weight: 650; }
.product-detail-form textarea { width: 100%; padding: 10px; resize: vertical; border: 1px solid #d8d4ca; border-radius: 7px; outline: 0; background: #faf9f5; font-size: 10px; line-height: 1.6; }
.product-detail-form textarea:focus { border-color: var(--green); }
.product-price-field strong { display: flex; align-items: center; gap: 5px; height: 47px; padding: 0 13px; color: var(--green); background: #f0f4f1; border: 1px solid #bdccc4; border-radius: 7px; font-family: Georgia, serif; font-size: 20px; }
.product-price-field input { width: 100%; border: 0; outline: 0; color: inherit; background: transparent; font-family: inherit; font-size: inherit; }
.product-price-field > small { display: block; margin-top: 5px; color: #8b8f8b; font-size: 7px; line-height: 1.5; }
.product-detail-form .btn { width: 100%; margin-top: 20px; min-height: 44px; font-size: 10px; }
.product-source-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.product-source-links a { padding: 6px 8px; border: 1px solid #c9d2cc; border-radius: 15px; color: var(--green); background: #f5f8f5; font-size: 8px; }
.product-source-links a:hover { color: white; background: var(--green); }
.product-data-warning { margin: 10px 0 0; color: #9a7b60; font-size: 7px; line-height: 1.6; }

.modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: .25s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12,24,20,.68); backdrop-filter: blur(8px); }
.modal-panel { position: relative; z-index: 1; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 37px; background: var(--white); border-radius: 24px; box-shadow: 0 30px 100px rgba(0,0,0,.3); transform: translateY(18px) scale(.98); transition: .3s; }
.modal.open .modal-panel { transform: none; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eeece6; cursor: pointer; font-size: 22px; }
.modal-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 18px; color: white; background: var(--green); border-radius: 50%; }
.modal-panel > small { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.modal-panel h2 { margin: 7px 0 8px; font-size: 30px; }
.modal-panel > p { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.modal-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; color: white; background: var(--green); border-radius: 12px; }
.modal-result div + div { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.15); }
.modal-result span, .modal-result strong { display: block; }
.modal-result span { margin-bottom: 5px; color: rgba(255,255,255,.55); font-size: 9px; }
.modal-result strong { font-family: Georgia, serif; font-size: 20px; }
.modal-panel ul { margin: 18px 0; padding: 0; list-style: none; }
.modal-panel li { display: flex; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 11px; }
.modal-panel li b { color: #9a7452; }
.modal-panel .btn { width: 100%; }
.modal-secondary { width: 100%; margin-top: 10px; padding: 9px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; }
.toast { position: fixed; z-index: 800; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 11px; min-width: 245px; padding: 15px 18px; color: white; background: #152a24; border-radius: 10px; box-shadow: 0 18px 45px rgba(0,0,0,.25); opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; transition: opacity .24s ease, transform .28s cubic-bezier(.22,1,.36,1); }
.toast.show { opacity: 1; transform: none; }
.toast span { display: grid; place-items: center; width: 24px; height: 24px; color: var(--green); background: #dce9e0; border-radius: 50%; font-size: 11px; }
.toast p { margin: 0; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal-delay { transition-delay: .12s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 20px; }
  .header-phone { display: none; }
  .planner-grid, .project-grid { gap: 55px; }
  .hero-brief { right: 35px; }
  .estimate-result { grid-template-columns: 1fr 1fr; }
  .estimate-result .btn { grid-column: 1 / -1; }
  .phone-stage { transform: scale(.9); margin: -35px; }
  .consult-card { gap: 50px; padding: 60px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 68px; }
  .container { width: min(100% - 30px, 680px); }
  .section-pad { padding: 78px 0; }
  .site-header { height: 66px; }
  .desktop-nav, .header-actions > .btn, .header-phone { display: none; }
  .menu-button { display: block; }
  .brand-text strong { font-size: 18px; }
  .brand-text small { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .mobile-menu { position: fixed; z-index: -1; top: 65px; right: 0; left: 0; display: flex; flex-direction: column; gap: 0; height: calc(100dvh - 65px); padding: 30px 22px 100px; color: var(--ink); background: var(--paper); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: .25s; }
  .menu-active .mobile-menu { visibility: visible; opacity: 1; transform: none; }
  .mobile-menu > a:not(.btn) { display: flex; justify-content: space-between; padding: 21px 4px; border-bottom: 1px solid var(--line); font-size: 19px; }
  .mobile-menu a span { color: #a6937f; font-family: Georgia, serif; font-size: 11px; }
  .mobile-menu .btn { margin-top: 30px; color: white; }
  .hero-card { min-height: 760px; align-items: flex-end; background: linear-gradient(0deg, rgba(17,25,22,.94) 0%, rgba(17,25,22,.52) 54%, rgba(17,25,22,.02) 82%), url("renovation-hero.webp") 64% center / cover no-repeat; }
  .hero-copy { width: calc(100% - 36px); margin: 0 auto; padding: 0 0 112px; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 58px); line-height: 1.16; }
  .hero-copy > p { max-width: 520px; margin: 20px 0 26px; font-size: 14px; }
  .hero-actions { align-items: flex-start; }
  .hero-brief { display: none; }
  .hero-index { display: none; }
  .proof-strip { width: calc(100% - 30px); overflow-x: auto; justify-content: flex-start; padding: 0 2px; scrollbar-width: none; }
  .proof-strip > * { flex: 0 0 auto; }
  .planner-grid, .project-grid, .consult-card { grid-template-columns: 1fr; }
  .section-intro > p { max-width: 600px; }
  .intro-note { max-width: 460px; }
  .section-heading { align-items: flex-start; }
  .style-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 300px; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-card { border-bottom: 1px solid #cfc8bb; }
  .project-copy { max-width: 600px; }
  .phone-stage { transform: none; margin: 0; }
  .story-stage { grid-template-columns: 1fr; gap: 35px; }
  .story-author { max-width: 360px; }
  .consult-card { gap: 45px; padding: 50px; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 30px); }
  .section-pad { padding: 68px 0; }
  .hero .container { width: 100%; }
  .hero-card { min-height: 720px; }
  .hero-copy { padding-bottom: 90px; }
  .hero-copy .eyebrow { margin-bottom: 16px; font-size: 10px; }
  .hero-copy h1 { font-size: 43px; }
  .hero-copy > p { line-height: 1.7; }
  .hero-actions { flex-direction: column; gap: 13px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { align-self: center; }
  .proof-strip { min-height: 70px; }
  .proof-strip > span { display: none; }
  .section-intro h2, .section-heading h2, .project-copy h2, .consult-card h2 { font-size: 36px; }
  .planner-grid { gap: 40px; }
  .estimator-card { padding: 27px 18px 23px; border-radius: 20px; }
  .estimator-head { margin-bottom: 23px; }
  .estimator-head h3 { font-size: 21px; }
  .quality-options button { padding: 12px 8px; }
  .estimate-result { grid-template-columns: 1fr 1fr; padding: 16px; }
  .estimate-result > div strong { font-size: 19px; }
  .section-heading { flex-direction: column; gap: 20px; margin-bottom: 32px; }
  .section-heading > p { font-size: 12px; }
  .style-grid { display: flex; overflow-x: auto; gap: 12px; margin-right: -15px; padding-right: 15px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .style-card { min-width: 82vw; height: 420px; scroll-snap-align: start; }
  .style-content strong { font-size: 25px; }
  .style-footer { margin-top: 17px; }
  .process-track { display: flex; overflow-x: auto; border: 0; margin-right: -15px; padding: 8px 15px 22px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .process-card { min-width: 78vw; min-height: 300px; border: 1px solid #cfc8bb; scroll-snap-align: start; }
  .process-card + .process-card { border-left: 0; }
  .process-card:hover { transform: none; }
  .project-section { padding-bottom: 30px; }
  .project-grid { gap: 30px; }
  .project-copy > p { margin-bottom: 25px; }
  .project-copy li { padding: 15px 0; }
  .phone-stage { min-height: 660px; margin: 0 -15px; overflow: hidden; }
  .orbit-one { width: 510px; height: 510px; }
  .phone-shell { width: 286px; transform: rotate(1deg); }
  .phone-screen { min-height: 590px; }
  .note-left { left: 2px; top: 34%; }
  .note-right { right: 2px; bottom: 20%; }
  .stories-section .section-heading { flex-direction: row; align-items: flex-end; }
  .stories-section .section-heading h2 { font-size: 32px; }
  .stories-section .eyebrow { display: none; }
  .story-controls button { width: 40px; height: 40px; }
  .story-stage { padding-top: 35px; }
  .story-stage blockquote { font-size: 23px; line-height: 1.7; }
  .consult-section { padding-bottom: 0; }
  .consult-section .container { width: 100%; }
  .consult-card { gap: 38px; padding: 55px 22px 80px; border-radius: 0; }
  .consult-form { grid-template-columns: 1fr; }
  .consult-form label, .consult-form label:nth-child(3), .consult-form .btn, .consult-form .privacy-check, .form-error { grid-column: 1; }
  .site-footer { padding-bottom: 92px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; gap: 15px; flex-direction: column; }
  .bottom-nav { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; height: calc(62px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4,1fr); align-items: start; padding: 7px 10px env(safe-area-inset-bottom); background: rgba(255,254,250,.96); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #8b918c; font-size: 9px; }
  .bottom-nav a span { font-size: 19px; line-height: 1; }
  .bottom-nav a.active { color: var(--green); }
  .toast { right: 15px; bottom: 77px; left: 15px; min-width: auto; }
  .modal { align-items: end; padding: 0; }
  .modal-panel { width: 100%; max-height: 88vh; padding: 32px 22px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; transform: translateY(100%); }
}

@media (max-width: 1050px) {
  .planner-topbar { padding: 0 24px; }
  .planner-toolbar { padding: 0 24px; }
  .planner-catalog { padding-right: 24px; padding-left: 24px; }
  .planner-cart { padding-right: 20px; padding-left: 20px; }
  .planner-items { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .planner-workspace { display: block; overflow: auto; }
  .planner-shell { width: 100%; height: 100dvh; min-height: 100dvh; }
  .planner-topbar { min-height: 64px; padding: 0 15px; }
  .planner-brand { min-width: 0; gap: 9px; }
  .planner-close { width: 32px; height: 32px; }
  .planner-brand strong { font-size: 15px; }
  .planner-project-name { margin-left: auto; }
  .planner-project-name label { display: none; }
  .planner-project-name input { width: 95px; font-size: 10px; }
  .planner-top-actions { gap: 8px; }
  .planner-saved-state { display: none; }
  .planner-outline-button { min-height: 32px; padding: 0 9px; font-size: 9px; }
  .planner-toolbar { min-height: 66px; padding: 0 15px; }
  .planner-toolbar > div:first-child { display: block; }
  .planner-toolbar > div:first-child > span { display: block; margin-bottom: 4px; font-size: 8px; }
  .planner-toolbar strong { display: block; font-size: 14px; }
  .planner-toolbar small { display: block; margin-top: 3px; font-size: 9px; }
  .planner-toolbar-actions button:first-child { display: none; }
  .planner-body { display: flex; flex-direction: column; overflow: auto; }
  .planner-cart { order: -1; position: sticky; z-index: 4; top: 0; flex: 0 0 auto; max-height: 46vh; overflow: auto; padding: 15px 15px 13px; border-right: 0; border-bottom: 1px solid #d1ccc0; border-left: 0; transition: max-height .36s cubic-bezier(.22,1,.36,1), box-shadow .25s ease; }
  .cart-head > button { display: block; width: 29px; height: 29px; padding: 0; border: 1px solid #c6c6bc; border-radius: 50%; color: var(--green); background: transparent; cursor: pointer; line-height: 1; }
  .planner-cart.collapsed { max-height: 83px; overflow: hidden; }
  .planner-cart .cart-notice, .planner-cart .cart-list, .planner-cart .cart-empty, .planner-cart .cart-summary, .planner-cart .cart-footer { transition: opacity .2s ease .08s, transform .28s cubic-bezier(.22,1,.36,1), visibility .2s; }
  .planner-cart.collapsed .cart-notice, .planner-cart.collapsed .cart-list, .planner-cart.collapsed .cart-empty, .planner-cart.collapsed .cart-summary, .planner-cart.collapsed .cart-footer { visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-6px); transition-delay: 0s; }
  .cart-notice { margin: 11px 0 10px; padding: 9px; }
  .cart-empty { min-height: 125px; }
  .cart-summary { margin-top: 12px; }
  .cart-summary .cart-total strong { font-size: 23px; }
  .cart-footer { margin-top: 10px; }
  .planner-catalog { overflow: visible; padding: 22px 15px 80px; }
  .planner-type-tabs { max-width: none; gap: 8px; }
  .planner-type-tabs button { min-height: 67px; padding: 10px; gap: 8px; }
  .planner-type-tabs button > span:nth-child(2) { gap: 2px; }
  .planner-type-tabs strong { font-size: 13px; }
  .planner-type-tabs small { font-size: 8px; }
  .planner-type-tabs b { display: none; }
  .type-icon { width: 29px; height: 29px; font-size: 16px; }
  .planner-catalog-head { align-items: flex-start; margin: 24px 0 18px; }
  .planner-catalog-head h2 { font-size: 22px; }
  .planner-catalog-head p { max-width: 235px; line-height: 1.6; }
  .planner-area-field { padding: 7px 9px; }
  .planner-area-field strong { font-size: 16px; }
  .planner-items { grid-template-columns: 1fr; gap: 10px; }
  .planner-item { min-height: 143px; }
  .product-drawer { position: fixed; top: 0; width: 100%; height: 100dvh; bottom: auto; border-left: 0; }
  .product-drawer-head { position: sticky; z-index: 3; top: 0; min-height: 82px; padding: 15px; }
  .product-drawer-head h2 { font-size: 20px; }
  .product-directory-note { margin: 13px 15px 0; }
  .product-directory-grid { display: block; overflow: auto; margin-top: 13px; border-top: 0; }
  .directory-column, .product-detail-column { overflow: visible; padding: 18px 15px; border-top: 1px solid var(--line); border-right: 0; }
  .directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-column .directory-list { grid-template-columns: 1fr; }
  .directory-empty-state { grid-column: 1 / -1; min-height: 115px; }
  .directory-add-form { display: grid; grid-template-columns: 1fr auto; }
  .directory-add-form button { min-width: 100px; }
  .model-add-form { grid-template-columns: 1fr 110px; }
  .model-add-form button { grid-column: 1 / -1; }
  .product-detail-empty { min-height: 230px; }
}

@media (max-width: 560px) {
  .planner-project-name input { width: 78px; }
  .planner-toolbar-actions button:last-child { padding: 5px; font-size: 9px; }
  .planner-catalog-head { gap: 8px; }
  .planner-catalog-head p { max-width: 205px; }
  .planner-area-field { flex: 0 0 auto; }
  .planner-area-field input { width: 48px; }
  .cart-row { padding: 10px; }
}

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

@media print {
  body * { visibility: hidden !important; }
  .planner-workspace, .planner-workspace * { visibility: visible !important; }
  .planner-workspace { position: absolute; inset: 0; display: block; opacity: 1; }
  .planner-backdrop, .planner-top-actions, .planner-toolbar, .planner-catalog, .planner-close, .cart-notice, .cart-footer, .cart-row-controls, .cart-row-remove, .product-drawer { display: none !important; }
  .planner-shell { width: 100%; height: auto; min-height: 0; box-shadow: none; transform: none; }
  .planner-topbar { color: var(--ink); background: white; border-bottom: 2px solid var(--green); }
  .planner-brand span { color: var(--muted); }
  .planner-brand strong { color: var(--ink); }
  .planner-body { display: block; overflow: visible; }
  .planner-cart { padding: 28px; border: 0; background: white; }
  .cart-empty { display: none !important; }
  .cart-summary { margin-top: 20px; }
}

/* Premium minimal visual system — 云起潮鸣 */
@media screen {
  html { scroll-padding-top: 72px; }
  body { background: var(--paper); letter-spacing: -.006em; }
  ::selection { color: white; background: var(--accent); }
  .container { width: min(1200px, calc(100% - 48px)); }
  .section-pad { padding: 144px 0; }

  .site-header,
  .site-header.scrolled,
  .site-header.menu-active {
    height: 64px;
    color: var(--ink);
    background: rgba(255, 255, 255, .78);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    box-shadow: none;
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
  }
  .header-inner { width: min(1240px, calc(100% - 40px)); }
  .brand { min-width: 150px; gap: 10px; }
  .brand-mark {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    transform: none;
  }
  .brand-mark::before {
    width: 10px;
    height: 10px;
    border-color: white;
    transform: rotate(45deg);
  }
  .brand-mark i { right: 6px; bottom: 6px; width: 4px; height: 4px; background: #2997ff; transform: none; }
  .brand-text { gap: 8px; }
  .brand-text strong { font-size: 17px; font-weight: 650; letter-spacing: .09em; }
  .brand-text small { color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .16em; }
  .desktop-nav { gap: 30px; }
  .nav-link { padding: 23px 0 20px; color: #424245; font-size: 12px; opacity: .82; }
  .nav-link::after { bottom: 13px; height: 1px; background: var(--ink); }
  .header-actions { gap: 12px; }
  .header-phone { display: none; }

  .btn { min-height: 48px; padding: 0 23px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: none; }
  .btn:hover { transform: scale(1.015); }
  .btn-small { min-height: 36px; padding: 0 16px; font-size: 12px; }
  .btn-dark,
  .site-header:not(.scrolled):not(.menu-active) .btn-dark { color: white; background: var(--ink); box-shadow: none; }
  .btn-dark:hover { background: #000; }
  .btn-accent { background: var(--accent); box-shadow: none; }
  .btn-accent:hover { background: var(--accent-dark); }

  .hero { padding-top: 64px; background: white; }
  .hero .container { width: 100%; }
  .hero-card {
    min-height: min(860px, calc(100vh - 64px));
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
      radial-gradient(circle at 50% 36%, rgba(0, 0, 0, .12), rgba(0, 0, 0, .34) 54%, rgba(0, 0, 0, .58) 100%),
      url("renovation-hero.webp") 54% center / cover no-repeat;
  }
  .hero-card::after { height: 42%; background: linear-gradient(0deg, rgba(0, 0, 0, .38), transparent); }
  .hero-copy {
    width: min(980px, calc(100% - 48px));
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 46px 0 0;
  }
  .hero-copy > * { max-width: none; }
  .hero-copy .eyebrow {
    margin-bottom: 24px;
    padding: 8px 14px;
    color: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(0, 0, 0, .14);
    font-size: 10px;
    font-weight: 550;
    letter-spacing: .12em;
    backdrop-filter: blur(12px);
  }
  .hero-copy .eyebrow span { display: none; }
  .hero-copy h1 {
    max-width: 920px;
    font-size: clamp(64px, 7.3vw, 104px);
    line-height: .99;
    letter-spacing: -.065em;
    font-weight: 650;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .18);
  }
  .hero-copy > p {
    max-width: 690px;
    margin: 30px 0 34px;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.6;
  }
  .hero-actions { justify-content: center; gap: 24px; }
  .hero-cta {
    min-width: 196px;
    min-height: 52px;
    padding: 0 9px 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 12px 34px rgba(0, 113, 227, .28);
  }
  .hero-cta::before { display: none; }
  .hero-cta:hover { background: var(--accent-dark); box-shadow: 0 14px 38px rgba(0, 113, 227, .33); filter: none; transform: scale(1.02); }
  .hero-cta-copy { gap: 0; }
  .hero-cta-copy small { display: none; }
  .hero-cta-copy strong { font-size: 14px; font-weight: 600; letter-spacing: 0; }
  .hero-cta-icon { width: 34px; height: 34px; border: 0; background: rgba(255, 255, 255, .16); box-shadow: none; }
  .hero-cta .hero-cta-icon svg { width: 16px; }
  .text-link { color: var(--accent); border-bottom: 0; font-size: 14px; font-weight: 500; }
  .text-link-light { color: white; }
  .hero-brief,
  .hero-index { display: none; }
  .proof-strip {
    width: min(1200px, calc(100% - 48px));
    min-height: 92px;
    border-bottom: 0;
  }
  .proof-strip > span { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
  .proof-strip div { color: #424245; font-size: 12px; }
  .proof-strip i { width: 22px; height: 22px; color: var(--accent); border-color: rgba(0, 113, 227, .28); }

  .eyebrow { justify-content: center; margin-bottom: 18px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .11em; }
  .eyebrow span { display: none; }
  .section-intro h2,
  .section-heading h2,
  .project-copy h2,
  .consult-card h2 {
    font-size: clamp(48px, 5.2vw, 72px);
    line-height: 1.05;
    letter-spacing: -.055em;
    font-weight: 650;
  }

  .planner { background: var(--surface); }
  .planner-grid { grid-template-columns: 1fr; gap: 56px; }
  .section-intro { max-width: 820px; margin: 0 auto; text-align: center; }
  .section-intro > p { max-width: 620px; margin: 24px auto 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
  .intro-note { display: none; }
  .estimator-card {
    width: min(960px, 100%);
    margin: 0 auto;
    padding: 44px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 30px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 70px rgba(0, 0, 0, .07);
  }
  .estimator-head h3 { font-size: 28px; letter-spacing: -.025em; }
  .step-label { color: var(--accent); }
  .secure-badge { color: var(--muted); background: var(--surface); }
  .field-group { margin-top: 28px; }
  .segmented button,
  .quality-options button { border: 1px solid transparent; border-radius: 15px; background: var(--surface); }
  .segmented button { min-height: 72px; padding: 16px 18px; }
  .segmented button.active,
  .quality-options button.active { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
  .quality-options button.active::after { top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
  .swatch-comfort,
  .swatch-premium { background: var(--accent); }
  .range-title output { color: var(--ink); font-family: var(--font); font-weight: 600; }
  .range-group input { background: linear-gradient(90deg, var(--accent) var(--fill, 32.2%), #d2d2d7 var(--fill, 32.2%)); }
  .range-group input::-webkit-slider-thumb,
  .range-group input::-moz-range-thumb { background: var(--accent); }
  .estimate-result { gap: 22px; margin-top: 32px; padding: 22px; border-radius: 20px; background: var(--ink); }
  .estimate-result > div strong { font-family: var(--font); font-weight: 600; }

  .styles-section { background: white; }
  .section-heading { flex-direction: column; align-items: center; gap: 22px; margin-bottom: 58px; text-align: center; }
  .section-heading > p { max-width: 620px; margin: 0; font-size: 15px; line-height: 1.7; }
  .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 430px); gap: 22px; }
  .style-card { border-radius: 28px; box-shadow: inset 0 -80px 90px rgba(0, 0, 0, .12); }
  .style-card.selected { box-shadow: inset 0 0 0 3px var(--accent), inset 0 -80px 90px rgba(0, 0, 0, .12); }
  .style-number { font-family: var(--font); opacity: .8; }
  .style-content strong { font-size: 30px; letter-spacing: -.03em; }
  .style-arrow { border-color: rgba(255, 255, 255, .7); }
  .style-card:hover .style-arrow { color: var(--ink); }
  .style-footer { margin-top: 24px; }
  .style-footer p::before { background: var(--accent); }

  .service-section { background: var(--surface); }
  .process-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border: 0; }
  .process-card,
  .process-card:first-child {
    min-height: 320px;
    padding: 30px;
    color: var(--ink);
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 24px;
    background: white;
    box-shadow: none;
  }
  .process-card:hover,
  .process-card.active { color: var(--ink); background: white; box-shadow: 0 18px 48px rgba(0, 0, 0, .08); transform: translateY(-4px); }
  .process-card:hover .process-index,
  .process-card.active .process-index { color: var(--accent); }
  .process-index { color: var(--accent); font-family: var(--font); }
  .process-icon { margin: 34px 0 28px; border: 0; background: var(--surface); }
  .process-card p,
  .process-card:hover p,
  .process-card.active p { color: var(--muted); font-size: 13px; }

  .project-section { background: #000; }
  .project-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .project-copy .eyebrow { justify-content: flex-start; color: #2997ff; }
  .project-copy > p { color: #a1a1a6; font-size: 15px; line-height: 1.8; }
  .project-copy li { border-color: rgba(255, 255, 255, .12); }
  .project-copy li > span { color: #2997ff; font-family: var(--font); }
  .project-copy li small { color: #86868b; }
  .orbit { border-color: rgba(255, 255, 255, .09); }
  .phone-shell { border-color: rgba(255, 255, 255, .22); background: #161617; box-shadow: 0 46px 120px rgba(0, 0, 0, .7); transform: none; }
  .phone-shell::before { background: #161617; }
  .progress-ring { background: conic-gradient(var(--accent) 68%, #ebece8 0); }
  .floating-note { border-color: rgba(255, 255, 255, .4); border-radius: 16px; box-shadow: 0 18px 60px rgba(0, 0, 0, .28); }
  .floating-note i,
  .note-right i { background: var(--accent); }

  .stories-section { background: white; }
  .story-controls button { border-color: rgba(0, 0, 0, .13); background: var(--surface); }
  .story-controls button:hover { color: white; border-color: var(--ink); background: var(--ink); }
  .story-stage { border-color: var(--line); }
  .story-stage blockquote { font-family: var(--font); font-weight: 600; letter-spacing: -.035em; }
  .story-author > span { background: var(--ink); }
  .story-rating { color: var(--accent); }

  .consult-section { padding-bottom: 120px; background: white; }
  .consult-card { color: var(--ink); background: var(--surface); border-radius: 30px; }
  .consult-card > div > p { color: var(--muted); font-size: 14px; }
  .consult-form label > span { color: var(--muted); }
  .consult-form input { color: var(--ink); border: 1px solid rgba(0, 0, 0, .08); border-radius: 13px; background: white; }
  .consult-form input::placeholder { color: #a1a1a6; }
  .consult-form input:focus { border-color: var(--accent); background: white; box-shadow: 0 0 0 3px rgba(0, 113, 227, .12); }
  .consult-form .btn { color: white; background: var(--accent); }
  .form-error { color: #d70015; }

  .site-footer { color: var(--ink); background: var(--surface); }
  .brand-light { color: var(--ink); }
  .footer-brand p,
  .footer-links a,
  .footer-contact small,
  .footer-contact span { color: var(--muted); }
  .footer-links strong { color: var(--ink); }
  .footer-links a:hover { color: var(--ink); }
  .footer-bottom { color: #86868b; border-color: rgba(0, 0, 0, .08); }

  /* Internal planner */
  #plannerApp .planner-backdrop { background: rgba(0, 0, 0, .42); backdrop-filter: blur(18px); }
  #plannerApp .planner-shell {
    width: min(1480px, calc(100% - 32px));
    height: min(940px, calc(100dvh - 32px));
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: 0 34px 110px rgba(0, 0, 0, .28);
  }
  #plannerApp .planner-topbar {
    min-height: 66px;
    padding: 0 28px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(20px);
  }
  #plannerApp .planner-close { width: 36px; height: 36px; color: var(--ink); border: 0; background: #e8e8ed; }
  #plannerApp .planner-brand span { color: var(--muted); letter-spacing: .08em; }
  #plannerApp .planner-brand strong { font-size: 17px; letter-spacing: -.02em; }
  #plannerApp .planner-project-name label,
  #plannerApp .planner-saved-state { color: var(--muted); }
  #plannerApp .planner-saved-state.saved { color: #248a3d; }
  #plannerApp .planner-project-name input { color: var(--ink); border: 0; border-radius: 10px; background: var(--surface); }
  #plannerApp .planner-project-name input:focus { box-shadow: 0 0 0 2px var(--accent); }
  #plannerApp .planner-outline-button { min-height: 34px; color: white; border: 0; border-radius: 999px; background: var(--ink); }
  #plannerApp .planner-outline-button:hover { background: #000; }
  #plannerApp .planner-toolbar { min-height: 70px; padding: 0 28px; background: rgba(255, 255, 255, .8); }
  #plannerApp .planner-toolbar > div:first-child > span,
  #plannerApp .planner-kicker { color: var(--accent); }
  #plannerApp .planner-toolbar-actions button:first-child { color: var(--accent); }
  #plannerApp .planner-body { grid-template-columns: minmax(0, 1.65fr) minmax(360px, .7fr); background: var(--surface); }
  #plannerApp .planner-catalog { padding: 30px 30px 50px; scrollbar-color: #c7c7cc transparent; }
  #plannerApp .planner-type-tabs { max-width: 760px; gap: 12px; }
  #plannerApp .planner-type-tabs button {
    min-height: 82px;
    padding: 14px 16px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 18px;
    background: white;
  }
  #plannerApp .planner-type-tabs button:hover { border-color: rgba(0, 113, 227, .45); }
  #plannerApp .planner-type-tabs button.active { color: var(--ink); border-color: var(--accent); background: white; box-shadow: 0 0 0 1px var(--accent); }
  #plannerApp .type-icon { color: var(--ink); border-radius: 11px; background: var(--surface); }
  #plannerApp .planner-type-tabs button.active .type-icon { color: white; background: var(--accent); }
  #plannerApp .planner-type-tabs b { color: var(--muted); background: var(--surface); }
  #plannerApp .planner-catalog-head h2 { font-size: 29px; font-weight: 650; }
  #plannerApp .planner-area-field { border: 0; border-radius: 13px; background: white; }
  #plannerApp .planner-area-field strong { color: var(--ink); font-family: var(--font); font-weight: 600; }
  #plannerApp .planner-category-nav { gap: 9px; }
  #plannerApp .planner-category-nav button { min-height: 34px; padding: 0 14px; color: #515154; border: 0; background: white; }
  #plannerApp .planner-category-nav button.active { color: white; background: var(--ink); }
  #plannerApp .planner-items { gap: 14px; }
  #plannerApp .planner-item {
    min-height: 160px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: white;
  }
  #plannerApp .planner-item:hover { border-color: rgba(0, 113, 227, .4); box-shadow: 0 14px 36px rgba(0, 0, 0, .07); }
  #plannerApp .planner-item.is-added { border-color: var(--accent); background: white; }
  #plannerApp .item-icon { color: var(--ink); border-radius: 11px; background: var(--surface); }
  #plannerApp .planner-item.is-added .item-icon,
  #plannerApp .planner-item.is-added .item-add b { color: white; background: var(--accent); }
  #plannerApp .item-category { color: var(--accent); }
  #plannerApp .item-scope { color: #5f6368; background: var(--surface); }
  #plannerApp .item-price strong,
  #plannerApp .item-price-editor,
  #plannerApp .item-measure-editor,
  #plannerApp .cart-row-price,
  #plannerApp .cart-price-editor,
  #plannerApp .cart-measure-editor,
  #plannerApp .cart-line-total { color: var(--ink); font-family: var(--font); }
  #plannerApp .item-add { color: var(--accent); }
  #plannerApp .item-add b { border-color: rgba(0, 113, 227, .4); }
  #plannerApp .item-price-editor,
  #plannerApp .item-measure-editor,
  #plannerApp .cart-price-editor,
  #plannerApp .cart-measure-editor { border-color: rgba(0, 0, 0, .1); border-radius: 10px; }
  #plannerApp .item-price-editor:focus-within,
  #plannerApp .item-measure-editor:focus-within,
  #plannerApp .cart-price-editor:focus-within,
  #plannerApp .cart-measure-editor:focus-within { border-color: rgba(0, 0, 0, .14); box-shadow: 0 5px 14px rgba(0, 0, 0, .055); }
  #plannerApp :is(input[data-item-price], input[data-item-measure], input[data-cart-price], input[data-cart-measure]):focus,
  #plannerApp :is(input[data-item-price], input[data-item-measure], input[data-cart-price], input[data-cart-measure]):focus-visible { outline: 0; outline-offset: 0; box-shadow: none; }
  #plannerApp .planner-item.catalog-entry { background: white; }
  #plannerApp .catalog-price-placeholder { color: var(--accent); }
  #plannerApp .catalog-price-placeholder i { border-color: rgba(0, 113, 227, .42); }
  #plannerApp .planner-cart { padding: 28px 24px 24px; border-left-color: var(--line); background: white; }
  #plannerApp .cart-head > div > span { color: var(--muted); }
  #plannerApp .cart-notice { color: #0056a8; border-radius: 13px; background: var(--accent-soft); }
  #plannerApp .cart-notice i { background: var(--accent); }
  #plannerApp .cart-notice small { color: #47769f; }
  #plannerApp .cart-row { border-color: rgba(0, 0, 0, .07); border-radius: 13px; background: var(--surface); }
  #plannerApp .cart-row-category { color: var(--accent); }
  #plannerApp .cart-row-controls button { color: var(--ink); border-color: rgba(0, 0, 0, .1); }
  #plannerApp .cart-summary,
  #plannerApp .cart-summary .cart-total { border-color: var(--line); }
  #plannerApp .cart-summary .cart-total,
  #plannerApp .cart-summary .cart-total strong { color: var(--ink); font-family: var(--font); font-weight: 650; }
  #plannerApp .cart-summary em { color: var(--accent); }
  #plannerApp .cart-footer .btn.btn-dark { color: white; background: var(--ink); }

  #plannerApp .product-drawer {
    inset: 0;
    width: 100%;
    height: 100%;
    border-left: 0;
    background: var(--surface);
    box-shadow: none;
  }
  #plannerApp .product-drawer-head { min-height: 88px; padding: 18px 26px; color: var(--ink); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .92); }
  #plannerApp .product-drawer-head span { color: var(--accent); }
  #plannerApp .product-drawer-head p { color: var(--muted); }
  #plannerApp .product-drawer-head button { color: var(--ink); border: 0; background: #e8e8ed; }
  #plannerApp .product-directory-note { color: #0056a8; border-radius: 13px; background: var(--accent-soft); }
  #plannerApp .product-directory-note i { background: var(--accent); }
  #plannerApp .product-directory-note span { color: #47769f; }
  #plannerApp .product-directory-grid { grid-template-columns: 210px 260px minmax(300px, 1fr); border-color: var(--line); }
  #plannerApp .directory-column,
  #plannerApp .product-detail-column { border-color: var(--line); }
  #plannerApp .product-detail-column { background: white; }
  #plannerApp .directory-title > span { color: var(--accent); border-color: rgba(0, 113, 227, .35); font-family: var(--font); }
  #plannerApp .directory-search { height: 40px; border: 0; border-radius: 11px; background: white; }
  #plannerApp .directory-search:focus-within { box-shadow: 0 0 0 2px var(--accent); }
  #plannerApp .directory-entry { min-height: 48px; border-color: transparent; border-radius: 12px; background: white; }
  #plannerApp .directory-entry:hover { border-color: rgba(0, 113, 227, .35); }
  #plannerApp .directory-entry.active { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
  #plannerApp .directory-entry.model-entry > b { color: var(--ink); font-family: var(--font); }
  #plannerApp .directory-load-more,
  #plannerApp .directory-add-form button { color: var(--accent); border-color: rgba(0, 113, 227, .35); border-radius: 10px; }
  #plannerApp .directory-add-form input,
  #plannerApp .model-add-form label,
  #plannerApp .product-detail-form textarea { border-color: rgba(0, 0, 0, .08); border-radius: 10px; background: white; }
  #plannerApp .selected-model-title { border-radius: 15px; background: var(--ink); }
  #plannerApp .product-spec-grid div { border: 0; border-radius: 10px; background: var(--surface); }
  #plannerApp .brand-opinion { color: var(--muted); border-left-color: var(--accent); background: var(--accent-soft); }
  #plannerApp .brand-opinion strong,
  #plannerApp .brand-opinion em { color: #0056a8; }
  #plannerApp .product-price-reference { border-color: var(--line); border-radius: 12px; background: var(--surface); }
  #plannerApp .product-price-reference strong { color: var(--ink); }
  #plannerApp .product-price-field strong { color: var(--ink); border-color: rgba(0, 113, 227, .28); border-radius: 12px; background: var(--accent-soft); font-family: var(--font); }
  #plannerApp .product-source-links a { color: var(--accent); border-color: rgba(0, 113, 227, .25); background: var(--accent-soft); }
  #plannerApp .product-detail-form .btn { color: white; background: var(--accent); }

  /* Responsive interaction layer */
  #plannerApp button { -webkit-tap-highlight-color: transparent; }
  #plannerApp .planner-type-tabs button,
  #plannerApp .planner-category-nav button,
  #plannerApp .item-icon,
  #plannerApp .item-add,
  #plannerApp .item-add b,
  #plannerApp .catalog-price-placeholder,
  #plannerApp .catalog-price-placeholder i,
  #plannerApp .cart-row,
  #plannerApp .cart-row-controls button,
  #plannerApp .cart-row-remove,
  #plannerApp .directory-entry,
  #plannerApp .directory-entry small,
  #plannerApp .directory-add-form button,
  #plannerApp .directory-load-more,
  #plannerApp .planner-close,
  #plannerApp .product-drawer-head button,
  #plannerApp .planner-outline-button {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease,
      box-shadow .25s ease, transform .28s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
  }
  #plannerApp .planner-item { overflow: hidden; isolation: isolate; transition: border-color .22s ease, box-shadow .3s ease, transform .32s cubic-bezier(.22,1,.36,1); }
  #plannerApp .planner-item::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(240px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(0,113,227,.105), transparent 62%);
    transition: opacity .28s ease;
  }
  #plannerApp .planner-item > :not(.item-add) { position: relative; z-index: 1; }
  #plannerApp .planner-item > .item-add { z-index: 1; }
  #plannerApp .item-add { min-height: 32px; padding: 4px 7px; border-radius: 999px; }
  #plannerApp .directory-entry.active { box-shadow: 0 0 0 1px rgba(0,113,227,.13), 0 8px 20px rgba(0,113,227,.08); }
  #plannerApp #cartTotal { display: inline-block; transform-origin: center; }
  #plannerApp .product-drawer.open .product-directory-note { animation: directory-note-in .4s cubic-bezier(.22,1,.36,1) both; }
  #plannerApp .product-drawer.open .product-directory-grid > :nth-child(1) { animation: directory-column-in .42s .05s cubic-bezier(.22,1,.36,1) both; }
  #plannerApp .product-drawer.open .product-directory-grid > :nth-child(2) { animation: directory-column-in .42s .1s cubic-bezier(.22,1,.36,1) both; }
  #plannerApp .product-drawer.open .product-directory-grid > :nth-child(3) { animation: directory-column-in .42s .15s cubic-bezier(.22,1,.36,1) both; }
  #plannerApp :is(button, a, input, textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  @keyframes directory-note-in {
    from { opacity: 0; transform: translateY(-7px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes directory-column-in {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
  }

  .modal-backdrop { background: rgba(0, 0, 0, .42); backdrop-filter: blur(18px); }
  .modal-panel { border: 1px solid rgba(255, 255, 255, .5); border-radius: 28px; box-shadow: 0 30px 100px rgba(0, 0, 0, .24); }
  .modal-icon { background: var(--accent); }
  .modal-result { border-radius: 18px; background: var(--ink); }
  .modal-result strong { font-family: var(--font); }
  .modal-panel li b { color: var(--accent); }
  .toast { border-radius: 15px; background: rgba(29, 29, 31, .92); backdrop-filter: blur(16px); }
  .toast span { color: var(--accent); background: white; }
}

.cart-flight-token {
  position: fixed;
  z-index: 4000;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  color: white;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  background: linear-gradient(145deg, #1688ff, #0067d8);
  box-shadow: 0 10px 28px rgba(0, 113, 227, .42), 0 2px 7px rgba(0, 0, 0, .16);
  pointer-events: none;
  font-size: 21px;
  font-weight: 450;
  line-height: 1;
  will-change: transform, opacity;
}
.cart-flight-token::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(0, 113, 227, .22);
  border-radius: inherit;
}

@media (hover: hover) and (pointer: fine) {
  #plannerApp .planner-close:hover,
  #plannerApp .product-drawer-head button:hover { color: white; background: var(--ink); transform: rotate(90deg) scale(1.04); }
  #plannerApp .planner-type-tabs button:hover { transform: translateY(-3px); box-shadow: 0 13px 28px rgba(0,0,0,.075); }
  #plannerApp .planner-type-tabs button:hover .type-icon { transform: scale(1.07) rotate(-3deg); }
  #plannerApp .planner-category-nav button:not(.active):hover { color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,113,227,.08); }
  #plannerApp .planner-item:hover { border-color: rgba(0,113,227,.5); box-shadow: 0 18px 42px rgba(0,0,0,.1); transform: translateY(-5px) scale(1.006); }
  #plannerApp .planner-item:hover::before { opacity: 1; }
  #plannerApp .planner-item:hover .item-icon { transform: scale(1.07) rotate(-3deg); }
  #plannerApp .planner-item:hover .item-add { background: var(--accent-soft); transform: translateY(-1px); }
  #plannerApp .planner-item:hover .item-add b { color: white; border-color: var(--accent); background: var(--accent); transform: scale(1.08); }
  #plannerApp .catalog-price-placeholder:hover { transform: translateX(2px); }
  #plannerApp .planner-item.catalog-entry:hover .catalog-price-placeholder i { color: white; border-color: var(--accent); background: var(--accent); transform: translateX(4px); }
  #plannerApp .directory-entry:hover { border-color: rgba(0,113,227,.4); box-shadow: 0 10px 22px rgba(0,0,0,.07); transform: translateX(4px); }
  #plannerApp .directory-entry:hover small { color: var(--accent); transform: translateX(2px); }
  #plannerApp .directory-add-form button:hover,
  #plannerApp .directory-load-more:hover { color: white; border-color: var(--accent); background: var(--accent); box-shadow: 0 9px 20px rgba(0,113,227,.2); transform: translateY(-2px); }
  #plannerApp .cart-row:hover { background: white; box-shadow: 0 10px 24px rgba(0,0,0,.065); transform: translateY(-2px); }
  #plannerApp .cart-row-controls button:hover { color: white; border-color: var(--ink); background: var(--ink); transform: scale(1.14); }
  #plannerApp .cart-row-remove:hover { color: #d70015; transform: rotate(8deg) scale(1.16); }
  #plannerApp .planner-outline-button:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 8px 20px rgba(0,0,0,.16); }
  #plannerApp .cart-footer .btn span,
  #plannerApp .product-detail-form .btn span { transition: transform .25s cubic-bezier(.22,1,.36,1); }
  #plannerApp .cart-footer .btn:hover span,
  #plannerApp .product-detail-form .btn:hover span { transform: translateX(4px); }
}

#plannerApp :is(.planner-type-tabs button, .planner-category-nav button, .item-add, .catalog-price-placeholder, .cart-row-controls button, .directory-entry, .directory-add-form button, .directory-load-more, .planner-close, .product-drawer-head button, .planner-outline-button):active { transform: scale(.96); transition-duration: .08s; }

@media screen and (max-width: 1050px) {
  .section-pad { padding: 118px 0; }
  .desktop-nav { gap: 20px; }
  .project-grid { gap: 44px; }
  .process-card { padding: 24px; }
  #plannerApp .planner-shell { width: calc(100% - 20px); height: calc(100dvh - 20px); }
}

@media screen and (max-width: 820px) {
  html { scroll-padding-top: 58px; }
  .container { width: min(100% - 32px, 680px); }
  .section-pad { padding: 94px 0; }
  .site-header,
  .site-header.scrolled,
  .site-header.menu-active { height: 56px; }
  .header-inner { width: calc(100% - 28px); }
  .brand { min-width: 0; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-text strong { font-size: 16px; }
  .mobile-menu { top: 55px; height: calc(100dvh - 55px); color: var(--ink); background: rgba(255, 255, 255, .97); }
  .mobile-menu > a:not(.btn) { border-color: var(--line); }
  .mobile-menu .btn { background: var(--ink); }

  .hero { padding-top: 56px; }
  .hero-card {
    min-height: 760px;
    align-items: center;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .58)),
      url("renovation-hero.webp") 63% center / cover no-repeat;
  }
  .hero-copy { width: calc(100% - 36px); margin: 0 auto; padding: 30px 0 0; }
  .hero-copy h1 { max-width: 670px; font-size: clamp(54px, 12vw, 78px); line-height: 1.02; }
  .hero-copy > p { max-width: 560px; margin: 26px 0 30px; font-size: 16px; }
  .hero-actions { align-items: center; }
  .proof-strip { width: calc(100% - 32px); overflow-x: auto; justify-content: flex-start; gap: 28px; }
  .proof-strip > * { flex: 0 0 auto; }

  .planner-grid { gap: 44px; }
  .section-intro h2,
  .section-heading h2,
  .project-copy h2,
  .consult-card h2 { font-size: clamp(44px, 8vw, 60px); }
  .estimator-card { padding: 34px; }
  .style-grid { grid-template-rows: repeat(2, 350px); gap: 16px; }
  .process-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .process-card { border: 1px solid rgba(0, 0, 0, .05); }
  .project-grid { grid-template-columns: 1fr; }
  .project-copy { max-width: 650px; }
  .consult-card { padding: 54px; }

  #plannerApp .planner-shell { width: 100%; height: 100dvh; min-height: 0; border: 0; border-radius: 0; }
  #plannerApp .planner-topbar { min-height: calc(60px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 14px 0; }
  #plannerApp .planner-brand { gap: 8px; }
  #plannerApp .planner-close { width: 36px; height: 36px; }
  #plannerApp .planner-project-name input { min-height: 36px; }
  #plannerApp .planner-outline-button { min-height: 36px; }
  #plannerApp .planner-toolbar { min-height: 68px; padding: 0 16px; }
  #plannerApp .planner-body { background: var(--surface); }
  #plannerApp .planner-cart { max-height: 38vh; padding: 16px; border-bottom-color: var(--line); }
  #plannerApp .planner-cart.collapsed { max-height: 78px; }
  #plannerApp .cart-head > button { width: 36px; height: 36px; color: var(--ink); border: 0; background: var(--surface); }
  #plannerApp .planner-catalog { padding: 22px 16px calc(86px + env(safe-area-inset-bottom)); }
  #plannerApp .planner-type-tabs button { min-height: 72px; border-radius: 15px; }
  #plannerApp .planner-category-nav button { min-height: 40px; }
  #plannerApp .planner-item { min-height: 150px; }
  #plannerApp .item-add b,
  #plannerApp .cart-row-controls button { min-width: 32px; min-height: 32px; }
  #plannerApp .product-drawer { top: 0; width: 100%; height: 100dvh; }
  #plannerApp .product-drawer-head { min-height: calc(76px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0; }
  #plannerApp .product-drawer-head button { width: 40px; height: 40px; }
  #plannerApp .product-directory-grid { display: block; }
  #plannerApp .directory-column,
  #plannerApp .product-detail-column { padding: 20px 16px; }
  #plannerApp .brand-column .directory-list,
  #plannerApp .model-column .directory-list { max-height: 42dvh; overflow: auto; }
  #plannerApp .directory-search input,
  #plannerApp .directory-add-form input,
  #plannerApp .model-add-form input,
  #plannerApp .product-detail-form textarea,
  #plannerApp .product-price-field input { font-size: 16px; }
  #plannerApp .directory-entry { min-height: 48px; }
  #plannerApp .cart-footer { padding-bottom: env(safe-area-inset-bottom); }
}

@media screen and (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .section-pad { padding: 82px 0; }
  .brand-text small { display: none; }
  .hero-card { min-height: calc(100svh - 56px); }
  .hero-copy { padding: 24px 0 0; }
  .hero-copy .eyebrow { margin-bottom: 20px; font-size: 9px; }
  .hero-copy h1 { font-size: clamp(44px, 12.5vw, 50px); }
  .hero-copy > p { margin: 22px 0 26px; font-size: 14px; line-height: 1.65; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: auto; }
  .hero-cta { min-width: 190px; }
  .proof-strip { min-height: 82px; gap: 22px; }
  .section-intro h2,
  .section-heading h2,
  .project-copy h2,
  .consult-card h2 { font-size: 42px; }
  .section-intro > p { font-size: 14px; }
  .estimator-card { padding: 28px 18px 24px; border-radius: 24px; }
  .estimator-head h3 { font-size: 23px; }
  .quality-options { gap: 7px; }
  .quality-options button { min-height: 92px; }
  .estimate-result { padding: 18px; border-radius: 18px; }
  .section-heading { gap: 18px; margin-bottom: 38px; }
  .section-heading > p { font-size: 13px; }
  .style-grid { display: flex; gap: 14px; margin-right: -14px; padding-right: 14px; }
  .style-card { min-width: 84vw; height: 470px; border-radius: 24px; }
  .style-content strong { font-size: 28px; }
  .process-track { display: flex; gap: 12px; margin-right: -14px; padding-right: 14px; }
  .process-card,
  .process-card:first-child { min-width: 82vw; min-height: 310px; border: 1px solid rgba(0, 0, 0, .05); }
  .project-section { padding-bottom: 42px; }
  .phone-stage { margin: 0 -14px; }
  .stories-section .section-heading h2 { font-size: 38px; }
  .consult-section { padding-bottom: 0; }
  .consult-section .container { width: 100%; }
  .consult-card { padding: 68px 22px 88px; border-radius: 0; }
  .site-footer { padding-bottom: 92px; }
  .bottom-nav { background: rgba(250, 250, 252, .88); border-color: var(--line); backdrop-filter: saturate(180%) blur(22px); }
  .bottom-nav a.active { color: var(--accent); }

  #plannerApp .planner-brand span { display: none; }
  #plannerApp .planner-brand strong { font-size: 15px; }
  #plannerApp .planner-project-name input { width: 82px; font-size: 12px; }
  #plannerApp .planner-global-search { width: 100%; margin-bottom: 12px; }
  #plannerApp .planner-search-field { min-height: 50px; padding: 0 9px 0 12px; border-radius: 15px; }
  #plannerApp .planner-search-field input { height: 48px; font-size: 16px; }
  #plannerApp .planner-search-field kbd { display: none; }
  #plannerApp .planner-search-results { top: calc(100% + 6px); max-height: 52dvh; border-radius: 17px; }
  #plannerApp .planner-search-results button { min-height: 58px; padding: 8px; }
  #plannerApp .planner-search-results button > b { display: none; }
  #plannerApp .planner-search-result-icon { width: 36px; height: 36px; }
  #plannerApp .planner-custom-dialog { align-items: end; padding: 0; }
  #plannerApp .planner-custom-panel { width: 100%; max-height: 92dvh; border: 0; border-radius: 26px 26px 0 0; transform: translateY(24px); }
  #plannerApp .planner-custom-head { padding: 22px 20px 18px; }
  #plannerApp .planner-custom-head h2 { font-size: 25px; }
  #plannerApp .planner-custom-fields { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  #plannerApp .planner-custom-field.field-wide { grid-column: auto; }
  #plannerApp .planner-custom-field > input,
  #plannerApp .planner-custom-field > select,
  #plannerApp .planner-custom-field > textarea,
  #plannerApp .planner-custom-field > strong { min-height: 52px; font-size: 16px; }
  #plannerApp .planner-custom-actions { position: sticky; bottom: 0; padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); }
  #plannerApp .planner-custom-actions button { min-height: 48px; }
  #plannerApp .planner-custom-submit { flex: 1; }
  #plannerApp .planner-catalog-head h2 { font-size: 23px; }
  #plannerApp .planner-catalog-head p { font-size: 10px; }
  #plannerApp .planner-catalog-head { align-items: stretch; flex-direction: column; gap: 14px; }
  #plannerApp .planner-catalog-head > div:first-child { width: 100%; }
  #plannerApp .planner-catalog-head p { max-width: none; }
  #plannerApp .planner-metric-fields { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #plannerApp .planner-area-field { width: auto; justify-content: space-between; }
  #plannerApp .planner-area-field input { font-size: 16px; }
  #plannerApp .planner-category-strip { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; }
  #plannerApp .planner-category-page { width: 40px; height: 40px; font-size: 21px; }
  #plannerApp .planner-category-nav button { min-height: 44px; }
  #plannerApp .planner-item { padding: 16px; }
  #plannerApp .item-add span { display: none; }
  #plannerApp .item-cost-controls { max-width: calc(100% - 34px); gap: 3px; }
  #plannerApp .item-cost-controls .item-price-editor { padding: 0 6px; }
  #plannerApp .item-cost-controls .item-price-editor input { width: 48px; }
  #plannerApp .item-measure-editor { padding: 0 6px; }
  #plannerApp .item-measure-editor input { width: 42px; }
  #plannerApp .item-scope { max-width: 128px; }
  #plannerApp .directory-list { grid-template-columns: 1fr; }
  #plannerApp .directory-add-form { grid-template-columns: 1fr; }
  #plannerApp .directory-add-form button { min-height: 44px; }
  #plannerApp .model-add-form { grid-template-columns: 1fr; }
}

@media screen {
  [hidden] { display: none !important; }

  .auth-shell {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: auto;
    padding: 32px;
    visibility: hidden;
    opacity: 0;
    background:
      radial-gradient(circle at 18% 18%, rgba(0, 113, 227, .12), transparent 32%),
      radial-gradient(circle at 82% 78%, rgba(119, 87, 255, .10), transparent 34%),
      #f5f5f7;
    transition: opacity .35s ease, visibility .35s ease;
  }
  .auth-shell.is-visible { visibility: visible; opacity: 1; }
  .auth-visual { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
  .auth-visual span { position: absolute; border-radius: 50%; filter: blur(1px); }
  .auth-visual span:nth-child(1) { top: -16vw; left: -10vw; width: 42vw; height: 42vw; background: radial-gradient(circle at 60% 65%, rgba(41, 151, 255, .22), rgba(255,255,255,0) 70%); }
  .auth-visual span:nth-child(2) { right: -12vw; bottom: -18vw; width: 46vw; height: 46vw; background: radial-gradient(circle at 35% 35%, rgba(157, 118, 255, .14), rgba(255,255,255,0) 70%); }
  .auth-visual span:nth-child(3) { top: 16%; right: 18%; width: 120px; height: 120px; border: 1px solid rgba(0, 0, 0, .05); }
  .auth-card {
    position: relative;
    width: min(460px, 100%);
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 32px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .12);
    backdrop-filter: saturate(180%) blur(28px);
    -webkit-backdrop-filter: saturate(180%) blur(28px);
  }
  .auth-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 42px; }
  .auth-brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
  .auth-brand strong { font-size: 17px; letter-spacing: .08em; }
  .auth-brand small { color: var(--muted); font-size: 7px; font-weight: 650; letter-spacing: .15em; }
  .auth-view { animation: auth-view-in .38s cubic-bezier(.22, 1, .36, 1); }
  .auth-view h1 { margin: 10px 0 13px; font-size: 38px; line-height: 1.08; letter-spacing: -.045em; }
  .auth-view > p { margin: 0 0 28px; color: var(--muted); font-size: 13px; line-height: 1.7; }
  .auth-kicker { color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .17em; }
  .auth-spinner { display: block; width: 30px; height: 30px; margin-bottom: 24px; border: 2px solid rgba(0, 0, 0, .08); border-top-color: var(--accent); border-radius: 50%; animation: auth-spin .8s linear infinite; }
  .auth-form { display: flex; flex-direction: column; gap: 15px; }
  .auth-form label > span { display: block; margin: 0 0 8px 2px; color: #515154; font-size: 11px; font-weight: 600; }
  .auth-form input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    color: var(--ink);
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 14px;
    outline: 0;
    background: rgba(255, 255, 255, .9);
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s, background .2s;
  }
  .auth-form input:focus { border-color: var(--accent); background: white; box-shadow: 0 0 0 4px rgba(0, 113, 227, .11); }
  .auth-form input::placeholder { color: #a1a1a6; }
  .auth-primary,
  .auth-secondary {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
    transition: transform .2s, background .2s, opacity .2s;
  }
  .auth-primary { color: white; background: var(--ink); }
  .auth-primary:hover { background: #000; transform: scale(1.01); }
  .auth-primary:disabled { opacity: .55; cursor: wait; transform: none; }
  .auth-secondary { margin-top: 10px; color: var(--accent); background: var(--accent-soft); }
  .auth-message { min-height: 18px; margin: -2px 2px 0; color: #d70015; font-size: 11px; line-height: 1.5; }
  .auth-message.success { color: #248a3d; }
  .auth-links { display: flex; justify-content: space-between; gap: 14px; margin-top: 22px; }
  .auth-links button,
  .auth-back { padding: 0; color: var(--accent); border: 0; background: transparent; cursor: pointer; font-size: 11px; }
  .auth-back { margin-bottom: 26px; color: var(--muted); }
  .auth-back:hover,
  .auth-links button:hover { color: var(--accent-dark); }
  .auth-setup-steps { display: grid; gap: 9px; margin: 0 0 24px; padding: 0; list-style: none; }
  .auth-setup-steps li { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 9px 12px; border-radius: 13px; background: var(--surface); font-size: 12px; }
  .auth-setup-steps span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; color: var(--accent); border: 1px solid rgba(0,113,227,.25); border-radius: 50%; font-size: 8px; }
  .auth-setup-actions { display: grid; gap: 10px; }
  .auth-setup-actions .auth-secondary { margin-top: 0; }
  .auth-quiet { min-height: 38px; padding: 0 12px; color: var(--muted); border: 0; background: transparent; cursor: pointer; font-size: 10px; }
  .auth-quiet:hover { color: var(--accent); }
  .auth-trial-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 13px 15px; border-radius: 14px; background: var(--surface); color: var(--muted); font-size: 10px; }
  .auth-trial-option button { padding: 0; color: var(--accent); border: 0; background: transparent; cursor: pointer; font-size: 11px; font-weight: 650; }
  .auth-footnote { margin: 14px 0 0 !important; text-align: center; font-size: 9px !important; }

  .account-button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 3px 11px 3px 4px; color: var(--ink); border: 0; border-radius: 999px; background: var(--surface); cursor: pointer; font-size: 11px; font-weight: 600; }
  .account-avatar { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; color: white; border-radius: 50%; background: linear-gradient(145deg, #1d1d1f, #4a4a4d); font-size: 11px; font-weight: 700; }
  .account-avatar-large { width: 42px; height: 42px; font-size: 15px; }
  .account-popover {
    position: fixed;
    z-index: 700;
    top: 72px;
    right: max(20px, calc((100% - 1240px) / 2));
    width: 300px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .14);
    backdrop-filter: saturate(180%) blur(24px);
  }
  .account-profile { display: flex; align-items: center; gap: 11px; padding: 3px 3px 15px; border-bottom: 1px solid var(--line); }
  .account-profile strong,
  .account-profile small { display: block; }
  .account-profile strong { font-size: 13px; }
  .account-profile small { max-width: 205px; overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .account-sync-state { display: flex; align-items: center; gap: 10px; margin: 13px 0; padding: 11px; border-radius: 13px; background: var(--surface); }
  .account-sync-state i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #a1a1a6; box-shadow: 0 0 0 4px rgba(161,161,166,.12); }
  .account-sync-state span,
  .account-sync-state small { display: block; }
  .account-sync-state span { font-size: 11px; font-weight: 650; }
  .account-sync-state small { margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 400; }
  .account-sync-state.is-syncing i { background: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,.12); animation: sync-pulse 1.2s ease infinite; }
  .account-sync-state.is-synced i { background: #30a14e; box-shadow: 0 0 0 4px rgba(48,161,78,.12); }
  .account-sync-state.is-error i,
  .account-sync-state.is-conflict i { background: #ff9f0a; box-shadow: 0 0 0 4px rgba(255,159,10,.12); }
  .account-popover > button { width: 100%; min-height: 40px; padding: 0 11px; border: 0; border-radius: 10px; color: #424245; background: transparent; cursor: pointer; text-align: left; font-size: 11px; }
  .account-popover > button:hover { background: var(--surface); }
  #forceCloudData { color: #b25000; }
  #signOutButton { margin-top: 3px; color: #d70015; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }

  @keyframes auth-spin { to { transform: rotate(360deg); } }
  @keyframes auth-view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes sync-pulse { 50% { opacity: .45; } }
}

@media screen and (max-width: 560px) {
  .auth-shell { align-items: end; padding: 0; }
  .auth-card { width: 100%; max-height: 94dvh; overflow: auto; padding: 30px 22px calc(30px + env(safe-area-inset-bottom)); border: 0; border-radius: 30px 30px 0 0; }
  .auth-brand { margin-bottom: 32px; }
  .auth-view h1 { font-size: 34px; }
  .auth-form input { height: 54px; font-size: 16px; }
  .auth-links { align-items: flex-start; flex-direction: column; }
  .account-label { display: none; }
  .account-button { min-width: 36px; padding-right: 4px; }
  .account-popover { top: 62px; right: 10px; left: 10px; width: auto; }
}
