:root {
    --green: #008f5a;
    --green-dark: #006d45;
    --ink: #152026;
    --muted: #5a676f;
    --blue: #2677a8;
    --yellow: #f2b43f;
    --ice: #f4fbfb;
    --white: #ffffff;
    --line: #dce8e8;
    --shadow: 0 18px 44px rgba(20, 32, 38, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: var(--white);
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 30;
    padding: 10px 14px;
    color: var(--white);
    background: var(--green-dark);
    border-radius: 6px;
    transition: top 160ms ease;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(220, 232, 232, 0.9);
    backdrop-filter: blur(14px);
}

.nav-shell {
    width: min(1180px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    flex: 0 0 auto;
    width: 112px;
    height: 58px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #2d373c;
    font-size: 0.94rem;
    font-weight: 700;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: calc(100svh - 120px);
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(10, 20, 24, 0.82), rgba(10, 20, 24, 0.54) 48%, rgba(10, 20, 24, 0.1)),
        url("images/hero-klimatyzacja.jpg") center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    z-index: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            112deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0) 52px,
            rgba(255, 255, 255, 0.14) 53px,
            rgba(255, 255, 255, 0) 55px,
            rgba(255, 255, 255, 0) 110px
        );
    animation: airflow 16s linear infinite;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    min-height: calc(100svh - 120px);
    margin: 0 auto;
    padding: 60px 0;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(720px, 100%);
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow {
    margin: 0 0 18px;
    color: #c8f4e3;
    font-size: 0.92rem;
}

.eyebrow::before,
.section-label::before {
    content: "";
    width: 38px;
    height: 3px;
    background: currentColor;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    font-size: 3.3rem;
    line-height: 1.08;
}

h2 {
    margin-bottom: 0;
    font-size: 2.35rem;
    line-height: 1.15;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.26rem;
    line-height: 1.24;
}

.hero-copy p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.button-primary {
    color: var(--white);
    background: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--green-dark);
}

.button-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

.hero-facts li {
    border-left: 3px solid var(--green);
    padding: 4px 0 4px 14px;
}

.hero-facts strong {
    display: block;
    color: var(--white);
    font-size: 1.7rem;
    line-height: 1.15;
}

.hero-facts span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    font-weight: 700;
}

.section {
    padding: 88px 0;
}

.section-compact {
    padding: 64px 0;
}

.section-alt {
    background: var(--ice);
}

.section-dark {
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(10, 20, 24, 0.92), rgba(10, 20, 24, 0.76)),
        url("images/hero-klimatyzacja.jpg") center / cover no-repeat;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section-heading {
    display: grid;
    gap: 12px;
    max-width: 780px;
    margin-bottom: 42px;
}

.section-label {
    color: var(--green);
}

.section-dark .section-label,
.section-dark .section-label + h2 {
    color: var(--white);
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 48px;
    align-items: center;
}

.about-copy p {
    color: #53616a;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.brand-list li {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #314047;
    background: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
}

.about-stat {
    min-height: 360px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-stat img {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    object-fit: cover;
}

.about-stat strong {
    display: block;
    margin-top: 22px;
    color: var(--green);
    font-size: 2.4rem;
    line-height: 1;
}

.about-stat span {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.offer-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.offer-card,
.project-card,
.service-panel,
.certificate-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.offer-card {
    min-height: 230px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.offer-card:hover,
.offer-card:focus-within,
.project-card:hover,
.certificate-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 143, 90, 0.5);
    box-shadow: var(--shadow);
}

.offer-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--blue));
}

.offer-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.offer-card p,
.service-panel p,
.project-card p {
    color: var(--muted);
}

.text-button {
    margin-top: auto;
    padding: 0;
    border: 0;
    color: var(--green-dark);
    background: transparent;
    cursor: pointer;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.text-button:hover,
.text-button:focus-visible {
    color: var(--blue);
}

.service-panel {
    padding: 26px;
}

.service-panel strong {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--green);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.service-panel ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: #39474f;
    font-weight: 700;
}

.service-panel li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.service-panel li::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 9px;
    border-radius: 3px;
    background: var(--yellow);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -12px 0 28px;
}

.filter-button {
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #314047;
    background: var(--white);
    font-weight: 800;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
    color: var(--white);
    border-color: var(--green);
    background: var(--green);
}

.project-carousel {
    position: relative;
}

.project-carousel:not(.has-overflow) .project-controls {
    display: none;
}

.project-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: -12px 0 16px;
}

.slider-button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--green-dark);
    background: var(--white);
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.slider-button:hover,
.slider-button:focus-visible {
    color: var(--white);
    border-color: var(--green);
    background: var(--green);
}

.slider-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.project-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 3);
    grid-template-columns: none;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.project-grid:focus-visible {
    outline: 3px solid rgba(0, 143, 90, 0.34);
    outline-offset: 4px;
}

.project-card {
    overflow: hidden;
    min-width: 0;
    scroll-snap-align: start;
}

.project-card.is-hidden {
    display: none;
}

.project-image-button {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: #eef5f5;
    cursor: pointer;
    overflow: hidden;
}

.project-image-button::after {
    content: "Powiększ";
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--white);
    background: rgba(21, 32, 38, 0.78);
    font-size: 0.82rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.project-image-button:hover::after,
