/* =========================================
   VARUMÄRKE – SAMMA SOM APPEN (/app/style.css)
========================================= */
/* Loggans uppmätta färger. Ändras de här,
   ändra även i appens style.css. */

:root {
    --brand-gradient: linear-gradient(90deg, #FDA00A 0%, #F4511A 55%, #EC0A2C 100%);
    --brand-start: #FDA00A;
    --brand-end: #EC0A2C;

    --color-primary: #F14110;
    --color-primary-hover: #CF3409;
    --color-primary-soft: #FFF2EB;

    --color-text: #171717;

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --font-brand: "Montserrat", var(--font-sans);
}


/* =========================================
   BASE
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);

    color: var(--color-text);
    background: #ffffff;

    -webkit-font-smoothing: antialiased;
}

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

button {
    font: inherit;
}

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



/* =========================================
   HEADER
========================================= */

.site-header {
    position: relative;
    z-index: 100;

    height: 92px;

    display: flex;
    align-items: center;

    background:
        rgba(255, 255, 255, 0.96);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;

    gap: 13px;

    flex-shrink: 0;
}

.brand-symbol {
    position: relative;

    width: 76px;
    height: 53px;
}

.house {
    position: absolute;

    bottom: 4px;

    border: 4px solid transparent;

    border-image:
        linear-gradient(
            135deg,
            #ff9419,
            #ff182d
        ) 1;
}

.house-left {
    left: 2px;

    width: 28px;
    height: 31px;
}

.house-middle {
    left: 27px;

    width: 25px;
    height: 44px;
}

.house-right {
    left: 50px;

    width: 23px;
    height: 31px;
}

.roof {
    position: absolute;

    height: 4px;

    transform-origin: left center;

    background:
        linear-gradient(
            90deg,
            #ff9419,
            #ff182d
        );
}

.roof-left {
    width: 32px;

    left: 2px;
    top: 20px;

    transform: rotate(-42deg);
}

.roof-right {
    width: 43px;

    left: 28px;
    top: 3px;

    transform: rotate(17deg);
}

.brand-b {
    position: absolute;

    left: 34px;
    bottom: 8px;

    z-index: 3;

    color: #ff4726;

    font-size: 24px;
    line-height: 1;

    font-weight: 800;
}

.brand-text {
    display: flex;
    align-items: baseline;

    gap: 6px;

    white-space: nowrap;
}

.brand-text strong {
    color: #ff5c1e;

    font-size: 29px;
    font-weight: 800;

    letter-spacing: -1.3px;
}

.brand-text span {
    color: #526069;

    font-size: 15px;
    font-weight: 500;
}


/* NAV */

.main-nav {
    display: flex;
    align-items: center;

    gap: 38px;

    margin-left: auto;

    color: #1d3039;

    font-size: 14px;
    font-weight: 500;
}

.main-nav a {
    white-space: nowrap;

    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #ff4e23;
}


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;

    gap: 27px;

    margin-left: 25px;
}

.login-link {
    white-space: nowrap;

    font-size: 14px;
    font-weight: 650;
}

.header-cta {
    min-height: 49px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 0 23px;

    border-radius: 13px;

    color: white;

    background:
        linear-gradient(
            120deg,
            #ff850c,
            #ff152e
        );

    font-size: 14px;
    font-weight: 750;

    box-shadow:
        0 10px 25px
        rgba(255, 66, 25, 0.17);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.header-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 30px
        rgba(255, 66, 25, 0.25);
}

.header-cta span {
    font-size: 19px;
}



/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding: 55px 0 50px;

    background:
        radial-gradient(
            circle at 52% 45%,
            rgba(255, 241, 232, 0.8),
            transparent 42%
        ),
        linear-gradient(
            110deg,
            #ffffff 0%,
            #fffdfb 50%,
            #fff7f2 100%
        );
}


/* ORANGE BACKGROUND SHAPES */

.hero-background-shape {
    position: absolute;

    pointer-events: none;
}

.shape-one {
    width: 440px;
    height: 720px;

    right: 135px;
    top: -280px;

    transform: rotate(32deg);

    border-radius: 70px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 140, 77, 0.20),
            rgba(255, 79, 38, 0.07)
        );
}

