
:root {
    --page-max-width: 1200px;
    --page-padding-x: 40px;
    --blue: #1769ff;
    --blue-dark: #0f55d7;
    --blue-light: #eef5ff;

    --text: #111827;
    --text-soft: #374151;
    --muted: #6b7280;

    --bg: #ffffff;
    --surface: #f8fafc;
    --surface-2: #f3f4f6;

    --border: #e5e7eb;
    --border-dark: #d1d5db;

    --success: #16803c;
    --success-bg: #ecfdf3;

    --warning: #a16207;
    --warning-bg: #fffbeb;

    --danger: #b42318;
    --danger-bg: #fef3f2;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 8px 30px rgba(17,24,39,.06);
    --shadow-lg: 0 20px 60px rgba(17,24,39,.10);

    --container: 1180px;
    
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

main, .hero {
    line-height: 1.6;
}

/* =========================================================
    HERO
========================================================= */

.hero {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero-inner {
    max-width: var(--page-max-width);
    
    margin: 0 auto;
    min-height: 410px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
    padding: 70px var(--page-padding-x);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

.hero h1 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -.055em;
    font-weight: 800;
    max-width: 650px;
    margin-bottom: 22px;
}

.hero-description {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn:not(.site-menu .btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: .2s ease;
}

.btn-primary {
    background: var(--blue);
    color: white;
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    border-color: var(--border-dark);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--text);
}

.hero-visual {
    position: relative;
}

.hero-image {
    height: 290px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(135deg, rgba(23,105,255,.10), rgba(255,255,255,.4)),
        url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1200&q=85")
        center / cover no-repeat;
    box-shadow: var(--shadow-lg);
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.12),
        rgba(23,105,255,.06)
    );
}

.floating-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 15px 17px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 215px;
}

.floating-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--success-bg);
    color: var(--success);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.floating-card strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.floating-card span {
    display: block;
    font-size: 11px;
    color: var(--muted);
}



/* =========================================================
    MAIN
========================================================= */

.main {
    max-width: var(--page-max-width);
    padding: 0 var(--page-padding-x);
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 45px;
}

.section-label {
    color: var(--blue);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title {
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -.04em;
    margin-bottom: 12px;
    font-weight: 800;
}

.section-description {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
    FAQ CATEGORY TABS
========================================================= */

#faq {
    scroll-margin-top: 80px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 55px;
    align-items: start;
}

.faq-sidebar {
    position: sticky;
    top: 162px;
}

.faq-sidebar-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9ca3af;
    font-weight: 700;
    margin-bottom: 12px;
}

.faq-filter {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
    transition: .2s ease;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.faq-filter:hover {
    background: var(--surface);
    color: var(--text);
}

.faq-filter.active {
    color: var(--blue);
    background: var(--blue-light);
    font-weight: 700;
}

.faq-filter span {
    float: right;
    color: #9ca3af;
    font-weight: 500;
    display:none;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border: 0;
    background: white;
    text-align: left;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    padding: 19px 4px;
}

.faq-question:hover {
    color: var(--blue);
}

.faq-question-text {
    display: flex;
    align-items: center;
    gap: 13px;
}

.faq-question-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--muted);
    font-size: 12px;
    flex-shrink: 0;
}

