:root {
    --black: #111315;
    --anthracite: #181a1d;
    --dark-gray: #292d32;
    --gray: #62676d;
    --silver: #b8bdc3;
    --light-silver: #e1e4e7;
    --white: #ffffff;
    --red: #d71920;
    --red-dark: #a90f15;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--anthracite);
}

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

a {
    color: inherit;
}

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


/* HEADER */

.site-header {
    background: rgba(24, 26, 29, .98);
    color: white;
    position: relative;
    z-index: 20;
}

.topbar {
    background: var(--dark-gray);
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
}

.topbar-inner {
    min-height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.nav {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    margin-right: auto;
}

.brand img {
    width: 112px;
    height: 82px;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #eee;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color .2s ease;
}

nav a:hover {
    color: var(--red);
}


/* BUTTONS */

.call-button,
.secondary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    transition: .2s ease;
}

.call-button {
    background: var(--red);
    color: white;
    box-shadow: 0 8px 30px rgba(215,25,32,.22);
}

.call-button:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.call-button-small {
    min-height: 44px;
    padding: 0 18px;
    white-space: nowrap;
}

.secondary-button {
    color: white;
    border: 1px solid rgba(255,255,255,.5);
}

.secondary-button:hover {
    border-color: white;
    background: rgba(255,255,255,.08);
}


/* HERO */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
    color: white;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url("../img/lastbil.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(10,12,14,.96) 0%,
            rgba(10,12,14,.83) 42%,
            rgba(10,12,14,.35) 75%,
            rgba(10,12,14,.25) 100%);
}

.beacon-line {
    position: absolute;
    top: 0;
    left: -25%;
    width: 25%;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--red),
        #ff555a,
        transparent
    );
    box-shadow: 0 0 18px rgba(215,25,32,.8);
    animation: beacon 6s ease-in-out infinite alternate;
}

@keyframes beacon {
    0% {
        left: -25%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 700px;
    padding: 70px 0;
}

.eyebrow {
    display: inline-block;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 15px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(52px, 7vw, 86px);
    line-height: .98;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--light-silver);
}

.hero-copy > p {
    max-width: 620px;
    color: #d6d8db;
    font-size: 20px;
    line-height: 1.6;
    margin: 28px 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.coverage {
    margin-top: 42px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 17px;
    border-left: 3px solid var(--red);
}

.coverage strong {
    font-size: 18px;
}

.coverage span {
    color: var(--silver);
}


/* SECTIONS */

.section {
    padding: 95px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 45px;
}

.section-heading h2,
.about-copy h2,
.sale h2,
.contact h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: -2px;
}

.section-heading p,
.about-copy p,
.sale p,
.contact p {
    line-height: 1.7;
    color: var(--gray);
}


/* SERVICES */

.services {
    background: #f5f6f7;
}

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

.service-card {
    position: relative;
    background: white;
    padding: 38px 32px;
    border-top: 4px solid var(--silver);
    box-shadow: 0 10px 40px rgba(0,0,0,.05);
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--red);
}

.service-number {
    color: var(--silver);
    font-weight: 900;
    font-size: 13px;
}

.service-card h3 {
    font-size: 25px;
    margin: 30px 0 12px;
}

.service-card p {
    color: var(--gray);
    line-height: 1.65;
}


/* ABOUT */

.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    left: -12px;
    top: -12px;
    width: 90px;
    height: 90px;
    border-left: 5px solid var(--red);
    border-top: 5px solid var(--red);
}

.about-image img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.lead {
    font-size: 22px;
    color: var(--anthracite) !important;
}

