:root {
  --font-geist-sans: "Segoe UI", Helvetica, Arial, sans-serif;
  --font-geist-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --navy: #0c2235;
  --navy-deep: #071722;
  --blue: #55a9e8;
  --blue-bright: #75c7f4;
  --stone: #e8edf0;
  --mist: #f4f7f8;
  --white: #ffffff;
  --ink: #13202a;
  --muted: #61707c;
  --gold: #c5a66b;
  --line: rgba(12, 34, 53, 0.13);
  --shadow: 0 24px 70px rgba(6, 27, 42, 0.12);
  --page-scroll: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-geist-sans), Arial, sans-serif; line-height: normal; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 118px 0; }

.topbar { background: var(--navy-deep); color: rgba(255,255,255,.76); font-size: 12px; letter-spacing: .025em; }
.topbar-inner { height: 38px; display: flex; align-items: center; justify-content: space-between; }
.topbar-links, .topbar-links a, .topbar-meta { display: flex; align-items: center; gap: 16px; }
.topbar-links a { gap: 7px; transition: color .2s ease; }
.topbar-links a:hover { color: var(--blue-bright); }
.topbar-meta { gap: 7px; }
.nav-wrap { height: 78px; position: absolute; top: 38px; left: 0; right: 0; z-index: 30; border-bottom: 1px solid rgba(255,255,255,.16); background: linear-gradient(to bottom, rgba(5,18,27,.48), transparent); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { width: 235px; display: flex; align-items: center; margin-right: auto; }
.brand img { width: 100%; height: 54px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a:not(.button) { color: rgba(255,255,255,.83); font-size: 13px; text-transform: capitalize; position: relative; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--blue-bright); transition: right .25s ease; }
.main-nav > a:hover::after { right: 0; }
.button { min-height: 52px; padding: 0 24px; border: 1px solid var(--blue); background: var(--blue); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 750; font-size: 13px; letter-spacing: .02em; border-radius: 2px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(85,169,232,.25); background: var(--blue-bright); }
.button-small { min-height: 42px; padding: 0 19px; }
.mobile-quote, .menu-toggle { display: none; }

.hero { min-height: 820px; height: 100svh; position: relative; color: white; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: -8%; background: url('../images/project-06-modern-white-kitchen.jpg') center 53% / cover no-repeat; transform: translate3d(0, calc(var(--page-scroll) * .08), 0) scale(1.08); filter: saturate(.78) contrast(1.02); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,17,27,.96) 0%, rgba(4,17,27,.83) 42%, rgba(4,17,27,.25) 75%, rgba(4,17,27,.06) 100%), linear-gradient(0deg, rgba(4,17,27,.45), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 92px; }
.eyebrow { color: var(--blue); text-transform: uppercase; font-family: var(--font-geist-mono), monospace; font-size: 11px; letter-spacing: .18em; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 700; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--blue-bright); }
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(53px, 6.3vw, 92px); line-height: .97; letter-spacing: -.055em; font-weight: 750; }
.hero h1 em { color: var(--blue-bright); font-style: normal; font-weight: 360; }
.hero-content > p { max-width: 650px; margin: 27px 0 34px; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 750; padding-bottom: 5px; border-bottom: 1px solid currentColor; }
.light-link { color: white; }
.hero-proof { margin-top: 58px; display: flex; align-items: center; gap: 28px; }
.hero-proof > div:not(.proof-divider) { display: grid; grid-template-columns: auto auto; align-items: center; gap: 2px 10px; }
.hero-proof strong { font-size: 24px; }
.hero-proof span:last-child { grid-column: 1 / -1; font-size: 11px; color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .09em; }
.stars { color: #f3c766; display: inline-flex; align-items: center; gap: 2px; }
.proof-divider { width: 1px; height: 43px; background: rgba(255,255,255,.24); }
.scroll-cue { position: absolute; z-index: 3; right: 42px; bottom: 32px; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.66); font-family: var(--font-geist-mono), monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .2em; transform: rotate(90deg); transform-origin: bottom right; }
.scroll-cue i { width: 52px; height: 1px; background: rgba(255,255,255,.45); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: white; transform: translateX(-100%); animation: scrollLine 2.2s ease infinite; }
@keyframes scrollLine { 50%,100% { transform: translateX(100%); } }

