:root {
    --red: #CC3142;
    --red-bright: #ff6274;
    /* --dark: #262626;
    --dark-soft: #404040; */
    --dark: #515151;
    --dark-soft: #787878;
    --light: #e7e5e4;
    --text: #171717;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

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

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    background: rgba(38, 38, 38, .98);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}

.site-nav {
    width: min(1180px, calc(100% - 48px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.nav-links,
.nav-contact {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: #e7e5e4;
    font-size: 16px;
}

.nav-links a:hover {
    color: #ea580c;
}

.nav-contact a {
    color: #CC3142;
    font-weight: 700;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--dark);
    background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), var(--hero-image);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
    color: white;
}

.hero-copy {
    width: min(880px, calc(100% - 48px));
    margin-left: max(24px, calc((100vw - 1180px) / 2));
    padding-top: 70px;
}

.hero h1 {
    margin: 0 0 24px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.hero p {
    max-width: 740px;
    margin: 0;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 300;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.section {
    padding: 80px 0;
}

.section h2 {
    margin: 0 0 34px;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.1;
    letter-spacing: 0;
}

.section-dark {
    color: white;
    background: var(--dark);
    border-bottom: 1px solid var(--dark);
}

.section-light,
.contact-section {
    background: var(--light);
}

.about-grid,
.mission-grid,
.contact-grid,
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
    align-items: center;
    gap: 56px;
}

.about-grid p,
.mission-grid p {
    font-weight: 300;
    text-align: justify;
}

.hours {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.hours tr {
    background: #525252;
    color: white;
}

.hours th,
.hours td {
    padding: 16px 28px;
    font-size: 18px;
    font-weight: 400;
}

.hours th {
    border-left: 4px solid var(--red-bright);
    border-radius: 4px 0 0 4px;
    text-align: left;
}

.hours td {
    border-radius: 0 4px 4px 0;
    text-align: right;
}

.lead {
    font-weight: 700;
}

.lead.small {
    max-width: 620px;
    margin-top: 24px;
    font-size: 16px;
    text-align: left;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.value-grid article {
    padding: 20px;
    border-left: 4px solid var(--red);
    border-radius: 8px;
    background: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}

.value-grid h3 {
    margin: 0 0 8px;
    color: var(--red);
}

.value-grid p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 8px;
    background: var(--red);
    color: white;
    font-weight: 700;
}

.button:hover {
    background: #172554;
}

.logo-panel,
.brand-panel {
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

.brand-panel {
    min-height: 320px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 36px;
    color: white;
    background:
        linear-gradient(rgba(38, 38, 38, .72), rgba(38, 38, 38, .72)),
        url("/assets/images/remalis-actros-hero.png") center / contain no-repeat;
    text-align: center;
}

.brand-panel span {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
}

.brand-panel small {
    font-size: 18px;
    font-weight: 700;
}

.centered {
    text-align: center;
}

.service-list {
    display: grid;
    gap: 32px;
}

.service-intro {
    max-width: 980px;
    margin: -18px auto 36px;
    color: white;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    text-align: center;
}

.service-card {
    padding: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}

.service-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #1d4ed8;
}

.service-title h3 {
    margin: 0;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.2;
}

.service-card p {
    margin: 0 0 18px;
    line-height: 1.7;
}

.service-card img {
    width: min(460px, 100%);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

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

.faq-item {
    padding: 22px;
    border-left: 4px solid var(--red);
    border-radius: 8px;
    background: white;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.faq-item-dark {
    color: white;
    background: rgba(255, 255, 255, .08);
}

.faq-item h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
}

.faq-item p {
    margin: 0;
}

.faq-item p a {
    color: var(--red);
    font-weight: 800;
}

.faq-item-dark p a {
    color: var(--red-bright);
}

.map-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.faq-item .map-links a {
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--red);
    color: white;
    font-size: 14px;
    font-weight: 800;
}

.faq-item .map-links a:hover {
    background: #172554;
}

.service-hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    padding-top: 84px;
    color: white;
    background:
        linear-gradient(rgba(0, 0, 0, .34), rgba(0, 0, 0, .34)),
        var(--service-image) center / cover no-repeat;
}

.service-hero h1 {
    max-width: 900px;
    margin: 0 0 22px;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.service-hero p {
    max-width: 760px;
    margin: 0;
    font-size: clamp(19px, 2vw, 26px);
    font-weight: 300;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--red-bright);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
    align-items: start;
    gap: 48px;
}

.service-content {
    font-size: 18px;
}

.service-content h2,
.service-sidebar h2 {
    margin: 0 0 18px;
    color: var(--red);
    font-size: 28px;
    line-height: 1.2;
}

.service-content h2:not(:first-child) {
    margin-top: 38px;
}

.service-content p,
.service-content li {
    line-height: 1.75;
}

.service-content a {
    color: var(--red);
    font-weight: 800;
}

.service-sidebar {
    position: sticky;
    top: 108px;
    padding: 22px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.service-sidebar nav {
    display: grid;
    gap: 8px;
}

.service-sidebar a {
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--dark);
    font-weight: 700;
}

.service-sidebar a:hover,
.service-sidebar a.active {
    color: white;
    background: var(--red);
}

.more-button {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 32px auto 0;
    border: 0;
    border-radius: 999px;
    background: #1d4ed8;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

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

.gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.contact-grid iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
}

.footer-info,
.copyright {
    color: white;
    background: var(--dark);
}

.footer-info {
    padding: 72px 0;
}

.footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.footer-grid h3 {
    margin: 0 0 14px;
    font-size: 30px;
}

.footer-grid p {
    margin: 6px 0;
    color: #f5f5f4;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.map-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.external-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    opacity: .78;
}

.qr-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.qr-links figure {
    margin: 0;
}

.qr-links img {
    display: block;
    width: 112px;
    height: 112px;
    padding: 8px;
    border-radius: 6px;
    background: white;
}

.qr-links figcaption {
    margin-top: 6px;
    color: #f5f5f4;
    font-size: 13px;
    font-weight: 800;
}

.copyright {
    padding: 28px 0 42px;
    border-top: 1px solid var(--red);
}

.copyright-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.copyright p {
    margin: 0;
}

.policy-hero {
    padding: 160px 0 76px;
    color: white;
    background: var(--dark);
}

.policy-hero h1 {
    max-width: 900px;
    margin: 0 0 14px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: 0;
}

.policy-hero p {
    margin: 0;
    color: #f5f5f4;
    font-size: 22px;
    font-weight: 300;
}

.policy-content {
    max-width: 920px;
    padding: 54px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
}

.policy-content h2 {
    margin: 34px 0 12px;
    color: var(--red);
    font-size: 26px;
    line-height: 1.25;
}

.policy-content p,
.policy-content li {
    font-size: 17px;
}

.policy-content p {
    margin: 0 0 18px;
}

.policy-content ul {
    margin: 0 0 22px;
    padding-left: 24px;
}

.policy-content a {
    color: var(--red);
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (max-width: 1280px) {
    .hero {
        min-height: calc(100vw * 0.4234);
    }
}

@media (max-width: 900px) {
    .site-nav {
        min-height: 72px;
        justify-content: center;
    }

    .nav-contact {
        display: none;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        min-height: max(520px, calc(100vw * 0.64));
        align-items: center;
        padding: 72px 0 0;
        background-image: linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .18)), var(--mobile-hero-image);
        background-size: cover;
    }

    .hero-copy {
        padding-top: 0;
    }

    .about-grid,
    .mission-grid,
    .contact-grid,
    .footer-grid,
    .gallery,
    .value-grid,
    .faq-list,
    .service-page-grid {
        grid-template-columns: 1fr;
    }

    .service-hero {
        min-height: 520px;
        padding-top: 72px;
    }

    .service-sidebar {
        position: static;
    }

    .footer-grid {
        gap: 32px;
    }

    .copyright-inner {
        flex-direction: column;
        text-align: center;
    }

    .policy-hero {
        padding-top: 128px;
    }

    .policy-content {
        padding: 36px;
    }
}

@media (max-width: 560px) {
    .container,
    .site-nav,
    .hero-copy {
        width: min(100% - 32px, 1180px);
    }

    .hero-copy {
        margin-inline: auto;
    }

    .section {
        padding: 64px 0;
    }

    .hours th,
    .hours td {
        padding: 14px 16px;
        font-size: 15px;
    }

    .service-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .policy-content {
        padding: 28px 20px;
    }
}
