:root {
    --primary: #192556;
    --secondary: #1d99db;
    --accent: #69c7ed;
    --paper: #f1f2f2;
    --white: #fff;
    --site-width: 1140px;
    --system-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #000;
    background: var(--white);
    font-family: var(--system-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

body.lightbox-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--secondary);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--accent);
}

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    transform: translateY(-150%);
    padding: 10px 14px;
    color: var(--white);
    background: var(--primary);
}

.skip-link:focus {
    transform: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    background: var(--primary);
    box-shadow: 0 5px 30px rgb(0 0 0 / 10%);
}

.header-inner {
    display: flex;
    align-items: center;
    width: min(100% - 30px, var(--site-width));
    min-height: 76px;
    margin: 0 auto;
    padding: 15px 0;
}

.header-logo {
    flex: 0 0 25%;
}

.header-logo img {
    width: 288px;
    height: auto;
}

.desktop-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    min-height: 46px;
}

.desktop-nav a,
.mobile-menu a {
    color: var(--white);
    font-family: var(--system-font);
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    text-transform: uppercase;
}

.desktop-nav a {
    padding: 13px 0;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-active,
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a.is-active {
    color: var(--accent);
}

.header-phone-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 176px;
    margin-left: 30px;
    padding: 15px 20px 14px;
    border-radius: 50px;
    color: var(--primary);
    background: var(--accent);
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.header-phone-button .fa-phone,
.header-phone-icon .fa-phone {
    width: 1em;
    color: currentColor;
    font-size: 16px;
    text-align: center;
}

.header-phone-button:hover,
.header-phone-button:focus-visible {
    color: var(--primary);
    background: var(--white);
}

.header-phone-icon,
.menu-toggle,
.mobile-menu {
    display: none;
}

.title-bar {
    display: flex;
    min-height: 40px;
    align-items: center;
    color: var(--white);
    background: var(--secondary);
}

.title-bar-inner {
    display: flex;
    width: min(100%, var(--site-width));
    min-height: 40px;
    align-items: center;
    margin: 0 auto;
    padding: 0 10px;
}

.title-bar h1 {
    margin: 0;
    color: var(--white);
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    padding: 15px 20px 14px;
    color: var(--white);
    background: var(--secondary);
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

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

.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    color: var(--white);
    background: url("/images/zamena-autostakala-auto-glass-beograd-04.webp") center center / cover no-repeat;
}

.home-hero::before,
.error-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 40%);
}

.home-hero::before {
    z-index: 1;
}

.home-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    opacity: 0;
    background: url("/images/zamena-autostakala-auto-glass-beograd-02.webp") center center / cover no-repeat;
    animation: home-slide 16s ease-in-out infinite, home-ken-burns 8s linear infinite alternate;
}

@keyframes home-slide {
    0%, 47% { opacity: 0; }
    53%, 94% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes home-ken-burns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 30px, var(--site-width));
    margin: 0 auto;
    padding-right: 0;
}

.home-hero-inner > h1,
.home-hero-inner > h2,
.home-hero-inner > p {
    width: 65%;
}

.home-hero h1,
.home-hero h2,
.error-hero h1,
.error-hero h2,
.error-hero h3 {
    margin: 0;
    color: var(--white);
    font-family: Montserrat, sans-serif;
}

.home-hero h1 {
    margin-bottom: 30px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
}

