/*
Theme Name: Skuttunge Mark
Theme URI: https://skuttunge.se/
Author: Skuttunge Mark
Description: Kundanpassat WordPress-tema för Skuttunge Mark med färdiga sidor, blockmönster, Media Library-import och standardredigering.
Version: V1
Text Domain: skuttunge-mark
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --bg-body: #ffffff;
    --bg-light: #f8f9fa;
    --bg-card: #ffffff;
    
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;
    
    --accent-primary: #0088cc; /* Skuttunge Blue */
    --accent-secondary: #23282d; /* WordPress Dark */
    --accent-hover: #006fa3;
    
    --font-main: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-heading: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --radius-md: 4px;
    --radius-sm: 3px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    clip: auto !important;
    clip-path: none;
    display: block;
    height: auto;
    left: 12px;
    top: 12px;
    width: auto;
    z-index: 100000;
    padding: 10px 14px;
    background: #fff;
    color: var(--text-main);
    border: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 60px 0;
}

.kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 0.5em;
}

h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

p.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 10px;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-main);
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    padding: 6px 0 3px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #eee;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 150px;
    height: 98px;
    object-fit: contain;
    display: block;
    transform: translateY(5px);
}

.brand-text {
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
    color: var(--accent-primary);
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 660px;
    padding: 112px 0 86px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./bilder_files/hero1.JPG');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero h1 {
    max-width: 1050px;
    margin: 0 auto 22px;
    font-size: clamp(2.65rem, 5vw, 4.15rem);
    line-height: 1.04;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
}

.hero p {
    max-width: 760px;
    font-size: 1.25rem;
    margin: 0 auto 30px;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-content {
    max-width: 1080px;
    padding: 0 20px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Startsidan ska ha samma CTA-stil som resten av sajten, men med lite smalare hero-knappar. */
#start.hero .hero-actions > .btn {
    padding-inline: 20px;
}

#start.hero .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 395px);
    margin-inline: auto;
}

#start.hero .hero-actions > .btn {
    width: 100%;
    min-width: 0;
    max-width: none;
}

@media (max-width: 768px) {
    #start.hero .hero-actions {
        grid-template-columns: 1fr;
        width: min(100%, 320px);
    }
}

.split-layout .hero-actions {
    justify-content: flex-start;
    align-items: stretch;
}

.split-layout .hero-actions .btn {
    flex: 1 1 190px;
    max-width: 260px;
    min-height: 48px;
    text-align: center;
}


.hero-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.pill {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: #fff;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Quick links */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .brand-logo {
        width: 118px;
        height: 78px;
        transform: translateY(3px);
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }

    .quick-card {
        padding: 25px 20px;
    }
}

.quick-card {
    background: #fff;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    color: inherit;
    text-decoration: none;
    border-top: 3px solid transparent;
    position: relative;
    height: 100%;
    min-height: 260px;
    box-sizing: border-box;
}

.quick-card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: 100%;
}

.quick-card:hover {
    transform: translateY(-7px);
    border-top-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.quick-card:hover .quick-icon {
    background-color: var(--accent-primary);
    color: #fff;
    transform: scale(1.1);
}

.quick-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 115, 170, 0.08);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.quick-icon svg {
    width: 28px;
    height: 28px;
    display: none;
}

.quick-icon::before {
    content: "";
    width: 28px;
    height: 28px;
    display: block;
    background: currentColor;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.quick-icon-services::before,
.quick-card:nth-child(1) .quick-icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.7-3.7a6 6 0 0 1-8 8l-6.8 6.8a2.1 2.1 0 0 1-3-3l6.8-6.8a6 6 0 0 1 8-8z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.7-3.7a6 6 0 0 1-8 8l-6.8 6.8a2.1 2.1 0 0 1-3-3l6.8-6.8a6 6 0 0 1 8-8z'/%3E%3C/svg%3E");
}

.quick-icon-gallery::before,
.quick-card:nth-child(2) .quick-icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E");
}

.quick-icon-partners::before,
.quick-card:nth-child(3) .quick-icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.8'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.8'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E");
}

.quick-icon-quote::before,
.quick-card:nth-child(4) .quick-icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.quick-icon-contact::before,
.quick-card:nth-child(5) .quick-icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.6a2 2 0 0 1-.4 2.1L8.1 9.9a16 16 0 0 0 6 6l1.5-1.3a2 2 0 0 1 2.1-.4c.8.3 1.7.6 2.6.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.6a2 2 0 0 1-.4 2.1L8.1 9.9a16 16 0 0 0 6 6l1.5-1.3a2 2 0 0 1 2.1-.4c.8.3 1.7.6 2.6.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
}

.quick-icon-company::before,
.quick-card:nth-child(6) .quick-icon::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
}

.quick-content {
    flex: 1;
}

.quick-card strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.quick-card .quick-content > span {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    display: block;
}