.shape-two {
    width: 380px;
    height: 560px;

    right: -170px;
    top: 100px;

    transform: rotate(31deg);

    border-radius: 90px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 121, 67, 0.25),
            rgba(255, 48, 31, 0.12)
        );
}

.shape-three {
    width: 620px;
    height: 170px;

    right: -20px;
    bottom: -120px;

    border-radius: 50%;

    background:
        rgba(255, 72, 35, 0.28);

    filter: blur(55px);
}


.hero-grid {
    position: relative;
    z-index: 5;

    display: grid;

    grid-template-columns:
        0.93fr
        1.07fr;

    align-items: center;

    gap: 58px;
}



/* =========================================
   HERO COPY
========================================= */

.hero-copy {
    position: relative;
    z-index: 10;
}

.hero-eyebrow {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    color: #1d3039;

    font-size: 12px;
    font-weight: 750;

    letter-spacing: 2.2px;
}

.hero-eyebrow span {
    width: 38px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #ff8513,
            #ff2530
        );
}

.hero h1 {
    max-width: 670px;

    color: #0b2029;

    font-size: clamp(55px, 4.8vw, 74px);

    line-height: 0.95;

    font-weight: 850;

    letter-spacing: -4px;
}

.gradient-word {
    background:
        linear-gradient(
            90deg,
            #ff7414,
            var(--brand-end)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 620px;

    margin-top: 23px;

    color: #56656d;

    font-size: 18px;
    line-height: 1.5;
}



/* HERO BUTTONS */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-top: 30px;
}

.primary-cta {
    min-height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 17px;

    padding: 0 28px;

    border-radius: 13px;

    color: white;

    background:
        linear-gradient(
            120deg,
            var(--brand-start),
            var(--brand-end)
        );

    font-size: 16px;
    font-weight: 750;

    box-shadow:
        0 14px 30px
        rgba(255, 62, 28, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 35px
        rgba(255, 62, 28, 0.26);
}

.primary-cta span {
    font-size: 20px;
}

.video-cta {
    min-height: 58px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 21px;

    border: 1px solid #e4e0dc;
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.92);

    box-shadow:
        0 8px 22px
        rgba(24, 31, 34, 0.05);
}

.play-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 2px;

    border: 2px solid var(--color-primary);
    border-radius: 50%;

    color: #ff5527;

    font-size: 12px;
}

.video-text {
    display: flex;
    flex-direction: column;

    gap: 1px;
}

.video-text strong {
    color: #14252d;

    font-size: 14px;
}

.video-text small {
    color: #8c969a;

    font-size: 11px;
}



/* =========================================
   BENEFITS
========================================= */

.benefits-row {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 17px;

    margin-top: 35px;
}

.benefit {
    display: flex;
    align-items: flex-start;

    gap: 10px;
}

.benefit-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #eee7e2;
    border-radius: 50%;

    color: #ff5224;

    background: white;

    font-size: 18px;
    font-weight: 850;

    box-shadow:
        0 5px 15px
        rgba(25, 32, 35, 0.05);
}