.area-box {
    margin-top: 30px;
    padding: 20px 24px;
    background: var(--light-silver);
    border-left: 4px solid var(--red);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.area-box span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.area-box strong {
    font-size: 21px;
}


/* SALE */

.sale {
    background: var(--anthracite);
    color: white;
}

.sale-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.sale p {
    color: var(--silver);
}

.coming-soon {
    background: var(--dark-gray);
    padding: 35px;
    border: 1px solid rgba(255,255,255,.1);
    border-left: 4px solid var(--red);
}

.coming-soon span {
    text-transform: uppercase;
    color: var(--silver);
    font-size: 12px;
    letter-spacing: 1px;
}

.coming-soon strong {
    display: block;
    font-size: 24px;
    margin-top: 8px;
}

.coming-soon a {
    display: inline-block;
    margin-top: 8px;
    color: white;
    font-size: 25px;
    font-weight: 900;
    text-decoration: none;
}


/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: 230px 230px;
    gap: 12px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-grid img:first-child {
    grid-row: 1 / 3;
}


/* CONTACT */

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

.contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.contact-inner > div {
    max-width: 620px;
}

.big-phone {
    min-width: 330px;
    background: var(--red);
    color: white;
    padding: 28px 35px;
    text-decoration: none;
    font-size: 34px;
    font-weight: 900;
    box-shadow: 0 15px 35px rgba(215,25,32,.2);
}

.big-phone small {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}


/* FOOTER */

footer {
    background: #0d0f10;
    color: white;
}

.footer-inner {
    padding: 55px 0;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 35px;
    align-items: center;
}

.footer-brand img {
    width: 130px;
}

.footer-inner p {
    color: var(--silver);
    margin: 5px 0;
}

.footer-phone {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.footer-phone span {
    color: var(--silver);
    font-size: 13px;
}

.footer-phone a {
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: 900;
}

.development {
    border-top: 1px solid rgba(255,255,255,.08);
    color: #74787c;
    text-align: center;
    padding: 16px;
    font-size: 11px;
}


/* MOBILE */

@media (max-width: 900px) {
    nav {
        display: none;
    }

    .hero {
        min-height: 590px;
    }

    .hero-overlay {
        background: rgba(10,12,14,.78);
    }

    .service-grid,
    .split,
    .sale-inner {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 200px 200px;
    }

    .gallery-grid img:first-child {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .big-phone {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .topbar-inner span {
        display: none;
    }

    .topbar-inner {
        justify-content: flex-end;
    }

    .nav {
        min-height: 78px;
    }

    .brand img {
        width: 85px;
        height: 65px;
    }

    .call-button-small {
        font-size: 13px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-copy > p {
        font-size: 17px;
    }

    .section {
        padding: 70px 0;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .gallery-grid img,
    .gallery-grid img:first-child {
        grid-column: auto;
        height: 240px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-phone {
        text-align: left;
    }
}

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

    .beacon-line {
        animation: none;
        display: none;
    }

    * {
        transition: none !important;
    }
}

/* Mjukare formspråk */

:root {
    --radius-small: 10px;
    --radius-medium: 16px;
    --radius-large: 22px;
}

.call-button,
.secondary-button {
    border-radius: 12px;
}

.service-card {
    border-radius: var(--radius-medium);
    overflow: hidden;
}

.about-image,
.about-image img {
    border-radius: var(--radius-large);
}

.area-box {
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.coming-soon {
    border-radius: var(--radius-medium);
}

.gallery-grid img {
    border-radius: var(--radius-medium);
}

.big-phone {
    border-radius: var(--radius-medium);
}

.brand img {
    border-radius: 8px;
}

/* Lite mjukare kortskuggor */
.service-card,
.coming-soon,
.big-phone {
    box-shadow: 0 14px 40px rgba(0,0,0,.10);
}


/* Hover + diskret röd neon */

.service-card,
.coming-soon,
.gallery-grid img,
.big-phone,
.area-box {
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease,
        filter .28s ease;
}

/* Tjänstekort */
.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--red);
    box-shadow:
        0 18px 45px rgba(0,0,0,.14),
        0 0 0 1px rgba(215,25,32,.16),
        0 0 28px rgba(215,25,32,.20);
}

/* Delar & fordon */
.coming-soon:hover {
    transform: translateY(-5px);
    border-color: rgba(215,25,32,.75);
    box-shadow:
        0 20px 45px rgba(0,0,0,.28),
        0 0 32px rgba(215,25,32,.22);
}

/* Galleri */
.gallery-grid img:hover {
    position: relative;
    z-index: 2;
    transform: translateY(-5px) scale(1.015);
    filter: brightness(1.05) contrast(1.03);
    box-shadow:
        0 18px 35px rgba(0,0,0,.22),
        0 0 26px rgba(215,25,32,.18);
}

/* Telefonnummer */
.big-phone:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 45px rgba(215,25,32,.30),
        0 0 30px rgba(215,25,32,.28);
}

/* Områdesrutan */
.area-box:hover {
    transform: translateX(4px);
    box-shadow:
        -8px 0 25px rgba(215,25,32,.14);
}

/* Knappar får lite ljus */
.call-button:hover {
    box-shadow:
        0 12px 30px rgba(215,25,32,.30),
        0 0 22px rgba(215,25,32,.24);
}

/* Ingen rörelse för användare som stängt av animationer */
@media (prefers-reduced-motion: reduce) {
    .service-card:hover,
    .coming-soon:hover,
    .gallery-grid img:hover,
    .big-phone:hover,
    .area-box:hover,
    .call-button:hover {
        transform: none;
    }
}

/* Hover + diskret röd neon */

.service-card,
.coming-soon,
.gallery-grid img,
.big-phone,
.area-box {
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease,
        filter .28s ease;
}

/* Tjänstekort */
.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--red);
    box-shadow:
        0 18px 45px rgba(0,0,0,.14),
        0 0 0 1px rgba(215,25,32,.16),
        0 0 28px rgba(215,25,32,.20);
}

/* Delar & fordon */
.coming-soon:hover {
    transform: translateY(-5px);
    border-color: rgba(215,25,32,.75);
    box-shadow:
        0 20px 45px rgba(0,0,0,.28),
        0 0 32px rgba(215,25,32,.22);
}

/* Galleri */
.gallery-grid img:hover {
    position: relative;
    z-index: 2;
    transform: translateY(-5px) scale(1.015);
    filter: brightness(1.05) contrast(1.03);
    box-shadow:
        0 18px 35px rgba(0,0,0,.22),
        0 0 26px rgba(215,25,32,.18);
}

/* Telefonnummer */
.big-phone:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 45px rgba(215,25,32,.30),
        0 0 30px rgba(215,25,32,.28);
}

/* Områdesrutan */
.area-box:hover {
    transform: translateX(4px);
    box-shadow:
        -8px 0 25px rgba(215,25,32,.14);
}

/* Knappar får lite ljus */
.call-button:hover {
    box-shadow:
        0 12px 30px rgba(215,25,32,.30),
        0 0 22px rgba(215,25,32,.24);
}

/* Ingen rörelse för användare som stängt av animationer */
@media (prefers-reduced-motion: reduce) {
    .service-card:hover,
    .coming-soon:hover,
    .gallery-grid img:hover,
    .big-phone:hover,
    .area-box:hover,
    .call-button:hover {
        transform: none;
    }
}
