﻿/* AX-PRO shared design system â€” black, white and four existing blues. */
:root {
  color-scheme: light;
  --black: #000000;
  --white: #ffffff;
  --blue: #1768d2;
  --blue-deep: #0c4ca7;
  --blue-sky: #68b7ff;
  --blue-pale: #85c9ff;
  --page-width: 1240px;
  --font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--black); background: var(--white); font-family: var(--font-family); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-shell { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-160%); color: var(--white); background: var(--black); }
.skip-link:focus { transform: translateY(0); }
.text-caption { display: block; font-size: 13px; line-height: 1.5; letter-spacing: .09em; }
.text-small { font-size: 15px; line-height: 1.65; }
.text-body { font-size: 18px; line-height: 1.7; }
.text-label { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.heading-display { margin: 0; font-size: clamp(48px, 6.6vw, 88px); line-height: .98; font-weight: 700; letter-spacing: -.065em; }
.heading-section { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -.055em; }
.heading-card { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
.text-blue { color: var(--blue); }
.eyebrow { color: var(--blue); margin: 0 0 24px; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; height: 92px; background: var(--white); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; width: 43px; height: 43px; place-items: center; flex: 0 0 43px; background: transparent; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .03em; }
.brand-name .text-caption { margin-top: 2px; font-size: 9px; letter-spacing: .22em; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.nav-link { font-size: 15px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.nav-link:hover, .nav-link:focus-visible, .footer-link:hover { color: var(--blue); }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; border: 1px solid var(--black); background: transparent; color: var(--black); text-decoration: none; font-size: 15px; font-weight: 700; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue-sky); outline-offset: 3px; }
.button-primary { border-color: var(--blue); color: var(--white); background: var(--blue); }
.button-primary:hover { border-color: var(--blue-deep); background: var(--blue-deep); }
.button-dark { border-color: var(--black); color: var(--white); background: var(--black); }
.button-dark:hover { border-color: var(--blue-deep); background: var(--blue-deep); }
.button-light { border-color: var(--white); color: var(--black); background: var(--white); }
.button-light:hover { border-color: var(--blue-pale); background: var(--blue-pale); }
.button-nav { min-height: 46px; padding-inline: 18px; }
.menu-toggle { display: none; }

.hero { padding: 146px 0 72px; position: relative; overflow: hidden; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 48px; }
.hero-copy { position: relative; z-index: 1; max-width: 650px; padding-bottom: 20px;}
.hero-copy .heading-display { max-width: 680px; }
.hero-copy .heading-display span { color: var(--blue); }
.hero-intro { max-width: 500px; margin: 28px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; min-height: 438px; }
.hero-media img { width: 100%; height: 438px; object-fit: cover; }
.scroll-next { position: absolute; right: max(32px, calc((100vw - var(--page-width))/2)); bottom: 28px; display: inline-flex; gap: 10px; align-items: center; color: var(--blue); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .11em; }
.scroll-next span:last-child { font-size: 22px; }

.section { padding: 112px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 38px; margin-bottom: 48px; }
.section-heading > :first-child { max-width: 680px; }
.section-heading .text-body { max-width: 390px; margin: 0; }
.services-section { background: var(--blue); color: var(--white); }
.services-section .eyebrow { color: var(--blue-pale); }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--white); }
.service-card { min-height: 282px; padding: 28px 23px; display: flex; flex-direction: column; border-right: 1px solid var(--white); }
.service-card:last-child { border-right: 0; }
.service-icon { width: 48px; height: 48px; margin-bottom: 28px; color: var(--white); }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.service-card .heading-card { margin-bottom: 12px; }
.service-card p { margin: 0 0 20px; }
.service-card .text-small { color: var(--blue-pale); }
.text-link { margin-top: auto; display: inline-flex; gap: 10px; align-items: center; width: fit-content; color: inherit; font-size: 15px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--blue-pale); }

.feature-section { padding: 0; background: var(--white); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.feature-media { min-height: 560px; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: 88px clamp(40px, 8vw, 120px); align-self: center; }
.feature-copy .heading-section { margin-bottom: 24px; }
.feature-copy > .text-body { margin: 0 0 32px; }
.benefit-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--blue-pale); }
.benefit-list li { padding: 17px 0; display: grid; grid-template-columns: 36px 1fr; gap: 12px; border-bottom: 1px solid var(--blue-pale); font-size: 17px; line-height: 1.5; }
.benefit-list strong { color: var(--blue); }

.solutions-section { background: var(--blue-pale); }
.solutions-top { margin-bottom: 45px; }
.solutions-tabs { display: flex; gap: 10px; margin-top: 28px; }
.solution-tab { min-width: 138px; min-height: 54px; padding: 0 17px; display: flex; justify-content: space-between; align-items: center; gap: 22px; border: 1px solid var(--blue); color: var(--black); background: transparent; font-weight: 700; cursor: pointer; transition: color .2s ease, background .2s ease; }
.solution-tab:hover, .solution-tab[aria-selected="true"] { color: var(--white); background: var(--blue); }
.solution-tab span:last-child { font-size: 20px; line-height: 1; }
.solution-content { display: grid; grid-template-columns: 1fr auto; gap: 32px; padding: 34px 0; border-top: 1px solid var(--blue); border-bottom: 1px solid var(--blue); }
.solution-kicker { margin: 0 0 16px; color: var(--blue-deep); }
.solution-content .heading-card { font-size: clamp(29px, 4vw, 44px); }
.solution-content .text-body { max-width: 720px; margin: 16px 0 24px; }
.solution-controls { align-self: end; display: flex; gap: 9px; }
.arrow-button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--blue); color: var(--black); background: transparent; font-size: 22px; cursor: pointer; transition: color .2s ease, background .2s ease; }
.arrow-button:hover { color: var(--white); background: var(--blue); }