.benefit > div:last-child {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.benefit strong {
    color: #15262e;

    font-size: 12px;
}

.benefit span {
    color: #69767c;

    font-size: 11px;
    line-height: 1.35;
}



/* =========================================
   HERO PRODUCT
========================================= */

.hero-product {
    position: relative;

    min-height: 510px;
}



/* =========================================
   APP PREVIEW
========================================= */

.app-preview {
    position: absolute;

    width: 650px;

    top: 5px;
    left: 0;

    overflow: hidden;

    border: 1px solid #e1e4e5;
    border-radius: 18px;

    background: white;

    box-shadow:
        0 30px 60px
        rgba(37, 41, 42, 0.14);

    transform:
        perspective(1300px)
        rotateY(-1deg)
        rotateZ(-1.2deg);
}


/* APP HEADER */

.app-header {
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    border-bottom: 1px solid #e8eaeb;

    background: #fbfcfc;
}

.mini-brand {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #ff4b21;

    font-size: 11px;
}

.mini-logo {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #ff5725;

    color: #ff5725;

    font-size: 17px;
    font-weight: 850;
}

.company-user {
    display: flex;
    align-items: center;

    gap: 11px;

    color: #405058;

    font-size: 10px;
}

.avatar {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    background: #0f2630;

    font-size: 8px;
    font-weight: 750;
}



/* APP BODY */

.app-body {
    display: grid;

    grid-template-columns:
        120px
        1fr;

    min-height: 440px;
}


/* SIDEBAR */

.app-sidebar {
    padding: 15px 10px;

    border-right: 1px solid #edf0f1;

    background: #fafbfb;
}

.sidebar-brand-mobile {
    display: none;
}

.sidebar-item {
    min-height: 34px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 9px;

    margin-bottom: 3px;

    border-radius: 7px;

    color: #536168;

    font-size: 9px;
}

.sidebar-item span {
    width: 16px;

    color: #62727a;

    font-size: 12px;
}

.sidebar-item.active {
    color: #ff4e24;

    background: #fff0e9;

    font-weight: 700;
}

.sidebar-item.active span {
    color: #ff5526;
}


/* APP MAIN */

.app-main {
    padding: 18px;
}

.app-input-card {
    padding: 13px;

    border-radius: 11px;

    background: #fafbfb;
}

.app-input-card h3,
.calculation-panel h3 {
    color: #172a32;

    font-size: 13px;
    letter-spacing: -0.3px;
}

.app-textarea {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 10px;

    padding: 13px;

    border: 1px solid #dce1e3;
    border-radius: 8px;

    background: white;

    color: #26383f;

    font-size: 12px;
    line-height: 1.45;
}

.sparkles {
    color: #85959d;

    font-size: 19px;
}

.app-input-action {
    display: flex;
    justify-content: flex-end;

    margin-top: -19px;
    margin-right: 8px;

    position: relative;
    z-index: 3;
}

.app-input-action button {
    min-height: 37px;

    padding: 0 14px;

    border: none;
    border-radius: 8px;

    color: white;

    background:
        linear-gradient(
            120deg,
            #ff7c11,
            #ff2830
        );

    font-size: 10px;
    font-weight: 700;
}

.calculation-arrow {
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-primary);

    font-size: 27px;
    font-weight: 800;
}

.calculation-panel {
    padding: 12px;

    border-radius: 10px;

    background: #fafbfb;
}

.table-header,
.table-row {
    display: grid;

    grid-template-columns:
        2fr
        0.7fr
        0.7fr
        0.8fr
        1fr;

    align-items: center;

    gap: 6px;
}

.table-header {
    margin-top: 10px;

    padding: 8px;

    border-bottom: 1px solid #e1e5e7;

    color: #627077;

    font-size: 8px;
}

.table-row {
    padding: 8px;

    border-bottom: 1px solid #e8ebec;

    color: #526068;

    font-size: 8px;
}

.table-row strong {
    color: #263940;

    font-size: 8px;
}

.table-row > *:last-child {
    text-align: right;
}

.add-row {
    padding: 8px;

    color: #66757c;

    font-size: 8px;
}

.app-totals {
    width: 185px;

    margin-left: auto;

    padding-top: 4px;
}

.app-totals > div {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    padding: 4px 0;

    color: #536168;

    font-size: 8px;
}

.app-totals strong {
    color: #1b2d35;
}

.app-grand-total {
    font-weight: 800;
}

.app-grand-total strong {
    font-size: 11px;
}

.preview-button {
    width: fit-content;

    margin-top: 7px;

    padding: 7px 9px;

    border: 1px solid #dce1e3;
    border-radius: 6px;

    background: white;

    color: #35464e;

    font-size: 8px;
}



/* =========================================
   PDF PREVIEW
========================================= */

.pdf-preview {
    position: absolute;
    z-index: 15;

    width: 245px;

    right: -70px;
    top: 125px;

    padding: 17px;

    border: 1px solid #e3e4e5;
    border-radius: 13px;

    background: white;

    box-shadow:
        0 25px 45px
        rgba(38, 42, 43, 0.18);

    transform:
        rotate(5deg);
}

.pdf-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 15px;
}

.pdf-logo {
    width: 34px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 3px solid #ff5723;

    color: #ff5723;

    font-size: 18px;
    font-weight: 850;
}

.pdf-top > strong {
    color: #182930;

    font-size: 13px;
}

.pdf-meta {
    display: flex;
    justify-content: space-between;

    gap: 8px;

    margin-bottom: 12px;

    font-size: 6px;
}

.pdf-meta > div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.pdf-meta strong {
    font-size: 7px;
}