.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 58px; }
h2 { margin: 0; color: var(--navy); font-size: clamp(40px, 4.4vw, 62px); line-height: 1.03; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); line-height: 1.75; font-size: 16px; max-width: 450px; }
.services { background: var(--mist); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { background: var(--white); min-height: 330px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.service-card::after { content: ""; position: absolute; height: 3px; left: 0; right: 100%; bottom: 0; background: var(--blue); transition: right .4s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); z-index: 1; }
.service-card:hover::after { right: 0; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--stone); color: var(--navy); border-radius: 50%; margin-bottom: 40px; }
.card-number { position: absolute; right: 28px; top: 27px; font: 700 10px var(--font-geist-mono), monospace; color: #9ba7ae; }
.service-card h3 { font-size: 21px; margin: 0 0 12px; color: var(--navy); }
.service-card p { margin: 0; color: var(--muted); line-height: 1.66; font-size: 14px; }
.service-card a { position: absolute; bottom: 30px; left: 34px; display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 12px; font-weight: 750; }

.transformation { height: 180vh; min-height: 1180px; background: var(--navy-deep); color: white; position: relative; --transform-progress: 0; }
.transform-sticky { position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden; display: grid; grid-template-columns: minmax(300px, .72fr) 1.28fr; align-items: center; gap: 6vw; padding: 70px max(24px, calc((100vw - 1180px) / 2)); }
.transform-copy { position: relative; z-index: 4; }
.transform-copy h2 { color: white; font-size: clamp(42px, 4.5vw, 67px); }
.transform-copy p { color: rgba(255,255,255,.63); line-height: 1.7; max-width: 480px; }
.cabinet-visual { height: min(68vh, 660px); position: relative; border: 1px solid rgba(117,199,244,.28); overflow: hidden; background: #091d2b; box-shadow: 0 35px 80px rgba(0,0,0,.35); }
.blueprint-grid { position: absolute; inset: 0; opacity: calc(1 - var(--transform-progress)); background-image: linear-gradient(rgba(117,199,244,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(117,199,244,.08) 1px, transparent 1px); background-size: 30px 30px; }
.cabinet-drawing { position: absolute; inset: 13% 9%; color: var(--blue-bright); opacity: calc(1 - var(--transform-progress)); transform: translateX(calc(var(--transform-progress) * -25px)); transition: opacity .1s linear; }
.upper-cabinets, .lower-cabinets { display: grid; grid-template-columns: 1fr 1.15fr .85fr 1.1fr; height: 35%; gap: 8px; }
.upper-cabinets i, .lower-cabinets i { border: 1px solid currentColor; position: relative; }
.upper-cabinets i::after, .lower-cabinets i::after { content: ""; width: 2px; height: 14px; background: currentColor; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); }
.counter-line { height: 7%; margin: 6% -2% 3%; border: 1px solid currentColor; background: rgba(117,199,244,.08); }
.lower-cabinets { height: 42%; grid-template-columns: 1.1fr .8fr 1.2fr .9fr; }
.finished-kitchen { position: absolute; inset: 0; clip-path: inset(0 calc((1 - var(--transform-progress)) * 100%) 0 0); filter: saturate(.88); }
.finished-kitchen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,23,34,.15), transparent); }
.finished-kitchen img { width: 100%; height: 100%; object-fit: cover; }
.transform-label { position: absolute; z-index: 3; top: 18px; padding: 9px 12px; background: rgba(7,23,34,.8); font: 700 9px var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .16em; }
.transform-label.before { left: 18px; opacity: calc(1 - var(--transform-progress)); }
.transform-label.after { right: 18px; opacity: var(--transform-progress); }
.progress-track { position: absolute; height: 1px; left: max(24px, calc((100vw - 1180px) / 2)); right: max(24px, calc((100vw - 1180px) / 2)); bottom: 38px; background: rgba(255,255,255,.14); }
.progress-track i { display: block; height: 2px; width: calc(var(--transform-progress) * 100%); background: var(--blue-bright); }

.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
.about-media { min-height: 650px; position: relative; }
.about-media::before { content: ""; position: absolute; width: 78%; height: 92%; left: -36px; bottom: -34px; background: var(--stone); }
.about-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.83); box-shadow: var(--shadow); }
.experience-card { position: absolute; right: -34px; bottom: 42px; width: 220px; padding: 25px; background: var(--navy); color: white; display: grid; gap: 6px; }
.experience-card strong { color: var(--blue-bright); font-size: 30px; }
.experience-card span { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.68); }
.about-copy h2 { max-width: 620px; }
.about-copy p { color: var(--muted); line-height: 1.75; }
.about-copy .lead { color: var(--ink); font-size: 18px; margin-top: 28px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 34px; }
.check-grid span { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 650; }
.check-grid svg { color: var(--blue); }

