/* PLC Projects — site styles */
:root {
  --navy: #0b1730;
  --navy-2: #12224a;
  --blue: #1d4ed8;
  --blue-hover: #1e40af;
  --blue-soft: #dbeafe;
  --sky: #93c5fd;
  --ink: #0f172a;
  --text: #334155;
  --muted: #536176;
  --line: #e2e8f0;
  --soft: #f4f7fb;
  --white: #fff;
  --amber: #f59e0b;
  --ok: #15803d;
  --err: #b91c1c;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .06);
  --shadow-lg: 0 12px 40px rgb(15 23 42 / .14);
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img, video { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 32px); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.25em; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: .85em 1.5em; font-size: 1.02rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / .5); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); border-color: #fff; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--blue); margin-bottom: .75em; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled, .site-header.is-open { background: rgb(11 23 48 / .96); box-shadow: 0 2px 20px rgb(0 0 0 / .25); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.3rem; letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 15%; box-shadow: 0 0 0 1.5px rgb(255 255 255 / .6); }
.brand-text strong { font-weight: 700; }
.brand-text { font-weight: 400; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: rgb(255 255 255 / .85); font-size: .95rem; font-weight: 500; }
.main-nav ul a:hover { color: #fff; text-decoration: none; }
.nav-cta { padding: .55em 1em; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 28px; padding: 6px; cursor: pointer; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; top: var(--header-h); inset-inline: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 16px 24px; background: rgb(11 23 48 / .98); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 12px 4px; border-bottom: 1px solid rgb(255 255 255 / .08); font-size: 1.05rem; }
  .nav-cta { justify-content: center; }
  .site-header.is-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .site-header.is-open .icon-open { display: none; }
  .site-header.is-open .icon-close { display: block; }
}

/* Hero */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; color: #fff; background: var(--navy) url("../img/hero-hmi-poster.webp") center / cover no-repeat; overflow: hidden; padding: calc(var(--header-h) + 48px) 0 72px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgb(11 23 48 / .94) 0%, rgb(11 23 48 / .8) 50%, rgb(11 23 48 / .55) 100%); }
.hero-content { position: relative; max-width: 1180px; }
.hero .eyebrow { color: var(--sky); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 750; max-width: 15em; margin-bottom: .45em; }
.hero h1 span { display: block; color: var(--sky); }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 40em; color: rgb(255 255 255 / .88); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.25em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero-tags li { font-size: .82rem; font-weight: 600; letter-spacing: .04em; padding: .35em .85em; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); }