.home-hero h2 {
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.home-hero p {
    margin: 0 0 40px;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.home-hero .button {
    font-size: 22px;
}

.home-callout {
    display: flex;
    min-height: 73px;
    align-items: center;
    justify-content: center;
    background: var(--accent);
}

.home-callout a {
    display: block;
    padding: 0 20px;
    color: var(--primary);
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 33px;
    font-weight: 700;
    line-height: 1;
}

.page-section {
    width: min(100% - 30px, var(--site-width));
    margin: 50px auto;
}

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

.two-column > * {
    min-width: 0;
    padding: 10px;
}

.content-column h2,
.service-copy h2,
.contact-copy h2 {
    margin: 0 0 20px;
    color: var(--secondary);
    font-family: Montserrat, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.content-column p,
.service-copy p,
.contact-copy p {
    margin: 0 0 14.4px;
}

.content-column .facts-title {
    margin-top: 72.78125px;
}

.facts-list {
    display: grid;
    gap: 14px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.facts-list li {
    position: relative;
    padding-left: 30px;
}

.facts-list li::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 2px;
    width: 15px;
    height: 9px;
    border-bottom: 4px solid var(--secondary);
    border-left: 4px solid var(--secondary);
    transform: rotate(-45deg);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--paper);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms ease-out;
}

.gallery-item span {
    position: absolute;
    inset: 0;
    background: rgb(105 199 237 / 43%);
    opacity: 0;
    transition: opacity 500ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.08);
}

.gallery-item:hover span,
.gallery-item:focus-visible span {
    opacity: 1;
}

.service-copy section + section {
    margin-top: 34.4px;
}

.contact-section {
    width: min(100% - 40px, 1120px);
    margin: 30px auto 36px;
}

.contact-copy h2 {
    color: var(--primary);
    font-family: var(--system-font);
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
}

.contact-copy > p {
    max-width: none;
}

.contact-list,
.contact-socials {
    display: grid;
    gap: 5px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.contact-socials {
    margin-top: 20px;
}

.contact-list a,
.contact-list span,
.contact-socials a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-icon {
    display: inline-flex;
    width: 16px;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
}

.list-icon .fas,
.list-icon .fab {
    width: 1em;
    text-align: center;
}

.map-frame {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

.form-section {
    width: min(100% - 30px, var(--site-width));
    margin: 30px auto;
    padding: 10px;
}

.form-inner {
    padding: 0 20%;
}

.form-intro {
    margin: 0 0 40px;
}

.inquiry-form {
    display: block;
    margin-bottom: 30px;
}

.form-fields {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-bottom: -14px;
    margin-left: -10px;
}

.field,
.checkboxes,
.form-actions {
    display: flex;
    flex: 0 0 50%;
    max-width: 50%;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 14px;
    padding: 0 10px;
}

.field label,
.checkboxes legend {
    display: block;
    margin: 0;
    padding: 0 0 8px;
    border: 0;
    font-size: 13px;
    line-height: 1;
}

.required {
    color: red;
}

.field input,
.field textarea {
    flex-basis: 100%;
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--accent);
    border-radius: 0;
    padding: 8px 16px;
    color: #000;
    background: var(--white);
    font-size: 13px;
    line-height: 1.4;
}

.field textarea {
    min-height: 121.125px;
    padding: 5px 14px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}

.checkboxes {
    border: 0;
}

.checkbox-options {
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
    margin-top: 5px;
    row-gap: 11px;
    font-size: 13px;
}

.checkbox-options label {
    display: inline-flex;
    align-items: center;
    gap: 4.1875px;
    padding-right: 10px;
    line-height: 13px;
    white-space: nowrap;
}

.checkbox-options input {
    width: 13px;
    height: 13px;
    margin: 0;
}

.field-full {
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 6px;
}

.form-actions {
    flex-basis: 100%;
    max-width: 100%;
    align-items: flex-end;
    justify-content: flex-end;
    padding-top: 1px;
}

.form-note {
    margin: 0 0 14.390625px;
    text-align: right;
    font-size: 12px;
    line-height: 18px;
}

@media (min-width: 768px) {
    #form-field-year {
        position: relative;
        top: 4.5px;
    }
}

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

.thanks-section {
    width: min(100% - 30px, var(--site-width));
    margin: 50px auto;
    padding: 10px;
    text-align: center;
}

.thanks-inner img {
    width: 33%;
    height: auto;
    margin: 0 auto 20px;
}

.thanks-inner p {
    margin: 0 0 34.390625px;
}

.error-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    color: var(--white);
    background: url("/images/404.webp") center center / cover no-repeat;
}