.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--blue); }
.process-card { min-height: 270px; padding: 28px 26px; position: relative; border-right: 1px solid var(--blue); }
.process-card:last-child { border-right: 0; }
.process-track { height: 22px; margin: 0 0 24px; position: relative; }
.process-track::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 2px; background: var(--blue-pale); }
.process-track::after { content: ""; position: absolute; top: 6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.process-track span { position: absolute; z-index: 1; top: 10px; left: 0; height: 2px; width: 0; background: var(--blue-deep); transition: width .35s ease; }
.process-card:hover .process-track span, .process-card:focus-within .process-track span { width: 100%; }
.process-number { margin: 0 0 12px; color: var(--blue); }
.process-card .heading-card { margin-bottom: 12px; }
.process-card p:last-child { margin-bottom: 0; }

.calculator-section { color: var(--white); background: var(--black); }
.calculator-section .eyebrow { color: var(--blue-sky); }
.calculator-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: start; }
.calculator-copy .heading-section { margin-bottom: 20px; }
.calculator-copy .text-body { color: var(--blue-pale); }
.calculator-form { padding: 32px; border: 1px solid var(--blue-sky); }
.range-field { margin-bottom: 28px; }
.range-label { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 12px; font-size: 16px; font-weight: 700; }
.range-value { color: var(--blue-sky); }
input[type="range"] { width: 100%; height: 6px; display: block; appearance: none; background: var(--blue-deep); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { width: 20px; height: 20px; appearance: none; border: 0; border-radius: 50%; background: var(--blue-sky); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--blue-sky); }
.calculator-result { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--blue); }
.calculator-result strong { display: block; margin-top: 5px; color: var(--blue-sky); font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.calculator-result p { margin: 14px 0 0; color: var(--blue-pale); }

.contact-section { background: var(--blue); color: var(--white); }
.contact-section .eyebrow { color: var(--blue-pale); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; }
.contact-copy .heading-section { margin-bottom: 20px; }
.contact-copy > .text-body { color: var(--blue-pale); }
.contact-details { margin-top: 34px; display: grid; gap: 12px; }
.contact-details a { width: fit-content; font-size: 18px; font-weight: 700; text-decoration: none; }
.contact-details a:hover { color: var(--blue-pale); }
.contact-form { padding: 32px; color: var(--black); background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-size: 15px; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--blue-pale); border-radius: 0; background: var(--white); color: var(--black); }
.form-field textarea { min-height: 132px; resize: vertical; }
.form-consent { display: flex; align-items: start; gap: 10px; margin: 20px 0; font-size: 14px; line-height: 1.5; }
.form-consent input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--blue); }
.form-consent a { color: var(--blue-deep); }
.form-status { min-height: 24px; margin: 14px 0 0; font-size: 15px; }
.form-status[data-state="error"] { color: var(--blue-deep); }
.form-status[data-state="success"] { color: var(--blue); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { color: var(--white); background: var(--black); }
.footer-main { padding-block: 66px 48px; display: grid; grid-template-columns: 1.15fr 1fr 1.35fr .8fr; gap: 44px; }
.brand-footer .brand-mark { background: transparent; }
.footer-brand-block > .text-small { max-width: 270px; margin-top: 22px; color: var(--blue-pale); }
.footer-column { display: flex; flex-direction: column; align-items: start; gap: 11px; }
.footer-column .text-label { margin-bottom: 7px; color: var(--blue-sky); }
.footer-column p { margin: 0; color: var(--blue-pale); }
.footer-link { color: var(--white); font-size: 15px; line-height: 1.5; text-decoration: none; transition: color .2s ease; }
.footer-bottom { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--blue-deep); }
.footer-bottom p { margin: 0; color: var(--blue-pale); }
.footer-bottom a { color: var(--blue-sky); text-decoration: none; }

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { border-bottom: 1px solid var(--white); }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-card:last-child { border-bottom: 0; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 30px; }
  .hero-media, .hero-media img { min-height: 360px; height: 360px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .page-shell { width: min(var(--page-width), calc(100% - 40px)); }
  .text-body { font-size: 17px; }
  .heading-display { font-size: clamp(46px, 12vw, 68px); }
  .heading-section { font-size: clamp(36px, 9vw, 52px); }
  .site-header { height: 76px; }
  .menu-toggle { width: 46px; height: 46px; display: grid; align-content: center; justify-items: center; gap: 6px; border: 1px solid var(--blue); background: var(--white); cursor: pointer; }
  .menu-toggle span { width: 19px; height: 2px; background: var(--black); }
  .main-nav { position: absolute; inset: 76px 0 auto; display: none; padding: 18px 20px 24px; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--blue); }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 15px 0; border-bottom: 1px solid var(--blue-pale); }
  .button-nav { margin-top: 16px; }
  .hero { min-height: auto; padding: 116px 0 84px; }
  .hero-grid, .feature-grid, .calculator-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .hero-media, .hero-media img { min-height: 300px; height: 300px; }
  .hero-intro { margin-block: 20px 24px; }
  .scroll-next { right: 20px; bottom: 25px; }
  .section { padding: 78px 0; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading .text-body { margin-top: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(2n) { min-height: 244px; border-right: 0; border-bottom: 1px solid var(--white); }
  .service-card:last-child { border-bottom: 0; }
  .feature-grid { min-height: auto; }
  .feature-media { min-height: 330px; height: 330px; }
  .feature-copy { padding: 54px 24px 64px; }
  .solutions-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .solution-tab { min-width: 0; min-height: 50px; padding-inline: 10px; gap: 6px; }
  .solution-content { grid-template-columns: 1fr; gap: 24px; }
  .solution-controls { justify-self: end; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-card { min-height: 245px; border-bottom: 1px solid var(--blue); }
  .process-card:nth-child(2n) { border-right: 0; }
  .process-card:nth-last-child(-n+2) { border-bottom: 0; }
  .calculator-grid, .contact-grid { gap: 34px; }
  .calculator-form, .contact-form { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 22px; padding-block: 48px 36px; }
}
@media (max-width: 430px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card, .process-card:nth-child(2n), .process-card:nth-last-child(-n+2) { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--blue); }
  .process-card:last-child { border-bottom: 0; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { padding-block: 16px; align-items: start; flex-direction: column; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Shared layout recipes for the homepage and future subpages. */
.section-light { color: var(--black); background: var(--white); }
.section-blue { color: var(--white); background: var(--blue); }
.section-dark { color: var(--white); background: var(--black); }
.section-deep-blue { color: var(--white); background: var(--blue-deep); }
.content-narrow { width: min(820px, 100%); margin-inline: auto; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(32px, 7vw, 96px); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.surface-card { min-width: 0; padding: 28px; border: 1px solid var(--blue-pale); background: var(--white); }

/* Large image hero: dark blue overlay keeps text legible over photography. */
.hero { padding: 144px 0 84px; display: flex; align-items: end; color: var(--white); background: var(--blue); }
.hero::after { content: none; }
.hero-grid { position: relative; z-index: 2; grid-template-columns: 1fr; align-items: end; gap: 0; min-height: 560px; }
.hero-copy { z-index: 2; max-width: 760px; }
.hero-copy .heading-display span { color: var(--blue-sky); }
.hero-intro { color: var(--white); }
.hero-media { position: absolute; z-index: 0; inset: 0; min-width: 0; min-height: 0; height: auto; overflow: hidden; background: var(--blue-deep); border-bottom: #85c9ff 1px solid;}
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.scroll-next { z-index: 2; color: var(--white); }

/* Service cards use one repeatable three-column layout, centered last row. */
.services-section { color: var(--black); background: var(--white); }
.service-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; border: 0; }
.service-card { grid-column: span 2; border: 1px solid var(--blue-pale); background: var(--white); }
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:nth-child(5) { grid-column: 4 / span 2; }
.service-icon { width: 50px; height: 50px; padding: 10px; border-radius: 50%; color: var(--blue); background: var(--blue-pale); }
.service-card .text-small { color: var(--black); }
.service-card .text-link { color: var(--blue); }
.service-card .text-link:hover { color: var(--blue-deep); }

/* Text left, image right: reusable split section for company and service pages. */
.feature-section { background: var(--blue-pale); }
.feature-grid { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; padding-block: 84px; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.feature-copy { grid-column: 1; grid-row: 1; padding: 0; }
.feature-media { grid-column: 2; grid-row: 1; min-height: 440px; }

/* Dark tab panel shared by investment selectors and other interactive sections. */
.solutions-section { color: var(--white); background: var(--blue-deep); }
.solutions-section .heading-section, .solutions-section .text-body { color: var(--white); }
.solutions-tabs { width: fit-content; gap: 28px; border-bottom: 1px solid var(--blue-sky); }
.solution-tab { min-width: 76px; padding: 0 0 12px; justify-content: center; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--white); }
.solution-tab:hover, .solution-tab[aria-selected="true"] { border-bottom-color: var(--blue-sky); color: var(--blue-sky); background: transparent; }
.solution-content { min-height: 230px; margin-top: 28px; padding: 34px; border: 0; background: var(--blue); }
.solution-kicker { color: var(--blue-sky); }
.solutions-section .text-link:hover { color: var(--blue-sky); }
.arrow-button { border-color: var(--white); color: var(--blue); background: var(--white); }
.arrow-button:hover { transform: translateY(-2px); color: var(--white); background: var(--blue); }

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-card { grid-column: span 2; }
  .service-card:nth-child(4) { grid-column: auto; }
  .service-card:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 760px) {
  .hero { padding: 116px 0 84px; }
  .hero-grid { min-height: 500px; }
  .hero::after { content: none; }
  .hero-media { inset: 0; }
  .hero-media, .hero-media img { min-height: 0; height: 100%; }
  .feature-grid { width: min(var(--page-width), calc(100% - 40px)); padding-block: 56px; grid-template-columns: 1fr; gap: 32px; }
  .feature-copy, .feature-media { grid-column: 1; }
  .feature-copy { grid-row: 1; }
  .feature-media { grid-row: 2; min-height: 320px; height: 320px; }
  .content-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; }
  .service-card, .service-card:nth-child(2n) { border: 1px solid var(--blue-pale); }
}
@media (max-width: 430px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* Hero reference layout (Zrzut ekranu 2026-10-08 210155). */
.hero {
  margin-top: 82px;
  padding: 88px 0 28px;
  display: block;
  overflow: hidden;
  color: var(--white);
  background: #122943;
}
.hero-grid {
  position: relative;
  display: block;
  width: min(1240px, calc(100% - 100px));
  margin-inline: auto;
  min-height: min(660px, calc(90vh - 100px));
}
.hero-copy {
  position: absolute;
  z-index: 2;
  top: -88px;
  left: 40px;
  width: min(670px, 72%);
  max-width: none;
  padding: 0 42px 15px;
  color: var(--white);
  background: linear-gradient(110deg, #102644ee, #102644b8 75%, transparent);
}
.hero-copy .heading-display { max-width: 570px; }
.hero-copy .heading-display span { color: var(--blue-pale); }
.hero-intro { max-width: 535px; margin: 60px 0 8px; color: var(--white); }
.hero-actions { gap: 15px; }
.hero-actions .button { min-height: 58px; }
.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: #122943;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hero-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #09203950, #12294330 60%, #12294315), linear-gradient(0deg, #09182cc9, transparent 72%);
  pointer-events: none;
}
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 25px; }
.hero-proof p { margin: 0; color: var(--blue-pale); }
.hero-proof strong { color: var(--white); }
.proof-avatars { display: flex; align-items: center; padding-left: 3px; }
.proof-avatars i {
  width: 30px;
  height: 30px;
  margin-left: -3px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--blue-deep);
  background: var(--blue-pale);
  font-style: normal;
  font-weight: 700;
}
.proof-avatars i:last-child { color: var(--white); background: var(--blue); }
.vertical-note {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 21px;
  color: var(--white);
  writing-mode: vertical-rl;
}
.hero-bottom {
  width: min(1240px, calc(100% - 100px));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--blue-pale);
  padding-top: 20px;
}
.hero-bottom .scroll-next { position: static; margin-left: auto; color: var(--white); }
.hero-copy .hero-actions .button:not(.button-primary) { border-color: var(--white); color: var(--white); }

@media (max-width: 760px) {
  .hero { margin-top: 76px; padding: 40px 0 112px; }
  .hero-grid { width: calc(100% - 40px); min-height: 560px; }
  .hero-copy { top: -40px; left: 0; width: min(100%, 560px); padding: 0 20px; }
  .hero-copy .heading-display { max-width: 100%; }
  .hero-intro { margin: 28px 0 16px; }
  .hero-media { inset: 0; }
  .hero-bottom { bottom: 20px; }
  .hero-bottom > .text-caption, .hero-bottom-right { display: none; }
}

/* Match the remaining homepage sections to the local layout references. */
.services-section { background: rgba(0, 0, 0, .025); }
.service-card {
  height: 256px;
  min-height: 256px;
  padding: 40px 18px 12px;
  border-color: rgba(0, 0, 0, .04);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .045);
}
.service-icon { margin-bottom: 22px; background: rgba(104, 183, 255, .2); }
.service-card .heading-card { margin-bottom: 8px; }
.service-card p { max-width: 260px; margin-bottom: 8px; line-height: 1.5; }

