/* ============================================
   MUD COLLECTION — Stylesheet
   Color theme: Fårö Krukmakeri (warm, earthy)
   Typography: Galleri Hammar (clean, spaced)
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Warm earthy palette inspired by Fårö Krukmakeri */
    --color-bg:        #F5F0EB;
    --color-bg-warm:   #EDE6DD;
    --color-bg-dark:   #B8AFA6;
    --color-text:      #3B3630;
    --color-text-light:#6B6359;
    --color-accent:    #8C7E6F;
    --color-white:     #FFFFFF;
    --color-cream:     #FAF8F5;
    --color-overlay:   rgba(59, 54, 48, 0.40);

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}


/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 48px;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background-color: rgba(245, 240, 235, 0.97);
    padding: 16px 48px;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.logo {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--color-white);
    transition: color 0.4s ease;
}

.site-header.scrolled .logo {
    color: var(--color-text);
}

.main-nav ul {
    display: flex;
    gap: 36px;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--color-white);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.4s ease, opacity 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.site-header.scrolled .main-nav a {
    color: var(--color-text);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.4s ease;
}

.site-header.scrolled .menu-toggle span {
    background-color: var(--color-text);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* --- HERO --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 0 24px;
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 400;
    letter-spacing: 0.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(12px, 1.4vw, 16px);
    font-weight: 300;
    letter-spacing: 0.2em;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50%      { opacity: 1;   transform: scaleY(1);   }
}


/* --- SECTIONS (general) --- */
.section {
    padding: var(--section-padding) 24px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--color-text);
    margin-bottom: 32px;
    line-height: 1.3;
}

.section-text {
    max-width: 680px;
}

.section-text p {
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.9;
}


/* --- BUTTONS (oval) --- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s ease;
    margin-top: 16px;
}

.btn-outline {
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(140, 126, 111, 0.25);
}

.btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(140, 126, 111, 0.2);
    background-color: #7A6E60;
    color: var(--color-white);
}


/* --- OM MUD SECTION --- */
.section-om-mud {
    background-color: var(--color-cream);
    text-align: center;
}

.section-om-mud .section-text {
    margin: 0 auto;
}


/* --- OM MIG SECTION --- */
.section-om-mig {
    background-color: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
}

.about-image {
    width: 100%;
    max-width: 420px;
    object-fit: cover;
    image-rendering: auto;
}

.about-text-wrapper p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}


/* --- SAMARBETEN SECTION --- */
.section-samarbeten {
    background-color: var(--color-bg-dark);
    text-align: center;
}

.section-samarbeten .section-label {
    color: var(--color-white);
    opacity: 0.7;
}

.section-samarbeten .section-heading {
    color: var(--color-white);
}

.samarbeten-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-samarbeten .btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.section-samarbeten .btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-text);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.section-samarbeten .btn-outline:active {
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--color-text);
}


/* --- FOOTER --- */
.site-footer {
    background-color: var(--color-cream);
    padding: 80px 48px 40px;
}

.footer-logo {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 60px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(59, 54, 48, 0.1);
}

.footer-col h3 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-col ul li {
    font-size: 14px;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-col ul li a {
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--color-text);
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    font-weight: 300;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}


/* --- SCROLL ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .site-header {
        padding: 20px 24px;
    }

    .site-header.scrolled {
        padding: 14px 24px;
    }

    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .main-nav a {
        color: var(--color-text);
        font-size: 13px;
        letter-spacing: 0.3em;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        order: -1;
        text-align: center;
    }

    .about-image {
        max-width: 360px;
        margin: 0 auto;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        letter-spacing: 0.35em;
    }

    .main-nav ul {
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: 0.25em;
    }

    .btn {
        padding: 14px 32px;
        font-size: 10px;
    }

    .site-footer {
        padding: 60px 24px 30px;
    }
}


/* ============================================
   SHARED INNER-PAGE COMPONENTS
   (used by om-mud, samarbeten, hallbarhet,
    portfolio och faq)
   ============================================ */

/* --- PAGE HERO (no image, clean intro) --- */
.page-hero {
    padding-top: 200px;
    padding-bottom: 44px;
    background-color: var(--color-cream);
    text-align: center;
}

/* Tighten the gap between the intro text and the first content section */
.page-hero + .section {
    padding-top: 32px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--color-text);
    margin-bottom: 28px;
    line-height: 1.3;
}

/* Screen-reader-only heading: keeps correct SEO structure without showing */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-intro {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.9;
    max-width: 620px;
    margin: 0 auto;
}

/* --- SOLID BUTTON (filled accent) --- */
.btn-solid {
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent);
    color: var(--color-white);
}

.btn-solid:hover {
    background-color: #7A6E60;
    border-color: #7A6E60;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(140, 126, 111, 0.25);
}

.btn-solid:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(140, 126, 111, 0.2);
}

/* --- PROSE CONTENT BLOCKS --- */
.section-prose {
    max-width: 680px;
    margin: 0 auto;
}

.section-prose .section-heading {
    margin-top: 8px;
}

.section-prose h3 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    margin: 40px 0 16px;
}

.section-prose p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

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

/* --- VALUE CARDS GRID --- */
.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 880px;
    margin: 48px auto 0;
}

.value-card {
    background-color: var(--color-white);
    border-radius: 4px;
    padding: 36px 32px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.value-card h3 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 14px;
    text-align: center;
}