.error-hero::before {
    background: rgb(25 37 86 / 50%);
}

.error-inner {
    position: relative;
    z-index: 1;
    width: min(100% - 40px, 1200px);
    margin: 0 auto;
}

.error-hero h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
}

.error-hero h2 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.error-hero h3 {
    margin-bottom: 40px;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
}

.footer-main {
    display: flex;
    min-height: 342.40625px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 70px 20px;
    background: var(--primary);
}

.footer-logo img {
    width: 300px;
    height: auto;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    color: var(--accent);
}

.footer-socials .fab {
    width: 20px;
    color: var(--secondary);
    font-size: 20px;
    text-align: center;
}

.footer-bottom {
    min-height: 53px;
    border-top: 1px solid rgb(255 255 255 / 19%);
    padding: 0 0 2px;
    background: var(--paper);
}

.footer-bottom-inner {
    display: flex;
    width: min(100% - 30px, 1120px);
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.footer-bottom a {
    color: var(--primary);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 55px 60px 20px;
    color: var(--white);
    background: rgb(0 0 0 / 90%);
}

.lightbox[hidden] {
    display: none;
}

.lightbox figure {
    max-width: min(1100px, 90vw);
    max-height: calc(100vh - 90px);
    max-height: calc(100svh - 90px);
    margin: 0;
    text-align: center;
}

.lightbox figure img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 130px);
    max-height: calc(100svh - 130px);
    margin: 0 auto;
}

.lightbox figcaption {
    padding: 8px;
    background: rgb(0 0 0 / 50%);
    font-weight: 600;
}