.pdf-meta > div:last-child {
    text-align: right;
}


/* FAKE HOUSE PHOTO */

.house-image {
    position: relative;

    height: 112px;

    overflow: hidden;

    border-radius: 5px;

    background: #c9e5f1;
}

.sky {
    position: absolute;
    inset: 0 0 40%;

    background:
        linear-gradient(
            #9fd4ec,
            #e7f5fa
        );
}

.ground {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 35%;

    background:
        linear-gradient(
            #98a16c,
            #737e50
        );
}

.house-building {
    position: absolute;
    z-index: 3;

    width: 165px;
    height: 62px;

    left: 20px;
    bottom: 23px;
}

.house-roof {
    position: absolute;

    width: 175px;
    height: 15px;

    left: -5px;
    top: -8px;

    transform: skewX(-20deg);

    background: #444d4c;
}

.house-wall {
    position: absolute;

    inset: 7px 0 0;

    display: grid;

    grid-template-columns:
        1fr
        0.8fr
        1fr;

    gap: 8px;

    padding: 8px;

    background:
        linear-gradient(
            90deg,
            #ddd8ca 0 32%,
            #a95d35 32% 100%
        );
}

.house-window {
    background:
        linear-gradient(
            135deg,
            #496875,
            #a9d2de
        );

    border: 3px solid #3f4b4e;
}

.house-door {
    background: #6f432f;
}


/* PDF CONTENT */

.pdf-section-title {
    margin-top: 11px;
    margin-bottom: 5px;

    color: #26373e;

    font-size: 7px;
    font-weight: 800;
}

.pdf-table > div,
.pdf-totals > div {
    display: grid;

    grid-template-columns:
        1.5fr
        0.8fr
        0.8fr;

    gap: 5px;

    padding: 4px 0;

    border-bottom: 1px solid #edf0f1;

    color: #5b686e;

    font-size: 6px;
}

.pdf-table strong {
    text-align: right;

    color: #26373e;
}

.pdf-totals {
    margin-top: 7px;
}

.pdf-totals > div {
    grid-template-columns:
        1fr
        auto;
}

.pdf-totals strong {
    text-align: right;

    color: #26373e;
}

.pdf-total-final {
    margin-top: 3px;

    font-weight: 800;
}

.pdf-total-final strong {
    font-size: 9px;
}



/* =========================================
   HOW IT WORKS
========================================= */

.how-it-works {
    padding: 37px 0 58px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fffdfb
        );

    border-top: 1px solid #f0ece9;
}

.section-heading {
    text-align: center;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 12px;

    color: #24363e;

    font-size: 11px;
    font-weight: 750;

    letter-spacing: 2px;
}

.section-eyebrow span {
    width: 32px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #ff8111,
            #ff2530
        );
}

.section-heading h2 {
    color: #0c2029;

    font-size: 35px;
    line-height: 1.08;

    letter-spacing: -1.6px;
}

.section-heading h2 span {
    background:
        linear-gradient(
            90deg,
            #ff7214,
            var(--brand-end)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}



/* =========================================
   STEPS
========================================= */

.steps-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 30px;
}

.step-card {
    min-height: 126px;

    display: grid;

    grid-template-columns:
        auto
        auto
        1fr;

    align-items: center;

    gap: 18px;

    padding: 20px;

    border: 1px solid #eee9e5;
    border-radius: 15px;

    background: white;

    box-shadow:
        0 8px 24px
        rgba(30, 37, 39, 0.035);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 30px
        rgba(30, 37, 39, 0.07);
}

.step-number {
    width: 47px;
    height: 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ff3727;

    background: #fff0ea;

    font-size: 18px;
    font-weight: 800;
}

.step-illustration {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-primary);

    font-size: 32px;
    font-weight: 800;
}

.document-icon {
    position: relative;

    border: 4px solid var(--color-primary);
    border-radius: 5px;
}

.document-icon::after {
    content: "";

    position: absolute;

    width: 13px;
    height: 13px;

    right: -4px;
    top: -4px;

    border-left: 4px solid var(--color-primary);
    border-bottom: 4px solid var(--color-primary);

    background: white;
}

.doc-line {
    position: absolute;

    width: 23px;
    height: 4px;

    left: 9px;
    top: 19px;

    background: var(--color-primary);
}

.doc-line.short {
    width: 16px;

    top: 30px;
}