.feature-section { background: rgba(133, 201, 255, .18); }
.feature-copy { padding-left: 36px; }

.solutions-section { background: #122943; }
.solution-content { background: rgba(0, 0, 0, .12); }

.process-grid { border-color: rgba(133, 201, 255, .72); }
.process-card {
  display: flex;
  flex-direction: column;
  border-color: rgba(133, 201, 255, .72);
}
.process-number { order: -1; margin-bottom: 10px; }
.process-track { margin-bottom: 12px; }
.process-track::before { background: rgba(133, 201, 255, .72); }
@media (min-width: 761px) {
  .process-card { min-height: 205px; padding: 24px; }
}

.calculator-section { background: #122943; }
.calculator-form {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .1);
}
.calculator-section input[type="range"] { background: rgba(255, 255, 255, .16); }

@media (max-width: 760px) {
  .feature-copy { padding-left: 0; }
}

/* White footer that continues the homepage's light header style. */
.site-footer {
  color: var(--black);
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, .1);
}
.brand-footer .brand-mark { background: transparent; }
.footer-brand-block > .text-small,
.footer-column p,
.footer-bottom p { color: var(--black); }
.footer-column .text-label { color: var(--blue); }
.footer-link { color: var(--black); }
.footer-bottom { border-top-color: rgba(0, 0, 0, .12); }
.footer-bottom a { color: var(--blue); }

