/* Fonts are self-hosted so no visitor data is sent to Google */
@import url('assets/fonts/fonts.css');

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --bg-main: #f8f7f8;
    --bg-surface: #ffffff;
    --bg-surface-soft: #f4f1f3;
    --text-main: #1d252d;
    --text-muted: #5b6670;
    --accent: #c24f6c;
    --accent-strong: #a8405a;
    --accent-soft: #efd6de;
    --support-blue: #355d7a;
    --support-orange: #c78f35;
    --line: rgba(30, 43, 55, 0.16);
    --shadow: none;
    --radius-lg: 16px;
    --radius-md: 12px;
    --navbar-height: 88px;
    --scrollbar-thumb: #b15a71;
    --scrollbar-track: #d9dde2;
}

html,
body {
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: var(--navbar-height);
}

a {
    color: var(--accent-strong);
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 999px;
    border: 2px solid var(--scrollbar-track);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-strong);
}

section {
    padding: 64px 20px;
}

section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content {
    flex: 1 0 auto;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    height: var(--navbar-height);
    min-height: var(--navbar-height);
    display: flex;
    align-items: center;
    backdrop-filter: none;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}

.logo {
    margin-left: clamp(1rem, 3vw, 2.5rem);
    display: flex;
    align-items: center;
    z-index: 1000;
}

.logo img {
    display: block;
    height: 52px;
    width: auto;
}

.nav-links {
    margin-left: auto;
    margin-right: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: var(--text-main);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
    transition: color 150ms ease, background-color 150ms ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    width: 0;
    background: var(--accent);
    transition: width 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text-main);
    background: #f4eff2;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: calc(100% - 24px);
}

.nav-toggle {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 4.8rem;
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1003;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: none;
    padding: 8px 10px;
    flex-direction: column;
    gap: 6px;
    z-index: 1002;
}

.nav-dropdown.open {
    display: flex;
}

.nav-dropdown a {
    display: block;
    padding: 8px 10px;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
}

.nav-dropdown a:hover {
    background: #f4eff2;
}

.language-selector {
    margin-right: 1rem;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
    font-size: 14px;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface-soft);
    border: 1px solid var(--line);
    color: var(--text-main);
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.lang-current img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    display: inline-block;
}

.flag-emoji {
    display: inline-block;
    color: var(--text-main);
}

/* Emoji is only a fallback for when the flag image fails to load */
.flag-emoji[hidden] {
    display: none;
}

.lang-options {
    display: none;
    position: absolute;
    right: 0;
    margin: 6px 0 0;
    padding: 6px 0;
    list-style: none;
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: none;
    min-width: 160px;
    z-index: 1000;
}

.lang-dropdown.open .lang-options {
    display: block;
}

.lang-options li {
    padding: 0 8px;
}

.lang-options button.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    padding: 8px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
}

.lang-options button.lang-switch:hover {
    background: #f4eff2;
}

.lang-options img {
    width: 20px;
    height: 14px;
    object-fit: cover;
}

.lang-label {
    color: var(--text-main);
}

.active-lang {
    font-weight: 700;
}