.magic-icon {
    transform: rotate(-10deg);

    font-size: 42px;
}

.step-copy h3 {
    margin-bottom: 6px;

    color: var(--color-text);

    font-size: 15px;

    letter-spacing: -0.3px;
}

.step-copy p {
    color: #5f6c72;

    font-size: 11px;
    line-height: 1.5;
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 1180px) {

    .main-nav {
        gap: 20px;
    }

    .main-nav a:nth-child(4),
    .main-nav a:nth-child(5) {
        display: none;
    }

    .hero-grid {
        grid-template-columns:
            0.9fr
            1.1fr;

        gap: 35px;
    }

    .app-preview {
        width: 570px;
    }

    .pdf-preview {
        right: -25px;

        width: 215px;
    }

    .benefits-row {
        grid-template-columns:
            repeat(2, 1fr);
    }

}



/* =========================================
   SMALL TABLET
========================================= */

@media (max-width: 950px) {

    .main-nav {
        display: none;
    }

    .hero {
        padding-top: 65px;
    }

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

        gap: 60px;
    }

    .hero-copy {
        max-width: 680px;
    }

    .hero h1 {
        max-width: 680px;
    }

    .hero-product {
        width: 680px;
        max-width: 100%;

        margin: 0 auto;

        min-height: 520px;
    }

    .app-preview {
        width: 620px;
        max-width: calc(100% - 35px);
    }

    .pdf-preview {
        right: 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .container {
        width:
            min(
                100% - 30px,
                1380px
            );
    }


    /* HEADER */

    .site-header {
        height: 72px;
    }

    .brand-symbol {
        width: 44px;
        height: 37px;

        transform: scale(0.7);

        transform-origin: left center;

        margin-right: -10px;
    }

    .brand-text strong {
        font-size: 20px;
    }

    .brand-text span {
        font-size: 11px;
    }

    .login-link {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-cta {
        min-height: 39px;

        padding: 0 13px;

        font-size: 11px;
    }


    /* HERO */

    .hero {
        padding:
            55px
            0
            45px;
    }

    .hero-eyebrow {
        font-size: 9px;

        letter-spacing: 1.4px;
    }

    .hero-eyebrow span {
        width: 24px;
    }

    .hero h1 {
        font-size: 47px;

        line-height: 0.98;

        letter-spacing: -2.8px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .primary-cta,
    .video-cta {
        width: 100%;
    }

    .benefits-row {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px 12px;
    }


    /* PRODUCT */

    .hero-product {
        min-height: 420px;
    }

    .app-preview {
        position: relative;

        width: 100%;
        max-width: 100%;

        top: 0;
    }

    .app-body {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        display: none;
    }

    .pdf-preview {
        display: none;
    }


    /* HOW IT WORKS */

    .how-it-works {
        padding:
            55px
            0
            70px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .section-heading h2 br {
        display: none;
    }

    .step-card {
        grid-template-columns:
            auto
            1fr;

        gap: 15px;
    }

    .step-illustration {
        display: none;
    }

}
/* BUILDORA GROUP HEADER LOGO */

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

/* Samma logga som i appens sidhuvud */
.brand-symbol {
    display: block;
    height: 42px;
    width: auto;
}

.brand-name {
    font-family: var(--font-brand);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.3px;
    white-space: nowrap;

    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-brand .brand-symbol {
    height: 32px;
}

.footer-brand .brand-name {
    font-size: 18px;
}


/* =========================================
   FUNKTIONER
========================================= */

.features {
    padding: 80px 0;

    background: #ffffff;
}

.features-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 40px;
}

.feature-card {
    padding: 26px;

    border: 1px solid #eee9e5;
    border-radius: 15px;

    background: white;

    box-shadow:
        0 8px 24px
        rgba(30, 37, 39, 0.035);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 30px
        rgba(30, 37, 39, 0.07);
}

.feature-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 12px;

    color: var(--color-primary);
    background: #fff0ea;

    font-size: 21px;
    font-weight: 800;
}

.feature-card h3 {
    margin-bottom: 8px;

    color: var(--color-text);

    font-size: 17px;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: #5f6c72;

    font-size: 14px;
    line-height: 1.55;
}



/* =========================================
   PRISER
========================================= */

.pricing {
    padding: 80px 0;

    background:
        linear-gradient(
            180deg,
            #fffdfb,
            #fff7f2
        );

    border-top: 1px solid #f0ece9;
}

.pricing-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    align-items: stretch;

    gap: 22px;

    max-width: 1050px;

    margin: 40px auto 0;
}

.price-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 30px;

    border: 1px solid #eee9e5;
    border-radius: 18px;

    background: white;

    box-shadow:
        0 8px 24px
        rgba(30, 37, 39, 0.04);
}

