/* PatiBil public-site visual system — 2026 refactor */
:root {
  --ink: #082f3d;
  --ink-2: #123f4c;
  --teal: #087f76;
  --teal-dark: #05675f;
  --mint: #e2f3ed;
  --lime: #c8e564;
  --paper: #f7faf8;
  --muted: #536a72;
  --line: #d7e3df;
  --shadow: 0 24px 70px rgba(7, 46, 59, .12);
  --shadow-soft: 0 12px 38px rgba(7, 46, 59, .08);
  --radius: 24px;
  --container: min(1240px, calc(100% - 48px));
}

body { overflow-x: hidden; background: var(--paper); }
.container { width: var(--container); }
.section { padding: 104px 0; }
.section-heading { max-width: 790px; margin-bottom: 46px; }
.section-heading h2 { max-width: 760px; margin-bottom: 18px; font-size: clamp(2.25rem, 4.1vw, 4rem); letter-spacing: -.045em; }
.section-heading p { max-width: 690px; color: var(--muted); font-size: 1.08rem; }
.eyebrow { color: var(--teal-dark); letter-spacing: .115em; }

/* Header */
.site-header { z-index: 60; }
.site-header.is-scrolled { background: rgba(248, 251, 249, .94); box-shadow: 0 8px 32px rgba(7, 46, 59, .06); }
.nav-wrap { height: 88px; gap: 28px; }
.brand-logo { width: 182px; max-height: 70px; }
.site-nav { gap: 22px; font-size: .86rem; }
.site-nav > a:not(.button) { position: relative; white-space: nowrap; }
.site-nav > a:not(.button, .portal-link)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--teal); transition: right .2s ease; }
.site-nav > a:not(.button, .portal-link):hover::after { right: 0; }
.portal-link { border-color: rgba(8, 127, 118, .24); background: rgba(255, 255, 255, .82); }