.project-image-button:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eef5f5;
}

.project-count {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--white);
    background: rgba(0, 143, 90, 0.9);
    font-size: 0.78rem;
    font-weight: 800;
}

.project-card-content {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.project-card small {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
}

.certificate-card {
    width: 100%;
    min-height: 210px;
    padding: 18px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.certificate-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 14px;
    background: #f9fbfb;
}

.certificate-card span {
    display: block;
    font-weight: 800;
}

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.cta-grid p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 48px;
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.contact-line {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.contact-line svg {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    color: var(--green);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.contact-line strong {
    display: block;
    margin-bottom: 2px;
}

.contact-line a {
    color: var(--blue);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field label,
.privacy {
    color: #334249;
    font-weight: 800;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #cbdcdd;
    border-radius: 6px;
    padding: 13px 14px;
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
    min-height: 160px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(0, 143, 90, 0.12);
}

.privacy {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.88rem;
    line-height: 1.45;
}

.privacy input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--green);
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    border-radius: 8px;
    padding: 14px 16px;
    font-weight: 800;
}

.form-status.success {
    color: #0f4d34;
    background: #dff7eb;
    border: 1px solid #9fdfbe;
}

.form-status.error {
    color: #7d231f;
    background: #fff0ed;
    border: 1px solid #f4b7ae;
}

.form-status ul {
    margin: 0;
    padding-left: 18px;
}

.site-footer {
    padding: 28px 0;
    color: rgba(255, 255, 255, 0.78);
    background: #152026;
}

.footer-grid {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.modal {
    width: min(760px, calc(100% - 32px));
    border: 0;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    opacity: 0;
    transform: translateY(18px) scale(0.98);
}

.modal::backdrop {
    background: rgba(10, 20, 24, 0.72);
    opacity: 0;
}

.modal[open] {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: modalIn 220ms ease both;
}

.modal[open]::backdrop {
    opacity: 1;
    animation: backdropIn 220ms ease both;
}

.modal.is-closing {
    animation: modalOut 160ms ease both;
}

.modal.is-closing::backdrop {
    animation: backdropOut 160ms ease both;
}

.modal-body {
    padding: 20px;
    background: var(--white);
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.modal-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.modal-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.modal img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #f7fafa;
}

.gallery-modal {
    width: min(980px, calc(100% - 32px));
}

.gallery-view {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 14px;
    align-items: center;
}

.gallery-view img {
    width: 100%;
    height: min(68vh, 620px);
    object-fit: contain;
    background: #f7fafa;
}

.gallery-button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--green-dark);
    background: var(--white);
    cursor: pointer;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.gallery-button:hover,
.gallery-button:focus-visible {
    color: var(--white);
    border-color: var(--green);
    background: var(--green);
}

.gallery-button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.gallery-counter {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}

.info-modal {
    width: min(820px, calc(100% - 32px));
}

.info-modal .modal-body {
    max-height: 82vh;
    overflow-y: auto;
}

.modal-content {
    color: #415058;
    animation: contentIn 240ms ease 80ms both;
}

.modal-content h3 {
    color: var(--ink);
}

.modal-content p {
    margin-bottom: 18px;
}

.modal-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.modal-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 700;
}

.modal-list li::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 9px;
    border-radius: 3px;
    background: var(--yellow);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes airflow {
    from {
        transform: translate3d(-8%, 0, 0);
    }
    to {
        transform: translate3d(8%, 0, 0);
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
}

@keyframes backdropIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes backdropOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes contentIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .nav-shell {
        width: min(100% - 28px, 1180px);
    }

    .menu-toggle {
        display: inline-block;
    }

    .nav-links {
        position: fixed;
        inset: 72px 14px auto 14px;
        display: grid;
        gap: 4px;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .nav-links.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        padding: 12px;
    }

    h1 {
        font-size: 2.55rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-grid,
    .contact-grid,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .offer-grid,
    .service-grid,
    .certificate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-grid {
        grid-auto-columns: calc((100% - 20px) / 2);
    }
}

@media (max-width: 680px) {
    .nav-shell,
    .container,
    .footer-grid {
        width: min(100% - 28px, 1180px);
    }

    .brand-logo {
        width: 88px;
        height: 50px;
    }

    .hero,
    .hero-inner {
        min-height: calc(100svh - 114px);
    }

    .hero {
        background-position: 58% center;
    }

    .hero-inner {
        align-items: flex-end;
        padding: 50px 0;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(10, 20, 24, 0.16), rgba(10, 20, 24, 0.86));
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .hero-copy p,
    .lead,
    .cta-grid p {
        font-size: 1rem;
    }

    .hero-facts,
    .offer-grid,
    .service-grid,
    .certificate-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-auto-columns: 100%;
    }

    .gallery-view {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 8px;
    }

    .gallery-view img {
        height: min(58vh, 520px);
    }

    .gallery-button {
        width: 42px;
        height: 42px;
    }

    .hero-facts {
        gap: 10px;
    }

    .section {
        padding: 66px 0;
    }

    .section-compact {
        padding: 52px 0;
    }

    .about-stat {
        min-height: 0;
        padding: 16px;
    }

    .about-stat img {
        height: 210px;
    }

    .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