/* Two-column comfort selector from the local version-01 reference. */
.solutions-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: var(--white);
  background: #142f4e;
}
.solutions-section::before {
  position: absolute;
  right: -25px;
  bottom: -220px;
  color: rgba(255, 255, 255, .04);
  content: "AX";
  font: 800 470px/.8 Arial, Helvetica, sans-serif;
  letter-spacing: -.1em;
  pointer-events: none;
}
.solutions-layout {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: center;
  gap: 85px;
}
.solutions-copy .heading-section {
  max-width: 400px;
  font-size: clamp(40px, 3.2vw, 52px);
  line-height: 1.07;
}
.solutions-copy > p { max-width: 340px; margin: 20px 0 25px; color: rgba(255, 255, 255, .84); }
.solutions-intro-link { display: inline-flex; gap: 10px; align-items: center; color: var(--white); font-size: 15px; font-weight: 700; text-decoration: none; }
.solutions-intro-link span { color: var(--blue-sky); }
.solution-card { position: relative; min-width: 0; padding: 28px 32px 20px; background: #18314d; box-shadow: 0 25px 70px rgba(6, 30, 54, .12); }
.solutions-section .solutions-tabs { width: auto; margin: 0; display: flex; gap: 25px; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.solutions-section .solution-tab {
  min-width: 0;
  min-height: 0;
  margin: 0 0 -1px;
  padding: 0 0 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, .62);
  background: transparent;
  font-size: 15px;
}
.solutions-section .solution-tab:hover,
.solutions-section .solution-tab[aria-selected="true"] { border-bottom-color: var(--blue-sky); color: var(--blue-sky); background: transparent; }
.solutions-section .solution-content {
  position: static;
  min-height: 230px;
  margin: 0;
  padding: 32px 34px 25px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 17px;
  border: 0;
  background: transparent;
}
.solution-icon { padding-top: 1px; color: var(--blue-sky); font-size: 31px; line-height: 1.2; }
.solution-details .solution-kicker { margin: 3px 0 10px; color: var(--blue-sky); }
.solution-details .heading-card { margin: 0 0 8px; font-size: clamp(21px, 2vw, 25px); line-height: 1.25; }
.solution-details .solution-description { max-width: 415px; margin: 0 0 16px; color: rgba(255, 255, 255, .62); }
.solutions-section .solution-link { min-height: 46px; padding-inline: 15px; border-color: var(--blue-sky); color: #102644; background: var(--blue-sky); }
.solutions-section .solution-link:hover { border-color: var(--blue); color: var(--white); background: var(--blue); }
.solution-controls { display: contents; }
.solutions-section .solution-controls .arrow-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #d7e2ee;
  color: var(--blue);
  background: var(--white);
  transform: translateY(-50%);
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.solutions-section [data-tab-prev] { left: 9px; }
.solutions-section [data-tab-next] { right: 9px; }
.solutions-section .solution-controls .arrow-button:hover { border-color: var(--blue); color: var(--white); background: var(--blue); transform: translateY(calc(-50% - 3px)); }
.solution-progress { display: flex; gap: 5px; }
.solution-progress span { height: 3px; flex: 1; background: rgba(255, 255, 255, .12); }
.solution-progress span.is-active { background: var(--blue-sky); }
@media (max-width: 900px) {
  .solutions-section { padding: 78px 0; }
  .solutions-layout { width: min(720px, calc(100% - 40px)); grid-template-columns: 1fr; gap: 38px; }
  .solutions-copy .heading-section { max-width: 520px; }
}
@media (max-width: 600px) {
  .solution-card { padding: 22px 18px 16px; }
  .solutions-section .solutions-tabs { gap: 20px; }
  .solutions-section .solution-content { min-height: 250px; padding: 30px 28px 25px; grid-template-columns: 32px 1fr; gap: 12px; }
  .solutions-section .solution-controls .arrow-button { width: 38px; height: 38px; }
  .solutions-section [data-tab-prev] { left: 6px; }
  .solutions-section [data-tab-next] { right: 6px; }
}

/* Service cards and the feature section follow the local reference layout. */
.services-section { padding: 24px 0 84px; background: rgba(0, 0, 0, .035); }
.services-section .page-shell { width: min(1160px, calc(100% - 64px)); }
.services-section .section-heading {
  max-width: 930px;
  margin: 0 auto 42px;
  align-items: center;
}
.services-section .section-heading .heading-section { font-size: clamp(37px, 4.2vw, 54px); line-height: 1.07; }
.services-section .section-heading .text-body { max-width: 350px; font-size: 15px; line-height: 1.8; }
.services-section .service-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.services-section .service-card {
  position: relative;
  height: 255px;
  min-height: 255px;
  padding: 38px 18px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 8px 25px rgba(25, 51, 75, .05);
}
.service-number { position: absolute; top: 17px; right: 18px; color: rgba(16, 38, 68, .58); font-size: 13px; }
.services-section .service-icon { margin-bottom: 24px; }
.services-section .service-card .heading-card { margin-bottom: 12px; font-size: 20px; line-height: 1.25; }
.services-section .service-card p { max-width: 260px; margin-bottom: 12px; font-size: 15px; line-height: 1.5; }
.services-section .service-card .text-link { margin-top: auto; font-size: 18px; }
.services-section .service-card .text-link:hover { transform: translateX(3px); }

.feature-section { background: rgba(133, 201, 255, .18); }
.feature-grid {
  width: min(1160px, calc(100% - 64px));
  min-height: 560px;
  margin-inline: auto;
  padding-block: 84px;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 7vw, 90px);
}
.feature-copy { padding: 0 0 0 48px; }
.feature-copy .heading-section { margin-bottom: 24px; font-size: clamp(37px, 4.2vw, 54px); line-height: 1.07; }
.feature-copy > .text-body { max-width: 560px; margin: 0 0 28px; font-size: 15px; line-height: 1.7; }
.feature-media { position: relative; min-height: 440px; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-stamp {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--white);
  background: var(--blue);
}
.feature-stamp span { font-size: 32px; font-weight: 800; letter-spacing: -.08em; }
.feature-stamp small { font-size: 9px; line-height: 1.15; font-weight: 700; }
.feature-copy .benefit-list { border-color: rgba(133, 201, 255, .72); }
.feature-copy .benefit-list li { grid-template-columns: 36px 1fr 24px; align-items: center; border-color: rgba(133, 201, 255, .72); font-size: 15px; }
.feature-copy .benefit-list strong { font-size: 15px; }
.feature-copy .benefit-list b { display: block; margin-bottom: 3px; font-size: 17px; }
.feature-copy .benefit-list small { display: block; color: rgba(0, 0, 0, .62); font-size: 15px; line-height: 1.5; }
.benefit-arrow { justify-self: end; color: var(--blue); font-size: 18px; }

@media (max-width: 1000px) {
  .services-section .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services-section .service-card { grid-column: span 2; }
  .services-section .service-card:nth-child(4) { grid-column: auto; }
  .services-section .service-card:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-copy { grid-column: 1; grid-row: 1; padding: 0; }
  .feature-media { grid-column: 1; grid-row: 2; min-height: 360px; height: 360px; }
}
@media (max-width: 760px) {
  .services-section { padding: 56px 0; }
  .services-section .page-shell,
  .feature-grid { width: min(var(--page-width), calc(100% - 40px)); }
  .services-section .section-heading { display: block; margin-bottom: 32px; }
  .services-section .section-heading .text-body { margin: 18px 0 0; }
  .services-section .service-grid { grid-template-columns: 1fr; }
  .services-section .service-card,
  .services-section .service-card:nth-child(4),
  .services-section .service-card:nth-child(5) { grid-column: auto; height: auto; min-height: 245px; }
  .feature-grid { padding-block: 56px; }
}
@media (max-width: 430px) {
  .feature-stamp { right: -8px; bottom: -8px; width: 88px; height: 88px; }
}

/* Final feature-section sizing and benefit rows. */
.feature-section { background: #eaf2f7; }
.feature-grid {
  min-height: 0;
  padding-block: 96px;
  align-items: center;
}
.feature-copy { align-self: center; padding: 0 0 0 48px; }
.feature-copy .heading-section { margin-bottom: 16px; font-size: clamp(36px, 3.5vw, 48px); line-height: 1.05; }
.feature-copy > .text-body { max-width: 560px; margin: 0 0 22px; font-size: 15px; line-height: 1.5; }
.feature-media {
  position: relative !important;
  justify-self: end;
  align-self: start;
  width: min(100%, 32vw);
  height: auto;
  min-height: 0;
  aspect-ratio: 1.04;
  display: block;
}
.feature-media > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 10% 100%);
}
.feature-stamp {
  position: absolute !important;
  z-index: 2;
  right: -16px;
  bottom: -16px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--white);
  background: var(--blue);
}
.feature-copy .benefit-list li {
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  padding: 8px 0;
}
.feature-copy .benefit-list li > span:nth-child(2) {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: flex-start;
  gap: 3px;
}
.feature-copy .benefit-list li > span:nth-child(2) b,
.feature-copy .benefit-list li > span:nth-child(2) small { display: block !important; margin: 0; }
.feature-copy .benefit-list li > span:nth-child(2) b { line-height: 1.2; }
.feature-copy .benefit-list li > span:nth-child(2) small { font-size: 15px; line-height: 1.3; }