/* Hero */
.hero { min-height: auto; padding: 142px 0 88px; background: radial-gradient(circle at 72% 30%, rgba(8, 127, 118, .12), transparent 30%), linear-gradient(135deg, #fbfdfc 0%, #eef7f3 58%, #dceee8 100%); }
.hero-grid { grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr); gap: clamp(44px, 5vw, 78px); }
.hero-copy h1 { max-width: 690px; font-size: clamp(3rem, 5vw, 5.35rem); line-height: .98; letter-spacing: -.055em; }
.hero-copy > p { max-width: 620px; font-size: 1.17rem; line-height: 1.75; }
.hero-media { display: block; padding: 12px; overflow: visible; border: 1px solid rgba(8, 47, 61, .08); border-radius: 32px; background: rgba(255, 255, 255, .86); box-shadow: 0 34px 90px rgba(7, 46, 59, .18); }
.hero-media img { width: 100%; height: auto !important; min-height: 0 !important; max-height: none !important; object-fit: contain !important; border-radius: 22px; }
.live-card { left: -20px; bottom: 22px; }
.trust-row span { border-color: rgba(8, 47, 61, .08); box-shadow: 0 7px 22px rgba(7, 46, 59, .04); }

/* Metrics and content rhythm */
.metric-strip { border-top: 1px solid rgba(255, 255, 255, .08); background: #082f3d; }
.metrics { padding: 25px 0; }
.metrics div { padding: 7px 34px; }
.metrics strong { color: #fff; font-size: 1.5rem; }
.metrics span { color: #b8ccd1; }
.section--soft { background: #edf5f2; }
.section--ink { background: #082f3d; }

/* Product feature cards */
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature-card { min-height: 0; border-radius: 24px; box-shadow: var(--shadow-soft); }
.feature-card--visual { background: #fff; }
.feature-card__image { width: 100%; height: 270px !important; padding: 14px; object-fit: contain !important; background: linear-gradient(145deg, #f8fbfa, #e9f2ef); }
.feature-card__body { padding: 28px 30px 32px; }
.feature-card--visual .feature-no { top: 292px; right: 28px; }
.feature-card--visual .feature-icon { width: auto; height: auto; display: inline-flex; margin: 0 0 20px; padding: 7px 10px; border-radius: 8px; font-size: .68rem; }
.feature-card h3 { font-size: 1.3rem; }

/* Split visual sections */
.split-grid, .split-grid--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(50px, 6vw, 88px); }
.image-frame { display: block; padding: 14px; overflow: visible; border: 1px solid rgba(8, 47, 61, .08); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: auto !important; min-height: 0 !important; max-height: none !important; object-fit: contain !important; border-radius: 20px; }
.image-label { left: 30px; bottom: 30px; }
.content-block .lead { font-size: 1.08rem; line-height: 1.8; }

/* Steps */
.steps { gap: 16px; }
.steps article { min-height: 310px; padding: 26px 22px; background: rgba(255, 255, 255, .055); }
.step-icon { width: 54px; height: 54px; margin-bottom: 20px; }
.steps article > span { margin-bottom: 26px; }

/* Portal + Android panel */
.app-section { padding: 104px 0; background: linear-gradient(180deg, #edf5f2, #f7faf8); }
.app-panel { grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr); gap: 54px; padding: 52px; border-radius: 32px; box-shadow: 0 30px 85px rgba(7, 46, 59, .13); }
.app-copy h2 { font-size: clamp(2.35rem, 3.5vw, 3.8rem); letter-spacing: -.045em; }
.app-copy p { font-size: 1.06rem; line-height: 1.75; }
.app-visual { padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: #eef5f2; }
.app-visual img { width: 100%; height: auto !important; max-height: none !important; object-fit: contain !important; }

/* Large, clickable product gallery */
.product-gallery-section { color: #fff; background: #072b39; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.gallery-heading .section-heading { margin-bottom: 0; }
.product-gallery-section .section-heading h2 { color: #fff; }
.product-gallery-section .section-heading p { color: #b8ccd2; }
.product-gallery-section .eyebrow { color: #86d7cc; }
.gallery-hint { flex: 0 0 auto; margin: 0 0 8px; color: #b8ccd2; font-size: .84rem; }
.gallery-hint span { display: inline-grid; width: 30px; height: 30px; margin-right: 8px; place-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; color: #fff; }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 24px; }
.product-gallery__item { display: block; margin: 0; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; background: #fff; box-shadow: 0 22px 55px rgba(0, 0, 0, .18); }
.product-gallery__item--featured { grid-column: 1 / -1; }
.product-gallery__media { position: relative; display: block; width: 100%; margin: 0; padding: 0; overflow: hidden; border: 0; background: #f5f8f7; color: inherit; }
.product-gallery__media img { display: block; width: 100%; height: auto !important; max-height: 720px; padding: 0; object-fit: contain !important; background: #fff; transition: transform .35s ease; }
.product-gallery__item:not(.product-gallery__item--featured) .product-gallery__media img { max-height: 620px; }
.product-gallery__media:hover img { transform: scale(1.012); }
.product-gallery__zoom { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 999px; background: rgba(7, 43, 57, .88); color: #fff; font-size: .76rem; font-weight: 800; backdrop-filter: blur(10px); }
.product-gallery__zoom b { font-size: 1rem; }
.product-gallery__item figcaption { position: static; display: flex; gap: 13px; align-items: center; padding: 17px 20px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 800; }
.product-gallery__item figcaption span { color: var(--teal); font-size: .7rem; letter-spacing: .08em; }

/* Gallery lightbox */
.gallery-lightbox { width: min(1240px, calc(100vw - 40px)); max-width: none; height: min(900px, calc(100vh - 40px)); max-height: none; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; background: #061f2a; color: #fff; box-shadow: 0 40px 120px rgba(0, 0, 0, .45); }
.gallery-lightbox::backdrop { background: rgba(2, 15, 20, .88); backdrop-filter: blur(8px); }
.gallery-lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 68px; padding: 0 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.gallery-lightbox__bar strong { overflow: hidden; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.gallery-lightbox__bar button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #fff; font-size: .82rem; font-weight: 800; }
.gallery-lightbox__bar button span { font-size: 1.5rem; line-height: 1; }
.gallery-lightbox__stage { position: relative; display: grid; height: calc(100% - 68px); padding: 20px 74px; place-items: center; }
.gallery-lightbox__stage img { width: 100%; height: 100%; object-fit: contain !important; }
.gallery-lightbox__nav { position: absolute; z-index: 2; top: 50%; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(255, 255, 255, .09); color: #fff; font-size: 2rem; line-height: 1; transform: translateY(-50%); }
.gallery-lightbox__nav--prev { left: 16px; }
.gallery-lightbox__nav--next { right: 16px; }

/* Supporting grids */
.use-case-grid, .safety-grid { gap: 20px; }
.use-case-grid article, .safety-grid article { min-height: 240px; padding: 28px; border-radius: 22px; box-shadow: var(--shadow-soft); }
.reference-card, .reference-note { border-radius: 24px; box-shadow: var(--shadow-soft); }
.post-grid { gap: 24px; }
.post-card { border-radius: 22px; box-shadow: var(--shadow-soft); }
.post-card img { width: 100%; height: 280px !important; padding: 14px; object-fit: contain !important; background: #f4f8f6; }
.post-card div { padding: 27px; }
.faq-list details { border-color: var(--line); }
.contact-card { border: 1px solid rgba(8, 47, 61, .08); }

/* Images are always shown in full; layout adapts to their ratio. */
.hero-media img,
.image-frame img,
.app-visual img,
.product-gallery__media img,
.article-cover img,
.rich-content figure img,
.reference-card img { object-fit: contain !important; object-position: center !important; }

/* Reveal is enhancement only: content stays visible if script fails. */
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .site-nav { gap: 16px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-panel { grid-template-columns: 1fr; }
  .app-visual { max-width: 820px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --container: min(100% - 36px, 760px); }
  .section { padding: 82px 0; }
  .hero { padding: 122px 0 74px; }
  .hero-grid, .split-grid, .split-grid--reverse { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-copy > p { margin-inline: 0; }
  .hero-actions, .trust-row { justify-content: flex-start; }
  .hero-media { max-width: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-panel { padding: 38px; }
  .gallery-heading { display: block; }
  .gallery-hint { margin-top: 20px; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 620px); }
  .section { padding: 68px 0; }
  .nav-wrap { height: 74px; }
  .brand-logo { width: 148px; }
  .hero { padding: 108px 0 58px; }
  .hero-grid { gap: 38px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 13vw, 3.7rem); }
  .hero-copy > p { font-size: 1rem; line-height: 1.68; }
  .hero-actions { width: 100%; gap: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-media { padding: 7px; border-radius: 22px; }
  .hero-media img { border-radius: 16px; }
  .live-card { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
  .metrics div { padding: 14px 10px; }
  .metrics strong { font-size: 1.2rem; }
  .metrics span { font-size: .7rem; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 2.35rem; }
  .feature-grid, .steps, .product-gallery, .use-case-grid, .safety-grid { grid-template-columns: 1fr; }
  .feature-card__image { height: 250px !important; }
  .feature-card--visual .feature-no { top: 272px; }
  .steps article { min-height: 0; }
  .image-frame { padding: 8px; border-radius: 22px; }
  .image-frame img { border-radius: 15px; }
  .app-section { padding: 68px 0; }
  .app-panel { gap: 30px; padding: 24px 20px; border-radius: 24px; }
  .app-copy h2 { font-size: 2.3rem; }
  .app-actions { align-items: stretch; flex-direction: column; }
  .product-gallery { gap: 18px; }
  .product-gallery__item--featured { grid-column: auto; }
  .product-gallery__media img, .product-gallery__item:not(.product-gallery__item--featured) .product-gallery__media img { max-height: none; }
  .product-gallery__item { border-radius: 18px; }
  .product-gallery__zoom { right: 12px; bottom: 12px; }
  .gallery-lightbox { width: calc(100vw - 16px); height: calc(100vh - 16px); border-radius: 16px; }
  .gallery-lightbox__bar { height: 60px; padding: 0 14px; }
  .gallery-lightbox__stage { height: calc(100% - 60px); padding: 12px 48px; }
  .gallery-lightbox__nav { width: 38px; height: 38px; font-size: 1.6rem; }
  .gallery-lightbox__nav--prev { left: 6px; }
  .gallery-lightbox__nav--next { right: 6px; }
  .post-card img { height: auto !important; max-height: none; }
  .contact-card { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .product-gallery__media img { transition: none; }
}

/* Municipality sales and procurement layer */
.municipal-strip { border-bottom: 1px solid #d5e3de; background: #fff; }
.municipal-strip__inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; padding: 24px 0; }
.municipal-strip__inner > div { display: grid; gap: 2px; }
.municipal-strip__inner span { color: var(--teal); font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.municipal-strip__inner strong { font-size: 1rem; }
.municipal-strip__inner > div:last-child { display: flex; flex: 0 0 auto; gap: 20px; }
.municipal-strip__inner a { color: var(--teal-dark); font-size: .83rem; font-weight: 850; }
.sales-hero { padding: 158px 0 92px; background: radial-gradient(circle at 78% 18%, rgba(8, 127, 118, .15), transparent 30%), linear-gradient(135deg, #f9fcfa, #e7f2ee); }
.sales-hero__grid, .reference-hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); gap: 72px; align-items: center; }
.sales-hero h1, .reference-hero h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(3.25rem, 5.5vw, 5.8rem); line-height: .98; letter-spacing: -.06em; }
.sales-hero p, .reference-hero p { max-width: 650px; color: var(--muted); font-size: 1.12rem; line-height: 1.75; }
.sales-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.sales-hero__visual { padding: 12px; border: 1px solid rgba(8, 47, 61, .08); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.sales-hero__visual img { width: 100%; height: auto; border-radius: 20px; object-fit: contain; }
.sales-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.sales-chips span { padding: 7px 11px; border: 1px solid rgba(8, 47, 61, .1); border-radius: 999px; background: rgba(255, 255, 255, .78); color: var(--ink-2); font-size: .73rem; font-weight: 750; }
.institution-grid, .feasibility-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.institution-grid article, .feasibility-grid article { min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); }
.institution-grid article > span, .feasibility-grid article > span { color: var(--teal); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.institution-grid h3, .feasibility-grid h3 { margin: 35px 0 12px; font-size: 1.22rem; }
.institution-grid p, .feasibility-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.delivery-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.delivery-steps article { min-height: 280px; padding: 26px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; background: rgba(255, 255, 255, .045); }
.delivery-steps b { display: grid; width: 42px; height: 42px; margin-bottom: 48px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); }
.delivery-steps span { display: block; margin-bottom: 10px; color: #fff; font-weight: 850; }
.delivery-steps p { color: #b7ccd1; font-size: .88rem; }
.decision-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr); gap: 56px; align-items: center; padding: 48px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-soft); }
.decision-panel h2 { margin-bottom: 15px; font-size: clamp(2.2rem, 3.5vw, 3.5rem); letter-spacing: -.045em; }
.decision-panel p { max-width: 720px; color: var(--muted); }
.decision-panel__actions { display: grid; gap: 12px; }
.section-cta { display: flex; align-items: center; gap: 24px; margin-top: 34px; }

/* Technical page */
.technical-hero .sales-actions { margin-top: 28px; }
.technical-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 76px; align-items: start; }
.technical-nav { position: sticky; top: 118px; display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.technical-nav strong { padding: 19px 20px; border-bottom: 1px solid var(--line); }
.technical-nav a { padding: 11px 20px; color: var(--muted); font-size: .84rem; font-weight: 750; }
.technical-nav a:hover { color: var(--teal); background: #f2f8f5; }
.technical-nav small { margin-top: 8px; padding: 18px 20px; background: var(--mint); color: var(--muted); line-height: 1.5; }
.technical-content { min-width: 0; }
.spec-section { padding: 0 0 80px; scroll-margin-top: 120px; }
.spec-section + .spec-section { padding-top: 72px; border-top: 1px solid var(--line); }
.spec-section h2 { max-width: 760px; margin-bottom: 34px; font-size: clamp(2.25rem, 3.6vw, 3.65rem); letter-spacing: -.045em; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.spec-grid article { display: flex; min-height: 230px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.spec-grid h3 { margin-bottom: 10px; font-size: 1.15rem; }
.spec-grid p { color: var(--muted); font-size: .9rem; }
.spec-grid em { width: fit-content; margin-top: auto; padding: 6px 9px; border-radius: 7px; background: var(--mint); color: var(--teal-dark); font-size: .7rem; font-style: normal; font-weight: 850; }
.spec-table { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.spec-table > div { display: grid; grid-template-columns: minmax(190px, .45fr) 1fr; gap: 25px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.spec-table > div:last-child { border-bottom: 0; }
.spec-table strong { font-size: .9rem; }
.spec-table span { color: var(--muted); font-size: .9rem; }
.contact-section--compact { padding-top: 80px; }

/* Reference detail */
.reference-hero { padding: 158px 0 90px; background: linear-gradient(135deg, #f9fcfa, #e5f1ed); }
.reference-hero__grid { grid-template-columns: minmax(0, 1fr) 330px; }
.reference-logo-card { display: grid; padding: 28px; place-items: center; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.reference-logo-card img { width: 220px; height: 220px; object-fit: contain; }
.reference-logo-card span { margin-top: 12px; color: var(--muted); font-size: .72rem; }
.reference-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); }
.reference-facts article { min-height: 150px; padding: 25px; border-right: 1px solid var(--line); }
.reference-facts article:last-child { border-right: 0; }
.reference-facts span, .reference-facts strong { display: block; }
.reference-facts span { margin-bottom: 28px; color: var(--teal); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.case-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-gallery figure { margin: 0; overflow: hidden; border-radius: 22px; background: #fff; }
.case-gallery button { display: block; width: 100%; padding: 0; border: 0; background: #fff; }
.case-gallery img { width: 100%; height: 390px; padding: 10px; object-fit: contain; }
.case-gallery figcaption { padding: 16px 18px; color: var(--ink); font-size: .84rem; font-weight: 800; }
.corporate-intro { margin-bottom: 52px; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-soft); }
.corporate-intro h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
.corporate-intro p { color: var(--muted); line-height: 1.8; }

/* Institutional lead form and admin metadata */
.contact-form select { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fbfdfc; color: var(--ink); }
.contact-form select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11, 140, 130, .1); }
.contact-form--institutional { align-content: start; }
.contact-docs { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.contact-docs a { color: var(--teal-dark); font-size: .8rem; font-weight: 850; }
.form-note a { color: var(--teal-dark); text-decoration: underline; }
.inquiry-kind { display: inline-block; margin-left: 8px; padding: 5px 9px; border-radius: 999px; background: #e6f6f0; color: #08736c; font-size: .7rem; font-weight: 850; }
.inquiry-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.inquiry-meta span { min-width: 150px; padding: 10px 12px; border-radius: 10px; background: #f2f7f5; font-size: .8rem; }
.inquiry-meta small { display: block; color: var(--muted); font-size: .65rem; text-transform: uppercase; }
.footer-grid { grid-template-columns: 1.65fr 1fr .8fr 1fr; gap: 46px; }

/* Standalone printable brochure */
.brochure-body { margin: 0; background: #dfe9e5; color: #082f3d; font-family: Inter, Arial, sans-serif; }
.brochure-body * { box-sizing: border-box; }
.brochure { width: 210mm; margin: 20px auto; background: #fff; box-shadow: 0 20px 70px rgba(7, 46, 59, .18); }
.brochure-toolbar { position: sticky; top: 14px; z-index: 20; display: flex; width: min(210mm, calc(100% - 28px)); justify-content: space-between; align-items: center; gap: 16px; margin: 14px auto; padding: 12px 16px; border-radius: 14px; background: rgba(7, 43, 57, .94); box-shadow: 0 12px 35px rgba(7, 46, 59, .2); }
.brochure-toolbar a, .brochure-toolbar button { color: #fff; font: inherit; font-size: .84rem; font-weight: 800; }
.brochure-toolbar button { padding: 10px 14px; border: 0; border-radius: 9px; background: #0b8c82; cursor: pointer; }
.brochure-cover, .brochure-page { position: relative; min-height: 297mm; padding: 20mm; overflow: hidden; page-break-after: always; }
.brochure-cover { display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 80% 12%, rgba(8, 127, 118, .18), transparent 28%), #f5faf8; }
.brochure-cover > img:first-child { width: 55mm; }
.brochure-cover span { color: #087f76; font-size: 9pt; font-weight: 900; letter-spacing: .12em; }
.brochure-cover h1 { max-width: 160mm; margin: 7mm 0; font-size: 35pt; line-height: 1; letter-spacing: -.05em; }
.brochure-cover p { max-width: 145mm; color: #536a72; font-size: 12pt; line-height: 1.7; }
.brochure-cover__visual { width: 100%; max-height: 120mm; object-fit: contain; border-radius: 6mm; background: #fff; box-shadow: 0 8mm 20mm rgba(7, 46, 59, .14); }
.brochure-page h2 { margin: 4mm 0 10mm; font-size: 27pt; letter-spacing: -.04em; }
.brochure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; }
.brochure-grid article { min-height: 52mm; padding: 7mm; border: 1px solid #d7e3df; border-radius: 5mm; }
.brochure-grid b { color: #087f76; }
.brochure-grid h3 { margin: 10mm 0 3mm; }
.brochure-grid p { color: #536a72; font-size: 10pt; }
.brochure-wide { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10mm; align-items: center; margin-top: 12mm; padding: 7mm; border-radius: 5mm; background: #edf5f2; }
.brochure-wide img { width: 100%; object-fit: contain; }
.brochure-wide h2 { font-size: 21pt; }
.brochure-wide p { color: #536a72; font-size: 10pt; }
.brochure-page--dark { display: flex; flex-direction: column; background: #072b39; color: #fff; }
.brochure-page--dark .eyebrow { color: #86d7cc; }
.brochure-process { display: grid; gap: 4mm; margin-top: 12mm; }
.brochure-process > div { display: grid; grid-template-columns: 12mm 50mm 1fr; gap: 5mm; align-items: center; padding: 6mm; border: 1px solid rgba(255, 255, 255, .14); border-radius: 4mm; }
.brochure-process b { display: grid; width: 10mm; height: 10mm; place-items: center; border-radius: 50%; background: #c8e564; color: #082f3d; }
.brochure-process span { color: #b8ccd2; font-size: 10pt; }
.brochure-contact { display: flex; justify-content: space-between; align-items: end; margin-top: auto; padding-top: 20mm; }
.brochure-contact h2 { max-width: 125mm; font-size: 25pt; }
.brochure-contact p { color: #b8ccd2; }
.brochure-contact img { width: 42mm; padding: 3mm; border-radius: 3mm; background: #fff; }
.brochure-page--dark > small { margin-top: 15mm; color: #91abb1; font-size: 8pt; line-height: 1.5; }

@media (max-width: 1100px) {
  .institution-grid, .feasibility-grid, .delivery-steps, .reference-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-hero__grid { grid-template-columns: 1fr 1fr; }
  .reference-facts article:nth-child(2) { border-right: 0; }
  .reference-facts article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .municipal-strip__inner, .gallery-heading { align-items: flex-start; flex-direction: column; }
  .sales-hero__grid, .reference-hero__grid, .technical-layout, .decision-panel { grid-template-columns: 1fr; }
  .technical-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .technical-nav strong, .technical-nav small { grid-column: 1 / -1; }
  .case-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .municipal-strip__inner { padding: 20px 0; }
  .municipal-strip__inner > div:last-child { align-items: flex-start; flex-direction: column; gap: 9px; }
  .sales-hero, .reference-hero { padding: 112px 0 66px; }
  .sales-hero h1, .reference-hero h1 { font-size: 2.75rem; }
  .sales-actions { align-items: stretch; flex-direction: column; }
  .sales-actions .button { width: 100%; }
  .institution-grid, .feasibility-grid, .delivery-steps, .reference-facts, .spec-grid, .case-gallery { grid-template-columns: 1fr; }
  .institution-grid article, .feasibility-grid article, .delivery-steps article { min-height: 0; }
  .delivery-steps b { margin-bottom: 28px; }
  .reference-facts article { border-right: 0; border-bottom: 1px solid var(--line); }
  .reference-facts article:last-child { border-bottom: 0; }
  .technical-nav { grid-template-columns: 1fr; }
  .technical-nav strong, .technical-nav small { grid-column: auto; }
  .spec-table > div { grid-template-columns: 1fr; gap: 7px; }
  .decision-panel { gap: 30px; padding: 26px 20px; }
  .section-cta { align-items: stretch; flex-direction: column; }
  .case-gallery img { height: auto; max-height: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media print {
  @page { size: A4; margin: 0; }
  .brochure-body { background: #fff; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .brochure { width: auto; margin: 0; box-shadow: none; }
  .brochure-toolbar { display: none; }
  .brochure-cover, .brochure-page { min-height: 297mm; }
}
