/* base.css v2 — shared components. Brand tokens & personality live in theme.css. */
:root {
  --primary: #1f4f8f; --accent: #f47a20; --ink: #14171c; --muted: #5d6673; --line: #e5e8ee; --bg: #fff; --surface: #f6f7f9; --surface-2: #eceff3;
  --on-primary: #fff; --on-accent: #fff; --font-display: Inter, system-ui, sans-serif; --font-body: Inter, system-ui, sans-serif;
  --radius: 6px; --radius-sm: 4px; --shadow: 0 6px 20px rgba(15, 20, 30, .08); --shadow-lg: 0 18px 44px rgba(15, 20, 30, .14); --shadow-sm: 0 1px 2px rgba(15, 20, 30, .06);
  --container: 1200px; --gutter: 24px; --header-h: 84px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
body:not(.is-ready) main, body:not(.is-ready) .footer { opacity: 0; } main, .footer { transition: opacity .25s; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; } h2 { font-size: clamp(1.6rem, 2.9vw, 2.25rem); font-weight: 800; } h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; } ul, ol { margin: 0; padding: 0; list-style: none; } button { font: inherit; cursor: pointer; } dl, dt, dd { margin: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 75%, #fff); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -70px; left: 12px; z-index: 5000; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; } .skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--btn-radius, var(--radius-sm)); border: 2px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.06); } .btn:active { transform: none; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--secondary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn--outline { background: transparent; color: currentColor; border-color: currentColor; } .btn--outline:hover { background: rgba(255, 255, 255, .12); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--block { width: 100%; } .btn--lg { padding: 16px 30px; font-size: 1.05rem; } .btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); background: none; border: 0; padding: 0; font-size: .95rem; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); } .link-arrow:hover { text-decoration: none; } .link-arrow:hover .icon { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- topbar + header ---- */
.topbar { background: var(--topbar-bg, var(--primary)); color: var(--topbar-ink, #fff); font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a, .topbar__addr { display: inline-flex; align-items: center; gap: 6px; color: inherit; opacity: .92; } .topbar a:hover { opacity: 1; text-decoration: none; }
.topbar .icon { width: 15px; height: 15px; } .topbar__social { opacity: .85; }
.header { position: sticky; top: 0; z-index: 900; }
.header__bar { background: var(--header-bg, var(--bg)); transition: background-color .25s, box-shadow .25s; }
.header.is-scrolled .header__bar { box-shadow: 0 2px 18px rgba(0, 0, 0, .10); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { height: calc(var(--header-h) - 30px); width: auto; max-width: 300px; object-fit: contain; }
.brand__text { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--header-ink, var(--ink)); }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--header-ink, var(--ink)); font-weight: 600; padding: 6px 0; position: relative; font-size: .97rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { text-decoration: none; } .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--header-line, var(--line)); background: transparent; color: var(--header-ink, var(--ink)); align-items: center; justify-content: center; } .hamburger .icon { width: 24px; height: 24px; }
/* overlay header (transparent over hero, solid on scroll) */
body[data-header="overlay"] .header { position: fixed; left: 0; right: 0; }
body[data-header="overlay"] .header__bar { background: transparent; --header-ink: #fff; --header-line: rgba(255, 255, 255, .35); }
body[data-header="overlay"] .header.is-scrolled .header__bar { background: var(--header-bg, var(--bg)); --header-ink: var(--ink); --header-line: var(--line); }
body[data-header="overlay"] .brand img { filter: var(--logo-on-dark, none); } body[data-header="overlay"] .header.is-scrolled .brand img { filter: none; }
body[data-header="overlay"] .hero, body[data-header="overlay"] .banner { padding-top: var(--header-h); }
/* drawer */
.drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; } .drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; } .drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px); background: var(--drawer-bg, var(--bg)); color: var(--drawer-ink, var(--ink)); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s var(--ease); overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--drawer-line, var(--line)); }
.drawer__title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.drawer__close { width: 42px; height: 42px; border: 1px solid var(--drawer-line, var(--line)); background: transparent; color: inherit; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; } .drawer__close .icon { width: 20px; height: 20px; }
.drawer__nav { padding: 10px; } .drawer__nav a { display: block; padding: 14px 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 1.05rem; color: inherit; }
.drawer__nav a[aria-current="page"] { background: var(--drawer-active, var(--surface)); color: var(--accent); }
.drawer__cta { padding: 8px 20px 16px; }
.drawer__contact { margin-top: auto; padding: 18px 20px; background: var(--drawer-foot, var(--surface)); display: grid; gap: 10px; }
.drawer__contact a { display: flex; align-items: center; gap: 10px; color: inherit; font-weight: 600; font-size: .95rem; } .drawer__contact .icon { width: 18px; height: 18px; color: var(--accent); }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--primary); }
.hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.05); animation: hero-zoom 9s var(--ease) forwards; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay, linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .2) 100%)); }
.hero__inner { padding: 104px 0 92px; max-width: 680px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero__kicker::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.hero__title { color: #fff; margin-bottom: 20px; } .hero__text { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__inner > * { opacity: 0; transform: translateY(18px); animation: rise .7s var(--ease) forwards; }
.hero__inner > :nth-child(2) { animation-delay: .1s; } .hero__inner > :nth-child(3) { animation-delay: .2s; } .hero__inner > :nth-child(4) { animation-delay: .3s; } .hero__inner > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } } @keyframes rise-x { to { opacity: 1; transform: none; } }
/* split / mosaic hero */
.hero--split { color: var(--hero-ink, var(--ink)); background: var(--hero-bg, var(--surface)); }
.hero--split .hero__bg, .hero--split .hero__overlay { display: none; }
.hero--split .hero__title { color: var(--hero-ink, var(--ink)); } .hero--split .hero__text { color: var(--hero-muted, var(--muted)); }
.hero__layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero--split .hero__inner { padding: 80px 0; max-width: none; }
.hero__media { opacity: 0; transform: translateX(24px); animation: rise-x .8s .2s var(--ease) forwards; }
.hero__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: var(--hero-media-ratio, 1); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.mosaic img:first-child { grid-row: 1 / 3; }
/* floating card in hero */
.hero__card { position: absolute; right: 0; bottom: 0; background: var(--bg); color: var(--ink); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-lg); max-width: 320px; opacity: 0; transform: translateY(20px); animation: rise .7s .45s var(--ease) forwards; }
.hero__card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; } .hero__card span { display: block; color: var(--muted); font-size: .9rem; margin: 4px 0 12px; }
.hero__card a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; } .hero__card .icon { width: 18px; height: 18px; }
/* search bar hero */
.searchbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #fff; padding: 12px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); margin-top: 40px; opacity: 0; transform: translateY(18px); animation: rise .7s .45s var(--ease) forwards; }
.searchbar select, .searchbar input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: var(--surface); }
.searchbar .btn { height: 100%; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: .88rem; font-weight: 600; backdrop-filter: blur(6px); } .trust .icon { width: 16px; height: 16px; color: var(--accent); }