.faq-chevron {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--muted);
    flex-shrink: 0;
    transition: transform .25s ease, background .2s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    background: var(--blue-light);
    color: var(--blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-answer-inner {
    padding: 0 55px 23px 47px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.75;
}

.faq-answer-inner p {
    margin-bottom: 12px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul {
    padding-left: 20px;
    margin: 8px 0;
}

.faq-answer-inner li {
    margin-bottom: 5px;
}

.faq-answer-inner strong {
    color: var(--text);
}

.faq-note {
    margin-top: 14px;
    padding: 13px 15px;
    border-radius: 8px;
    background: var(--blue-light);
    color: #1e40af;
    font-size: 12px;
    line-height: 1.6;
}

.no-results {
    display: none;
    padding: 50px 20px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.no-results i {
    font-size: 26px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.no-results h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.no-results p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
    CONTACT
========================================================= */

.contact-section {
    padding: 90px 0;
    padding-top:48px;
    line-height: normal;
    scroll-margin-top: 130px;
}

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.contact-intro {
    max-width: 430px;
    
}

.contact-intro h2 {
    margin: 0;

    font-size: 2.2rem;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.contact-intro > p {
    color: var(--muted);

    line-height: 1.7;

    font-size: .9rem;

    margin: 17px 0 28px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px 0;

    border-top: 1px solid var(--border);
}

.contact-method:last-child {
    border-bottom: 1px solid var(--border);
}

.contact-method-icon {
    width: 40px;
    height: 40px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--blue-light);
    color: var(--blue);
}

.contact-method strong {
    display: block;

    font-size: .8rem;

    margin-bottom: 3px;
}

.contact-method span {
    color: var(--muted);
    font-size: .76rem;
}





/* =========================================================
    INFORMATION CARDS
========================================================= */

.info-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 27px;
    transition: .2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--surface);
    color: var(--blue);
    display: grid;
    place-items: center;
    margin-bottom: 21px;
}

.info-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

.info-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    margin-top: 17px;
}

/* =========================================================
    PROCESS
========================================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.process-step {
    padding: 27px;
    border-right: 1px solid var(--border);
    position: relative;
}

.process-step:last-child {
    border-right: 0;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--text);
    color: white;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 14px;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.65;
}


/* Form */

.contact-form {
    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 30px;

    background: white;

    box-shadow: var(--shadow);
    
}

.form-title {
    margin: 0 0 5px;

    font-size: 1.1rem;
}

.form-subtitle {
    margin: 0 0 25px;

    font-size: .78rem;

    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 27px;
    column-gap: 32px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: .76rem;
    font-weight: 600;
}

.field input,
.field textarea,
.field select {
    width: 100%;

    border: 1px solid var(--border-dark);

    border-radius: 9px;

    padding: 12px 13px;

    outline: none;

    background: white;

    font-size: .8rem;

    transition: border-color .2s ease, box-shadow .2s ease;
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center; /* Samma padding som vänster sida */
    background-size: 16px;
    padding-right: 40px !important; 
}

.field textarea {
    min-height: 125px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(23,105,255,.08);
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 22px;
}

.form-note {
    font-size: .7rem;
    color: #888;
    line-height: 1.5;
}

.submit-button {
    border: 0;

    background: var(--blue);
    color: white;

    padding: 12px 20px;

    border-radius: 9px;

    font-size: .78rem;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition: background .2s ease, transform .2s ease;
}

.submit-button:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.form-success {
    display: none;

    margin-top: 18px;

    padding: 13px 15px;

    background: var(--green-light);

    border: 1px solid #d8f0e3;

    color: #28734d;

    border-radius: 9px;

    font-size: .76rem;
}


/* =========================================================
    TOAST
========================================================= */

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 2000;
    background: #111827;
    color: white;
    padding: 13px 17px;
    border-radius: 9px;
    box-shadow: var(--shadow-lg);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: .25s ease;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.toast i {
    color: #86efac;
}

/* =========================================================
    RESPONSIVE
========================================================= */

@media (max-width: 1070px) {
    .contact-layout {
        grid-template-columns: 1fr;

        .contact-intro {
            max-width: 100%;
        }

        
        .form-grid {
            grid-template-columns: 1fr;
        }
    }
}

@media (max-width: 1000px) {


    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }

    .hero-visual {
        max-width: 650px;
    }

    .quick-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-card:nth-child(2) {
        border-right: 0;
    }

    .quick-card:nth-child(3),
    .quick-card:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .faq-sidebar {
        display: none;
    }

    .faq-sidebar-title {
        width: 100%;
    }

    .faq-filter {
        width: auto;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-step:nth-child(2) {
        border-right: 0;
    }

    .process-step:nth-child(3),
    .process-step:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding-top: 14px;
    }


    .form-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .site-header {
        height: 64px;
    }

    .main-nav,
    .header-action {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .header-inner,
    .main {
        max-width: 100%;
    }

    
    .hero h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-image {
        height: 230px;
    }

    .floating-card {
        left: 12px;
        bottom: -20px;
    }

    .quick-inner {
        grid-template-columns: 1fr;
    }

    .quick-card,
    .quick-card:first-child,
    .quick-card:nth-child(2),
    .quick-card:nth-child(3),
    .quick-card:nth-child(4) {
        border-left: 0;
        border-right: 0;
        border-top: 1px solid var(--border);
    }

    .quick-card:first-child {
        border-top: 0;
    }

    .section {
        padding: 65px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .faq-question {
        font-size: 14px;
    }

    .faq-answer-inner {
        padding-left: 0;
        padding-right: 25px;
    }

    .info-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step,
    .process-step:nth-child(2),
    .process-step:nth-child(3) {
        border-right: 0;
        border-top: 1px solid var(--border);
    }

    .process-step:first-child {
        border-top: 0;
    }



    .support-form,
    .form-intro {
        padding: 28px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-inner {
        padding: 30px 0;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 630px) {
    :root {
        --page-padding-x: 20px;
    }
}

@media (max-width: 520px) {
    .form-note {
        opacity: 0;
    }
}

@media (max-width: 500px) {
    .contact-form {
        width: calc(100% + var(--page-padding-x) * 2);
        margin-left: calc(-1 * var(--page-padding-x));
        border-radius: 0;
        border: 0;
        
    }

    .contact-section {
        padding: 0;
    }
}

@media (max-width: 410px) { 
    .hero-actions {
        flex-direction: column;
    }

}