.quick-arrow {
    font-size: 1.5rem;
    color: var(--accent-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    align-self: flex-end;
    margin-top: auto;
}

.quick-card:hover .quick-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Services Section (Dark cards with overlay) */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.service-overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Projects Section (White cards) */
.projects-section {
    padding: 100px 0;
    background-color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 220px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Jobb & Partners (Two big cards) */
.jobb-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.split-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.big-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 215, 0, 0.15); /* Light yellow bg */
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.quote-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 4px solid var(--accent-primary);
    margin: 20px 0;
    font-style: italic;
    color: var(--text-main);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 0px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f8f9fa;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: #fff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.wpforms-container,
.wpforms-container-full {
    margin: 0 !important;
}

.skuttunge-wpforms-embed {
    width: 100%;
    margin-top: 14px;
}

.wpforms-container .wpforms-form .wpforms-field {
    padding: 0 0 20px !important;
    margin: 0 !important;
}

.wpforms-container .wpforms-form .wpforms-field-label {
    display: block !important;
    margin: 0 0 8px !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
}

.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form input[type="url"],
.wpforms-container .wpforms-form input[type="number"],
.wpforms-container .wpforms-form input[type="date"],
.wpforms-container .wpforms-form select,
.wpforms-container .wpforms-form textarea {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    padding: 12px 15px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0 !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    background-color: #f8f9fa !important;
    box-shadow: none !important;
    transition: border-color 0.3s, background-color 0.3s !important;
}

.wpforms-container .wpforms-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form select:focus,
.wpforms-container .wpforms-form textarea:focus {
    outline: none !important;
    border-color: var(--accent-primary) !important;
    background-color: #fff !important;
}

.wpforms-container .wpforms-form .wpforms-submit-container {
    padding: 0 !important;
    margin: 0 !important;
}

.wpforms-container .wpforms-form button[type="submit"],
.wpforms-container .wpforms-form .wpforms-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: auto !important;
    padding: 12px 28px !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    background-color: var(--accent-primary) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.wpforms-container .wpforms-form button[type="submit"]:hover,
.wpforms-container .wpforms-form .wpforms-submit:hover {
    background-color: var(--accent-hover) !important;
    transform: translateY(-1px);
}

.story-card .wpforms-container .wpforms-form button[type="submit"],
.story-card .wpforms-container .wpforms-form .wpforms-submit {
    width: 100% !important;
}

.wpforms-container .wpforms-form label.wpforms-error,
.wpforms-container .wpforms-form .wpforms-error {
    color: #b42318 !important;
    font-size: 0.85rem !important;
    margin-top: 6px !important;
}

.wpforms-container .wpforms-form .wpforms-field.wpforms-has-error input,
.wpforms-container .wpforms-form .wpforms-field.wpforms-has-error select,
.wpforms-container .wpforms-form .wpforms-field.wpforms-has-error textarea {
    border-color: #b42318 !important;
}

.wpcf7 {
    width: 100%;
}

.wpcf7 form {
    margin: 0;
}

.wpcf7 form p {
    margin: 0;
}

.wpcf7 form br {
    display: none;
}

.wpcf7 .form-row {
    gap: 16px;
    align-items: start;
    margin: 0 0 14px;
}

.wpcf7 .form-group {
    margin-bottom: 14px;
}

.wpcf7 .form-row .form-group {
    margin-bottom: 0;
}

.wpcf7 label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-top: 0;
}

.wpcf7 .form-group .wpcf7-form-control-wrap + .wpcf7-form-control-wrap {
    margin-top: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 input[type="file"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    max-width: none;
    height: auto;
    padding: 10px 13px;
    border: 1px solid #dee2e6;
    border-radius: 0;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #f8f9fa;
    box-shadow: none;
    transition: border-color 0.3s, background-color 0.3s;
}

.wpcf7 input[type="file"] {
    cursor: pointer;
}

.wpcf7 textarea {
    min-height: 110px;
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: #fff;
}

.wpcf7 .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: auto;
    margin-top: 2px;
    padding: 11px 26px;
    border: none;
    border-radius: var(--radius-sm);
    background-color: var(--accent-primary);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7 .wpcf7-submit:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.wpcf7-spinner {
    margin: 10px auto 0;
    display: block;
}

.wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #b42318;
    font-size: 0.85rem;
}