/* ---- highlight strip ---- */
.hl-strip { background: var(--strip-bg, var(--bg)); color: var(--strip-ink, var(--ink)); border-bottom: 1px solid var(--line); }
.hl-strip .container { display: grid; grid-template-columns: repeat(var(--hl-cols, 3), 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.hl { display: flex; gap: 14px; align-items: center; }
.hl__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--hl-icon-bg, color-mix(in srgb, var(--accent) 16%, transparent)); color: var(--hl-icon, var(--accent)); display: inline-flex; align-items: center; justify-content: center; flex: none; } .hl__icon .icon { width: 24px; height: 24px; }
.hl strong { display: block; font-size: .98rem; } .hl span { font-size: .86rem; opacity: .75; }

/* ---- sections ---- */
.section { padding: 84px 0; } .section--cta { padding: 64px 0 24px; } .section--tight { padding: 56px 0; } .section--alt { background: var(--surface); } .section--dark { background: var(--dark-bg, var(--primary)); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; } .section--dark p, .section--dark .lead { color: rgba(255, 255, 255, .8); }
.section__head { max-width: 660px; margin-bottom: 44px; } .section__head h2 { margin-bottom: 4px; } .section__head--center { margin-inline: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; border-radius: 2px; }
.section__head--center .eyebrow::before { display: none; }
.lead { font-size: 1.1rem; color: var(--muted); margin-top: 12px; }
.grid { display: grid; gap: 24px; } .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); }
/* asymmetric: first item large, rest stacked beside it */
.grid--feature { grid-template-columns: 1.5fr 1fr; grid-auto-rows: auto; } .grid--feature > :first-child { grid-row: 1 / 3; } .grid--feature > :first-child .scard__img { aspect-ratio: auto; flex: 1; min-height: 320px; } .grid--feature > :first-child .scard__img img { height: 100%; } .grid--feature > :first-child .scard__body { flex: 0; } .grid--feature > :first-child h3 { font-size: 1.35rem; }
.gallery--editorial { grid-template-columns: 2fr 1fr 1fr; } .gallery--editorial > :first-child { grid-row: 1 / 3; } .gallery--editorial > :first-child .gcard__media img { aspect-ratio: auto; height: 100%; } .gallery--editorial > :first-child .gcard__media { height: 100%; }
/* service rows (no image): icon + text, 2 columns */
.svc-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } .svc-rows .scard { flex-direction: row; align-items: flex-start; gap: 4px; } .svc-rows .scard__icon { margin: 26px 0 26px 26px; } .svc-rows .scard__body { padding: 26px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } .split--reverse > :first-child { order: 2; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); } .split__media:hover img { transform: scale(1.04); }
.split__media--frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 2px; pointer-events: none; }
.prose h2 { margin-bottom: 16px; } .prose p { color: var(--muted); font-size: 1.05rem; } .section--dark .prose p, .section--dark .checklist li { color: rgba(255, 255, 255, .82); } .section--dark .btn--secondary { background: #fff; color: var(--primary); border-color: #fff; } .prose .btn-row { margin-top: 10px; }
.checklist { display: grid; gap: 12px; margin: 20px 0 8px; } .checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist .icon { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---- service cards ---- */
.scard { background: var(--card-bg, var(--bg)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.scard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.scard__img { position: relative; aspect-ratio: var(--scard-ratio, 16 / 10); overflow: hidden; } .scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); } .scard:hover .scard__img img { transform: scale(1.05); }
.scard__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--scard-icon-bg, color-mix(in srgb, var(--primary) 10%, transparent)); color: var(--scard-icon, var(--primary)); display: inline-flex; align-items: center; justify-content: center; margin: 28px 28px 0; } .scard__icon .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.scard__icon--float { position: absolute; left: 24px; top: -24px; margin: 0; background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); width: 48px; height: 48px; border-radius: 12px; } .scard__icon--float .icon { width: 22px; height: 22px; }
.scard__body { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; } .scard__img + .scard__body { padding-top: 38px; } .scard.no-img .scard__icon--float { display: none; }
.scard__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 8px; }
.modal__icon { width: 100%; min-height: 260px; display: grid; place-items: center; background: var(--primary); color: var(--accent); } .modal__icon .icon { width: 96px; height: 96px; stroke-width: 1.2; } .modal__lead { font-size: 1.05rem; color: var(--ink) !important; font-weight: 500; } .modal--single .modal__nav { display: none; }
.scard__cat { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.scard p { color: var(--muted); margin: 0; flex: 1; font-size: .97rem; }

/* ---- gallery / property / project cards ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } .gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gcard { background: var(--card-bg, var(--bg)); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.gcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.gcard__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); cursor: zoom-in; overflow: hidden; }
.gcard--prop .gcard__media, .gcard[data-status] .gcard__media { cursor: pointer; }
.gcard__media img { width: 100%; aspect-ratio: var(--g-ratio, 4 / 3); object-fit: cover; transition: transform .7s var(--ease); } .gcard:hover .gcard__media img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: var(--shadow-sm); } .badge--alt { background: var(--primary); color: var(--on-primary); }
.gcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; } .gcard__body h3 { font-size: 1.08rem; } .gcard__cap, .gcard .meta { color: var(--muted); font-size: .92rem; margin: 0; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--primary); } .price--lg { font-size: 1.7rem; margin: 6px 0 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .88rem; font-weight: 600; } .facts span { display: inline-flex; align-items: center; gap: 6px; } .facts .icon { width: 16px; height: 16px; color: var(--accent); }
.gcard.is-missing .gcard__media img { display: none; } .gcard.is-missing .gcard__media::before { content: "Image not available"; display: grid; place-items: center; aspect-ratio: var(--g-ratio, 4 / 3); color: var(--muted); font-size: .9rem; }
.gallery.is-empty { display: none; } .empty { color: var(--muted); padding: 30px; text-align: center; background: var(--surface); border-radius: var(--radius); }
.catcard { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; box-shadow: var(--shadow); }
.catcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); } .catcard:hover img { transform: scale(1.06); } .catcard:hover { text-decoration: none; }
.catcard div { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); } .catcard strong { display: block; font-family: var(--font-display); font-size: 1.3rem; } .catcard span { font-size: .85rem; opacity: .85; }

/* ---- filter bar ---- */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 30px; padding: 16px 18px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.filter__label { font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-weight: 600; font-size: .9rem; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent); } .chip.is-on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.filter__extra { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; } .filter__extra select, .filter__search input { padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: var(--bg); color: var(--ink); }
.filter__search { position: relative; } .filter__search .icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); } .filter__search input { padding-left: 32px; min-width: 220px; }
.filter__count { font-size: .85rem; color: var(--muted); font-weight: 600; flex-basis: 100%; }