.hero_section {
    background: linear-gradient(180deg, #f6edf1 0%, var(--bg-main) 85%);
    padding-top: clamp(84px, 9vw, 130px);
    padding-bottom: clamp(76px, 8vw, 110px);
}

.hero_content {
    max-width: 980px;
    text-align: center;
    animation: none;
}

.eyebrow {
    margin: 0;
    color: var(--support-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.84rem;
}

.hero_section h1 {
    margin: 14px 0 18px;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
}

.hero_section p {
    margin: 0 auto;
    max-width: 760px;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.6;
}

.hero_cta_row {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 999px;
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

button.btn {
    font: inherit;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn_primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: none;
}

.btn_primary:hover {
    background: var(--accent-strong);
}

.btn_secondary {
    color: var(--support-blue);
    border: 1px solid var(--line);
    background: var(--bg-surface-soft);
}

.about_section {
    padding-top: 30px;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about_text {
    width: min(100%, 980px);
    padding: clamp(24px, 4vw, 42px);
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.about_text h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.about_text p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.about_points {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.about_points p {
    background: var(--bg-surface-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--text-main);
}

.section_service_1 {
    background: #f5f1f3;
    padding-top: 44px;
    padding-bottom: 58px;
}

.section_heading {
    max-width: 900px;
    text-align: center;
    margin-bottom: 28px;
    animation: none;
}

.section_heading h2 {
    margin: 0;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.6rem);
    color: var(--support-blue);
}

.section_heading p {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.services_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service_card {
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px;
    border-top: 4px solid var(--accent);
    transition: border-color 180ms ease, background-color 180ms ease;
    animation: none;
}

.service_card:nth-child(2) {
    border-top-color: var(--support-blue);
}

.service_card:nth-child(3) {
    border-top-color: var(--support-orange);
}

.service_card:nth-child(4) {
    border-top-color: var(--accent-strong);
}

.service_card:hover {
    transform: none;
    border-color: rgba(194, 79, 108, 0.55);
    background: #fcfcfc;
}

.service_media {
    --media-tint: var(--accent);
    aspect-ratio: 16 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 22px;
    border-radius: 12px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 30% at 50% 88%, rgba(29, 37, 45, 0.14), transparent 70%),
        linear-gradient(160deg, color-mix(in srgb, var(--media-tint) 12%, #ffffff) 0%, color-mix(in srgb, var(--media-tint) 4%, #f4f1f3) 100%);
}

.service_card:nth-child(2) .service_media {
    --media-tint: var(--support-blue);
}

.service_card:nth-child(3) .service_media {
    --media-tint: var(--support-orange);
}

.service_card:nth-child(4) .service_media {
    --media-tint: var(--accent-strong);
}

.service_media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(29, 37, 45, 0.16));
    transition: transform 300ms ease;
}

/* The truck photo is cropped on the left; keep the cab in view */
.service_media .truck_image {
    object-position: right center;
}

.service_card:hover .service_media img {
    transform: scale(1.03);
}

.service_card h3 {
    margin: 16px 0 8px;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--support-blue);
}

.service_card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact_section {
    background: linear-gradient(180deg, #f8f7f8 0%, #f2e9ee 100%);
    padding-top: 40px;
    padding-bottom: 64px;
}

.contact_wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
    gap: 24px;
    align-items: start;
}

.contact_side_col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--navbar-height) + 20px);
}

.contact_info_card h3 {
    margin: 0 0 14px;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    color: var(--support-blue);
}

.contact_section .about_text {
    width: 100%;
}

.contact_intro {
    margin-bottom: 14px;
}

.quote_form {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
}

.quote_form_title {
    margin: 0;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    color: var(--support-blue);
}

.quote_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.quote_form label {
    display: grid;
    gap: 6px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.92rem;
}

.req::after {
    content: ' *';
    color: var(--accent);
}

.req_either::after {
    content: ' **';
    color: var(--accent);
}

.quote_form p.quote_hint {
    margin-top: -4px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.quote_form input,
.quote_form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--line);
    background: var(--bg-surface);
    color: var(--text-main);
    border-radius: 8px;
    padding: 10px;
    font: inherit;
}

.quote_form textarea {
    resize: vertical;
    min-height: 100px;
}

.quote_form select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--bg-surface);
    color: var(--text-main);
    border-radius: 8px;
    padding: 10px;
    font: inherit;
    cursor: pointer;
    appearance: auto;
}

.quote_submit {
    justify-self: start;
}

.quote_form_status {
    margin: 0;
    min-height: 1.4em;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.quote_form_status.is-error {
    color: #a8405a;
}

.quote_form_status.is-success {
    color: #2f6a3f;
}

#map {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(194, 79, 108, 0.38);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Soften the standard OSM tiles to match the site palette */
#map .leaflet-tile-pane {
    filter: grayscale(0.65) contrast(0.92) brightness(1.04);
}

.imprint_section {
    background: var(--bg-main);
    padding-top: 56px;
    padding-bottom: 64px;
}

.imprint_card {
    padding: clamp(24px, 4vw, 42px);
}

.imprint_card h2 {
    margin: 0;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    color: var(--support-blue);
}

.imprint_basis {
    margin: 8px 0 0;
    color: var(--text-muted);
}

.imprint_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.imprint_block {
    background: var(--bg-surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px 18px;
}

.imprint_card h3 {
    margin: 0 0 8px;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: var(--support-blue);
}

.imprint_card p {
    margin: 0;
    color: var(--text-main);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.imprint_notes {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 6px;
}

.imprint_notes h3 {
    margin-top: 12px;
}

.imprint_notes p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.privacy_section {
    padding-top: 0;
}

.imprint_card p.privacy_updated {
    margin-top: 18px;
    font-size: 0.85rem;
}

footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--line);
    text-align: center;
    padding: 14px;
    color: var(--text-muted);
}

footer p {
    margin: 0;
}

@media (max-width: 700px) {
    .services_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 863px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
        position: static;
        top: auto;
        transform: none;
        margin-left: auto;
    }

    .language-selector {
        position: static;
        right: auto;
        left: auto;
        margin-left: 0.6rem;
        margin-right: 0;
    }

    .hero_section {
        padding-top: 74px;
    }

    .about_text {
        padding: 22px;
    }

    #map {
        height: 300px;
    }

    .quote_grid {
        grid-template-columns: 1fr;
    }

    .contact_wrapper {
        grid-template-columns: 1fr;
    }

    .contact_side_col {
        position: static;
    }
}

@media (max-width: 560px) {
    section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .logo img {
        height: 44px;
    }

    .hero_cta_row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}