.price-card.featured {
    border: 2px solid transparent;

    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(120deg, var(--brand-start), var(--brand-end)) border-box;

    box-shadow:
        0 20px 45px
        rgba(255, 62, 28, 0.13);
}

.price-badge {
    position: absolute;

    top: -13px;
    left: 30px;

    padding: 4px 12px;

    border-radius: 999px;

    color: white;

    background:
        linear-gradient(
            120deg,
            var(--brand-start),
            var(--brand-end)
        );

    font-size: 11px;
    font-weight: 750;
}

.price-card h3 {
    color: var(--color-text);

    font-size: 18px;
}

.price {
    margin: 14px 0 20px;

    color: #0b2029;

    font-size: 38px;
    font-weight: 850;

    letter-spacing: -1.5px;
}

.price small {
    display: block;

    color: #8c969a;

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0;
}

.price-card ul {
    flex: 1;

    list-style: none;

    margin-bottom: 26px;
}

.price-card li {
    position: relative;

    padding: 7px 0 7px 26px;

    color: #3d4c53;

    font-size: 14px;
}

.price-card li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: var(--color-primary);

    font-weight: 800;
}

.price-button {
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e4e0dc;
    border-radius: 13px;

    color: #14252d;
    background: white;

    font-size: 15px;
    font-weight: 750;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.price-button:hover {
    transform: translateY(-2px);
}

.price-button.primary {
    border: none;

    color: white;

    background:
        linear-gradient(
            120deg,
            var(--brand-start),
            var(--brand-end)
        );

    box-shadow:
        0 14px 30px
        rgba(255, 62, 28, 0.18);
}



/* =========================================
   OM OSS + KONTAKT
========================================= */

.about,
.contact {
    padding: 80px 0;
}

.about {
    background: #ffffff;

    border-top: 1px solid #f0ece9;
}

.contact {
    background:
        linear-gradient(
            180deg,
            #fffdfb,
            #fff4ee
        );

    border-top: 1px solid #f0ece9;
}

.about-grid,
.contact-grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    align-items: start;

    gap: 60px;
}

.section-eyebrow.left {
    justify-content: flex-start;
}

.about h2,
.contact h2 {
    color: #0c2029;

    font-size: 38px;
    line-height: 1.08;

    letter-spacing: -1.6px;
}

.about h2 span,
.contact h2 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #ff7214,
            var(--brand-end)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.about-text p {
    margin-bottom: 16px;

    color: #56656d;

    font-size: 17px;
    line-height: 1.65;
}

.about-text .about-slogan {
    margin-top: 24px;

    color: var(--color-primary);

    font-size: 14px;
    font-weight: 750;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-info {
    margin-top: 18px;

    color: #56656d;

    font-size: 16px;
}

.contact-email {
    display: inline-block;

    margin-top: 10px;

    color: var(--color-primary);

    font-size: 18px;
    font-weight: 750;
}

.contact-form {
    display: flex;
    flex-direction: column;

    padding: 30px;

    border: 1px solid #eee9e5;
    border-radius: 18px;

    background: white;

    box-shadow:
        0 15px 35px
        rgba(30, 37, 39, 0.05);
}

.contact-form label {
    margin: 14px 0 6px;

    color: var(--color-text);

    font-size: 13px;
    font-weight: 700;
}

.contact-form label:first-child {
    margin-top: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #dce1e3;
    border-radius: 10px;

    font: inherit;
    font-size: 15px;

    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;

    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px
        rgba(255, 116, 64, 0.15);
}

.contact-form .primary-cta {
    margin-top: 22px;

    border: none;

    cursor: pointer;
}



/* =========================================
   SIDFOT
========================================= */

.site-footer {
    padding: 34px 0;

    border-top: 1px solid #f0ece9;

    background: #ffffff;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 20px;
}


.footer-nav {
    display: flex;
    flex-wrap: wrap;

    gap: 26px;

    color: #1d3039;

    font-size: 14px;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #ff4e23;
}

.site-footer small {
    color: #8c969a;

    font-size: 13px;
}



/* =========================================
   NYA SEKTIONER – SURFPLATTA OCH MOBIL
========================================= */

@media (max-width: 950px) {

    .features-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;

        max-width: 480px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }
}