/* ---- why / values / steps ---- */
.why { display: flex; gap: 18px; } .why__num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1; flex: none; }
.why h3 { margin-bottom: 6px; } .why p { color: var(--muted); margin: 0; } .section--dark .why p { color: rgba(255, 255, 255, .78); }
.value { display: flex; gap: 14px; padding: 24px; background: var(--card-bg, var(--bg)); border: 1px solid var(--line); border-radius: var(--radius); }
.value > .icon { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; } .value h3 { margin-bottom: 4px; } .value p { color: var(--muted); margin: 0; font-size: .95rem; }
.process { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; } .process .section__head { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: 1fr; gap: 0; }
.step { position: relative; display: flex; flex-direction: row; gap: 22px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); } .step:last-child { border-bottom: 1px solid var(--line); }
.section--dark .step { border-color: rgba(255, 255, 255, .14); }
.step__num { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.step h3 { margin-bottom: 6px; font-size: 1.05rem; } .step p { color: var(--muted); margin: 0; font-size: .95rem; }
.section--dark .step p { color: rgba(255, 255, 255, .75); }
.mission { background: var(--mission-bg, var(--primary)); color: var(--mission-ink, #fff); border-radius: var(--radius); padding: 44px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.mission .eyebrow { color: var(--mission-accent, var(--accent)); } .mission p { font-size: 1.35rem; font-family: var(--font-display); font-weight: 600; line-height: 1.4; margin: 0; }
.person { display: flex; gap: 18px; align-items: center; padding: 22px; background: var(--card-bg, var(--bg)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.person__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; flex: none; }
.person strong { display: block; font-size: 1.1rem; } .person span { color: var(--muted); font-size: .92rem; }

/* ---- CTA band ---- */
.cta { border-radius: var(--radius); padding: 52px; background: var(--cta-bg, var(--primary)); color: var(--cta-ink, #fff); display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.cta h2 { color: inherit; margin-bottom: 8px; } .cta p { margin: 0; opacity: .88; font-size: 1.05rem; } .cta .btn-row { flex: none; }

/* ---- page banner ---- */
.banner { background: var(--primary); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.banner__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: var(--banner-img-opacity, .3); }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--banner-overlay, linear-gradient(90deg, var(--primary) 25%, transparent)); }
.banner__inner { padding: 74px 0 64px; max-width: 760px; } .banner__inner h1 { color: #fff; margin-bottom: 14px; font-size: clamp(2.1rem, 4.4vw, 3.3rem); } .banner__inner p { color: rgba(255, 255, 255, .86); font-size: 1.1rem; margin: 0; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .84rem; margin-bottom: 16px; color: rgba(255, 255, 255, .7); } .crumbs a { color: #fff; } .crumbs span { color: var(--accent); font-weight: 600; }

/* ---- contact ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.cinfo { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cinfo__icon { width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex: none; } .cinfo__icon .icon { width: 22px; height: 22px; }
.cinfo__label { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; } .cinfo a { font-weight: 600; }
.social-row { display: flex; gap: 8px; margin-top: 6px; } .social-row a, .footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--primary); } .social-row .icon, .footer__social .icon { width: 18px; height: 18px; }
.map { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); } .map iframe { width: 100%; height: 320px; border: 0; }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; } .form-grid .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; } .field label { font-weight: 600; font-size: .92rem; } .field .req { color: #c8321f; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd5df; border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #c8321f; } .field.is-invalid::after { content: "Required — please check this field."; font-size: .8rem; color: #c8321f; }
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.4em; } .form-status.is-ok { color: #1c8a4c; } .form-status.is-error { color: #c8321f; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; } .note { font-size: .85rem; color: var(--muted); }

/* ---- footer ---- */
.footer { background: var(--footer-bg, #14171c); color: rgba(255, 255, 255, .78); margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1.2fr; gap: 40px; padding: 64px 0 40px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__logo { height: 56px; width: auto; max-width: 240px; object-fit: contain; margin-bottom: 16px; background: var(--footer-logo-bg, transparent); padding: var(--footer-logo-pad, 0); border-radius: 8px; }
.footer__brand p { font-size: .95rem; } .footer__links li, .footer__contact li { margin-bottom: 10px; }
.footer a { color: rgba(255, 255, 255, .82); } .footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; } .footer__contact .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.footer__social { display: flex; gap: 8px; margin-top: 14px; } .footer__social a { border-color: rgba(255, 255, 255, .18); color: #fff; }
.footer__cta p { font-size: .93rem; } .footer__cta .btn { margin-top: 4px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* ---- modal ---- */
.modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; } .modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 10, 14, .82); }
.modal__box { position: relative; width: min(1040px, 94vw); max-height: 90vh; animation: rise .3s var(--ease); }
.modal__content { background: transparent; }
.modal--rich .modal__content { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--bg); color: var(--ink); border-radius: var(--radius); overflow: hidden; max-height: 88vh; }
.modal__img { position: relative; background: var(--surface-2); } .modal__img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.modal__info { padding: 34px; overflow-y: auto; } .modal__info h2 { margin-bottom: 6px; font-size: 1.6rem; } .modal__info p { color: var(--muted); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 18px; } .facts-grid div { background: var(--surface); border-radius: var(--radius-sm); padding: 10px 12px; }
.facts-grid dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); } .facts-grid dd { font-weight: 700; }
.modal__fig { margin: 0; text-align: center; } .modal__fig img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--radius-sm); }
.modal__fig figcaption { color: #fff; padding: 14px 0 0; } .modal__fig figcaption strong { font-family: var(--font-display); font-size: 1.1rem; } .modal__fig figcaption span { opacity: .8; }
.modal__close, .modal__nav { position: absolute; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #111; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.modal__close { top: -12px; right: -12px; } .modal__nav { top: 50%; transform: translateY(-50%); } .modal__nav--prev { left: -14px; } .modal__nav--next { right: -14px; }
.modal__close:hover, .modal__nav:hover { background: #fff; } .modal__close .icon, .modal__nav .icon { width: 22px; height: 22px; }

/* ---- reveal / preview ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: var(--d, 0ms); } .reveal.is-in { opacity: 1; transform: none; }
.preview-bar { background: #f5a623; color: #1a1a1a; text-align: center; font-weight: 700; font-size: .85rem; padding: 6px; letter-spacing: .06em; position: relative; z-index: 950; }

/* ---- responsive ---- */
@media (max-width: 1100px) { .nav { gap: 20px; } .searchbar { grid-template-columns: 1fr 1fr; } .grid--feature { grid-template-columns: 1.3fr 1fr; } }
@media (max-width: 960px) {
  .nav, .header__cta { display: none; } .hamburger { display: inline-flex; } .topbar__addr { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); } .process { grid-template-columns: 1fr; gap: 28px; } .grid--feature, .svc-rows { grid-template-columns: 1fr; } .grid--feature > :first-child { grid-row: auto; } .gallery--editorial { grid-template-columns: 1fr 1fr; } .gallery--editorial > :first-child { grid-row: auto; grid-column: 1 / -1; } .gallery--editorial > :first-child .gcard__media img { aspect-ratio: 16 / 9; height: auto; }
  .split, .hero__layout, .contact-layout { grid-template-columns: 1fr; gap: 36px; } .split--reverse > :first-child { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); } .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; } .hl-strip .container { grid-template-columns: repeat(2, 1fr); }
  .hero__card { position: static; margin-top: 28px; max-width: none; } .filter__extra { margin-left: 0; }
  .modal--rich .modal__content { grid-template-columns: 1fr; overflow-y: auto; } .modal__img img { min-height: 220px; max-height: 40vh; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --header-h: 70px; }
  .topbar { font-size: .78rem; } .topbar__inner { justify-content: center; } .topbar__right { display: none; }
  .hero__inner { padding: 64px 0 56px; } .hero--split .hero__inner { padding: 48px 0 32px; } .hero__actions .btn { flex: 1 1 100%; } .hero__overlay { background: var(--hero-overlay-mobile, rgba(0, 0, 0, .72)); }
  .section { padding: 60px 0; } .grid--2, .grid--3, .gallery, .gallery--2, .gallery--editorial, .form-grid, .hl-strip .container, .searchbar, .facts-grid { grid-template-columns: 1fr; }
  .cta { padding: 30px 22px; } .cta .btn-row .btn { flex: 1 1 100%; } .section__head--row { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 22px 18px; } .form-foot { flex-direction: column; align-items: stretch; } .form-foot .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 26px; } .footer__bottom { flex-direction: column; text-align: center; }
  .mission { padding: 28px 22px; } .mission p { font-size: 1.15rem; } .why { flex-direction: column; gap: 6px; }
  .modal { padding: 10px; } .modal__close { top: 6px; right: 6px; } .modal__nav { display: none; } .modal__info { padding: 22px; }
  .mosaic { aspect-ratio: 4 / 3; } .filter { padding: 14px; } .filter__search input { min-width: 0; width: 100%; }
}
@media (max-width: 380px) { .btn { padding: 12px 16px; white-space: normal; } h1 { font-size: 2.05rem; } }