@media (max-width: 900px) {
  .feature-grid { padding-block: 64px; }
  .feature-copy { padding: 0; }
  .feature-media { width: min(100%, 440px); height: auto; min-height: 0; justify-self: center; }
}
@media (max-width: 600px) {
  .feature-grid { padding-block: 56px; }
  .feature-copy .heading-section { font-size: clamp(36px, 8vw, 44px); }
  .feature-media { width: min(100%, 420px); }
  .feature-stamp { right: -8px; bottom: -8px; width: 88px; height: 88px; }
}

/* Light calculator and contact sections aligned with the updated homepage. */
.calculator-section {
  color: var(--black);
  background: rgba(133, 201, 255, .18);
}
.calculator-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}
.calculator-copy .heading-section { margin-bottom: 20px; }
.calculator-copy .text-body { color: var(--black); }
.calculator-copy > .text-small { max-width: 510px; color: var(--blue-deep); }
.calculator-form {
  padding: clamp(26px, 4vw, 44px);
  color: var(--black);
  border: 1px solid rgba(23, 104, 210, .16);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 38, 68, .07);
}
.range-field { margin-bottom: 30px; }
.range-label { align-items: baseline; color: var(--black); }
.range-value { color: var(--blue); font-weight: 700; white-space: nowrap; }
.calculator-section input[type="range"] { background: rgba(23, 104, 210, .2); }
.calculator-section input[type="range"]::-webkit-slider-thumb { background: var(--blue); }
.calculator-section input[type="range"]::-moz-range-thumb { background: var(--blue); }
.calculator-result {
  margin-top: 36px;
  padding: 24px;
  border: 0;
  background: rgba(133, 201, 255, .18);
}
.calculator-result .text-label { color: var(--blue-deep); }
.calculator-result strong { color: var(--blue); }
.calculator-result p { color: var(--blue-deep); }
.calculator-result .button-light { border-color: var(--blue); color: var(--white); background: var(--blue); }
.calculator-result .button-light:hover { border-color: var(--blue-deep); background: var(--blue-deep); }