/* Stats */
.stats { background: var(--navy-2); color: #fff; padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px; }
.stat-num { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 750; color: #fff; line-height: 1.1; }
.stat-label { font-size: .9rem; color: var(--sky); }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 380px) { .cards-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.card p { font-size: .97rem; margin: 0; }
.card-icon { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); margin-bottom: 16px; }
.card-row { display: flex; gap: 18px; align-items: flex-start; }
.card-row .card-icon { margin: 0; }

/* Technology */
.section-dark { background: var(--navy); color: rgb(255 255 255 / .82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--sky); }
.section-dark a { color: var(--sky); text-decoration: underline; }
.tech-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.brands-label { font-size: .9rem; color: var(--sky); margin-top: 1.5em; }
.brands { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.brands li { padding: .45em 1em; border-radius: 8px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); font-weight: 600; color: #fff; font-size: .95rem; }
.tech-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.tech-list li { display: flex; gap: 14px; }
.tech-list li > svg { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: rgb(59 130 246 / .18); color: var(--sky); }
.tech-list h3 { font-size: 1.05rem; margin-bottom: .3em; }
.tech-list p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .tech-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tech-list { grid-template-columns: 1fr; } }

/* Projects */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.filter { font: inherit; font-size: .92rem; font-weight: 600; padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery li[hidden] { display: none; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; position: relative; background: var(--soft); }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgb(11 23 48 / .55)); opacity: 0; transition: opacity .3s; }
.gallery a:hover::after { opacity: 1; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgb(5 10 25 / .92); }
.lightbox figure { margin: 0; max-width: min(1000px, 92vw); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #e2e8f0; margin-top: 12px; font-size: .95rem; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; font-size: 26px; cursor: pointer; }
.lb-btn:hover { background: rgb(255 255 255 / .24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Process */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps h3 { font-size: 1.02rem; }
.steps p { font-size: .93rem; margin: 0; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.prose .quote { margin: 8px 0 1.4em; }
@media (max-width: 360px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; background: var(--soft); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: var(--amber); font-size: 18px; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 22px; flex: 1; }
.quote blockquote p { font-size: 1.2rem; color: var(--ink); font-weight: 500; line-height: 1.5; margin: 0; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #fff; }
.quote figcaption span { display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-size: 1rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list svg { width: 46px; height: 46px; padding: 12px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.contact-list span { display: block; font-size: .85rem; color: var(--muted); }
.contact-list a, .contact-list strong { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .7em .85em; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(29 78 216 / .15); }
.field.has-error input, .field.has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: .85rem; margin-top: 4px; }
.g-recaptcha { margin-bottom: 16px; min-height: 78px; }
.form-status { margin-bottom: 16px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.site-footer { background: var(--navy); color: rgb(255 255 255 / .72); padding: 64px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgb(255 255 255 / .85); }
.site-footer .brand { margin-bottom: 14px; color: #fff; }
.site-footer address { font-style: normal; line-height: 1.9; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgb(255 255 255 / .1); margin-top: 48px; padding-top: 22px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* "More" link inside cards */
.card-more { display: inline-flex; align-items: center; gap: .35em; margin-top: 14px; font-weight: 600; font-size: .95rem; }
.card-more svg { transition: transform .2s; }
.card-more:hover { text-decoration: none; }
.card-more:hover svg { transform: translateX(3px); }

/* Service pages */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: rgb(255 255 255 / .86); padding: calc(var(--header-h) + 40px) 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 750; max-width: 20em; margin-bottom: .4em; }
.page-hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 42em; margin-bottom: 1.6em; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .88rem; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: rgb(255 255 255 / .45); }
.breadcrumb a { color: var(--sky); }
.breadcrumb [aria-current] { color: rgb(255 255 255 / .7); }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.04rem; }
.prose p a, .prose li a { text-decoration: underline; text-underline-offset: 2px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%231d4ed8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.service-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.aside-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-box h2 { font-size: 1.1rem; margin-bottom: .8em; }
.aside-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.aside-box a[aria-current] { color: var(--ink); font-weight: 600; }
.aside-cta { background: var(--navy); color: rgb(255 255 255 / .85); border: 0; }
.aside-cta h2 { color: #fff; }
.aside-cta .btn { width: 100%; justify-content: center; margin-top: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.facts li { background: var(--soft); border-radius: 12px; padding: 16px; text-align: center; font-size: .9rem; color: var(--muted); }
.facts strong { display: block; font-size: 1.6rem; color: var(--ink); line-height: 1.2; }
.prose .gallery { margin: 8px 0 1.4em; grid-template-columns: repeat(3, 1fr); }
.prose .gallery-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-wide img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Product page (screw compressor control) */
.device { background: #10161f; border-radius: 16px; padding: 10px; box-shadow: var(--shadow-lg); margin: 0 0 1.6em; }
.device a, .device img { display: block; border-radius: 6px; }
.device img { width: 100%; height: auto; }
.benefits { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; counter-reset: ben; }
.benefits li { counter-increment: ben; position: relative; padding-left: 48px; }
.benefits li::before { content: counter(ben); position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 9px; background: #1e9a57; color: #fff; font-weight: 700; display: grid; place-items: center; }
.benefits h3 { font-size: 1.05rem; margin-bottom: .25em; }
.benefits p { font-size: .97rem; margin: 0; color: var(--muted); }
.shots { list-style: none; padding: 0; margin: 8px 0 1.6em; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shots a { display: block; border-radius: 8px; overflow: hidden; border: 3px solid #10161f; }
.shots img { width: 100%; height: auto; aspect-ratio: 4 / 3; display: block; transition: transform .3s; }
.shots a:hover img { transform: scale(1.03); }
.shots h3 { font-size: 1rem; margin: 10px 0 .2em; }
.shots p { font-size: .9rem !important; margin: 0; color: var(--muted); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.two-cols h3 { background: var(--navy); color: #fff; font-size: .95rem; letter-spacing: .04em; padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; }
.facts-4 { grid-template-columns: repeat(4, 1fr); }
.facts-4 strong { font-size: 1.15rem; }
.callout { background: var(--blue-soft); border: 1px solid #bfdbfe; border-radius: var(--radius); padding: 22px 24px; margin: 0 0 1.6em; }
.callout h3 { margin-bottom: .3em; }
.callout p { margin-bottom: .8em; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-new { display: inline-block; background: #1e9a57; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; padding: .25em .7em; border-radius: 999px; margin-right: 8px; vertical-align: middle; }
@media (max-width: 760px) { .benefits, .two-cols { grid-template-columns: 1fr; } .shots { grid-template-columns: 1fr 1fr; } .facts-4 { grid-template-columns: 1fr 1fr; } }

/* Featured project (homepage) */
.featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--navy); color: rgb(255 255 255 / .85); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-lg); }
.featured img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.featured-body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.featured-body .eyebrow { color: var(--sky); }
.featured-body h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.featured-body p { font-size: .98rem; }
.featured-body .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured img { min-height: 200px; aspect-ratio: 4 / 3; } }
@media (max-width: 960px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; }
}
@media (max-width: 560px) { .prose .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } .facts { grid-template-columns: 1fr; } }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--navy); color: rgb(255 255 255 / .85); padding: 32px 16px; }
.notfound h1 { color: #fff; font-size: clamp(2rem, 6vw, 3rem); }
.notfound .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--sky); line-height: 1; margin-bottom: 12px; }

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