.wpcf7 form .wpcf7-response-output {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

.entry-content {
    width: 100%;
}

.entry-content > :where(p, ul, ol, h1, h2, h3, h4, h5, h6, .wp-block-buttons, .wp-block-image, .wp-block-shortcode, .wp-block-embed):not(.alignfull):not(.alignwide):not(.section):not(.hero) {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.entry-content > .alignwide {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content > .alignfull {
    max-width: none;
    width: 100%;
}

.builder-template > *:first-child {
    margin-top: 0;
}

.wp-block-group.is-style-skuttunge-section,
.skuttunge-pattern-section {
    padding: 60px 0;
}

.wp-block-group.is-style-skuttunge-light-section,
.skuttunge-pattern-light {
    padding: 60px 0;
    background: var(--bg-light);
}

.wp-block-group.is-style-skuttunge-dark-section,
.skuttunge-pattern-dark {
    padding: 70px 0;
    background: #111;
    color: #fff;
}

.wp-block-group.is-style-skuttunge-dark-section h1,
.wp-block-group.is-style-skuttunge-dark-section h2,
.wp-block-group.is-style-skuttunge-dark-section h3,
.skuttunge-pattern-dark h1,
.skuttunge-pattern-dark h2,
.skuttunge-pattern-dark h3 {
    color: #fff;
}

.wp-block-group.is-style-skuttunge-dark-section > p,
.wp-block-group.is-style-skuttunge-dark-section .section-subtitle,
.skuttunge-pattern-dark > p,
.skuttunge-pattern-dark .section-subtitle {
    color: #ccc;
}

.wp-block-group.is-style-skuttunge-card,
.skuttunge-editable-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid #e9e9e9;
    box-shadow: var(--shadow-sm);
}

.wp-block-columns.is-style-skuttunge-card-grid,
.skuttunge-card-grid {
    gap: 30px;
    align-items: stretch;
}

.skuttunge-card-grid > .wp-block-column {
    min-width: 0;
}

.wp-block-button.is-style-skuttunge-primary .wp-block-button__link,
.wp-block-button .wp-block-button__link.is-style-skuttunge-primary {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    background-color: var(--accent-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wp-block-button.is-style-skuttunge-primary .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link.is-style-skuttunge-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.wp-block-button.is-style-skuttunge-secondary .wp-block-button__link,
.wp-block-button .wp-block-button__link.is-style-skuttunge-secondary {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-main);
    border: 1px solid #ddd;
    font-weight: 600;
    text-decoration: none;
}

.wp-block-button.is-style-skuttunge-secondary .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link.is-style-skuttunge-secondary:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.quick-card h3 {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.quick-card p:not(.quick-arrow) {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.quick-card .wp-block-html {
    margin: 0;
}

.skuttunge-block-hero.wp-block-cover {
    min-height: 600px;
    padding: 90px 20px;
    color: #fff;
    text-align: center;
}

.skuttunge-block-hero .wp-block-cover__inner-container {
    max-width: 840px;
    margin: 0 auto;
}

.skuttunge-block-hero h1 {
    color: #fff;
    font-size: 3.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.skuttunge-block-hero p {
    color: #fff;
    font-size: 1.2rem;
}

.skuttunge-block-services {
    gap: 20px;
}

.skuttunge-service-block-card.wp-block-cover {
    min-height: 300px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.skuttunge-service-block-card.wp-block-cover .wp-block-cover__inner-container {
    align-self: flex-end;
}

.skuttunge-service-block-card h3,
.skuttunge-service-block-card p {
    color: #fff;
}

.skuttunge-service-block-card h3 {
    margin-bottom: 5px;
}

.skuttunge-info-columns {
    gap: 32px;
    align-items: center;
}

.skuttunge-info-columns .section-title {
    text-align: left;
}

.skuttunge-info-columns .wp-block-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.skuttunge-form-pattern .wp-block-shortcode {
    margin: 0;
}

.skuttunge-instagram-pattern {
    gap: 24px;
}

.instagram-placeholder-card {
    min-height: 420px;
    background: #fff;
    border: 1px solid #e7eaee;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
}

.split-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: start;
}

.story-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid #e9e9e9;
    box-shadow: var(--shadow-sm);
}

.story-card h3 {
    margin-bottom: 12px;
}

.badge-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.badge {
    background: #0f0f0f;
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid #1f1f1f;
}

.bullet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.story-card .bullet-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.bullet {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-muted);
}

.bullet .dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    margin-top: 7px;
    box-shadow: 0 0 0 4px rgba(0, 136, 204, 0.1);
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: grid;
    gap: 10px;
}

.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
}

.bullet-list .dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    margin-top: 7px;
    box-shadow: 0 0 0 4px rgba(0, 136, 204, 0.1);
}

.selected-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.gallery-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #e7e7e7;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-page .gallery-card img {
    cursor: zoom-in;
}

.gallery-page .gallery-card img:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: -3px;
}

.gallery-caption {
    padding: 14px 16px 18px;
}

.gallery-caption h4 {
    margin-bottom: 6px;
}

.gallery-caption p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.trust-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    align-items: center;
    gap: 36px;
}

.trust-copy .lead {
    max-width: 680px;
}

.credit-card {
    gap: 14px;
}

.creditsafe-seal {
    width: 100%;
    max-width: 340px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.creditsafe-seal:hover,
.creditsafe-seal:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(0, 136, 204, 0.35);
    box-shadow: var(--shadow-md);
    outline: none;
}

.creditsafe-seal img {
    width: 100%;
    height: auto;
    display: block;
}

.creditsafe-seal-large {
    max-width: 420px;
    justify-self: end;
    padding: 14px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(2px);
}

.image-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    display: grid;
    gap: 14px;
}