.contact-section {
  color: var(--black);
  background: var(--white);
}
.contact-grid {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}
.contact-copy .heading-section { margin-bottom: 20px; }
.contact-copy > .text-body { color: var(--blue-deep); }
.contact-details { gap: 14px; }
.contact-details a { color: var(--blue-deep); }
.contact-details a:hover { color: var(--blue); }
.contact-form {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(23, 104, 210, .16);
  background: rgba(133, 201, 255, .12);
  box-shadow: 0 14px 40px rgba(16, 38, 68, .06);
}
.form-grid { gap: 20px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 104, 210, .28);
  border-radius: 0;
  color: var(--black);
  background: var(--white);
}
.form-field textarea { min-height: 132px; resize: vertical; }
.form-consent { color: var(--blue-deep); }

@media (max-width: 760px) {
  .calculator-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .calculator-form, .contact-form { padding: 24px 20px; }
  .calculator-result { padding: 20px; }
}

/* Section accents and a consistent keyboard focus treatment. */
.calculator-section,
.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.calculator-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 390px;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 104, 210, .18);
  border-radius: 50%;
  pointer-events: none;
}
.calculator-section::before {
  top: -230px;
  right: -120px;
  box-shadow: 0 0 0 28px rgba(23, 104, 210, .035), 0 0 0 64px rgba(23, 104, 210, .025);
}
.calculator-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -180px;
  bottom: -290px;
  width: 380px;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 104, 210, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(23, 104, 210, .035), 0 0 0 56px rgba(23, 104, 210, .025);
  pointer-events: none;
}
.contact-section::before {
  right: -200px;
  bottom: -250px;
  box-shadow: 0 0 0 30px rgba(23, 104, 210, .035), 0 0 0 68px rgba(23, 104, 210, .025);
}
.calculator-grid, .contact-grid { position: relative; z-index: 1; }
.calculator-form { position: relative; overflow: hidden; }
.calculator-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--blue);
}
.contact-form { border-top: 3px solid var(--blue); }

/* Keep text inputs, the select and the message field visually consistent. */
.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 104, 210, .28);
  border-radius: 0;
  color: var(--black);
  background-color: rgba(133, 201, 255, .1);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
}
.contact-form .form-field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3 6 5 5 5-5' stroke='%231768d2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.contact-form .form-field textarea { min-height: 132px; }
.contact-form .form-field input::placeholder,
.contact-form .form-field textarea::placeholder { color: var(--blue-deep); opacity: .72; }
.contact-phone-row { display: flex; align-items: center; gap: 12px; }
.contact-details .contact-phone-row > a:first-child { color: var(--blue-deep); }
.contact-details .contact-whatsapp {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 0;
  color: #25d366;
  background: transparent;
}
.contact-details .contact-whatsapp svg { width: 25px; height: 25px; overflow: visible; }
.contact-details .contact-whatsapp .whatsapp-bubble { fill: none; stroke: currentColor; stroke-width: 3.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-details .contact-whatsapp .whatsapp-phone { fill: currentColor; }
.contact-details .contact-whatsapp:hover {
  color: #25d366;
}

/* Dark blue contact band with a white form card. */
.contact-section {
  color: var(--white);
  background: #122943;
}
.contact-section::before {
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .035), 0 0 0 68px rgba(255, 255, 255, .025);
}
.contact-copy .heading-section { color: var(--white); }
.contact-copy > .text-body { color: var(--blue-pale); }
.contact-details .contact-phone-row > a:first-child { color: var(--white); }
.contact-details .contact-phone-row > a:first-child:hover { color: var(--blue-pale); }
.contact-form {
  color: var(--black);
  background: var(--white);
}