.testimonials { background: #f4f7f9; color: var(--ink); }
.reviews-intro { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; margin-bottom: 58px; }
.reviews-intro h2 { color: var(--navy); }
.rating-lockup { display: flex; align-items: center; gap: 20px; border-left: 1px solid var(--line); padding-left: 32px; }
.rating-lockup > strong { font-size: 60px; line-height: 1; font-weight: 350; }
.rating-lockup > div { display: grid; gap: 7px; }
.rating-lockup span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { min-height: 330px; padding: 28px; background: white; border: 1px solid rgba(12,34,53,.1); border-radius: 10px; display: flex; flex-direction: column; box-shadow: 0 8px 30px rgba(7,23,34,.06); transition: transform .25s ease, box-shadow .25s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(7,23,34,.11); }
.review-card-header { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 45px; height: 45px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #5aa9e6, #25699e); color: white; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.reviewer-meta { min-width: 0; display: grid; gap: 4px; }
.reviewer-meta strong { overflow: hidden; color: #202124; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.reviewer-meta small { color: #70757a; font-size: 10px; line-height: 1.4; }
.google-mark { margin-left: auto; flex: 0 0 auto; font: 800 26px Arial, sans-serif; background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 42%, #fbbc05 0 66%, #ea4335 0 84%, #4285f4 0); background-clip: text; -webkit-background-clip: text; color: transparent; }
.review-rating { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.review-rating > span:last-child { color: #70757a; font-size: 10px; }
.review-card blockquote { margin: 19px 0 25px; color: #3c4043; line-height: 1.68; font-size: 14px; }
.review-card footer { margin-top: auto; padding-top: 16px; border-top: 1px solid #eef0f1; color: #70757a; font-size: 10px; }
.center-action { display: flex; justify-content: center; margin-top: 42px; }
.button-outline-light { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-outline-light:hover { color: var(--navy); }

.gallery-section { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 190px; gap: 12px; }
.gallery-item { margin: 0; overflow: hidden; position: relative; background: var(--stone); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; filter: saturate(.78); }
.gallery-item:hover img { transform: scale(1.045); filter: saturate(1); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 16px; background: linear-gradient(transparent, rgba(4,17,27,.84)); color: white; font-size: 11px; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.gallery-item figcaption span { font-family: var(--font-geist-mono), monospace; color: var(--blue-bright); margin-right: 9px; }
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-item-1 { grid-column: span 7; grid-row: span 3; }
.gallery-item-2 { grid-column: span 5; grid-row: span 2; }
.gallery-item-3 { grid-column: span 5; grid-row: span 2; }
.gallery-item-4 { grid-column: span 4; grid-row: span 2; }
.gallery-item-5 { grid-column: span 3; grid-row: span 2; }
.gallery-item-6 { grid-column: span 5; grid-row: span 2; }
.gallery-item-7 { grid-column: span 4; grid-row: span 2; }
.gallery-item-8 { grid-column: span 3; grid-row: span 2; }
.gallery-item-9 { grid-column: span 5; grid-row: span 2; }
.gallery-item-10 { grid-column: span 7; grid-row: span 2; }

.contact { background: var(--navy-deep); color: white; padding: 118px 0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 700px; height: 700px; border: 1px solid rgba(117,199,244,.1); border-radius: 50%; left: -350px; top: -150px; box-shadow: 0 0 0 120px rgba(117,199,244,.025), 0 0 0 240px rgba(117,199,244,.018); }
.contact-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: start; }
.contact-copy h2 { color: white; }
.contact-copy > p { max-width: 520px; color: rgba(255,255,255,.62); line-height: 1.72; font-size: 16px; }
.contact-list { display: grid; gap: 16px; margin-top: 40px; }
.contact-list > * { display: flex; align-items: center; gap: 15px; }
.contact-list > * > span { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: var(--blue-bright); }
.contact-list div div, .contact-list a div { display: grid; gap: 4px; }
.contact-list small { color: rgba(255,255,255,.42); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.contact-list strong { font-size: 13px; }
.contact-form { background: white; color: var(--ink); padding: 42px; box-shadow: 0 25px 80px rgba(0,0,0,.2); }
.form-heading { display: grid; gap: 5px; margin-bottom: 28px; }
.form-heading span { color: var(--blue); font: 700 10px var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .16em; }
.form-heading strong { color: var(--navy); font-size: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 17px; color: #344752; font-size: 11px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #ccd5da; background: #f8fafb; padding: 14px 13px; border-radius: 0; outline: none; color: var(--ink); font-size: 14px; transition: border-color .2s ease, background .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); background: white; }
.contact-form textarea { resize: vertical; }
.form-button { width: 100%; border: 0; }
.form-note { color: #78858d; font-size: 10px; line-height: 1.5; text-align: center; margin: 12px 0 0; }
.form-status { background: #e8f7ee; color: #1d6b3b; padding: 11px; font-size: 12px; text-align: center; }

.footer { background: #04111a; color: white; padding-top: 74px; }
.footer-main { display: grid; grid-template-columns: 1.6fr .7fr .9fr 1.05fr; gap: 60px; padding-bottom: 58px; }
.footer .brand { width: 250px; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,.48); max-width: 350px; line-height: 1.7; font-size: 13px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); transition: background .2s ease, color .2s ease; }
.socials b { font-size: 13px; text-transform: uppercase; letter-spacing: -.03em; }
.socials a:hover { background: var(--blue); color: var(--navy); }
.footer-main h3 { color: var(--blue-bright); font: 700 10px var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .16em; margin: 8px 0 23px; }
.footer-main > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 12px; }
.footer-main > div:not(.footer-brand) a, .footer-main > div:not(.footer-brand) span { color: rgba(255,255,255,.56); font-size: 12px; text-transform: capitalize; transition: color .2s ease; }
.footer-main > div:not(.footer-brand) a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; color: rgba(255,255,255,.32); font-size: 10px; }
.whatsapp-float { position: fixed; left: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; display: grid; place-items: center; background: #25d366; color: white; border-radius: 50%; box-shadow: 0 12px 32px rgba(0,0,0,.25); transition: transform .25s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 50px; height: 50px; border: 0; background: var(--navy); color: white; display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(15px); transition: opacity .25s ease, transform .25s ease; cursor: pointer; }
.back-top span { display: none; }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease var(--delay, 0ms), transform .75s cubic-bezier(.2,.7,.2,1) var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .shell { width: min(100% - 36px, 760px); }
  .desktop-quote { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); background: rgba(7,23,34,.45); color: white; }
  .main-nav { position: absolute; left: 18px; right: 18px; top: 70px; background: var(--navy-deep); padding: 24px; display: grid; gap: 20px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s ease; box-shadow: var(--shadow); }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-quote { display: inline-flex; }
  .section-heading, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .service-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .transform-sticky { grid-template-columns: 1fr; align-content: center; gap: 34px; }
  .transform-copy p { display: none; }
  .cabinet-visual { height: 52vh; min-height: 420px; }
  .about-media { min-height: 560px; }
  .about-copy { max-width: 680px; }
  .gallery-grid { grid-auto-rows: 170px; }
  .gallery-item-1 { grid-column: span 12; grid-row: span 3; }
  .gallery-item-2, .gallery-item-3, .gallery-item-4, .gallery-item-5, .gallery-item-6, .gallery-item-7, .gallery-item-8, .gallery-item-9, .gallery-item-10 { grid-column: span 6; grid-row: span 2; }
  .gallery-item-10 { grid-column: span 12; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 28px); }
  .section { padding: 84px 0; }
  .topbar-inner { height: 34px; }
  .topbar-links a:nth-child(2), .topbar-meta { display: none; }
  .nav-wrap { top: 34px; height: 70px; }
  .brand { width: 190px; }
  .brand img { height: 46px; }
  .hero { min-height: 720px; }
  .hero-media { inset: -2%; background-position: 61% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,17,27,.96), rgba(4,17,27,.68)), linear-gradient(0deg, rgba(4,17,27,.58), transparent); }
  .hero-content { padding-top: 72px; }
  .hero h1 { font-size: clamp(46px, 13vw, 62px); }
  .hero-content > p { font-size: 15px; line-height: 1.6; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { width: fit-content; }
  .hero-proof { margin-top: 38px; gap: 18px; }
  .scroll-cue { display: none; }
  .section-heading { display: block; margin-bottom: 40px; }
  .section-heading > p { margin-top: 22px; }
  .service-grid, .review-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .transformation { height: 155vh; min-height: 980px; }
  .transform-sticky { min-height: 650px; padding-left: 14px; padding-right: 14px; }
  .transform-copy h2 { font-size: 38px; }
  .cabinet-visual { min-height: 350px; height: 43vh; }
  .progress-track { left: 14px; right: 14px; }
  .about-grid { gap: 62px; }
  .about-media { min-height: 460px; }
  .about-media::before { left: -14px; bottom: -20px; }
  .experience-card { right: -5px; bottom: -25px; }
  .check-grid { grid-template-columns: 1fr; }
  .reviews-intro { grid-template-columns: 1fr; gap: 32px; }
  .rating-lockup { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding: 25px 0 0; }
  .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item-1, .gallery-item-2, .gallery-item-3, .gallery-item-4, .gallery-item-5, .gallery-item-6, .gallery-item-7, .gallery-item-8, .gallery-item-9, .gallery-item-10 { grid-column: span 1; grid-row: span 1; }
  .gallery-item-1, .gallery-item-6, .gallery-item-10 { grid-column: 1 / -1; grid-row: span 2; }
  .gallery-item figcaption { opacity: 1; transform: none; }
  .contact { padding: 84px 0; }
  .contact-grid { gap: 50px; }
  .contact-form { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .whatsapp-float { left: 14px; bottom: 14px; width: 52px; height: 52px; }
  .back-top { right: 14px; bottom: 14px; }
}

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

/* Full project gallery */
.gallery-page-action { margin-top: 42px; }
.company-partner { padding: 64px 0; background: #eef2f4; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-partner-inner { display: grid; grid-template-columns: 165px 1fr auto; gap: 44px; align-items: center; }
.company-partner-logo { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: #0d0d0e; box-shadow: 0 18px 45px rgba(7,23,34,.16); overflow: hidden; }
.company-partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.company-partner-logo:hover { transform: translateY(-3px); box-shadow: 0 24px 52px rgba(7,23,34,.2); }
.company-partner-copy .eyebrow { margin-bottom: 12px; }
.company-partner-copy h2 { margin: 0 0 15px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.company-partner-copy p { max-width: 680px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.company-partner-copy strong { color: var(--navy); }
.company-partner-copy a { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.gallery-nav-wrap { background: linear-gradient(to bottom, rgba(4,17,27,.82), rgba(4,17,27,.18)); }
.main-nav a[aria-current="page"]::after { right: 0; }
.gallery-hero { min-height: 720px; height: 78vh; position: relative; overflow: hidden; color: white; display: flex; align-items: center; }
.gallery-hero-media { position: absolute; inset: 0; background: url("/gallery/project-03-veined-white-kitchen/project-03-veined-white-kitchen-01.webp") center 58% / cover no-repeat; transform: scale(1.02); }
.gallery-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,17,27,.95) 0%, rgba(4,17,27,.74) 46%, rgba(4,17,27,.24) 100%), linear-gradient(0deg, rgba(4,17,27,.46), transparent 56%); }
.gallery-hero-content { position: relative; z-index: 2; padding-top: 106px; }
.gallery-back-link { width: fit-content; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.68); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 52px; transition: color .2s ease; }
.gallery-back-link:hover { color: var(--blue-bright); }
.gallery-hero h1 { font-size: clamp(58px, 7vw, 100px); line-height: .92; letter-spacing: -.055em; margin: 0; max-width: 900px; }
.gallery-hero h1 em { color: var(--blue-bright); font-style: normal; font-weight: 350; }
.gallery-hero-content > p { color: rgba(255,255,255,.7); max-width: 680px; font-size: 17px; line-height: 1.75; margin: 30px 0 0; }
.gallery-hero-stats { display: flex; gap: 0; margin-top: 46px; border-top: 1px solid rgba(255,255,255,.18); width: min(650px, 100%); }
.gallery-hero-stats > div { display: grid; gap: 5px; padding: 20px 34px 0 0; margin-right: 34px; border-right: 1px solid rgba(255,255,255,.18); }
.gallery-hero-stats > div:last-child { border-right: 0; margin-right: 0; }
.gallery-hero-stats strong { font-size: 25px; color: white; }
.gallery-hero-stats span { color: rgba(255,255,255,.48); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }

.gallery-collection { padding: 118px 0 130px; background: var(--mist); }
.gallery-collection-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: end; margin-bottom: 60px; }
.gallery-collection-intro h2 { font-size: clamp(44px, 5.3vw, 72px); line-height: 1.02; letter-spacing: -.045em; margin: 0; }
.gallery-collection-intro > p { color: var(--muted); max-width: 500px; line-height: 1.8; font-size: 15px; margin: 0; }
.gallery-filter { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 16px; margin: 0 0 72px; background: rgba(244,247,248,.9); border: 1px solid rgba(12,34,53,.1); backdrop-filter: blur(18px); box-shadow: 0 12px 35px rgba(7,23,34,.06); }
.gallery-filter button { min-height: 42px; padding: 0 17px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .04em; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.gallery-filter button:hover { color: var(--navy); border-color: rgba(12,34,53,.15); }
.gallery-filter button.is-active { color: white; background: var(--navy); border-color: var(--navy); }
.gallery-filter > span { margin-left: auto; padding-right: 8px; color: #7a878f; font: 700 9px var(--font-geist-mono), monospace; letter-spacing: .1em; text-transform: uppercase; }
.gallery-project-list { display: grid; gap: 96px; }
.gallery-project-card { animation: galleryProjectIn .55s cubic-bezier(.2,.7,.2,1) both; }
.gallery-project-heading { display: grid; grid-template-columns: 1fr minmax(260px, 470px); gap: 50px; align-items: end; padding-top: 24px; margin-bottom: 26px; border-top: 1px solid var(--line); }
.gallery-project-heading span { color: var(--blue); font: 700 9px var(--font-geist-mono), monospace; letter-spacing: .14em; text-transform: uppercase; }
.gallery-project-heading h3 { font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.035em; margin: 10px 0 0; }
.gallery-project-heading p { color: var(--muted); line-height: 1.7; font-size: 13px; margin: 0; }
.project-photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 270px; gap: 12px; }
.project-photo { position: relative; grid-column: span 6; min-width: 0; padding: 0; border: 0; overflow: hidden; background: var(--stone); cursor: zoom-in; color: white; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.project-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 62%, rgba(4,17,27,.75)); opacity: .35; transition: opacity .3s ease; }
.project-photo span { position: absolute; z-index: 2; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 8px; color: white; font: 700 9px var(--font-geist-mono), monospace; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(7px); transition: opacity .3s ease, transform .3s ease; }
.project-photo:hover img { transform: scale(1.035); filter: saturate(1); }
.project-photo:hover::after { opacity: 1; }
.project-photo:hover span, .project-photo:focus-visible span { opacity: 1; transform: translateY(0); }
.project-photo:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.project-photo-count-1 { grid-auto-rows: min(62vw, 620px); }
.project-photo-count-1 .project-photo { grid-column: span 12; }
.project-photo-count-2 { grid-auto-rows: 410px; }
.project-photo-count-3 { grid-auto-rows: 260px; }
.project-photo-count-3 .project-photo:first-child { grid-column: span 7; grid-row: span 2; }
.project-photo-count-3 .project-photo:not(:first-child) { grid-column: span 5; }

.gallery-cta { padding: 90px 0; background: var(--navy); color: white; }
.gallery-cta-inner { display: grid; grid-template-columns: 1.15fr .85fr auto; gap: 55px; align-items: center; }
.gallery-cta h2 { margin: 0; font-size: clamp(38px, 4.5vw, 58px); letter-spacing: -.04em; }
.gallery-cta p { color: rgba(255,255,255,.58); line-height: 1.7; font-size: 13px; margin: 0; }
.gallery-cta .eyebrow { margin-bottom: 14px; }

.gallery-lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 54px; background: rgba(2,11,17,.94); backdrop-filter: blur(16px); animation: lightboxIn .22s ease both; }
.gallery-lightbox-backdrop { position: absolute; inset: 0; border: 0; background: transparent; cursor: zoom-out; }
.gallery-lightbox-close { position: absolute; z-index: 2; top: 22px; right: 22px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: white; display: grid; place-items: center; cursor: pointer; }
.gallery-lightbox img { position: relative; z-index: 1; max-width: min(1380px, 94vw); max-height: 86vh; object-fit: contain; box-shadow: 0 30px 100px rgba(0,0,0,.5); }
@keyframes galleryProjectIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 980px) {
  .company-partner-inner { grid-template-columns: 140px 1fr; }
  .company-partner-logo { width: 130px; height: 130px; }
  .company-partner-inner > .text-link { grid-column: 2; }
  .gallery-hero { min-height: 680px; height: 76vh; }
  .gallery-collection-intro { grid-template-columns: 1fr; gap: 28px; }
  .gallery-filter { overflow-x: auto; }
  .gallery-filter button { flex: 0 0 auto; }
  .gallery-filter > span { display: none; }
  .gallery-project-heading { grid-template-columns: 1fr; gap: 17px; }
  .project-photo-grid, .project-photo-count-2, .project-photo-count-3 { grid-auto-rows: 230px; }
  .gallery-cta-inner { grid-template-columns: 1fr auto; }
  .gallery-cta-inner > p { grid-column: 1 / -1; grid-row: 2; max-width: 560px; }
}

@media (max-width: 640px) {
  .company-partner { padding: 58px 0; }
  .company-partner-inner { grid-template-columns: 1fr; gap: 26px; }
  .company-partner-logo { width: 128px; height: 128px; }
  .company-partner-inner > .text-link { grid-column: 1; }
  .gallery-hero { min-height: 730px; height: auto; padding: 150px 0 64px; align-items: flex-end; }
  .gallery-hero-media { background-position: 64% center; }
  .gallery-hero-overlay { background: linear-gradient(90deg, rgba(4,17,27,.96), rgba(4,17,27,.62)), linear-gradient(0deg, rgba(4,17,27,.72), transparent); }
  .gallery-hero-content { padding-top: 0; }
  .gallery-back-link { margin-bottom: 46px; }
  .gallery-hero h1 { font-size: clamp(46px, 14vw, 62px); }
  .gallery-hero-content > p { font-size: 14px; line-height: 1.65; }
  .gallery-hero-stats { margin-top: 34px; }
  .gallery-hero-stats > div { padding-right: 14px; margin-right: 14px; }
  .gallery-hero-stats strong { font-size: 20px; }
  .gallery-hero-stats span { white-space: normal; font-size: 8px; }
  .gallery-collection { padding: 82px 0 94px; }
  .gallery-collection-intro { margin-bottom: 38px; }
  .gallery-filter { margin-left: -14px; margin-right: -14px; margin-bottom: 58px; padding: 10px 14px; border-left: 0; border-right: 0; }
  .gallery-filter button { min-height: 40px; padding: 0 13px; }
  .gallery-project-list { gap: 72px; }
  .gallery-project-heading { padding-top: 18px; margin-bottom: 20px; }
  .gallery-project-heading p { font-size: 12px; }
  .project-photo-grid, .project-photo-count-1, .project-photo-count-2, .project-photo-count-3 { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 9px; }
  .project-photo, .project-photo-count-1 .project-photo, .project-photo-count-2 .project-photo, .project-photo-count-3 .project-photo:first-child, .project-photo-count-3 .project-photo:not(:first-child) { grid-column: 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .project-photo span { opacity: 1; transform: none; }
  .gallery-cta { padding: 72px 0; }
  .gallery-cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .gallery-cta-inner > p { grid-column: 1; grid-row: auto; }
  .gallery-cta .button { width: 100%; }
  .gallery-lightbox { padding: 18px; }
  .gallery-lightbox-close { top: 14px; right: 14px; }
}

/* Dedicated company pages */
.subpage-nav-wrap { background: linear-gradient(to bottom, rgba(4,17,27,.9), rgba(4,17,27,.22)); }
.subpage-hero { min-height: 670px; height: 78vh; position: relative; display: flex; align-items: flex-end; overflow: hidden; color: white; background-position: center; background-size: cover; }
.about-page-hero { background-image: url('../images/finished-white-kitchen-island.jpg'); }
.services-page-hero { background-image: url('../images/project-01-quartz-island.jpg'); }
.contact-page-hero { background-image: url('../images/project-10-waterfall-sink-counter.jpg'); }
.subpage-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,17,27,.96) 0%, rgba(4,17,27,.76) 50%, rgba(4,17,27,.2) 100%), linear-gradient(0deg, rgba(4,17,27,.75), transparent 65%); }
.subpage-hero-content { position: relative; z-index: 1; padding-bottom: 82px; }
.subpage-hero h1 { max-width: 880px; margin: 0; color: white; font-size: clamp(56px, 7vw, 96px); line-height: .94; letter-spacing: -.055em; }
.subpage-hero h1 em { color: var(--blue-bright); font-style: normal; font-weight: 350; }
.subpage-hero-content > p { max-width: 650px; margin: 27px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.72; }
.subpage-section { padding: 112px 0; }
.subpage-heading h2 { margin: 0; }
.centered-heading { max-width: 790px; margin: 0 auto 58px; text-align: center; }
.centered-heading .eyebrow { justify-content: center; }
.split-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: end; margin-bottom: 60px; }
.split-heading > p { max-width: 500px; margin: 0 0 6px; color: var(--muted); font-size: 15px; line-height: 1.8; }

.story-section { background: white; }
.story-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 92px; align-items: center; }
.story-media { position: relative; min-height: 610px; }
.story-media > img { width: 100%; height: 610px; object-fit: cover; filter: saturate(.82); }
.story-media::before { content: ''; position: absolute; z-index: -1; left: -24px; bottom: -24px; width: 70%; height: 72%; background: var(--stone); }
.story-badge { position: absolute; right: -28px; bottom: 36px; width: 180px; min-height: 132px; padding: 27px; display: grid; align-content: center; background: var(--navy); color: white; box-shadow: var(--shadow); }
.story-badge strong { font-size: 18px; }
.story-badge span { margin-top: 9px; color: rgba(255,255,255,.58); font: 700 9px var(--font-geist-mono), monospace; letter-spacing: .1em; text-transform: uppercase; }
.story-copy h2 { margin-bottom: 25px; }
.story-copy p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.story-copy .lead { color: var(--ink); font-size: 17px; }
.story-checks { display: grid; gap: 13px; padding-top: 16px; }
.story-checks span { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 13px; font-weight: 700; }
.story-checks svg { flex: 0 0 auto; color: var(--blue); }

.values-section { background: var(--mist); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value-card { min-height: 330px; padding: 35px; background: white; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-card > span { float: right; color: #97a3aa; font: 700 9px var(--font-geist-mono), monospace; letter-spacing: .13em; }
.value-card svg { margin: 16px 0 42px; color: var(--blue); }
.value-card h3 { margin: 0 0 15px; color: var(--navy); font-size: 25px; }
.value-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.family-process { background: var(--navy); color: white; }
.family-process-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: end; }
.family-process h2 { color: white; }
.family-process-copy p { margin: 0 0 30px; color: rgba(255,255,255,.64); font-size: 15px; line-height: 1.8; }
.partner-detail-section { background: white; }
.partner-detail-grid { display: grid; grid-template-columns: 330px 1fr; gap: 90px; align-items: center; }
.partner-detail-logo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #0c0c0e; box-shadow: 0 26px 70px rgba(7,23,34,.18); }
.partner-detail-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-detail-logo { transition: transform .25s ease, box-shadow .25s ease; }
.partner-detail-logo:hover { transform: translateY(-4px); box-shadow: 0 32px 78px rgba(7,23,34,.22); }
.partner-detail-grid h2 { margin-bottom: 24px; }
.partner-detail-grid p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.partner-capability { max-width: 680px; margin-top: 27px; padding: 19px 22px; display: flex; align-items: center; gap: 13px; border-left: 3px solid var(--blue); background: var(--mist); color: var(--navy); font-size: 13px; font-weight: 700; }
.partner-capability svg { flex: 0 0 auto; color: var(--blue); }
.inline-partner-link { color: var(--navy); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.partner-website-link { margin-top: 27px; }
.subpage-cta { padding: 86px 0; background: var(--navy-deep); color: white; }
.subpage-cta-inner { display: grid; grid-template-columns: 1fr .75fr auto; gap: 55px; align-items: center; }
.subpage-cta h2 { color: white; font-size: clamp(38px, 4.6vw, 58px); }
.subpage-cta p { margin: 0; color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.75; }

.services-detail-section { background: var(--mist); }
.service-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-detail-card { min-height: 450px; padding: 33px; background: white; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.service-detail-card:hover { z-index: 1; transform: translateY(-5px); box-shadow: var(--shadow); }
.service-detail-top { display: flex; align-items: center; justify-content: space-between; color: var(--blue); }
.service-detail-top span { color: #99a5ac; font: 700 9px var(--font-geist-mono), monospace; letter-spacing: .12em; }
.service-detail-card h3 { margin: 34px 0 13px; color: var(--navy); font-size: 24px; }
.service-detail-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }
.service-detail-card ul { display: grid; gap: 9px; margin: 22px 0 28px; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-detail-card li { display: flex; align-items: center; gap: 9px; color: #475661; font-size: 12px; }
.service-detail-card li svg { flex: 0 0 auto; color: var(--blue); }
.service-detail-card > a { width: fit-content; margin-top: auto; display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 12px; font-weight: 750; border-bottom: 1px solid var(--navy); padding-bottom: 4px; }
.materials-band { padding: 106px 0; background: var(--navy); color: white; }
.materials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.materials-grid h2 { color: white; }
.materials-grid > div:first-child > p { max-width: 550px; margin: 25px 0 0; color: rgba(255,255,255,.62); line-height: 1.8; }
.material-list { border-top: 1px solid rgba(255,255,255,.18); }
.material-list article { display: grid; grid-template-columns: 155px 1fr; gap: 25px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.material-list strong { color: white; font-size: 13px; }
.material-list span { color: rgba(255,255,255,.57); font-size: 12px; line-height: 1.6; }
.service-process-section { background: white; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: steps; border-top: 1px solid var(--line); }
.process-steps article { min-height: 260px; padding: 32px 27px; border-right: 1px solid var(--line); }
.process-steps article:last-child { border-right: 0; }
.process-steps span { color: var(--blue); font: 700 10px var(--font-geist-mono), monospace; letter-spacing: .12em; }
.process-steps h3 { margin: 54px 0 12px; color: var(--navy); font-size: 22px; }
.process-steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.72; }
.cabinet-partner-band { padding: 78px 0; background: #151516; color: white; }
.cabinet-partner-grid { display: grid; grid-template-columns: 165px 1fr auto; gap: 48px; align-items: center; }
.cabinet-partner-grid > a:first-child { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; transition: transform .25s ease; }
.cabinet-partner-grid > a:first-child:hover { transform: translateY(-3px); }
.cabinet-partner-grid > a:first-child img { width: 100%; height: 100%; object-fit: contain; }
.cabinet-partner-grid h2 { color: white; font-size: clamp(32px, 4vw, 50px); }
.cabinet-partner-grid h2 a { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 5px; }
.cabinet-partner-grid p { max-width: 650px; margin: 20px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.72; }

.contact-page-section { background: var(--mist); }
.contact-page-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.contact-page-aside { position: sticky; top: 34px; }
.contact-page-aside h2 { margin-bottom: 23px; font-size: clamp(39px, 4.2vw, 57px); }
.contact-page-aside > p { margin: 0 0 36px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.contact-methods { display: grid; border-top: 1px solid var(--line); }
.contact-methods > a, .contact-methods > div { min-height: 76px; padding: 16px 0; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); }
.contact-methods i { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; background: white; color: var(--blue); font-style: normal; }
.contact-methods span { min-width: 0; display: grid; gap: 5px; }
.contact-methods small { color: #7b8991; font: 700 9px var(--font-geist-mono), monospace; letter-spacing: .1em; text-transform: uppercase; }
.contact-methods strong { overflow-wrap: anywhere; color: var(--navy); font-size: 13px; }
.native-contact-form { padding: 42px; background: white; border: 1px solid var(--line); box-shadow: 0 28px 80px rgba(7,23,34,.09); }
.native-form-heading { margin-bottom: 34px; }
.native-form-heading > span { color: var(--blue); font: 700 10px var(--font-geist-mono), monospace; letter-spacing: .16em; text-transform: uppercase; }
.native-form-heading h2 { margin: 9px 0 7px; font-size: 38px; }
.native-form-heading p { margin: 0; color: #7b8991; font-size: 11px; }
.native-contact-form fieldset { margin: 0 0 31px; padding: 0; border: 0; }
.native-contact-form legend { width: 100%; margin-bottom: 19px; padding: 0 0 11px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 13px; font-weight: 750; }
.native-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.native-contact-form label:not(.consent-field) { display: grid; gap: 8px; margin-bottom: 17px; color: #45535d; font-size: 11px; font-weight: 700; }
.native-contact-form input:not([type='checkbox']), .native-contact-form select, .native-contact-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #cbd3d8; border-radius: 0; outline: none; background: #fbfcfc; color: var(--ink); font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.native-contact-form textarea { min-height: 142px; resize: vertical; line-height: 1.6; }
.native-contact-form input:focus, .native-contact-form select:focus, .native-contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(85,169,232,.15); }
.native-contact-form input:not(:placeholder-shown):invalid, .native-contact-form textarea:not(:placeholder-shown):invalid { border-color: #bd5252; }
.website-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.consent-field { display: flex; align-items: flex-start; gap: 10px; margin: -3px 0 23px; color: #52616b; font-size: 11px; line-height: 1.6; }
.consent-field input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.native-submit { width: 100%; border: 0; }
.form-security-note { display: flex; gap: 9px; margin-top: 18px; color: #78858d; }
.form-security-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--blue); }
.form-security-note p { margin: 0; font-size: 10px; line-height: 1.6; }

@media (max-width: 980px) {
  .subpage-hero { min-height: 620px; }
  .story-grid, .partner-detail-grid, .materials-grid, .contact-page-grid { gap: 52px; }
  .story-grid { grid-template-columns: .9fr 1.1fr; }
  .story-media, .story-media > img { min-height: 520px; height: 520px; }
  .story-badge { right: -16px; }
  .value-grid, .service-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .family-process-grid, .split-heading { gap: 48px; }
  .partner-detail-grid { grid-template-columns: 250px 1fr; }
  .subpage-cta-inner { grid-template-columns: 1fr auto; }
  .subpage-cta-inner > p { grid-column: 1 / -1; grid-row: 2; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps article { border-bottom: 1px solid var(--line); }
  .cabinet-partner-grid { grid-template-columns: 135px 1fr; }
  .cabinet-partner-grid > a:first-child { width: 125px; height: 125px; }
  .cabinet-partner-grid > .button { grid-column: 2; width: fit-content; }
  .contact-page-grid { grid-template-columns: .8fr 1.2fr; }
  .native-contact-form { padding: 34px 28px; }
  .native-field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  .subpage-hero { min-height: 630px; height: auto; padding: 210px 0 62px; }
  .subpage-hero-content { padding-bottom: 0; }
  .subpage-hero h1 { font-size: clamp(47px, 14vw, 62px); }
  .subpage-hero-content > p { font-size: 14px; }
  .subpage-section { padding: 78px 0; }
  .split-heading, .story-grid, .family-process-grid, .partner-detail-grid, .materials-grid, .contact-page-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-media, .story-media > img { min-height: 430px; height: 430px; }
  .story-media::before { left: -14px; bottom: -14px; }
  .story-badge { right: -5px; bottom: 20px; width: 155px; min-height: 114px; padding: 21px; }
  .story-copy .lead { font-size: 15px; }
  .value-grid, .service-detail-grid, .process-steps { grid-template-columns: 1fr; }
  .value-card, .service-detail-card { min-height: 0; }
  .partner-detail-logo { width: min(260px, 82vw); }
  .subpage-cta { padding: 68px 0; }
  .subpage-cta-inner { grid-template-columns: 1fr; gap: 22px; }
  .subpage-cta-inner > p { grid-column: 1; grid-row: auto; }
  .subpage-cta .button { width: 100%; }
  .material-list article { grid-template-columns: 115px 1fr; gap: 15px; }
  .process-steps article { min-height: 220px; border-right: 0; }
  .cabinet-partner-band { padding: 68px 0; }
  .cabinet-partner-grid { grid-template-columns: 1fr; gap: 27px; }
  .cabinet-partner-grid > .button { grid-column: 1; width: 100%; }
  .contact-page-aside { position: static; }
  .native-contact-form { padding: 28px 20px; margin-left: -10px; margin-right: -10px; }
}



/* WordPress / Elementor compatibility for the repository reference layout. */
.fg-reference-root.e-con { --gap: 0; width: 100%; max-width: none; padding: 0; gap: 0 !important; }
.fg-reference-root.e-con > .elementor-element { margin: 0 !important; }
.fg-reference-root.e-con > .e-con-inner { width: 100%; max-width: none !important; padding: 0 !important; gap: 0 !important; }
.fg-reference-root .elementor-widget-html, .fg-reference-root .elementor-widget-shortcode, .fg-reference-root .elementor-widget-container { width: 100%; }
.fg-reference-root .elementor-widget-html:not(:last-child), .fg-reference-root .elementor-widget-shortcode:not(:last-child) { margin-bottom: 0; }
.fg-reference-root .formlayer-form { margin: 0; }
.fg-reference-root .formlayer-form label { display: block; margin-bottom: 7px; color: #344752; font-size: 11px; font-weight: 700; }
.fg-reference-root .formlayer-form input:not([type="checkbox"]):not([type="radio"]), .fg-reference-root .formlayer-form select, .fg-reference-root .formlayer-form textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 0; border-bottom: 1px solid #ccd5da; border-radius: 0; background: #f8fafb; color: var(--ink); font-size: 14px; }
.fg-reference-root .formlayer-form textarea { min-height: 120px; }
.fg-reference-root .formlayer-form button, .fg-reference-root .formlayer-form input[type="submit"] { width: 100%; min-height: 52px; border: 0; border-radius: 2px; background: var(--blue); color: var(--navy-deep); font-weight: 750; cursor: pointer; }
.fg-reference-root .fg-reference-form { background: white; color: var(--ink); padding: 42px; box-shadow: 0 25px 80px rgba(0,0,0,.2); }
.fg-reference-root .fg-reference-form .form-heading { margin-bottom: 28px; }
.fg-reference-root .contact.e-con { width: 100%; max-width: none; padding: 118px 0; }
.fg-reference-root .contact-grid.e-con { width: min(1180px, calc(100% - 48px)); max-width: 1180px; margin-inline: auto; padding: 0; }
.fg-reference-root .contact-grid.e-con > .e-con-inner { width: 100%; max-width: none !important; padding: 0 !important; display: grid !important; grid-template-columns: .82fr 1.18fr; gap: 100px !important; align-items: start; }
.fg-reference-root .fg-reference-form.e-con > .e-con-inner { padding: 0 !important; gap: 0 !important; }
.fg-reference-root .fg-reference-form .formlayer-form-fields-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.fg-reference-root .fg-reference-form .formlayer-form-fields-wrapper > * { margin: 0 !important; }
.fg-reference-root .fg-reference-form .formlayer-form-fields-wrapper > :nth-child(1), .fg-reference-root .fg-reference-form .formlayer-form-fields-wrapper > :nth-child(6), .fg-reference-root .fg-reference-form .formlayer-form-fields-wrapper > :nth-child(7), .fg-reference-root .fg-reference-form .formlayer-form-fields-wrapper > :nth-child(8) { grid-column: 1 / -1; }
.fg-reference-root .fg-reference-form .formlayer-name-fields-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg-reference-root .contact-page-section.e-con { width: 100%; max-width: none; padding: 112px 0; }
.fg-reference-root .contact-page-grid.e-con { width: min(1180px, calc(100% - 48px)); max-width: 1180px; margin-inline: auto; padding: 0; }
.fg-reference-root .contact-page-grid.e-con > .e-con-inner { width: 100%; max-width: none !important; padding: 0 !important; display: grid !important; grid-template-columns: .78fr 1.22fr; gap: 80px !important; align-items: start; }
.fg-reference-root .native-contact-form.e-con { padding: 42px; }
.fg-reference-root .native-contact-form.e-con > .e-con-inner { padding: 0 !important; gap: 0 !important; }
.fg-reference-root .native-contact-form .formlayer-form-fields-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.fg-reference-root .native-contact-form .formlayer-form-fields-wrapper > * { margin: 0 !important; }
.fg-reference-root .native-contact-form .formlayer-form-fields-wrapper > :nth-child(1), .fg-reference-root .native-contact-form .formlayer-form-fields-wrapper > :nth-child(6), .fg-reference-root .native-contact-form .formlayer-form-fields-wrapper > :nth-child(7), .fg-reference-root .native-contact-form .formlayer-form-fields-wrapper > :nth-child(8) { grid-column: 1 / -1; }
.fg-reference-root .native-contact-form .formlayer-name-fields-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body .cookieadmin-consent-banner { z-index: 1000; }

@media (max-width: 980px) {
	.fg-reference-root .contact.e-con { padding: 84px 0; }
	.fg-reference-root .contact-grid.e-con { width: min(100% - 36px, 760px); }
  .fg-reference-root .contact-grid.e-con > .e-con-inner { grid-template-columns: 1fr; gap: 50px !important; }
	.fg-reference-root .contact-page-section.e-con { padding: 84px 0; }
	.fg-reference-root .contact-page-grid.e-con { width: min(100% - 36px, 760px); }
	.fg-reference-root .contact-page-grid.e-con > .e-con-inner { grid-template-columns: .8fr 1.2fr; gap: 52px !important; }
	.fg-reference-root .native-contact-form.e-con { padding: 34px 28px; }
}

@media (max-width: 640px) {
	.fg-reference-root .contact-grid.e-con { width: calc(100% - 28px); }
  .fg-reference-root .fg-reference-form { padding: 26px 20px; }
  .fg-reference-root .fg-reference-form .formlayer-form-fields-wrapper, .fg-reference-root .fg-reference-form .formlayer-name-fields-wrap { grid-template-columns: 1fr; }
	.fg-reference-root .contact-page-grid.e-con { width: calc(100% - 28px); }
	.fg-reference-root .contact-page-grid.e-con > .e-con-inner { grid-template-columns: 1fr; gap: 36px !important; }
	.fg-reference-root .native-contact-form.e-con { padding: 28px 20px; }
	.fg-reference-root .native-contact-form .formlayer-form-fields-wrapper, .fg-reference-root .native-contact-form .formlayer-name-fields-wrap { grid-template-columns: 1fr; }
}