.image-lightbox__img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    background: #111111;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.image-lightbox__caption {
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.image-lightbox__close,
.image-lightbox__nav {
    position: absolute;
    z-index: 2;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.image-lightbox__close:hover,
.image-lightbox__nav:hover,
.image-lightbox__close:focus-visible,
.image-lightbox__nav:focus-visible {
    background: #ffffff;
    transform: translateY(-1px);
    outline: none;
}

.image-lightbox__close {
    top: -16px;
    right: -16px;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    line-height: 1;
}

.image-lightbox__nav {
    top: 50%;
    width: 46px;
    height: 58px;
    font-size: 2.4rem;
    transform: translateY(-50%);
}

.image-lightbox__nav:hover,
.image-lightbox__nav:focus-visible {
    transform: translateY(-50%) translateY(-1px);
}

.image-lightbox__nav--prev {
    left: -18px;
}

.image-lightbox__nav--next {
    right: -18px;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.service-list-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.service-list-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(247, 201, 72, 0.08), transparent 45%);
    pointer-events: none;
}

.service-topline {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
}

.service-topline .dot {
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.service-list-card p {
    color: var(--text-muted);
    margin: 0;
}

.service-link {
    color: var(--accent-primary);
    font-weight: 700;
    text-decoration: none;
}

.service-link:hover {
    color: var(--accent-hover);
}

.panel {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.value-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.value-card h4 {
    margin-bottom: 8px;
}

.value-card p {
    margin: 0;
    color: var(--text-muted);
}

.form-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 6px;
}

.label-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.upload-input {
    padding: 10px;
    background: #fff;
}

.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-feedback {
    margin: 24px 0 0;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    border: 1px solid transparent;
}

.form-feedback-success {
    color: #155724;
    background: #d4edda;
    border-color: #c3e6cb;
}

.form-feedback-error {
    color: #721c24;
    background: #f8d7da;
    border-color: #f5c6cb;
}
/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #fff;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-option-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    width: 60px;
    height: 78px;
    background-color: var(--accent-primary);
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #000;
}