.value-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.85;
}

/* --- COLLABORATION / INFO TABLE --- */
.info-table-wrapper {
    max-width: 920px;
    margin: 0 auto;
    overflow-x: auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.info-table thead th {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-accent);
    padding: 22px 28px;
    text-align: left;
}

.info-table tbody td {
    padding: 24px 28px;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
    border-bottom: 1px solid rgba(59, 54, 48, 0.08);
    vertical-align: top;
}

.info-table tbody tr:last-child td {
    border-bottom: none;
}

.info-table tbody tr:nth-child(even) td {
    background-color: var(--color-cream);
}

.info-table .col-step {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.info-table .col-step .step-tag {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-accent);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.info-table .col-lead {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.02em;
    width: 38%;
}

/* --- FAQ ACCORDION --- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(59, 54, 48, 0.12);
}

.faq-item:first-child {
    border-top: 1px solid rgba(59, 54, 48, 0.12);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 28px 48px 28px 0;
    position: relative;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: 0.02em;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question .faq-icon {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    transition: transform 0.35s ease;
}

.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-accent);
}

.faq-question .faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    transform: translateY(-50%);
}

.faq-question .faq-icon::after {
    left: 50%;
    top: 0;
    width: 1.5px;
    height: 100%;
    transform: translateX(-50%);
    transition: opacity 0.35s ease;
}

.faq-item.open .faq-question .faq-icon::after {
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 48px 28px 0;
    font-size: 14px;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.9;
}

/* --- PORTFOLIO GRID --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.portfolio-card {
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
}

.portfolio-thumb {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-warm), var(--color-bg-dark));
    position: relative;
}

.portfolio-thumb span {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.portfolio-card-body {
    padding: 24px 26px 28px;
}

.portfolio-card-body h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.portfolio-card-body p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.portfolio-note {
    max-width: 620px;
    margin: 56px auto 0;
    text-align: center;
    font-size: 13px;
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* --- CONTACT DETAILS --- */
.contact-card {
    max-width: 560px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: 4px;
    padding: 12px 48px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.contact-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(59, 54, 48, 0.10);
    text-align: left;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-row .contact-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    white-space: nowrap;
}

.contact-row .contact-value,
.contact-row .contact-value a {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-text);
    text-align: right;
    transition: color 0.3s ease;
}

.contact-row .contact-value a:hover {
    color: var(--color-accent);
}

/* Inline contact line used on CTA sections */
.cta-contact {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 300;
    line-height: 2;
    color: var(--color-white);
}

.cta-contact a {
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 1px;
    transition: border-color 0.3s ease, opacity 0.3s ease;
}

.cta-contact a:hover {
    border-color: var(--color-white);
    opacity: 0.85;
}

.cta-contact .sep {
    opacity: 0.5;
    margin: 0 14px;
}


/* --- ACTIVE NAV LINK --- */
.nav-active {
    font-weight: 500 !important;
}

.nav-active::after {
    width: 100% !important;
}

/* --- CTA SECTION (shared, colored) --- */
.section-cta {
    background-color: var(--color-bg-dark);
    text-align: center;
}

.section-cta .section-label {
    color: var(--color-white);
    opacity: 0.7;
}

.section-cta .section-heading {
    color: var(--color-white);
}

.cta-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta .btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
    margin-top: 24px;
}

.section-cta .btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-text);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.section-cta .btn-outline:active {
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--color-text);
}

/* --- LIGHT BUTTON (white outline, over dark sections) --- */
.btn-light {
    border: 1px solid var(--color-white);
    color: var(--color-white);
    background: transparent;
    margin-top: 24px;
}

.btn-light:hover {
    background-color: var(--color-white);
    color: var(--color-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-light:active {
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--color-text);
}

/* --- CTA BUTTON ROW --- */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- INNER-PAGE RESPONSIVE --- */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: 140px;
        padding-bottom: 32px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-table thead {
        display: none;
    }

    .info-table,
    .info-table tbody,
    .info-table tr,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table tr {
        margin-bottom: 16px;
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    }

    .info-table tbody td {
        border-bottom: 1px solid rgba(59, 54, 48, 0.08);
    }

    .info-table tbody tr:nth-child(even) td {
        background-color: var(--color-white);
    }

    .info-table .col-step {
        background-color: var(--color-cream);
    }
}


/* --- CTA ONE-LINE HELPERS (samarbeten) --- */
.section-cta .cta-text-wide {
    max-width: 800px;
}

@media (min-width: 900px) {
    .cta-heading-oneline {
        white-space: nowrap;
    }
}

/* --- TIGHTER GAP AFTER PAGE HERO (portfolio) --- */
.page-hero + .section.section-tight {
    padding-top: 28px;
}


/* --- TRUST GRID (samarbeten) --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-item {
    border-top: 1px solid var(--color-accent);
    padding-top: 28px;
    text-align: left;
}

.trust-item h3 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 14px;
}

.trust-item p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.85;
}


/* --- 3-COLUMN VALUE GRID (hallbarhet) --- */
.value-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1236px;
}

/* Wider boxes with matching padding so the text wraps exactly as before */
.value-grid-3 .value-card {
    padding: 36px 58px;
}

@media (max-width: 1024px) {
    .value-grid-3 {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        max-width: 520px;
    }
}
