@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #eab308;
    --accent-hover: #ca8a04;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --font-heading: 'Inter', sans-serif;
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

body.menu-open {
    overflow: hidden !important;
    height: 100vh;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary);
    position: relative;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.nav-links a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.has-megamenu:hover > a i {
    transform: rotate(180deg);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 1.2rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--accent);
}

.mobile-submenu {
    display: none;
}

/* Mega Menu */
.has-megamenu {
    position: static;
}

.megamenu {
    position: absolute;
    top: 90%; /* Move it up to overlap the padding area */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 95%;
    max-width: 1200px;
    background: var(--white);
    box-shadow: 0 30px 60px -12px rgba(15,23,42,0.15), 0 18px 36px -18px rgba(15,23,42,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    border: 1px solid rgba(15,23,42,0.05);
    z-index: 1000;
    overflow: hidden;
}

/* Invisible bridge to prevent closing when moving mouse from link to menu */
.megamenu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    z-index: -1;
}

.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.megamenu-inner {
    padding: 3rem;
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.2fr;
    gap: 3rem;
}

.megamenu-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.megamenu-header i {
    color: var(--accent);
    font-size: 1.25rem;
}

.megamenu-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.megamenu-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.megamenu-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.megamenu-item:hover {
    background: var(--bg-alt);
    transform: translateX(5px);
}