/* Image-only projects page. */
.projects-hero { padding: 156px 0 72px; background: var(--white); }
.projects-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: end; gap: 48px; }
.projects-intro .heading-display { max-width: 850px; color: #122943; font-size: clamp(44px, 6vw, 76px); }
.projects-intro .heading-display span { color: var(--blue); }
.projects-lead { max-width: 440px; margin: 0 0 8px; color: var(--blue-deep); }
.projects-gallery { padding: 24px 0 112px; background: var(--white); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gallery-filter {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(23, 104, 210, .28);
  color: #122943;
  background: var(--white);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.gallery-filter:hover,
.gallery-filter.is-active,
.gallery-filter[aria-pressed="true"] { border-color: var(--blue); color: var(--white); background: var(--blue); }
.projects-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gallery-card {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(133, 201, 255, .16);
}
.gallery-card[hidden] { display: none; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-card:hover img,
.gallery-card:focus-visible img { transform: scale(1.035); }
.gallery-load-status { min-height: 24px; margin: 24px 0 0; color: var(--blue-deep); text-align: center; }
.gallery-load-more { display: flex; width: fit-content; margin: 12px auto 0; }
.gallery-load-more[hidden] { display: none; }
.gallery-lightbox {
  position: fixed;
  width: min(96vw, 1440px);
  max-width: none;
  height: min(94vh, 1000px);
  max-height: none;
  padding: 64px 82px 72px;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: transparent;
}
.gallery-lightbox[open] { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.gallery-lightbox::backdrop { background: rgba(3, 15, 28, .9); backdrop-filter: blur(4px); }
.lightbox-figure { grid-column: 2; grid-row: 1; display: grid; width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; place-items: center; }
.gallery-lightbox .lightbox-image { display: block; width: auto !important; height: auto !important; max-width: min(100%, 82vw) !important; max-height: 72vh !important; object-fit: contain !important; }
.lightbox-caption { display: none; }
.lightbox-arrow,
.lightbox-close {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.lightbox-arrow { z-index: 1; grid-row: 1; width: 52px; height: 52px; font-size: 26px; }
.lightbox-prev { grid-column: 1; }
.lightbox-next { grid-column: 3; }
.lightbox-arrow:hover,
.lightbox-close:hover { border-color: var(--blue-sky); background: var(--blue); }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; font-size: 28px; line-height: 1; }
.lightbox-count { grid-column: 1 / -1; grid-row: 2; margin: 0; color: var(--blue-pale); text-align: center; font-size: 15px; }
.projects-cta { padding: 72px 0; color: var(--white); background: #122943; }
.projects-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.projects-cta .heading-section { font-size: clamp(32px, 4vw, 48px); }

@media (max-width: 900px) {
  .projects-intro { grid-template-columns: 1fr; gap: 22px; }
  .projects-intro .heading-display { max-width: 800px; }
  .projects-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .projects-hero { padding: 124px 0 48px; }
  .projects-gallery { padding: 16px 0 76px; }
  .gallery-filters { gap: 7px; margin-bottom: 20px; }
  .gallery-filter { min-height: 42px; padding-inline: 12px; }
  .projects-gallery-grid { gap: 10px; }
  .projects-cta { padding: 56px 0; }
  .projects-cta-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
}
@media (max-width: 520px) {
  .projects-gallery-grid { grid-template-columns: 1fr; }
  .gallery-lightbox { width: 100vw; height: 100dvh; padding: 62px 12px 68px; }
  .gallery-lightbox[open] { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 8px; }
  .lightbox-arrow { width: 42px; height: 48px; }
  .gallery-lightbox .lightbox-image { max-width: min(100%, 78vw) !important; max-height: 68dvh !important; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* Dedicated services page. */
.services-page-hero { padding: 164px 0 76px; background: var(--white); }
.services-page-intro { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.services-page-intro > div { max-width: 850px; }
.services-page-intro .heading-display { color: #122943; font-size: clamp(44px, 6vw, 76px); }
.services-page-intro .heading-display span { color: var(--blue); }
.services-page-intro .text-body { max-width: 650px; margin: 24px 0 0; color: var(--blue-deep); }
.services-page-intro > .button { flex: 0 0 auto; }
.service-directory { padding: 0 0 84px; background: var(--white); }
.service-directory-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.service-directory-card {
  min-height: 142px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(23, 104, 210, .25);
  color: #122943;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.service-directory-card:nth-child(n+2) { border-left: 0; }
.service-directory-card .text-label { color: var(--blue); font-size: 13px; }
.service-directory-card strong { max-width: 180px; font-size: 18px; line-height: 1.2; }
.service-directory-arrow { position: absolute; right: 18px; bottom: 18px; color: var(--blue); font-size: 20px; }
.service-directory-card:hover { color: var(--white); background: var(--blue); }
.service-directory-card:hover .text-label,
.service-directory-card:hover .service-directory-arrow { color: var(--white); }
.service-detail { padding: 92px 0; scroll-margin-top: 108px; background: var(--white); }
.service-detail-tint { background: rgba(133, 201, 255, .15); }
.service-detail-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); align-items: center; gap: clamp(44px, 7vw, 96px); }
.service-detail-reverse { grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); }
.service-detail-reverse .service-detail-copy { order: 2; }
.service-detail-reverse .service-detail-photo { order: 1; }
.service-detail-number { margin: 0 0 20px; color: var(--blue); }
.service-detail-copy .heading-section { max-width: 690px; font-size: clamp(36px, 4.5vw, 58px); }
.service-detail-copy .heading-section .text-blue { display: inline-block; font-size: .62em; line-height: 1.2; letter-spacing: -.025em; }
.service-detail-summary { max-width: 600px; margin: 22px 0 12px; color: var(--blue-deep); font-size: 20px; line-height: 1.45; font-weight: 700; }
.service-detail-copy > .text-body { max-width: 620px; margin: 0 0 20px; font-size: 17px; }
.service-detail-points { margin: 0 0 28px; padding: 0; list-style: none; border-top: 1px solid rgba(23, 104, 210, .24); }
.service-detail-points li { padding: 12px 0 12px 24px; position: relative; border-bottom: 1px solid rgba(23, 104, 210, .24); font-size: 15px; line-height: 1.45; }
.service-detail-points li::before { content: ""; position: absolute; top: 19px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.service-detail-photo { aspect-ratio: 1.08; margin: 0; overflow: hidden; background: rgba(133, 201, 255, .2); }
.service-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.services-page-cta { padding: 82px 0; color: var(--white); background: #122943; }
.services-page-cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 42px; }
.services-page-cta-inner .heading-section { grid-column: 1; font-size: clamp(34px, 4vw, 48px); }
.services-page-cta-inner .text-body { grid-column: 1; max-width: 620px; margin: 0; color: var(--blue-pale); }
.services-page-cta-inner .button { grid-column: 2; grid-row: 1 / span 2; }

@media (max-width: 1000px) {
  .service-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-directory-card:nth-child(n+2) { border-left: 1px solid rgba(23, 104, 210, .25); }
  .service-directory-card:nth-child(2n) { border-left: 0; }
  .service-directory-card:nth-child(n+3) { border-top: 0; }
  .service-directory-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: 50%; justify-self: center; }
}
@media (max-width: 760px) {
  .services-page-hero { padding: 124px 0 52px; }
  .services-page-intro { align-items: flex-start; flex-direction: column; gap: 24px; }
  .services-page-intro .text-body { margin-top: 18px; }
  .service-directory { padding-bottom: 58px; }
  .service-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-directory-card,
  .service-directory-card:nth-child(3) { min-height: 120px; }
  .service-directory-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: 50%; justify-self: center; }
  .service-detail { padding: 64px 0; }
  .service-detail-inner,
  .service-detail-reverse { grid-template-columns: 1fr; gap: 28px; }
  .service-detail-reverse .service-detail-copy,
  .service-detail-reverse .service-detail-photo { order: initial; }
  .service-detail-photo { aspect-ratio: 1.25; }
  .services-page-cta { padding: 58px 0; }
  .services-page-cta-inner { grid-template-columns: 1fr; gap: 18px; }
  .services-page-cta-inner .heading-section,
  .services-page-cta-inner .text-body,
  .services-page-cta-inner .button { grid-column: 1; grid-row: auto; }
}
@media (max-width: 480px) {
  .service-directory-grid { grid-template-columns: 1fr; }
  .service-directory-card,
  .service-directory-card:nth-child(2n),
  .service-directory-card:nth-child(3) { min-height: 100px; }
  .service-directory-card:nth-child(n+2) { border-left: 1px solid rgba(23, 104, 210, .25); }
  .service-directory-card:nth-child(n+2) { border-top: 0; }
  .service-directory-card:last-child:nth-child(odd) { width: 100%; }
}

/* Whole homepage service cards are links, with a blue-pale hover state. */
.services-section .service-card {
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.services-section .service-card .text-small { color: var(--black); }
.services-section .service-card:hover,
.services-section .service-card:focus-visible {
  color: var(--black);
  border-color: var(--blue-pale);
  background: var(--blue-pale);
  box-shadow: 0 10px 28px rgba(23, 104, 210, .12);
}
.services-section .service-card:hover .service-icon,
.services-section .service-card:focus-visible .service-icon {
  color: var(--blue-deep);
  background: var(--white);
}

:focus-visible {
  outline: 2px solid var(--blue) !important;
  outline-offset: 0px !important;
  box-shadow: 0 0 0 5px rgba(104, 183, 255, .22);
}
.contact-form .form-field input:focus-visible,
.contact-form .form-field select:focus-visible,
.contact-form .form-field textarea:focus-visible {
  border-color: var(--blue);
  outline: 2px solid var(--blue-pale) !important;
  outline-offset: 1px !important;
  box-shadow: 0 0 0 4px rgba(104, 183, 255, .22);
}
.calculator-section input[type="range"]:focus-visible {
  outline: 2px solid var(--blue) !important;
  outline-offset: 7px !important;
  box-shadow: none;
}

/* Privacy and legal information page. */
.legal-hero { padding: 148px 0 72px; color: var(--white); background: var(--blue); }
.legal-hero-inner { max-width: 1240px; }
.legal-hero .text-label { margin-bottom: 24px; color: var(--blue-pale); }
.legal-hero .heading-display span { color: var(--blue-pale); }
.legal-hero .text-body { max-width: 660px; margin: 26px 0 0; color: var(--white); }
.legal-updated { margin: 18px 0 0; color: var(--blue-pale); }
.legal-content { padding: 72px 0 104px; background: var(--white); }
.page-shell.legal-document { width: min(900px, calc(100% - 48px)); }
.legal-document .legal-intro { margin: 0 0 44px; color: var(--blue-deep); font-size: 20px; }
.legal-document h2.heading-card { margin: 44px 0 14px; padding-top: 18px; border-top: 1px solid var(--blue-pale); color: var(--black); font-size: 24px; }
.legal-document p.text-body { margin: 0 0 16px; color: var(--blue-deep); font-size: 17px; line-height: 1.75; }
.legal-document a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-list { display: grid; gap: 14px; margin: 0; padding-left: 24px; color: var(--blue-deep); font-size: 17px; line-height: 1.75; }
.legal-list li { padding-left: 4px; }
.legal-list strong,
.legal-document strong { color: var(--black); }
.legal-document .legal-updated { margin-top: 28px; color: var(--blue-deep); }
@media (max-width: 700px) {
  .legal-hero { padding: 126px 0 52px; }
  .legal-content { padding: 48px 0 72px; }
  .page-shell.legal-document { width: min(900px, calc(100% - 36px)); }
  .legal-document .legal-intro { margin-bottom: 32px; font-size: 18px; }
  .legal-document h2.heading-card { margin-top: 34px; font-size: 21px; }
  .legal-document p.text-body,
  .legal-list { font-size: 16px; }
}