.lightbox-toolbar {
    position: absolute;
    top: 14px;
    right: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lightbox-toolbar button,
.lightbox-arrow {
    border: 0;
    color: var(--white);
    background: transparent;
    font-size: 40px;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    width: 46px;
    padding: 5px;
    background: rgb(0 0 0 / 50%);
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
}

@media (max-width: 1024px) {
    .title-bar {
        min-height: 46px;
    }

    .title-bar-inner {
        min-height: 46px;
        padding: 0 10px;
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        width: 100%;
        min-height: 73px;
        padding: 20px 15px;
    }

    .header-logo {
        flex: 0 0 70%;
    }

    .header-logo img {
        width: 300px;
        max-width: 100%;
    }

    .desktop-nav,
    .header-phone-button {
        display: none;
    }

    .header-phone-icon {
        display: flex;
        flex: 0 0 16%;
        justify-content: flex-end;
        color: var(--secondary);
    }

    .menu-toggle {
        position: relative;
        display: flex;
        flex: 0 0 14%;
        width: 33px;
        height: 33px;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        margin: 0;
        border: 0;
        padding: 5px;
        color: var(--white);
        background: rgb(0 0 0 / 5%);
        cursor: pointer;
    }

    .menu-toggle .fas {
        width: 20px;
        font-size: 20px;
        text-align: center;
    }

    .menu-toggle[aria-expanded="true"] {
        color: var(--accent);
    }

    .mobile-menu {
        position: absolute;
        top: 73px;
        left: 0;
        z-index: 21;
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: var(--primary);
        box-shadow: 0 15px 20px rgb(0 0 0 / 10%);
    }

    .mobile-menu[hidden] {
        display: none;
    }

    .mobile-menu a {
        width: 100%;
        padding: 14px 10px;
        text-align: center;
        line-height: 24px;
    }

    .home-hero-inner {
        width: calc(100% - 40px);
        padding-right: 0;
    }

    .home-hero-inner > h1,
    .home-hero-inner > h2,
    .home-hero-inner > p {
        width: 70%;
    }

    .home-hero h1 {
        margin-bottom: 20px;
    }

    .home-hero p {
        line-height: 1.3;
    }

    .home-callout {
        min-height: calc(205px - 12.890625vw);
    }

    .page-section {
        width: 100%;
    }

    .form-section {
        width: 100%;
    }

    .thanks-section {
        width: 100%;
    }

    .contact-section {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }

    .footer-main {
        min-height: calc(246.265625px + 4.35180664vw);
        padding: 50px 20px;
    }

    .footer-logo img,
    .footer-socials {
        width: min(300px, calc(29.75vw - 31.9px));
    }

    .footer-socials {
        row-gap: 1px;
    }

    .footer-bottom {
        min-height: 71px;
        padding: 10px 20px;
    }

    .form-inner {
        padding: 0 5%;
    }

    .footer-main {
        padding: 50px 20px;
    }

    .footer-bottom {
        padding: 10px 20px;
    }
}

@media (max-width: 767px) {
    .header-inner {
        min-height: 68px;
        gap: 0;
        padding: 12px 16px;
    }

    .header-logo {
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 12px;
    }

    .header-logo img {
        width: min(230px, 100%);
    }

    .header-phone-icon,
    .menu-toggle {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }

    .header-phone-icon {
        font-size: 18px;
    }

    .header-phone-icon .fa-phone,
    .menu-toggle .fas {
        font-size: 18px;
    }

    .menu-toggle {
        padding: 0;
        background: transparent;
    }

    .mobile-menu {
        top: 68px;
    }

    .mobile-menu a {
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
    }

    .field input,
    .field textarea {
        font-size: max(1rem, 16px);
        line-height: 1.4;
    }

    .title-bar {
        min-height: 46px;
    }

    .title-bar-inner {
        min-height: 46px;
        padding: 0 20px;
    }

    .title-bar h1 {
        font-size: 18px;
    }

    .home-hero {
        min-height: calc(100vh - 68px);
        min-height: calc(100svh - 68px);
        padding: 48px 0;
        background-position: 58% center;
    }

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

    .home-hero-inner {
        width: 100%;
        padding: 0 20px;
    }

    .home-hero-inner > h1,
    .home-hero-inner > h2,
    .home-hero-inner > p {
        width: 100%;
    }

    .home-hero h1 {
        margin-bottom: 18px;
        font-size: clamp(30px, 9vw, 36px);
        line-height: 1.08;
    }

    .home-hero h2 {
        margin-bottom: 22px;
        font-size: clamp(21px, 6.5vw, 25px);
        line-height: 1.2;
    }

    .home-hero p {
        margin-bottom: 28px;
        font-size: 17px;
        font-weight: 500;
        line-height: 1.5;
    }

    .home-hero .button {
        min-height: 50px;
        padding: 14px 20px;
        font-size: 18px;
    }

    .home-callout a {
        padding: 0;
        font-size: clamp(21px, 6.4vw, 25px);
        line-height: 1.25;
    }

    .home-callout {
        min-height: 0;
        padding: 22px 20px;
    }

    .page-section,
    .contact-section,
    .form-section {
        width: 100%;
        margin: 32px auto;
        padding: 0 20px;
    }

    .page-section {
        margin-top: 36px;
        margin-bottom: 48px;
    }

    .contact-section {
        margin-top: 32px;
        margin-bottom: 44px;
    }

    .two-column {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .two-column > * {
        padding: 0;
    }

    .content-column h2,
    .service-copy h2,
    .contact-copy h2 {
        margin-bottom: 16px;
        font-size: clamp(24px, 7vw, 28px);
        line-height: 1.2;
    }

    .content-column p,
    .service-copy p,
    .contact-copy p {
        margin-bottom: 18px;
        line-height: 1.6;
    }

    .contact-copy h2 {
        font-size: 28px;
        line-height: 1.15;
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 0;
    }

    .services-gallery {
        margin-top: 2px;
    }

    .service-copy section + section {
        margin-top: 38px;
    }

    .content-column .facts-title {
        margin-top: 40px;
    }

    .facts-list {
        gap: 18px;
        margin-bottom: 24px;
    }

    .facts-list li {
        padding-left: 32px;
        line-height: 1.55;
    }

    .contact-list {
        gap: 8px;
        margin-top: 28px;
    }

    .contact-list li,
    .contact-socials a {
        min-height: 36px;
    }

    .contact-list a,
    .contact-list span,
    .contact-socials a {
        gap: 12px;
    }

    .contact-socials {
        gap: 8px;
        margin-top: 22px;
    }

    .map-frame {
        height: clamp(300px, 80vw, 360px);
        margin-top: 0;
    }

    .form-section {
        margin: 30px auto 44px;
    }

    .form-inner {
        padding: 0;
    }

    .form-intro {
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .form-fields {
        margin: 0;
    }

    .field,
    .checkboxes,
    .form-actions {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 18px;
        padding: 0;
    }

    .field label,
    .checkboxes legend {
        padding-bottom: 8px;
        font-size: 14px;
        line-height: 1.3;
    }

    .field input {
        min-height: 48px;
        padding: 11px 14px;
    }

    .field textarea {
        min-height: 150px;
        padding: 11px 14px;
    }

    .checkbox-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-top: 0;
        font-size: 15px;
    }

    .checkbox-options label {
        width: 100%;
        min-height: 44px;
        gap: 10px;
        padding: 7px 0;
        line-height: 1.35;
        white-space: normal;
    }

    .checkbox-options input {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
    }

    .form-actions {
        margin-top: 2px;
        margin-bottom: 14px;
    }

    .form-actions .button {
        width: 100%;
        min-height: 52px;
        font-size: 18px;
    }

    .form-note {
        margin-bottom: 0;
        text-align: center;
        font-size: 13px;
        line-height: 1.4;
    }

    .thanks-section {
        width: 100%;
        margin: 50px auto;
        padding: 10px;
    }

    .error-inner {
        width: 100%;
        padding: 0 20px;
    }

    .error-hero h1 {
        line-height: 1;
    }

    .error-hero h2 {
        margin-bottom: 50px;
        font-size: 26px;
        line-height: 1.1;
    }

    .error-hero h3 {
        line-height: 1.3;
    }

    .footer-main {
        min-height: 0;
        padding: 52px 20px 44px;
    }

    .footer-logo img {
        width: min(260px, 80vw);
    }

    .footer-socials {
        width: auto;
        max-width: 100%;
        gap: 18px;
        margin-top: 18px;
    }

    .footer-socials a {
        min-height: 44px;
    }

    .footer-bottom {
        min-height: 0;
        padding: 22px 20px max(22px, env(safe-area-inset-bottom));
    }

    .footer-bottom-inner {
        min-height: 0;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .footer-bottom p {
        text-align: center;
        line-height: 1.35;
    }

    .lightbox {
        padding: 55px 0 20px;
    }

    .lightbox figure {
        width: 100%;
        max-width: 100%;
    }

    .lightbox-toolbar button,
    .lightbox-arrow {
        min-width: 48px;
        min-height: 48px;
    }
}

@media (max-width: 359px) {
    .header-inner {
        padding-right: 10px;
        padding-left: 12px;
    }

    .header-logo {
        padding-right: 6px;
    }

    .header-logo img {
        width: min(190px, 100%);
    }

    .home-hero-inner {
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-hero h1 {
        font-size: 28px;
    }

    .page-section,
    .contact-section,
    .form-section {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (width >= 768px) and (width <= 1024px) {
    .footer-logo,
    .footer-socials {
        position: relative;
        left: -0.12vw;
    }
}

@media (width: 768px) {
    .contact-section {
        margin-bottom: 30px;
    }
}

@media (width: 1024px) {
    .contact-section {
        margin-bottom: 32px;
    }

    .footer-logo,
    .footer-socials {
        position: relative;
        top: -0.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .home-hero::after {
        display: none;
        animation: none;
    }

    .gallery-item img,
    .gallery-item span {
        transition-duration: 0.01ms;
    }
}