@media (max-width: 650px) {

    .features,
    .pricing,
    .about,
    .contact {
        padding: 55px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about h2,
    .contact h2 {
        font-size: 31px;
    }

    .contact-form {
        padding: 22px;
    }

    .footer-inner {
        flex-direction: column;

        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }
}


/* =========================================
   BILDER I APP-FÖRHANDSVISNINGEN
========================================= */

.mini-brand-symbol img {
    display: block;

    width: 24px;
    height: 24px;

    object-fit: contain;
}

.mini-brand-name {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.mini-brand-name span {
    color: #536168;
}

.pdf-logo {
    border: none;
}

.pdf-logo img {
    display: block;

    width: 30px;
    height: 26px;

    object-fit: contain;
}

.house-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Hindrar att app-förhandsvisningen gör
   hero-kolumnen bredare än skärmen */
@media (max-width: 950px) {

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-grid > * {
        min-width: 0;
    }
}


/* =========================================
   KNAPPAR I APP-BILDEN
========================================= */

.mockup-button {
    min-height: 37px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 0 14px;

    border-radius: 8px;

    color: white;

    background:
        linear-gradient(
            120deg,
            #ff7c11,
            #ff2830
        );

    font-size: 10px;
    font-weight: 700;

    transition: transform 0.2s ease;
}

.mockup-button:hover,
.preview-button:hover {
    transform: translateY(-1px);
}

.preview-button {
    display: block;

    transition: transform 0.2s ease;
}



/* =========================================
   PLANVAL I KONTAKTFORMULÄRET
========================================= */

.contact-form select {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #dce1e3;
    border-radius: 10px;

    background: white;

    font: inherit;
    font-size: 15px;
}

.contact-form select:focus {
    outline: none;

    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px
        rgba(255, 116, 64, 0.15);
}



/* =========================================
   HAMBURGARMENY
========================================= */

/* Bara i mobilmenyn */
.nav-login {
    display: none;
}

.nav-toggle {
    display: none;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 1px solid #e4e0dc;
    border-radius: 11px;

    background: white;

    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;

    border-radius: 2px;

    background: #14252d;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

/* Blir ett kryss när menyn är öppen */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


@media (max-width: 1180px) {

    .nav-toggle {
        display: flex;

        order: 3;
    }

    .header-actions {
        margin-left: auto;
    }

    /* Menyn fälls ut under sidhuvudet */
    .main-nav,
    .main-nav.open {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;

        padding: 10px 24px 20px;

        border-top: 1px solid #f0ece9;
        border-bottom: 1px solid #f0ece9;

        background: white;

        box-shadow:
            0 20px 35px
            rgba(30, 37, 39, 0.08);

        font-size: 16px;
    }

    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: flex;
    }

    /* Visa alla länkar i den utfällda menyn */
    .main-nav a,
    .main-nav a:nth-child(4),
    .main-nav a:nth-child(5) {
        display: block;

        padding: 14px 0;

        border-bottom: 1px solid #f3efec;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    /* Logga in syns redan i sidhuvudet här */
    .main-nav .nav-login {
        display: none;
    }
}

@media (max-width: 650px) {

    .main-nav .nav-login {
        display: block;

        color: var(--color-primary);

        font-weight: 700;
    }

    .header-actions {
        gap: 12px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }
}


/* PDF-kortet ligger delvis över knappen
   "Skapa offert" – klick ska gå igenom */
.pdf-preview {
    pointer-events: none;
}


/* Mindre logga på mobil så knapparna får plats */
@media (max-width: 650px) {

    .brand-symbol {
        height: 32px;
    }

    .brand-name {
        font-size: 17px;
    }

    .header-cta {
        white-space: nowrap;
    }
}

@media (max-width: 400px) {

    /* Bara symbolen på de minsta skärmarna */
    .site-header .brand-name {
        display: none;
    }

    .header-cta span {
        display: none;
    }
}
