@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
    --g-bg: #f3f5f8;
    --g-bg-deep: #e8ecf2;
    --g-surface: #ffffff;
    --g-surface-soft: #f8fafd;
    --g-line: #d8dee8;
    --g-ink: #151b25;
    --g-muted: #5a667a;
    --g-brand: #1f5f95;
    --g-brand-strong: #184c77;
    --g-shadow: 0 18px 36px rgba(18, 30, 46, 0.1);
}

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

body {
    margin: 0;
    color: var(--g-ink);
    font-family: "Source Sans 3", sans-serif;
    background:
        radial-gradient(circle at 12% -10%, rgba(31, 95, 149, 0.16), transparent 42%),
        radial-gradient(circle at 90% 6%, rgba(229, 138, 61, 0.14), transparent 34%),
        linear-gradient(165deg, var(--g-bg) 0%, var(--g-bg-deep) 100%);
}

body[data-page="garage"] {
    position: relative;
    overflow-x: hidden;
}

body[data-page="garage"]::before,
body[data-page="garage"]::after {
    content: "";
    position: fixed;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

body[data-page="garage"]::before {
    left: -34px;
    top: 22vh;
    width: 230px;
    height: 230px;
    opacity: 0.2;
    transform: rotate(-7deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220' fill='none'%3E%3Ccircle cx='110' cy='110' r='94' stroke='%231f5f95' stroke-width='8'/%3E%3Ccircle cx='110' cy='110' r='56' stroke='%231f5f95' stroke-width='8'/%3E%3Ccircle cx='110' cy='110' r='14' fill='%231f5f95'/%3E%3Cpath d='M110 18v36M110 166v36M18 110h36M166 110h36M44 44l25 25M151 151l25 25M176 44l-25 25M69 151l-25 25' stroke='%231f5f95' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
}

body[data-page="garage"]::after {
    right: -40px;
    top: 64vh;
    width: 340px;
    height: 150px;
    opacity: 0.22;
    transform: rotate(4deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 180' fill='none'%3E%3Cpath d='M34 126h24l22-30h108l36 30h58c12 0 22 10 22 22v2H34v-24Z' stroke='%23184c77' stroke-width='8' stroke-linejoin='round'/%3E%3Ccircle cx='103' cy='148' r='22' stroke='%23184c77' stroke-width='8'/%3E%3Ccircle cx='244' cy='148' r='22' stroke='%23184c77' stroke-width='8'/%3E%3Cpath d='M119 96h66l20 30H97l22-30Z' stroke='%23e58a3d' stroke-width='6' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

.garage-page {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0 42px;
}

.garage-nav,
.garage-hero-copy,
.garage-panel,
.garage-services article,
.garage-process,
.garage-pricing article,
.garage-theme-card,
.garage-contact,
footer {
    border: 1px solid var(--g-line);
    border-radius: 18px;
    background: var(--g-surface);
    box-shadow: var(--g-shadow);
}

.garage-nav {
    position: sticky;
    top: 12px;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

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

.garage-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: "Sora", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, var(--g-brand), var(--g-brand-strong));
}

.garage-brand strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
}

.garage-brand small {
    color: var(--g-muted);
}

.garage-nav nav {
    display: flex;
    gap: 18px;
}

.garage-nav nav a {
    color: var(--g-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.garage-nav nav a:hover,
.garage-nav nav a:focus-visible {
    color: var(--g-brand);
}

.garage-cta,
.btn-solid {
    border-radius: 999px;
    padding: 11px 18px;
    border: 1px solid transparent;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--g-brand), var(--g-brand-strong));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.garage-cta:hover,
.btn-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(24, 76, 119, 0.24);
}

.btn-outline {
    border-radius: 999px;
    padding: 10px 17px;
    border: 1px solid var(--g-line);
    background: var(--g-surface-soft);
    color: var(--g-ink);
    font-weight: 700;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    border-color: #c3cad6;
    background: #fff;
}

main {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.garage-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 14px;
}

.garage-hero-copy,
.garage-panel {
    padding: 26px;
}

.garage-kicker,
.garage-services p,
.garage-pricing p {
    margin: 0 0 12px;
    color: var(--g-brand-strong);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.01em;
    color: #121821;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.45rem);
    line-height: 1.03;
    max-width: 16ch;
}

h2 {
    font-size: clamp(1.45rem, 3.2vw, 2.25rem);
    line-height: 1.08;
}

h3 {
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
    line-height: 1.14;
}

.garage-hero-lead,
.garage-panel span,
.garage-services span,
.garage-process p,
.garage-process span,
.garage-pricing span,
.garage-theme-lead,
.garage-contact p {
    color: var(--g-muted);
    line-height: 1.55;
    font-size: 1.02rem;
}

.garage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.garage-metrics {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.garage-metrics div {
    border-radius: 12px;
    border: 1px solid var(--g-line);
    background: var(--g-surface-soft);
    padding: 11px;
    display: grid;
    gap: 4px;
}

.garage-metrics strong {
    font-size: 1.1rem;
    font-family: "Sora", sans-serif;
}

.garage-panel {
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.garage-panel p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.73rem;
    color: var(--g-brand-strong);
    font-weight: 700;
}

.garage-panel strong {
    display: block;
    margin-top: 6px;
    font-family: "Sora", sans-serif;
    font-size: 1.34rem;
    line-height: 1.08;
}

.garage-panel hr {
    border: 0;
    border-top: 1px solid var(--g-line);
    margin: 16px 0;
}

.garage-services,
.garage-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.garage-services article,
.garage-pricing article {
    padding: 22px;
    min-height: 200px;
    display: grid;
    align-content: start;
    gap: 12px;
}

.garage-services article h2,
.garage-pricing article h3 {
    max-width: 15ch;
}

.garage-theme-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.garage-theme-showcase-single {
    grid-template-columns: 1fr;
}

.garage-theme-card {
    min-height: 200px;
    padding: 22px;
    display: grid;
    align-content: start;
    gap: 12px;
    background:
        linear-gradient(165deg, #ffffff 0%, #f7f9fc 100%);
}

.garage-process {
    padding: 24px;
    display: grid;
    gap: 16px;
}

.garage-process ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.garage-process li {
    border-radius: 12px;
    border: 1px solid var(--g-line);
    background: var(--g-surface-soft);
    padding: 13px;
    display: grid;
    gap: 8px;
}

.garage-step {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-size: 0.74rem;
    font-weight: 800;
    color: #fff;
    background: var(--g-brand);
}

.garage-contact {
    padding: 24px;
    display: grid;
    gap: 14px;
}

.garage-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

footer {
    margin-top: 14px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--g-muted);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (max-width: 1100px) {
    .garage-nav {
        flex-wrap: wrap;
    }

    .garage-hero {
        grid-template-columns: 1fr;
    }

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

    .garage-theme-showcase {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .garage-page {
        width: min(1180px, calc(100% - 16px));
        padding-top: 10px;
    }

    .garage-nav nav {
        width: 100%;
        overflow-x: auto;
        gap: 12px;
    }

    .garage-cta {
        width: 100%;
        text-align: center;
    }

    .garage-hero-copy,
    .garage-panel,
    .garage-services article,
    .garage-process,
    .garage-pricing article,
    .garage-theme-card,
    .garage-contact,
    footer {
        border-radius: 15px;
        padding: 18px;
    }

    .garage-services,
    .garage-pricing,
    .garage-process ol,
    .garage-metrics {
        grid-template-columns: 1fr;
    }

    body[data-page="garage"]::before {
        left: -72px;
        top: 15vh;
        width: 190px;
        height: 190px;
        opacity: 0.14;
    }

    body[data-page="garage"]::after {
        right: -82px;
        top: 70vh;
        width: 260px;
        height: 118px;
        opacity: 0.16;
    }
}