.contact-details {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.offer-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Footer */
footer {
    background-color: #000000;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .split-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}

/* --- New Styles for Multi-page Layout --- */

/* Active Nav Link */
.nav-links a.active {
    color: var(--accent-primary);
    font-weight: 700;
}

/* Page Header (Smaller Hero) */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.48), rgba(0,0,0,0.48)), url('./bilder/hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 360px;
    padding: 95px 0 85px;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Detailed Services Layout (Alternating Rows) */
.services-detailed {
    padding: 80px 0;
    background-color: #fff;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-image {
    flex: 1;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Link Arrow Style */
.link-arrow {
    display: inline-block;
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.link-arrow:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* Responsive adjustments for new layout */
@media (max-width: 768px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .service-image {
        width: 100%;
        height: 300px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* --- New Sections Styles --- */

/* Read More Link in Service Cards */
.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.read-more:hover {
    text-decoration: underline;
}

/* Why Us Section */
.why-us-section {
    padding: 100px 0;
    background-color: #fff;
}

.why-us-text .subtitle {
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.why-us-stat {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid #eee;
}

.why-us-stat h3 {
    font-size: 4rem;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.why-us-stat .small-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.partners-header {
    margin-bottom: 40px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Quality Section */
.quality-section {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.quality-content {
    max-width: 800px;
    margin: 0 auto;
}

.quality-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.quality-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Site Footer */
.site-footer {
    background-color: #23282d;
    color: #ffffff;
    padding: 60px 0 30px;
    border-top: none;
}

.admin-bar .navbar {
    top: 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    width: 58px;
    height: 40px;
    object-fit: contain;
    display: block;
    background: #ffffff;
    border-radius: 4px;
    padding: 3px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
}

.logo-text {
    font-weight: 800;
    line-height: 1.1;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.footer-nav a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
    color: #cccccc;
    text-align: left;
}

.footer-widget-title {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-widget a {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888888;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 20px;
}

.scroll-top-btn {
    width: 36px;
    height: 36px;
    background-color: var(--accent-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    text-decoration: none;
    transition: all 0.3s;
}

.scroll-top-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* New Theme Elements */

/* Service Image Grid */
.service-grid-images {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .service-grid-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service-grid-images {
        grid-template-columns: 1fr;
    }
}

.service-image-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 430px;
    box-sizing: border-box;
}

.service-card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.service-image-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-img-holder {
    height: 190px;
    overflow: hidden;
}

.service-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image-card:hover .service-img-holder img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 210px;
}

.service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Why Choose Us */
.why-us-content {
    flex: 1;
}

.why-us-image {
    flex: 1;
}

.why-us-image img {
    width: 100%;
    height: auto;
    display: block;
}

.instagram-showcase {
    margin-top: 56px;
    padding-top: 42px;
    border-top: 1px solid #e8e8e8;
}

.instagram-showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.instagram-showcase-header .section-title {
    text-align: left;
    margin-bottom: 8px;
    font-size: 2rem;
}

.instagram-showcase-intro {
    max-width: 620px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.instagram-follow {
    flex: 0 0 auto;
}

.instagram-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.instagram-post-card {
    min-width: 0;
    min-height: 430px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    align-items: stretch;
}

.instagram-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.instagram-post-card .instagram-media,
.instagram-post-card iframe {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.instagram-post-card .instagram-media {
    border-radius: var(--radius-sm) !important;
    box-shadow: none !important;
    display: flex !important;
    min-height: 390px !important;
    background: #f8f9fa !important;
    overflow: hidden !important;
}

.instagram-post-card .instagram-media > a {
    display: flex;
    width: 100%;
    min-height: 390px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #f8f9fa;
    color: var(--accent-primary);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: 1px dashed #d8d8d8;
}

.feature-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(0, 115, 170, 0.1);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 900px) {
    .reverse-mobile {
        flex-direction: column-reverse;
    }
}

/* Contact Page Styles */
.contact-info-column {
    padding-right: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-detail-item .icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-detail-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.contact-detail-item p, .contact-detail-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-detail-item a:hover {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .contact-info-column {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

/* Welcome Overlay */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--accent-primary);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.welcome-content {
    text-align: center;
}

.welcome-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
}

.welcome-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.welcome-btn {
    background-color: #ffffff;
    color: var(--accent-primary);
    border: none;
    padding: 15px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.welcome-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
    .welcome-content h1 {
        font-size: 2.5rem;
    }
    .welcome-options {
        flex-direction: column;
        gap: 1rem;
    }
    .welcome-btn {
        width: 100%;
    }
}

.split-layout {
    align-items: stretch;
}

.story-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-card .simple-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.story-card .simple-form button[type="submit"] {
    margin-top: auto;
}


/* Responsive polish */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navbar .btn {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .hero {
        min-height: auto;
        padding: 96px 0 68px;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 3rem);
        line-height: 1.08;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .split-layout .hero-actions .btn {
        max-width: 320px;
    }

    .section {
        padding: 48px 0;
    }

    .services-section {
        padding: 60px 0;
    }

    .story-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .hero h1,
    .page-header h1 {
        font-size: clamp(1.9rem, 8.5vw, 2.35rem);
        line-height: 1.1;
    }

    .hero p,
    .page-header p {
        font-size: 1rem;
    }

    h2.section-title {
        font-size: 2rem;
    }

    p.section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .service-content {
        padding: 18px;
    }
}

/* Mobile-friendly layout refinements */
img,
video,
iframe {
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

body.lightbox-open {
    overflow: hidden;
}

.nav-container > *,
.split-layout > *,
.story-card,
.panel,
.value-card,
.gallery-card,
.service-image-card,
.project-card,
.contact-option-card {
    min-width: 0;
}

.navbar .btn,
.btn {
    text-align: center;
}

.contact-email-button {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    touch-action: manipulation;
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 0.78rem;
    }

    .brand-logo {
        width: 132px;
        height: 86px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 4px 0 6px;
    }

    .nav-container {
        justify-content: space-between;
        align-items: center;
        gap: 8px 12px;
    }

    .logo {
        flex: 0 0 auto;
    }

    .brand-logo {
        width: 112px;
        height: 74px;
        transform: translateY(2px);
    }

    .navbar .btn {
        order: 2;
        flex: 0 0 auto;
        padding: 9px 14px;
        font-size: 0.86rem;
        white-space: nowrap;
    }

    .nav-links {
        display: flex;
        order: 3;
        width: 100%;
        gap: 16px;
        overflow-x: auto;
        padding: 8px 0 5px;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links li {
        flex: 0 0 auto;
    }

    .nav-links a {
        display: block;
        padding: 6px 0;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .hero {
        min-height: auto;
        padding: 84px 0 64px;
    }

    .page-header {
        min-height: auto;
        padding: 72px 0 58px;
    }

    .section {
        padding: 44px 0;
    }

    .services-section,
    .jobb-section,
    .services-detailed,
    .why-us-section,
    .quality-section,
    .contact-section {
        padding: 50px 0;
    }

    .split-layout,
    .quick-links-grid,
    .services-grid,
    .projects-grid,
    .selected-gallery,
    .gallery-grid,
    .service-list-grid,
    .value-grid,
    .contact-options,
    .bullet-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .split-layout {
        gap: 24px !important;
        align-items: start;
    }

    .stats-grid {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        width: 100%;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 360px;
        min-height: 46px;
    }

    .split-layout .hero-actions {
        justify-content: center;
    }

    .split-layout .hero-actions .btn {
        flex: 1 1 100%;
        max-width: none;
    }

    .story-card,
    .panel,
    .big-card,
    .contact-option-card,
    .offer-form-container {
        padding: 24px;
    }

    .card-header {
        align-items: flex-start;
    }

    .service-row,
    .service-row.reverse {
        align-items: stretch;
    }

    .service-text h2 {
        font-size: 2rem;
    }

    .service-text p,
    .lead {
        font-size: 1rem;
    }

    .service-image {
        height: 280px;
    }

    .service-img-holder {
        height: 210px;
    }

    .instagram-showcase {
        margin-top: 42px;
        padding-top: 32px;
    }

    .instagram-showcase-header {
        flex-direction: column;
        align-items: stretch;
    }

    .instagram-showcase-header .section-title {
        font-size: 1.75rem;
    }

    .instagram-follow {
        width: 100%;
        max-width: 360px;
    }

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

    .instagram-post-card {
        min-height: 360px;
    }

    .instagram-post-card .instagram-media,
    .instagram-post-card .instagram-media > a {
        min-height: 320px !important;
    }

    .gallery-card img {
        height: 210px;
    }

    .footer-nav {
        width: 100%;
        align-items: center;
    }

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

    .contact-info-column > div[style*="grid-template-columns"],
    [style*="minmax(300px"],
    [style*="minmax(280px"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .contact-detail-item {
        gap: 14px;
    }

    .contact-detail-item .icon-box {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .contact-detail-item strong[style*="white-space"] {
        white-space: normal !important;
    }

    .contact-detail-item .btn,
    .team-card .btn {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 600px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
        column-gap: 14px;
        row-gap: 4px;
    }

    .nav-links a {
        padding: 4px 0;
        line-height: 1.2;
    }

    .brand-logo {
        width: 94px;
        height: 62px;
    }

    .hero-meta {
        gap: 10px;
    }

    .pill {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .badge-row {
        gap: 8px;
    }

    .badge {
        max-width: 100%;
        padding: 7px 10px;
        text-align: center;
        font-size: 0.82rem;
    }

    .team-card {
        padding: 24px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .brand-logo {
        width: 94px;
        height: 62px;
    }

    .navbar .btn {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .nav-links {
        gap: 14px;
    }

    .hero h1,
    .page-header h1 {
        font-size: clamp(1.75rem, 8.2vw, 2.1rem);
    }

    h2.section-title,
    .quality-content h2 {
        font-size: 1.75rem;
    }

    .story-card,
    .panel,
    .big-card,
    .contact-option-card,
    .offer-form-container {
        padding: 20px;
    }

    .form-row {
        gap: 12px;
    }

    .gallery-card img {
        height: 190px;
    }

    .service-image {
        height: 240px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

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

    .powered-by {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 14px;
    }

    .brand-logo {
        width: 92px;
        height: 60px;
    }

    .navbar .btn {
        padding: 8px;
        font-size: 0.74rem;
    }

    .btn {
        padding: 11px 18px;
    }

    .hero h1,
    .page-header h1 {
        font-size: 1.7rem;
        line-height: 1.12;
    }
}

@media (max-width: 768px) {
    .trust-layout {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .trust-copy .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .creditsafe-seal,
    .creditsafe-seal-large {
        justify-self: center;
        max-width: 360px;
    }

    .image-lightbox {
        padding: 14px;
    }

    .image-lightbox__dialog {
        gap: 12px;
    }

    .image-lightbox__img {
        max-height: 72vh;
    }

    .image-lightbox__close {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
    }

    .image-lightbox__nav {
        top: auto;
        bottom: 54px;
        width: 42px;
        height: 42px;
        font-size: 2rem;
        transform: none;
    }

    .image-lightbox__nav:hover,
    .image-lightbox__nav:focus-visible {
        transform: translateY(-1px);
    }

    .image-lightbox__nav--prev {
        left: 18px;
    }

    .image-lightbox__nav--next {
        right: 18px;
    }
}


/* Page-specific shared variants */
.page-header.company-header {
    background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)), url('./bilder_files/foretaget.JPG');
    background-size: cover;
    background-position: center;
}

/* Mobile navigation */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #dddddd;
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 14px rgba(0, 136, 204, 0.18);
    outline: none;
}

.navbar.is-open .nav-toggle {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.24);
}

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

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

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

@media (max-width: 768px) {
    .navbar {
        top: 0 !important;
        padding: 0;
        isolation: isolate;
    }

    .admin-bar .navbar {
        top: 0 !important;
    }

    .navbar::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: rgba(35, 40, 45, 0.34);
        opacity: 0;
        backdrop-filter: blur(2px);
        transition: opacity 0.22s ease;
    }

    .navbar.is-open::before {
        opacity: 1;
    }

    .nav-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 8px;
        position: relative;
        z-index: 1;
        min-height: 60px;
    }

    .logo {
        grid-column: 1;
        grid-row: 1;
    }

    .brand-logo {
        width: 100px;
        height: 58px;
        transform: translate(8px, 0);
    }

    .nav-toggle {
        display: inline-flex;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .navbar .btn {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        order: initial;
        width: auto;
        min-height: 42px;
        max-width: 150px;
        padding: 9px 13px;
        font-size: 0.82rem;
        line-height: 1.15;
        white-space: normal;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        z-index: 1001;
        width: auto;
        margin: 0;
        padding: 11px;
        list-style: none;
        flex-direction: column;
        gap: 0;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: calc(100vh - 72px);
        background: linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
        border: 1px solid rgba(0, 136, 204, 0.16);
        border-radius: var(--radius-md);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px) scale(0.985);
        transform-origin: top right;
        visibility: hidden;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }

    .nav-links::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent-primary), #37b8f1);
    }

    .navbar.is-open .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(-4px);
    }

    .navbar.is-open .nav-links li {
        animation: mobileMenuItem 0.22s ease forwards;
    }

    .navbar.is-open .nav-links li:nth-child(2) {
        animation-delay: 0.03s;
    }

    .navbar.is-open .nav-links li:nth-child(3) {
        animation-delay: 0.06s;
    }

    .navbar.is-open .nav-links li:nth-child(4) {
        animation-delay: 0.09s;
    }

    .navbar.is-open .nav-links li:nth-child(5) {
        animation-delay: 0.12s;
    }

    .navbar.is-open .nav-links li:nth-child(6) {
        animation-delay: 0.15s;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        padding: 14px 13px;
        border-radius: var(--radius-sm);
        font-size: 0.9rem;
        line-height: 1.2;
        white-space: normal;
        border-bottom: 1px solid rgba(35, 40, 45, 0.07);
        transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    }

    .nav-links li:last-child a {
        border-bottom: 0;
    }

    .nav-links a::after {
        content: "";
        width: 8px;
        height: 8px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        opacity: 0.28;
        transform: rotate(45deg);
        flex: 0 0 auto;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active,
    .nav-links .current-menu-item > a,
    .nav-links .current_page_item > a {
        background: rgba(0, 136, 204, 0.08);
        padding-left: 16px;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after,
    .nav-links .current-menu-item > a::after,
    .nav-links .current_page_item > a::after {
        opacity: 0.8;
        transform: translateX(2px) rotate(45deg);
    }

    .hero {
        padding: 76px 0 58px;
    }

    .page-header {
        padding: 64px 0 52px;
    }

    .hero h1,
    .page-header h1 {
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
        text-wrap: balance;
    }
}

@media screen and (max-width: 782px) {
    .admin-bar .navbar {
        top: 0 !important;
    }
}

@keyframes mobileMenuItem {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 420px) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
        gap: 6px;
    }

    .brand-logo {
        width: 88px;
        height: 52px;
        transform: translate(7px, 0);
    }

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

    .navbar .btn {
        max-width: 132px;
        min-height: 40px;
        padding: 8px 10px;
        font-size: 0.76rem;
    }

    .nav-links {
        left: 14px;
        right: 14px;
    }
}

@media (max-width: 340px) {
    .brand-logo {
        width: 80px;
        height: 48px;
        transform: translate(6px, 0);
    }

    .navbar .btn {
        max-width: 118px;
        font-size: 0.72rem;
    }
}

/* Final V1 quick-link baseline: keep the original desktop card design. */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

.quick-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    min-height: 260px;
    padding: 35px 30px;
    overflow: hidden;
    box-sizing: border-box;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    border: 0;
    border-top: 3px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.quick-card-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.quick-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
    flex: 0 0 60px;
    color: var(--accent-primary);
    background-color: rgba(0, 115, 170, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.quick-content {
    width: 100%;
    flex: 1 1 auto;
}

.quick-arrow {
    align-self: flex-end;
    margin-top: auto;
}

.quick-card:hover,
.quick-card:focus-within {
    border-top-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-7px);
}

@media (max-width: 992px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile delivery refinements */
@media (max-width: 768px) {
    body.nav-open {
        overflow: hidden;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section,
    .services-section,
    .jobb-section,
    .services-detailed,
    .why-us-section,
    .quality-section,
    .contact-section,
    .wp-block-group.is-style-skuttunge-section,
    .wp-block-group.is-style-skuttunge-light-section,
    .skuttunge-pattern-section,
    .skuttunge-pattern-light {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .hero {
        padding: 52px 0 42px;
    }

    .page-header {
        padding: 44px 0 38px;
    }

    .hero-content {
        padding: 0;
    }

    .hero h1,
    .page-header h1 {
        margin-bottom: 14px;
    }

    .hero p,
    .page-header p {
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .page-header p {
        margin-bottom: 0;
    }

    .kicker {
        margin-bottom: 6px;
        font-size: 0.78rem;
    }

    h2.section-title {
        margin-bottom: 8px;
        font-size: 1.85rem;
        line-height: 1.16;
    }

    p.section-subtitle {
        margin-bottom: 24px;
        font-size: 0.96rem;
        line-height: 1.5;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn,
    .split-layout .hero-actions .btn {
        min-height: 44px;
        max-width: 320px;
        padding: 10px 18px;
    }

    .hero-meta {
        gap: 8px;
        margin-top: 20px;
    }

    .pill {
        width: auto;
        padding: 5px 9px;
        font-size: 0.8rem;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 24px;
        gap: 12px;
    }

    .quick-card {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        min-height: 205px;
        height: auto;
        padding: 18px 16px;
        overflow: hidden;
        box-sizing: border-box;
        background: #ffffff;
        color: inherit;
        text-decoration: none;
        border: 0;
        border-top: 3px solid rgba(0, 136, 204, 0.12);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
    }

    .quick-card:hover,
    .quick-card:focus-within {
        border-top-color: var(--accent-primary);
        transform: translateY(-2px);
    }

    .quick-card-link {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        height: 100%;
        padding: 0;
        width: 100%;
        color: inherit;
        text-decoration: none;
    }

    .quick-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        margin: 0;
        color: var(--accent-primary);
        background-color: rgba(0, 115, 170, 0.08);
        border-radius: 50%;
    }

    .quick-icon::before {
        width: 21px;
        height: 21px;
    }

    .quick-card strong {
        margin-bottom: 4px;
        font-size: 1.02rem;
        line-height: 1.25;
    }

    .quick-card .quick-content > span,
    .quick-card p:not(.quick-arrow) {
        font-size: 0.82rem;
        line-height: 1.38;
    }

    .quick-arrow {
        align-self: flex-end;
        margin-top: auto;
        font-size: 1.2rem;
        color: var(--accent-primary);
        opacity: 0.72;
        transform: none;
    }

    .service-grid-images {
        gap: 14px;
    }

    .service-image-card {
        min-height: 0;
        height: auto;
    }

    .service-card-link {
        display: grid;
        grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
        height: auto;
    }

    .service-img-holder {
        height: 100%;
        min-height: 172px;
    }

    .service-content {
        min-height: 0;
        padding: 14px;
    }

    .service-content h3 {
        margin-bottom: 6px;
        font-size: 1.02rem;
        line-height: 1.25;
    }

    .service-content p {
        margin-bottom: 10px;
        font-size: 0.85rem;
        line-height: 1.42;
    }

    .read-more {
        margin-top: 0;
        font-size: 0.76rem;
    }

    .split-layout {
        gap: 20px !important;
    }

    .story-card,
    .panel,
    .big-card,
    .contact-option-card,
    .offer-form-container,
    .team-card {
        height: auto;
        padding: 18px !important;
    }

    .story-card h3,
    .team-card h3 {
        margin-bottom: 8px;
    }

    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .value-card,
    .service-list-card {
        padding: 14px;
    }

    .value-card h4 {
        font-size: 0.98rem;
        line-height: 1.3;
    }

    .value-card p,
    .service-list-card p {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .feature-list {
        gap: 16px;
        margin-top: 22px;
    }

    .feature-item {
        gap: 12px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
    }

    .service-row,
    .service-row.reverse {
        gap: 18px;
        margin-bottom: 42px;
    }

    .service-text h2 {
        margin-bottom: 10px;
        font-size: 1.75rem;
    }

    .service-text p {
        margin-bottom: 18px;
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .service-image {
        height: 215px;
    }

    .service-image.service-image--drainage {
        width: 100%;
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }

    .service-image.service-image--drainage img {
        width: 100%;
        height: 240px !important;
        min-height: 240px;
        max-height: 240px;
        object-fit: cover;
        object-position: center;
    }

    .selected-gallery,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 18px;
    }

    .gallery-card img {
        height: 135px;
    }

    .gallery-caption {
        padding: 10px;
    }

    .gallery-caption h4 {
        margin-bottom: 4px;
        font-size: 0.9rem;
        line-height: 1.28;
    }

    .gallery-caption p {
        font-size: 0.78rem;
        line-height: 1.38;
    }

    .instagram-showcase {
        margin-top: 34px;
        padding-top: 26px;
    }

    .instagram-showcase-header {
        gap: 16px;
        margin-bottom: 18px;
    }

    .instagram-post-grid {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: min(84vw, 320px);
        gap: 12px;
        overflow-x: auto;
        padding: 2px 2px 10px;
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .instagram-post-card {
        min-height: 0;
        padding: 8px;
        scroll-snap-align: start;
    }

    .instagram-post-card .instagram-media,
    .instagram-post-card .instagram-media > a {
        min-height: 300px !important;
    }

    .contact-detail-item {
        gap: 12px;
        margin-bottom: 20px;
    }

    .contact-detail-item .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .form-group {
        margin-bottom: 14px;
    }

    textarea,
    .wpcf7 textarea,
    .wpforms-container .wpforms-form textarea {
        min-height: 96px !important;
    }

    [style*="minmax(300px"] {
        gap: 14px !important;
        margin-top: 24px !important;
        margin-bottom: 0 !important;
    }

    #offert h2 {
        font-size: 1.8rem !important;
    }

    .site-footer {
        padding: 36px 0 24px;
    }

    .footer-top {
        gap: 22px;
        margin-bottom: 24px;
    }

    .footer-divider {
        margin-bottom: 22px;
    }

    .footer-bottom {
        gap: 14px;
    }
}

@media (max-width: 360px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

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

    .quick-card {
        min-height: 215px;
        padding: 16px 13px;
    }

    .quick-card-link {
        gap: 8px;
    }

    .quick-icon {
        width: 40px;
        height: 40px;
    }

    .quick-card strong {
        font-size: 0.96rem;
    }

    .quick-card .quick-content > span,
    .quick-card p:not(.quick-arrow) {
        font-size: 0.78rem;
    }

    .service-card-link {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .service-img-holder {
        min-height: 180px;
    }

    .gallery-caption p {
        font-size: 0.74rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