.item-icon {
    width: 40px;
    height: 40px;
    background: rgba(234, 179, 8, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

.item-content {
    display: flex;
    flex-direction: column;
}

.item-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9375rem;
}

.item-desc {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* Megamenu Featured */
.megamenu-featured {
    background: var(--bg-alt);
    margin: -3rem;
    padding: 3rem;
    border-left: 1px solid #f1f5f9;
}

.featured-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.featured-content {
    padding: 1.5rem;
}

.featured-content h4 {
    margin-bottom: 0.5rem;
}

.featured-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: block; /* Changed from flex to block to avoid unwanted centering */
    padding: 120px 0; /* Use padding for vertical spacing instead */
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards & Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(234, 179, 8, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(234, 179, 8, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* About Section Home */
.about-home {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.service-layout .about-text {
    padding-right: 2rem;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-item {
    text-align: center;
    position: relative;
}

.process-item:not(:last-child)::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 30px;
    right: -1rem;
    color: var(--accent);
    font-size: 1.5rem;
}

.process-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.process-item:hover .process-icon {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.process-item h4 {
    font-size: 1rem;
    font-weight: 700;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-img-wrapper {
    position: relative;
}

.about-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    padding: 2rem;
    border-radius: 16px;
    color: var(--primary);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none !important;
    }

    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: -10px 0 30px rgba(15,23,42,0.15);
        padding: 6rem 2rem 2rem;
        gap: 0.5rem;
        z-index: 1050;
        animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes slideIn {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    .nav-links.active li {
        display: block;
        width: 100%;
        height: auto !important;
    }

    .nav-links.active a {
        padding: 0.75rem 0;
        font-size: 1.15rem;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links.active a::after {
        display: none;
    }

    .megamenu {
        display: none !important;
    }

    .mobile-submenu {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        padding-left: 1rem;
        margin-top: 0.5rem;
        width: 100%;
    }

    .mobile-submenu.active {
        display: flex;
    }

    .mobile-submenu-item {
        font-size: 0.95rem !important;
        color: var(--text-light) !important;
        border-bottom: none !important;
        padding: 0.4rem 0 !important;
    }

    .nav-cta {
        display: none !important;
    }
    
    .service-layout .about-text {
        padding-right: 0;
    }

    h2, .section-header h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

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

    .process-item:not(:last-child)::after {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Mobile Sticky CTA */
    .mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--accent);
        color: var(--primary);
        text-align: center;
        padding: 1rem;
        font-weight: 700;
        z-index: 1001;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
}

@media (min-width: 969px) {
    .mobile-cta {
        display: none;
    }
}

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
}

body.menu-open .mobile-cta {
    display: none !important;
}

/* =============================================
   LOKAL SEO: OMRADEN-SEKTION (STARTSIDA)
   ============================================= */
.omraden-section {
    background: var(--bg-alt);
    padding: 4rem 0;
}

.omraden-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.omraden-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.omraden-text p {
    color: var(--text);
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 700px;
    margin-bottom: 2rem;
}

.omraden-cta {
    display: inline-block;
}

.omraden-pins {
    width: 100px;
    height: 100px;
    background: rgba(234, 179, 8, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.omraden-pins i {
    font-size: 2.5rem;
    color: var(--accent);
}

/* =============================================
   OMRADEN-SIDAN
   ============================================= */
.page-hero {
    background: var(--primary);
    color: var(--white);
    padding: 3.5rem 0;
}

.page-hero .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.25rem;
}

.page-hero .breadcrumbs a {
    color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumbs a:hover {
    color: var(--accent);
}

.page-hero .breadcrumbs span {
    margin: 0;
}

.page-hero h1 {
    font-size: 2.75rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 680px;
    line-height: 1.7;
}

.omraden-page-intro {
    padding: 5rem 0;
    background: var(--bg);
}

.omraden-intro-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.omraden-intro-grid h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.omraden-intro-grid p {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.omraden-intro-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-outline-dark {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.omraden-icon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(234, 179, 8, 0.08);
    border: 2px dashed rgba(234, 179, 8, 0.4);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    flex-shrink: 0;
}

.omraden-icon-block i {
    font-size: 3rem;
    color: var(--accent);
}

.omraden-icon-block span {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    text-align: center;
}

.omraden-list-section {
    background: var(--bg-alt);
    padding: 5rem 0;
}

.omraden-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.omrade-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    font-size: 0.95rem;
}

.omrade-item:hover {
    border-color: rgba(234, 179, 8, 0.5);
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.12);
    transform: translateY(-3px);
}

.omrade-item i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.omraden-cta-section {
    background: var(--bg);
    padding: 5rem 0;
}

/* Footer geo-text */
.footer-omraden-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Responsive: omraden */
@media (max-width: 768px) {
    .omraden-inner {
        grid-template-columns: 1fr;
    }

    .omraden-pins {
        display: none;
    }

    .omraden-intro-grid {
        grid-template-columns: 1fr;
    }

    .omraden-icon-block {
        display: none;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .omraden-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* =============================================
   FÖRE & EFTER – SIDA
   ============================================= */

/* Filter tabs */
.fe-filter-section {
    background: var(--bg-alt);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.fe-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.fe-tab {
    background: var(--white);
    border: 2px solid rgba(15, 23, 42, 0.1);
    color: var(--text);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.fe-tab:hover {
    border-color: var(--accent);
    color: var(--primary);
}

.fe-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

/* Gallery section */
.fe-gallery-section {
    padding: 4rem 0;
    background: var(--bg);
}

/* Project block */
.fe-project {
    margin-bottom: 5rem;
}

.fe-project:last-child {
    margin-bottom: 0;
}

.fe-project-header {
    margin-bottom: 2.5rem;
}

.fe-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(234, 179, 8, 0.12);
    color: var(--accent-hover);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.fe-project-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.fe-project-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 640px;
}

/* Pairs grid (before/after pairs) */
.fe-pairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(580px, 1fr));
    gap: 2.5rem;
}

/* Single pair */
.fe-pair {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: center;
    gap: 0;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: var(--transition);
}

.fe-pair:hover {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
    transform: translateY(-4px);
}

/* Image wrappers */
.fe-img-wrap {
    position: relative;
    overflow: hidden;
}

.fe-pair .fe-img-wrap {
    height: 260px;
    cursor: zoom-in;
}

.fe-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fe-pair:hover .fe-img-wrap img {
    transform: scale(1.04);
}

/* Zoom hint overlay */
.fe-zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    backdrop-filter: blur(3px);
}

.fe-img-wrap:hover .fe-zoom-hint {
    opacity: 1;
}

/* Labels */
.fe-label {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
}

.fe-label-before {
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    backdrop-filter: blur(4px);
}

.fe-label-after {
    background: rgba(22, 163, 74, 0.85);
    color: #fff;
    backdrop-filter: blur(4px);
}

/* Arrow between images */
.fe-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--primary);
    font-size: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.35);
}

/* Single gallery (hackklippning) */
.fe-single-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 1.5rem;
}

.fe-single-grid .fe-img-wrap {
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: var(--transition);
}

.fe-single-grid .fe-img-wrap:hover {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
    transform: translateY(-4px);
}

.fe-single-grid .fe-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fe-single-grid .fe-img-wrap:hover img {
    transform: scale(1.04);
}

/* CTA section */
.fe-cta-section {
    background: var(--primary);
    padding: 5rem 0;
    color: var(--white);
}

.fe-cta-section h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.fe-cta-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.fe-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fe-cta-section .btn-outline-dark {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.fe-cta-section .btn-outline-dark:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.fe-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, 0.93);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    backdrop-filter: blur(6px);
}

.fe-lightbox.active {
    display: flex;
}

.fe-lightbox-img-wrap {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.fe-lightbox-img-wrap img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    display: block;
}

.fe-lightbox-caption {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-align: center;
}

.fe-lightbox-close,
.fe-lightbox-prev,
.fe-lightbox-next {
    position: fixed;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 10000;
}

.fe-lightbox-close:hover,
.fe-lightbox-prev:hover,
.fe-lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

.fe-lightbox-close {
    top: 1.25rem;
    right: 1.25rem;
}

.fe-lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.fe-lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* =============================================
   STARTSIDA: PUFF TILL FÖRE & EFTER
   ============================================= */
.fe-teaser-section {
    background: var(--bg);
    padding: 5rem 0;
}

.fe-teaser-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.fe-teaser-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.fe-teaser-text p {
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 520px;
}

.fe-teaser-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.fe-teaser-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    box-shadow: var(--shadow-md);
}

.fe-teaser-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fe-teaser-img-wrap:hover img {
    transform: scale(1.06);
}

.fe-teaser-img-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.04em;
}

.fe-teaser-img-badge.after {
    background: rgba(22, 163, 74, 0.82);
}

/* Responsive fore-efter */
@media (max-width: 768px) {
    .fe-pairs-grid {
        grid-template-columns: 1fr;
    }

    .fe-pair {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .fe-pair .fe-img-wrap {
        height: 220px;
    }

    .fe-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin: 0 auto;
        transform: rotate(90deg);
    }

    .fe-single-grid {
        grid-template-columns: 1fr;
    }

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

    .fe-teaser-imgs {
        grid-template-columns: 1fr 1fr;
    }

    .fe-teaser-img-wrap {
        height: 150px;
    }

    .fe-cta-section h2 {
        font-size: 1.75rem;
    }
}
