/* =====================================================
   GRAV OG BYGG AS - Premium Light Terracotta Theme
   Version 1.0 (LIGHT)
   ===================================================== */

/* CSS Custom Properties */
:root {
    /* Colors - Light Stone Palette */
    --color-bg-primary: #fafaf9;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #f5f5f4;
    --color-bg-card: #ffffff;
    --color-bg-elevated: #ffffff;

    --color-text-primary: #1c1917;
    --color-text-secondary: #44403c;
    --color-text-tertiary: #78716c;
    --color-text-muted: #a8a29e;

    /* Accent - Warm Terracotta */
    --color-accent: #e26245;
    --color-accent-hover: #b84a32;
    --color-accent-dark: #b84a32;
    --color-accent-glow: rgba(226, 98, 69, 0.25);

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #e26245 0%, #b84a32 100%);
    --gradient-dark: linear-gradient(180deg, #fafaf9 0%, #f5f5f4 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #fafaf9 100%);
    --gradient-glow: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 70%);

    /* Borders */
    --border-color: #e7e5e4;
    --border-color-hover: #d6d3d1;
    --border-accent: rgba(226, 98, 69, 0.35);

    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(2rem, 1.6rem + 2vw, 3rem);
    --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    --text-5xl: clamp(3rem, 2.2rem + 4vw, 5rem);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.06);
    --shadow-md: 0 4px 6px rgba(28, 25, 23, 0.08);
    --shadow-lg: 0 10px 15px rgba(28, 25, 23, 0.10);
    --shadow-xl: 0 20px 25px rgba(28, 25, 23, 0.12);
    --shadow-glow: 0 0 40px var(--color-accent-glow);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-cursor: 500;
    --z-loader: 600;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

/* Selection */
::selection {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Lists */
ul, ol {
    list-style: none;
}

/* Buttons */
button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* =====================================================
   LOADER
   ===================================================== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loader);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-line {
    width: 200px;
    height: 2px;
    background: var(--color-bg-tertiary);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -50%;
    width: 50%;
    height: 100%;
    background: var(--gradient-accent);
    animation: loaderLine 1.2s ease-in-out infinite;
}

@keyframes loaderLine {
    0% { left: -50%; }
    100% { left: 100%; }
}

.loader-text {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   CUSTOM CURSOR
   ===================================================== */
.cursor, .cursor-follower {
    display: none;
}

@media (pointer: fine) {
    .cursor {
        display: block;
        position: fixed;
        width: 8px;
        height: 8px;
        background: var(--color-accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: var(--z-cursor);
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease, opacity 0.3s ease;
        mix-blend-mode: difference;
    }

    .cursor-follower {
        display: block;
        position: fixed;
        width: 40px;
        height: 40px;
        border: 1px solid var(--color-accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: var(--z-cursor);
        transform: translate(-50%, -50%);
        transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
        opacity: 0.5;
    }

    .cursor.active {
        transform: translate(-50%, -50%) scale(2);
    }

    .cursor-follower.active {
        width: 60px;
        height: 60px;
        opacity: 0.3;
    }
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-md) 0;
    transition: background var(--transition-base), padding var(--transition-base), backdrop-filter var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text .accent {
    color: var(--color-accent);
}

/* Navigation */
.nav {
    display: none;
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

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

/* Dropdown */
.nav-item.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateX(-50%) translateY(10px);
    width: 320px;
    padding: var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    box-shadow: var(--shadow-xl);
}

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

.dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.dropdown-link:hover {
    background: var(--color-bg-tertiary);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    flex-shrink: 0;
}

.dropdown-icon svg {
    width: 20px;
    height: 20px;
}

.dropdown-link strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary);
}

.dropdown-link small {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    margin-top: 2px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-phone {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

@media (min-width: 768px) {
    .header-phone {
        display: flex;
    }
}

.header-phone svg {
    width: 18px;
    height: 18px;
}

.header-phone:hover {
    color: var(--color-accent);
}

/* Nav Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
    cursor: pointer;
    position: relative;
    z-index: calc(var(--z-fixed) + 10);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-primary);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

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

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

/* Glow Effect */
.btn-glow {
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 40px var(--color-accent-glow);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border: 1px solid var(--color-text-tertiary);
    color: var(--color-text-primary);
}

.btn-outline:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Large Button */
.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-base);
}

/* White Button */
.btn-white {
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text-primary);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-5xl) 0 var(--space-4xl);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-background-image {
    position: absolute;
    inset: 0;
    background-image: url('../images/Gravemaskin-r9wuwcxe4yif2s76natrlxf6gmg8a095imlzk442tc.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--color-accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    padding: 0 var(--space-lg);
}

@media (min-width: 1024px) {
    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
        padding: 0 var(--space-xl);
        max-width: 1600px;
        margin: 0 auto;
    }

    .hero-content {
        padding: 0;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xl);
}

.title-line {
    display: block;
}

.title-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-text-primary);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-accent);
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin-top: var(--space-xs);
}

/* Hero Visual */
.hero-visual {
    display: none;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(226, 98, 69, 0.12) 0%, transparent 50%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.hero-image-badge {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text-primary);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
}

.hero-image-badge svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    fill: var(--color-accent);
}

/* Hero Scroll Indicator */
.hero-scroll {
    display: none;
    position: absolute;
    bottom: var(--space-2xl);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 1024px) {
    .hero-scroll {
        display: flex;
    }
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--color-bg-secondary);
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl) var(--space-3xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

/* =====================================================
   SECTION COMMON
   ===================================================== */
section {
    padding: var(--space-5xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-4xl);
}

.section-tag {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
}

/* =====================================================
   BENTO GRID - SERVICES
   ===================================================== */
.services {
    background: var(--color-bg-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
    }

    .bento-large {
        grid-row: span 2;
    }
}

.bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    min-height: 280px;
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.bento-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bento-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity var(--transition-base), transform var(--transition-slow);
}

.bento-card:hover .bento-bg img {
    opacity: 0.4;
    transform: scale(1.05);
}

.bento-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-card) 20%, transparent 100%);
}

.bento-content {
    position: relative;
    z-index: 1;
}

.bento-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.bento-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-bg-primary);
}

.bento-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.bento-text {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    transition: gap var(--transition-base);
}

.bento-card:hover .bento-link {
    gap: var(--space-md);
}

.bento-link svg {
    width: 16px;
    height: 16px;
}

.bento-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.bento-card:hover .bento-glow {
    opacity: 0.5;
}

.bento-large {
    min-height: 400px;
}

@media (min-width: 1024px) {
    .bento-large {
        min-height: auto;
    }
}

.bento-small .bento-text {
    display: none;
}

@media (min-width: 768px) {
    .bento-small .bento-text {
        display: block;
    }
}

/* Services Grid - Uniform Size */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    min-height: 320px;
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(226, 98, 69, 0.15);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    transition: opacity var(--transition-base), transform var(--transition-slow);
}

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

.service-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-card) 30%, transparent 100%);
}

.service-card-content {
    position: relative;
    z-index: 1;
}

.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.service-card-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.service-card-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    transition: gap var(--transition-base);
}

.service-card:hover .service-card-link {
    gap: var(--space-md);
}

.service-card-link svg {
    width: 16px;
    height: 16px;
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.process-simple {
    background: var(--color-bg-primary);
    padding: var(--space-5xl) 0;
}

.process-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

@media (min-width: 640px) {
    .process-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-base);
}

.process-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.process-card-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.3;
}

.process-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 50%;
}

.process-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-bg-primary);
}

.process-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.process-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.process {
    background: var(--color-bg-primary);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-line {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    right: 0;
    bottom: 0;
}

@media (min-width: 768px) {
    .process-line {
        display: block;
    }
}

.process-step {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    position: relative;
}

@media (min-width: 768px) {
    .process-step {
        grid-template-columns: 1fr 80px 1fr;
        gap: var(--space-xl);
        align-items: center;
    }

    .process-step:nth-child(even) .step-content {
        order: 2;
        text-align: left;
    }

    .process-step:nth-child(even) .step-icon {
        order: 1;
    }

    .process-step:nth-child(odd) .step-content {
        text-align: right;
    }
}

.step-number {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-bg-tertiary);
    position: absolute;
    top: var(--space-lg);
    right: 0;
}

@media (min-width: 768px) {
    .step-number {
        display: none;
    }
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.step-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.step-icon {
    display: none;
    width: 60px;
    height: 60px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .step-icon {
        display: flex;
    }
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

/* =====================================================
   WHY US SECTION
   ===================================================== */
.why-us {
    background: var(--color-bg-secondary);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-us-content .section-title {
    text-align: left;
    margin-bottom: var(--space-md);
}

.why-us-content .section-text {
    margin-bottom: var(--space-2xl);
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.why-us-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-base);
    color: var(--color-text-secondary);
}

.why-us-list svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.why-us-visual {
    position: relative;
}

.why-us-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.why-us-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: absolute;
    box-shadow: var(--shadow-xl);
}

.why-us-card-1 {
    top: var(--space-lg);
    right: calc(-1 * var(--space-lg));
}

.why-us-card-2 {
    bottom: var(--space-lg);
    left: calc(-1 * var(--space-lg));
}

@media (max-width: 1023px) {
    .why-us-card-1 {
        right: var(--space-md);
    }

    .why-us-card-2 {
        left: var(--space-md);
    }
}

.why-us-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
}

.why-us-card .card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-bg-primary);
}

.why-us-card .card-content strong {
    display: block;
    font-size: var(--text-lg);
    font-weight: 700;
}

.why-us-card .card-content span {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials {
    background: var(--color-bg-primary);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .testimonials-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: border-color var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--border-accent);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-lg);
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.testimonial-quote {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
    font-weight: 700;
    color: var(--color-bg-primary);
}

.author-info strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
}

.author-info span {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
}

/* =====================================================
   PROJECTS
   ===================================================== */
.projects {
    background: var(--color-bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .project-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.project-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
}

.project-large {
    aspect-ratio: auto;
    min-height: 400px;
}

.project-image {
    position: absolute;
    inset: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    background: linear-gradient(to top, rgba(28, 25, 23, 0.7) 0%, transparent 60%);
}

.project-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-bg-primary);
    margin-bottom: var(--space-sm);
    width: fit-content;
}

.project-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.project-content p {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.projects-cta {
    text-align: center;
}

/* =====================================================
   FAQ
   ===================================================== */
.faq {
    background: var(--color-bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

@media (min-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.faq-content .section-title {
    text-align: left;
}

.faq-content .section-text {
    margin-bottom: var(--space-2xl);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.accordion-item {
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.accordion-item:hover {
    border-color: var(--border-color-hover);
}

.accordion-item.active {
    border-color: var(--border-accent);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    text-align: left;
    font-weight: 600;
}

.accordion-header span {
    flex: 1;
    padding-right: var(--space-md);
}

.accordion-header svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-tertiary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* JS controls max-height dynamically via scrollHeight */

.accordion-content p {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
    background: var(--color-bg-secondary);
    padding: var(--space-4xl) 0;
}

.cta-card {
    position: relative;
    padding: var(--space-4xl) var(--space-xl);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-card {
        padding: var(--space-5xl) var(--space-4xl);
    }
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-bg-primary);
    margin-bottom: var(--space-lg);
}

.cta-content p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* =====================================================
   BLOG PREVIEW
   ===================================================== */
.blog-preview {
    background: var(--color-bg-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-featured {
        grid-row: span 2;
    }
}

/* Uniform Blog Grid - All cards same size */
.blog-grid-uniform .blog-card {
    grid-row: span 1 !important;
    grid-column: span 1 !important;
}

.blog-grid-uniform .blog-card .blog-image {
    aspect-ratio: 16/9 !important;
    height: auto !important;
}

.blog-grid-uniform .blog-card .blog-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(226, 98, 69, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.blog-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(28, 25, 23, 0.10), 0 0 30px rgba(226, 98, 69, 0.15);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(226, 98, 69, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image::after {
    opacity: 1;
}

.blog-featured .blog-image {
    aspect-ratio: 4/3;
}

@media (min-width: 1024px) {
    .blog-featured .blog-image {
        aspect-ratio: auto;
        height: 350px;
    }
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: var(--space-xl);
    position: relative;
    z-index: 2;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.blog-category {
    padding: var(--space-xs) var(--space-md);
    background: rgba(226, 98, 69, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
}

.blog-content h2,
.blog-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.blog-content h2 a,
.blog-content h3 a {
    transition: color var(--transition-fast);
    background: linear-gradient(to right, var(--color-accent), var(--color-accent));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease, color 0.3s ease;
}

.blog-content h2 a:hover,
.blog-content h3 a:hover {
    color: var(--color-accent);
    background-size: 100% 2px;
}

.blog-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-featured .blog-content p {
    display: block;
    -webkit-line-clamp: unset;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    padding: var(--space-sm) 0;
    position: relative;
}

.blog-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.blog-card:hover .blog-link::after {
    width: 100%;
}

.blog-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.blog-card:hover .blog-link svg {
    transform: translateX(6px);
}

.blog-cta {
    text-align: center;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: #1c1917;
    color: #fafaf9;
    border-top: 3px solid var(--color-accent);
    padding: var(--space-5xl) 0 var(--space-2xl);
}

.footer .logo-text,
.footer .logo-text .accent {
    color: #fafaf9;
}

.footer .footer-brand p,
.footer .footer-links a,
.footer .footer-contact li,
.footer .footer-contact a,
.footer .footer-bottom p,
.footer .footer-org,
.footer .footer-links h4,
.footer .footer-contact h4 {
    color: rgba(250, 250, 249, 0.8);
}

.footer .footer-links h4,
.footer .footer-contact h4 {
    color: #fafaf9;
}

.footer .footer-social a {
    background: rgba(250, 250, 249, 0.08);
    color: #fafaf9;
}

.footer .footer-social a:hover {
    background: var(--color-accent);
    color: #fafaf9;
}

.footer .footer-bottom {
    border-top-color: rgba(250, 250, 249, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-4xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand .logo {
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.footer-contact li svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-org {
    margin-top: var(--space-lg);
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
}

.footer-bottom {
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-down"] {
    transform: translateY(-20px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE UTILITIES
   ===================================================== */
@media (max-width: 767px) {
    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .stat {
        text-align: center;
    }
}

/* Mobile Navigation */
@media (max-width: 1023px) {
    .nav {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 120px var(--space-xl) var(--space-xl);
        z-index: var(--z-fixed);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: var(--space-md);
    }

    .nav-link {
        font-size: var(--text-xl);
        font-weight: 600;
        display: block;
        padding: var(--space-sm) 0;
        color: var(--color-text-primary);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--color-accent);
    }

    .has-dropdown .dropdown {
        display: none;
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        padding: var(--space-md) 0 0;
        margin-top: 0;
    }

    .has-dropdown.dropdown-open .dropdown {
        display: block;
    }

    .dropdown-link {
        padding: var(--space-sm) var(--space-md);
        border-radius: var(--radius-md);
        margin-bottom: var(--space-xs);
    }

    .dropdown-link:hover {
        background: var(--color-bg-card);
    }

    .dropdown-link strong {
        font-size: var(--text-base);
    }

    .dropdown-link small {
        font-size: var(--text-xs);
        color: var(--color-text-tertiary);
    }

    /* Mobile nav close button styling */
    .header .nav-toggle {
        z-index: calc(var(--z-fixed) + 10);
    }
}

/* Prevent body scroll when nav is open */
body.nav-open {
    overflow: hidden;
}

/* =====================================================
   SERVICE PAGES
   ===================================================== */
.service-hero {
    position: relative;
    padding: calc(var(--space-5xl) + 80px) 0 var(--space-4xl);
    overflow: hidden;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-2xl);
}

.breadcrumb a {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.breadcrumb span:not(:last-child) {
    color: var(--color-text-muted);
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .service-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.service-icon-large {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-xl);
}

.service-icon-large svg {
    width: 32px;
    height: 32px;
    color: var(--color-bg-primary);
}

.service-hero-text h1 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.service-hero-text .lead {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.service-features .feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.service-features .feature svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.service-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.service-hero-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.service-hero-image .image-badge {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text-primary);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    text-align: center;
}

.image-badge .badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-accent);
}

.image-badge .badge-text {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

/* Service Details */
.service-details {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .details-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.details-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-2xl);
}

.content-block {
    margin-bottom: var(--space-2xl);
}

.content-block p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.service-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .service-types {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-type-card {
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: border-color var(--transition-base);
}

.service-type-card:hover {
    border-color: var(--border-accent);
}

.service-type-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.service-type-card .card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.service-type-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.service-type-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Highlight Box */
.highlight-box {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(226, 98, 69, 0.1) 0%, rgba(184, 74, 50, 0.05) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    margin-top: var(--space-2xl);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-bg-primary);
}

.highlight-content h4 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.highlight-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* Sidebar */
.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.sidebar-card {
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.sidebar-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.sidebar-card.highlight {
    background: linear-gradient(135deg, rgba(226, 98, 69, 0.15) 0%, rgba(184, 74, 50, 0.1) 100%);
    border-color: var(--border-accent);
}

.sidebar-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.check-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpath d='M22 4L12 14.01l-3-3'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-list.warning li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
}

.certification-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.certification-list li:last-child {
    border-bottom: none;
}

.certification-list strong {
    color: var(--color-accent);
}

.btn-block {
    width: 100%;
}

/* Service Process */
.service-process {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

@media (min-width: 640px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
}

.process-steps .process-step {
    display: block !important;
    grid-template-columns: unset !important;
    position: relative;
    padding: var(--space-2xl) var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.process-steps .process-step:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(226, 98, 69, 0.15);
}

.process-steps .step-number {
    display: block !important;
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: rgba(226, 98, 69, 0.15);
    line-height: 1;
}

.process-steps .step-icon {
    width: 70px;
    height: 70px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
    box-shadow: 0 4px 20px rgba(226, 98, 69, 0.3);
    order: unset !important;
}

.process-steps .step-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.process-steps h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.process-steps p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Connection lines between steps on desktop */
@media (min-width: 1024px) {
    .process-steps .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -20px;
        width: 24px;
        height: 2px;
        background: linear-gradient(90deg, var(--color-accent), transparent);
        transform: translateY(-50%);
    }
}

/* Service FAQ */
.service-faq {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
}

.service-faq .faq-grid {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

/* Related Services */
.related-services {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.related-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.related-card .card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.related-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.related-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    flex: 1;
}

.related-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
}

.related-card .card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.related-card:hover .card-link svg {
    transform: translateX(4px);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-hero {
    position: relative;
    padding: calc(var(--space-5xl) + 80px) 0 var(--space-3xl);
    text-align: center;
}

.contact-content {
    padding: 0 0 var(--space-5xl);
    background: var(--color-bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.form-card {
    padding: var(--space-2xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
}

.form-card h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.form-card > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg-elevated);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    background-size: 20px;
    padding-right: var(--space-3xl);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color-hover);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: all var(--transition-fast);
    position: relative;
}

.checkbox-label input:checked + .checkmark {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.checkbox-label input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--color-bg-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

.error-message {
    font-size: var(--text-xs);
    color: #ef4444;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.info-card.highlight {
    background: linear-gradient(135deg, rgba(226, 98, 69, 0.1) 0%, rgba(184, 74, 50, 0.05) 100%);
    border-color: var(--border-accent);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.info-card.highlight .info-icon {
    background: var(--gradient-accent);
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.info-card.highlight .info-icon svg {
    color: var(--color-bg-primary);
}

.info-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.info-content p {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-xs);
}

.info-link {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text-primary);
}

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

.business-info {
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.business-info h4 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.business-info ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.business-info li {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.business-info strong {
    color: var(--color-text-tertiary);
}

/* Why Contact */
.why-contact {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
}

.step-card .step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-bg-primary);
    margin: 0 auto var(--space-md);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.step-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-hero {
    position: relative;
    padding: calc(var(--space-5xl) + 80px) 0 var(--space-4xl);
    overflow: hidden;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-hero-text h1 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.about-hero-text .lead {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
}

.about-hero-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.image-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text-primary);
    backdrop-filter: blur(10px);
}

.stat-item {
    padding: var(--space-md);
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-accent);
}

.stat-item .stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
}

/* Our Story */
.our-story {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
}

@media (min-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.story-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

.story-content p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.story-values h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-xl);
}

.value-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-md);
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.value-content h4 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.value-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* Our Team */
.our-team {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(226, 98, 69, 0.15);
}

.team-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.team-info {
    padding: var(--space-xl);
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.team-role {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.team-info p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* About Features */
.about-features {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    margin: 0 auto var(--space-lg);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-bg-primary);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* Certifications */
.certifications {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cert-card {
    padding: var(--space-2xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
}

.cert-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-xl);
    margin: 0 auto var(--space-lg);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-accent);
}

.cert-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.cert-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* =====================================================
   BLOG PAGE
   ===================================================== */
.blog-hero {
    position: relative;
    padding: calc(var(--space-5xl) + 80px) 0 var(--space-3xl);
    text-align: center;
}

.blog-categories {
    padding: var(--space-xl) 0;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.category-tab {
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

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

.category-tab.active {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--color-bg-primary);
}

.blog-list {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-secondary);
}

.blog-list .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .blog-list .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-list .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-list .blog-featured {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.blog-list .blog-featured .blog-content h2 {
    font-size: var(--text-2xl);
}

.blog-list .blog-card h3 {
    font-size: var(--text-lg);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}

.pagination-btn {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0 var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.pagination-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-text-primary);
}

.pagination-btn.active {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--color-bg-primary);
}

.pagination-btn svg {
    width: 16px;
    height: 16px;
}

/* =====================================================
   BLOG ARTICLE PAGE
   ===================================================== */
.article-hero {
    position: relative;
    padding: calc(var(--space-5xl) + 80px) 0 var(--space-3xl);
    background: var(--color-bg-primary);
}

.article-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.article-hero .hero-image {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

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

.article-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(250, 250, 249, 0.55) 0%, var(--color-bg-primary) 100%);
    mix-blend-mode: multiply;
}

.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.article-header {
    margin-top: var(--space-2xl);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.article-intro {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Article Layout */
.blog-article {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-secondary);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: 250px 1fr;
    }
}

/* Table of Contents */
.article-toc {
    display: none;
}

@media (min-width: 1024px) {
    .article-toc {
        display: block;
    }
}

.toc-sticky {
    position: sticky;
    top: 100px;
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.toc-sticky h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-accent);
}

.toc-sticky ul {
    list-style: none;
}

.toc-sticky li {
    margin-bottom: var(--space-sm);
}

.toc-sticky a {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    display: block;
    padding: var(--space-xs) 0;
}

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

/* Article Content */
.article-content {
    max-width: 800px;
}

.article-content section {
    margin-bottom: var(--space-3xl);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent);
    color: var(--color-text-primary);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.article-content p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.article-content li {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

.article-content strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* Article Image */
.article-image {
    margin: var(--space-2xl) 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
}

.article-image figcaption {
    padding: var(--space-md);
    background: var(--color-bg-card);
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    text-align: center;
}

/* Article Tip Box */
.article-tip {
    background: rgba(226, 98, 69, 0.1);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.article-tip h4 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.article-tip h4::before {
    content: '💡';
}

.article-tip p {
    margin-bottom: 0;
    font-size: var(--text-sm);
}

/* Article Warning Box */
.article-warning {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.article-warning h4 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: #ef4444;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.article-warning h4::before {
    content: '⚠️';
}

.article-warning p {
    margin-bottom: 0;
    font-size: var(--text-sm);
}

/* Article Quote */
.article-quote {
    background: var(--color-bg-card);
    border-left: 4px solid var(--color-accent);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.article-quote blockquote {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.article-quote cite {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

/* Related Articles */
.related-articles {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-primary);
}

.related-articles h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.related-articles .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .related-articles .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Newsletter */
.newsletter {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-primary);
}

.newsletter-card {
    padding: var(--space-3xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.newsletter-content > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 480px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    font-size: var(--text-base);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.newsletter-form input::placeholder {
    color: var(--color-text-muted);
}

/* =====================================================
   ARTICLE AUTHOR BOX
   ===================================================== */
.article-author {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    margin-top: var(--space-3xl);
}

.author-avatar {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-bg-primary);
}

.author-info strong {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.author-info p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0 !important;
}

/* =====================================================
   ARTICLE CTA BOX
   ===================================================== */
.article-cta {
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-3xl) 0;
    text-align: center;
}

.article-cta h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-bg-primary);
    margin-bottom: var(--space-sm);
    margin-top: 0 !important;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: var(--space-lg) !important;
    font-size: var(--text-base);
}

.article-cta .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.article-cta .btn-primary {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
}

.article-cta .btn-primary:hover {
    background: var(--color-bg-secondary);
}

.article-cta .btn-outline {
    border-color: var(--color-bg-primary);
    color: var(--color-bg-primary);
}

.article-cta .btn-outline:hover {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
}

/* =====================================================
   FAQ ITEM (In-article FAQ)
   ===================================================== */
.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.faq-item h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    margin-top: 0 !important;
}

.faq-item p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: 0 !important;
}

/* Hide scrollbar in mobile nav */
@media (max-width: 1023px) {
    .nav::-webkit-scrollbar {
        display: none;
    }
}

/* =====================================================
   PROJECTS GALLERY PAGE
   ===================================================== */
.projects-gallery {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-secondary);
}

.projects-gallery .category-tabs {
    margin-bottom: var(--space-3xl);
}

.projects-grid-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .projects-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid-full .project-large {
        grid-column: span 2;
    }
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    background: linear-gradient(to top, rgba(28, 25, 23, 0.7) 0%, transparent 50%);
    opacity: 1;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-bg-primary);
    margin-bottom: var(--space-sm);
    width: fit-content;
}

.project-overlay h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

.project-overlay p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* =====================================================
   PAGE HERO (Generic)
   ===================================================== */
.page-hero {
    position: relative;
    padding: calc(var(--space-5xl) + 80px) 0 var(--space-3xl);
    text-align: center;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero .section-header {
    text-align: center;
}

.page-hero .section-text {
    max-width: 600px;
    margin: 0 auto;
}

/* Author role */
.author-role {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    font-weight: 400;
    margin-bottom: var(--space-xs);
}

/* =====================================================
   BLOG ARTICLE HERO FIX
   ===================================================== */
.blog-article-hero {
    position: relative;
    padding: calc(var(--space-5xl) + 80px) 0 var(--space-2xl);
    background: var(--color-bg-primary);
}

.blog-article-hero .blog-hero-content {
    position: relative;
    z-index: 1;
}

.blog-article-hero .article-header {
    max-width: 900px;
}

.blog-article-hero .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.blog-article-hero h1 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .blog-article-hero h1 {
        font-size: var(--text-4xl);
    }
}

.blog-article-hero .article-intro {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 800px;
}

/* Reduce section spacing in articles */
.article-content section {
    margin-bottom: var(--space-2xl);
}

.article-content section:last-child {
    margin-bottom: 0;
}

/* =====================================================
   SIMPLIFIED DROPDOWN (no icons)
   ===================================================== */
.dropdown-icon {
    display: none;
}

.dropdown-link {
    padding: var(--space-sm) var(--space-md);
}

.dropdown-link span {
    display: flex;
    flex-direction: column;
}

.dropdown-link small {
    display: none;
}

/* =====================================================
   ARTICLE CONTENT SPACING FIX
   ===================================================== */
.article-hero {
    padding: calc(var(--space-4xl) + 80px) 0 var(--space-xl);
}

.article-hero .hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.article-header {
    margin-top: var(--space-lg);
}

.blog-article {
    padding: var(--space-2xl) 0;
}

.article-content section {
    margin-bottom: var(--space-xl);
}

.article-content h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.article-content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.article-content p {
    margin-bottom: var(--space-md);
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-md);
}

.article-image {
    margin: var(--space-lg) 0;
}

.article-tip,
.article-warning {
    margin: var(--space-lg) 0;
}

/* =====================================================
   MOBILE NAV FIX
   ===================================================== */
@media (max-width: 1023px) {
    .nav {
        z-index: 9999 !important;
    }
    
    .nav-toggle {
        z-index: 10000 !important;
    }
    
    .header {
        z-index: 9998 !important;
    }
}

/* Mobile nav visibility fix */
@media (max-width: 1023px) {
    .nav {
        display: none !important;
    }
    
    .nav.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
}

/* =====================================================
   ARTICLE HERO IMAGE FIX
   ===================================================== */
.article-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.article-hero .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    aspect-ratio: unset;
    border-radius: 0;
}

.article-hero .hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(250, 250, 249, 0.55) 0%, var(--color-bg-primary) 100%);
    z-index: 1;
}

.article-hero .container {
    position: relative;
    z-index: 2;
}

/* =====================================================
   FOOTER MADE BY
   ===================================================== */
.made-by {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    margin-top: var(--space-xs);
}

/* =====================================================
   IMPROVED MOBILE NAV
   ===================================================== */
@media (max-width: 1023px) {
    .nav {
        background: var(--color-bg-primary);
        padding: 100px var(--space-xl) var(--space-2xl);
    }
    
    .nav-list {
        gap: 0;
    }
    
    .nav-item {
        border-bottom: 1px solid var(--border-color);
        padding: 0;
    }
    
    .nav-link {
        font-size: var(--text-lg);
        padding: var(--space-md) 0;
    }
    
    /* Simple dropdown on mobile */
    .has-dropdown .dropdown {
        padding: 0 0 var(--space-md) var(--space-md);
        border-left: 2px solid var(--color-accent);
        margin-left: var(--space-sm);
    }
    
    .dropdown-link {
        display: block;
        padding: var(--space-sm) var(--space-md);
        margin-bottom: 0;
    }
    
    .dropdown-link span {
        display: block;
    }
    
    .dropdown-link strong {
        font-size: var(--text-base);
        font-weight: 500;
        color: var(--color-text-secondary);
    }
    
    .dropdown-link:hover strong {
        color: var(--color-accent);
    }
    
    /* Hide icons in mobile dropdown */
    .dropdown-icon {
        display: none !important;
    }
    
    .dropdown-link small {
        display: none !important;
    }
}

/* Hide all dropdown icons */
.dropdown-icon {
    display: none !important;
}

/* =====================================================
   LOGO IMAGE
   ===================================================== */
.logo-img {
    height: 45px;
    width: auto;
}

/* =====================================================
   ARTICLE HERO BACKGROUND - FINAL FIX
   ===================================================== */
.article-hero {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.article-hero .hero-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

.article-hero .hero-bg .hero-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 0 !important;
}

.article-hero .hero-bg .hero-gradient {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom, rgba(250, 250, 249, 0.35) 0%, var(--color-bg-primary) 100%) !important;
    z-index: 1 !important;
}

.article-hero .hero-bg .hero-noise {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2 !important;
}

.article-hero .container {
    position: relative !important;
    z-index: 10 !important;
}

/* =====================================================
   ARTICLE CONTENT TIGHT SPACING
   ===================================================== */
.article-content section {
    margin-bottom: var(--space-lg) !important;
}

.article-content h2 {
    margin-top: var(--space-lg) !important;
    margin-bottom: var(--space-sm) !important;
}

.article-content h3 {
    margin-top: var(--space-md) !important;
    margin-bottom: var(--space-xs) !important;
}

.article-content p {
    margin-bottom: var(--space-sm) !important;
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-sm) !important;
}

.article-image {
    margin: var(--space-md) 0 !important;
}

.article-tip,
.article-warning {
    margin: var(--space-md) 0 !important;
}

.blog-article {
    padding: var(--space-lg) 0 !important;
}

/* =====================================================
   LOGO SIZES
   ===================================================== */
.logo-img {
    height: 80px !important;
    width: auto !important;
}

.footer .logo-img {
    height: 100px !important;
    width: auto !important;
}

/* =====================================================
   HERO BACKGROUND FIX - FORSIDE
   ===================================================== */
.hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero .hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

/* =====================================================
   SERVICE GALLERY
   ===================================================== */
.service-gallery {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 25, 23, 0.7) 0%, rgba(28, 25, 23, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: #fff;
}

@media (max-width: 767px) {
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(28, 25, 23, 0.6) 0%, rgba(28, 25, 23, 0) 50%);
    }
}


/* =====================================================
   WORDPRESS-SPESIFIKKE OVERSTYRINGER
   ===================================================== */

/* Gutenberg core blokker → bruk våre design-tokens */
.wp-block-group.hero,
.wp-block-group.trust-bar,
.wp-block-group.services,
.wp-block-group.process-simple,
.wp-block-group.why-us,
.wp-block-group.testimonials,
.wp-block-group.projects,
.wp-block-group.faq,
.wp-block-group.cta,
.wp-block-group.blog-preview {
    margin: 0;
    padding: 0;
}

.wp-block-group.hero {
    position: relative;
    min-height: 100vh;
    padding: var(--space-3xl) 0 var(--space-2xl);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.wp-block-buttons.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* WP-knapper → vår BTN-styling */
.wp-block-button .wp-block-button__link {
    background: var(--gradient-accent);
    color: #fff;
    border-radius: var(--radius-full);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-sm);
    border: none;
    transition: var(--transition-base);
}

.wp-block-button .wp-block-button__link:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.btn-outline .wp-block-button__link {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-text-primary);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.btn-outline .wp-block-button__link:hover {
    background: var(--color-text-primary);
    color: #fff;
}

/* Heading-overstyring fra theme.json — fjern WP default margin */
.wp-block-heading {
    margin-top: 0;
}

.wp-block-heading.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

.wp-block-heading.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
}

/* =====================================================
   STJERNE-RATING I TESTIMONIALS
   ===================================================== */

.testimonial-rating .gb-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin-right: 2px;
}

.testimonial-rating .gb-icon svg {
    width: 100%;
    height: 100%;
}

/* =====================================================
   ICON-WRAPPER (gb-icon)
   ===================================================== */

.gb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gb-icon svg {
    width: 100%;
    height: 100%;
}

.service-card-icon .gb-icon,
.process-card-icon .gb-icon,
.why-us-card .card-icon .gb-icon {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
}

.dropdown-icon .gb-icon,
.trust-item .gb-icon,
.why-us-list .gb-icon,
.contact-info-list .gb-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.header-phone .gb-icon,
.cta-actions .gb-icon,
.btn .gb-icon {
    width: 18px;
    height: 18px;
}

.footer ul .gb-icon,
.footer-contact .gb-icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.footer-social .gb-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-tertiary);
}

.footer-social a:hover .gb-icon {
    color: var(--color-accent);
}

/* =====================================================
   FAQ AKKORDEON (native <details>)
   ===================================================== */

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--color-bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.faq-question {
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition-base);
}

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

.faq-icon::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    transition: var(--transition-base);
}

.faq-item[open] .faq-icon::after {
    transform: translateX(-50%) scaleY(0);
}

.faq-answer {
    padding: 0 var(--space-xl) var(--space-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.faq-answer p {
    margin: 0 0 var(--space-md);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   KONTAKTSKJEMA
   ===================================================== */

.contact {
    padding: var(--space-5xl) 0;
}

.contact-grid {
    display: grid;
    gap: var(--space-3xl);
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: var(--space-xl) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-list li {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-info-list .gb-icon {
    width: 24px;
    height: 24px;
    margin-top: 4px;
}

.contact-info-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin-bottom: 2px;
}

.contact-info-value {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: var(--text-lg);
}

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

.contact-promise {
    background: var(--color-bg-tertiary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    border-left: 4px solid var(--color-accent);
}

.contact-promise .gb-icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.contact-form {
    background: var(--color-bg-secondary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.form-field span {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--color-bg-primary);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-success {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border-left: 4px solid #22c55e;
}

.form-note {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    margin-top: var(--space-md);
    text-align: center;
}

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

/* =====================================================
   BLOGG / POST-CARDS
   ===================================================== */

.post-grid {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.post-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color-hover);
}

.post-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-bg-tertiary);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

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

.post-card-placeholder {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-primary));
}

.post-card-body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-sm);
}

.post-card-date {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.post-card-title a {
    color: var(--color-text-primary);
}

.post-card-title a:hover {
    color: var(--color-accent);
}

.post-card-excerpt {
    color: var(--color-text-secondary);
    flex: 1;
    font-size: var(--text-sm);
    line-height: 1.6;
}

.post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: auto;
}

.post-card-link:hover {
    gap: 0.75em;
}

/* =====================================================
   PAGE-HERO (sub-side hero)
   ===================================================== */

.page-hero {
    background: var(--gradient-dark);
    padding: var(--space-5xl) 0 var(--space-3xl);
    text-align: center;
}

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

.page-hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.1;
    margin: var(--space-md) 0;
}

.page-hero-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: var(--space-3xl) 0;
}

.container-narrow {
    max-width: 768px;
}

.prose {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.prose h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    margin: 2em 0 0.5em;
    color: var(--color-text-primary);
    line-height: 1.2;
}

.prose h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    margin: 1.5em 0 0.5em;
    color: var(--color-text-primary);
}

.prose p {
    margin: 0 0 1.25em;
}

.prose ul,
.prose ol {
    margin: 1em 0 1.5em;
    padding-left: 1.5em;
}

.prose li {
    margin: 0.25em 0;
}

.prose a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.prose blockquote {
    border-left: 4px solid var(--color-accent);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-xl) 0;
    background: var(--color-bg-tertiary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--color-text-primary);
    font-style: italic;
}

.prose img {
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
}

/* =====================================================
   PROJECT-CARDS
   ===================================================== */

.project-card {
    display: block;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    color: inherit;
}

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

.project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.project-card-placeholder {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.project-card-placeholder .gb-icon {
    width: 48px;
    height: 48px;
}

.project-card-body {
    padding: var(--space-lg);
}

.project-card-body h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    margin: 0 0 var(--space-xs);
}

.project-card-meta {
    display: flex;
    gap: var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

/* =====================================================
   PAGINASJON
   ===================================================== */

.pagination {
    display: flex;
    justify-content: center;
    padding: var(--space-2xl) 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    font-weight: 600;
    margin: 0 4px;
    transition: var(--transition-fast);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-accent);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    z-index: 9999;
}

.skip-link:focus {
    left: 0;
    top: 0;
}

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

/* =====================================================
   SERVICE-HERO (CPT-tjeneste single)
   ===================================================== */

.service-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: var(--space-3xl) 0;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* (Tidligere konflikt-regel for .service-hero-image fjernet — definert med aspect-ratio i seksjon under) */

.service-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.service-hero-back {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    margin-bottom: var(--space-md);
    display: inline-block;
}

.service-hero-back:hover {
    color: #fff;
}

.service-hero-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.service-hero-icon .gb-icon {
    width: 36px;
    height: 36px;
    color: #fff;
}

.service-hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    line-height: 1.1;
    margin: 0 0 var(--space-md);
    color: #fff;
}

.service-hero-text {
    font-size: var(--text-xl);
    color: rgba(255,255,255,0.95);
    margin-bottom: var(--space-lg);
}

.service-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.service-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.service-details {
    padding: var(--space-3xl) 0;
}

.service-gallery {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-tertiary);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
    padding: var(--space-3xl) 0 var(--space-lg);
    margin-top: var(--space-3xl);
}

.footer .logo-img { filter: none; mix-blend-mode: lighten; }

.footer-grid {
    display: grid;
    gap: var(--space-2xl);
    grid-template-columns: 1fr;
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer h4 {
    color: #fff;
    font-family: var(--font-heading);
    margin: 0 0 var(--space-md);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}

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

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin: var(--space-md) 0;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
}

.footer-social a:hover {
    background: var(--color-accent);
    color: #fff;
}

.footer-org {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    margin-top: var(--space-md);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-md);
    color: rgba(255,255,255,0.5);
    font-size: var(--text-sm);
}

.footer-credit a {
    color: var(--color-accent);
}

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

.btn-header {
    display: none;
}

@media (min-width: 1024px) {
    .btn-header {
        display: inline-flex;
    }
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--color-text-primary);
}

/* =====================================================
   ADMIN-BAR FIX
   ===================================================== */

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

@media (max-width: 782px) {
    .admin-bar .header {
        top: 46px;
    }
}

/* =====================================================
   POST-HERO + POST-COVER
   ===================================================== */

.post-hero {
    text-align: left;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.post-hero-content {
    max-width: 768px;
}

.post-hero-back {
    color: var(--color-text-tertiary);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    display: inline-block;
}

.post-meta {
    margin-top: var(--space-md);
    color: var(--color-text-tertiary);
    font-size: var(--text-sm);
}

.post-meta-cat {
    background: var(--color-bg-tertiary);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

.post-cover {
    padding: 0 0 var(--space-2xl);
}

.post-cover-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.related-posts {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-tertiary);
}


/* =====================================================
   IKON-STØRRELSE — globale defaults
   ===================================================== */

.gb-icon {
    width: 1.25em;
    height: 1.25em;
    color: currentColor;
}

/* Spesifikke kontekster har egne størrelser — disse er fallback */
.service-card-link .gb-icon,
.btn .gb-icon,
.post-card-link .gb-icon,
.cta-actions .gb-icon {
    width: 1em;
    height: 1em;
    margin-left: 0.25em;
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(226, 98, 69, 0.1);
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.service-card-icon .gb-icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.process-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(226, 98, 69, 0.1);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: var(--space-md) 0;
}

.process-card-icon .gb-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.why-us-card .card-icon {
    width: 40px;
    height: 40px;
    background: rgba(226, 98, 69, 0.1);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.why-us-card .card-icon .gb-icon {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.trust-item .gb-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-md) 0;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
}

.testimonial-rating .gb-icon {
    width: 18px;
    height: 18px;
}

.faq-question .gb-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.why-us-list {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.why-us-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-secondary);
}

.why-us-list .gb-icon {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.dropdown-link .gb-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.header-phone .gb-icon,
.btn-header .gb-icon {
    width: 16px;
    height: 16px;
}

.footer-social .gb-icon {
    width: 18px;
    height: 18px;
}

.footer-contact .gb-icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-info-list .gb-icon {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
}

.contact-promise .gb-icon {
    width: 26px;
    height: 26px;
    color: var(--color-accent);
}

.service-hero-icon .gb-icon {
    width: 36px;
    height: 36px;
    color: #fff;
}

/* Hero CTA-knapper må vise tekst tydelig */
.btn-large {
    padding: 1rem 2rem;
    font-size: var(--text-base);
}

/* Fjern AOS-attributter som ikke skal påvirke layout uten lib */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* Service-card-link SVG må peke høyre, ikke nedover */
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin-top: var(--space-md);
}


/* =====================================================
   BLOG-SINGLE ARTICLE LAYOUT
   ===================================================== */

.blog-single {
    background: var(--color-bg-primary);
}

.blog-hero.blog-article-hero {
    position: relative;
    padding: var(--space-4xl) 0 var(--space-3xl);
    background: var(--gradient-dark);
    overflow: hidden;
}

.blog-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .4;
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero-content {
    max-width: 920px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-lg);
}

.breadcrumb a {
    color: var(--color-text-tertiary);
}

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

.article-header {
    text-align: left;
}

.article-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-md);
}

.blog-category {
    background: rgba(226, 98, 69, 0.12);
    color: var(--color-accent);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-date,
.blog-read-time {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 var(--space-lg);
    color: var(--color-text-primary);
}

.article-intro {
    font-size: var(--text-xl);
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
    max-width: 760px;
}

.article-content {
    padding: var(--space-3xl) 0 var(--space-4xl);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: 240px 1fr;
        gap: var(--space-3xl);
    }
}

.article-toc {
    order: 2;
}

@media (min-width: 1024px) {
    .article-toc {
        order: 1;
    }
}

.toc-sticky {
    position: sticky;
    top: calc(56px + var(--space-lg));
    background: var(--color-bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.toc-sticky h3 {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-tertiary);
    margin: 0 0 var(--space-md);
    font-weight: 600;
}

.toc-sticky nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-sticky nav a {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.4;
    display: block;
    padding: 4px 0;
    border-left: 2px solid transparent;
    padding-left: 12px;
    margin-left: -12px;
    transition: var(--transition-fast);
}

.toc-sticky nav a:hover {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
}

.article-body.article-main {
    order: 1;
    max-width: 760px;
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--color-text-secondary);
}

@media (min-width: 1024px) {
    .article-body.article-main {
        order: 2;
    }
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin: 3rem 0 1rem;
    padding-top: 1rem;
}

.article-body h2:first-child {
    margin-top: 0;
    padding-top: 0;
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-primary);
    margin: 2rem 0 .75rem;
}

.article-body h4 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    margin: 1.5rem 0 .5rem;
    color: var(--color-text-primary);
}

.article-body p {
    margin: 0 0 1.25em;
}

.article-body ul,
.article-body ol {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin: 0.4em 0;
}

.article-body a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--color-accent-dark);
}

.article-body blockquote {
    border-left: 4px solid var(--color-accent);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-tertiary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: var(--space-xl) 0;
    color: var(--color-text-primary);
    font-style: italic;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: var(--text-sm);
}

.article-body th {
    background: var(--color-bg-tertiary);
    text-align: left;
    padding: 12px 14px;
    border-bottom: 2px solid var(--border-color);
    font-family: var(--font-heading);
    font-weight: 600;
}

.article-body td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
}

.article-body tr:hover {
    background: rgba(226, 98, 69, 0.03);
}

.article-body img {
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
    max-width: 100%;
    height: auto;
}

.article-body figure {
    margin: var(--space-xl) 0;
}

.article-body figcaption {
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: var(--text-sm);
    margin-top: 8px;
}

.article-body pre,
.article-body code {
    font-family: 'Source Code Pro', Consolas, monospace;
    font-size: 0.92em;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-sm);
    padding: 2px 6px;
}

.article-body pre {
    padding: var(--space-md);
    overflow-x: auto;
    margin: var(--space-lg) 0;
}

.article-body pre code {
    padding: 0;
    background: transparent;
}

.article-body strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.related-posts {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-tertiary);
    border-top: 1px solid var(--border-color);
}

.related-posts .section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
}

/* Eldre fallback (.post-single) — beholder eksisterende styling */


/* =====================================================
   ARTICLE-CONTENT CONTAINER OVERRIDE (bredere enn default)
   ===================================================== */

.article-content > .container,
.blog-hero > .container,
.related-posts > .container {
    max-width: 1200px !important;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.article-content {
    overflow-x: clip;
}

.article-layout {
    max-width: 100%;
}

/* Mobile-fall: container krymper naturlig */
@media (max-width: 1023px) {
    .article-toc {
        order: 2;
    }
    .toc-sticky {
        position: static;
    }
    .article-body.article-main {
        order: 1;
        max-width: 100%;
    }
}


/* Blog-single .article-content selector overstyrer original 800px-cap */
section.article-content,
.blog-single .article-content {
    max-width: none !important;
}


/* =====================================================
   IMG-PROPORSJONER — undersider
   ===================================================== */

/* Service-card bilder: 4:3 forhold med object-fit cover */
.service-card-bg {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.service-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hero-image på undersider: viser hele bildet i 16:10 forhold med cover */
.service-hero-image,
.service-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Service-galleri: portrettbilder fra grav-bygg.no — vis i 4:3 ratio */
.service-gallery img,
.gallery-grid img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
    display: block;
}

/* Hero-bilde på forsiden */
.hero-image,
.hero-image-wrapper img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

/* Why-us bilde */
.why-us-image img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* Project-card bilde */
.project-card img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
}

/* Article-body bilder */
.article-body img,
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

/* Team-profil bilder (om-oss) — 1:1 firkant */
.team-member-image,
.team-card img,
.team-grid img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* Inline tabellbilder */
.compact-image img {
    max-height: 240px;
    width: auto;
}

/* Sørg for at alle bilder i article-* aldri overskrider container */
.article-content img,
.service-details img {
    max-width: 100%;
    height: auto;
}

/* Generisk fallback: img uten classes inni .article-content */
.article-content > section img:not([class]) {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
}


/* =====================================================
   SERVICE-HERO-IMAGE + GALLERY-ITEM (undersider)
   ===================================================== */

/* Hero-image (høyre side i tjeneste-hero) */
.service-hero-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.service-hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .service-hero-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: var(--space-3xl);
    }
}

/* Gallery-grid (service-detaljside) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.gallery-item.large {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: 1 / 1;
    }
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.gallery-item .image-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: var(--space-md);
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.7) 100%);
    color: #fff;
    font-weight: 600;
    transform: translateY(100%);
    transition: var(--transition-base);
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

/* Service-icon-large (på undersider-hero) */
.service-icon-large {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.service-icon-large svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

/* Service-features (USP-row i hero) */
.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.service-features .feature {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.service-features .feature svg {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Service-CTA-knapper */
.service-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* Service-content-side: typografi som matcher article-body */
.service-content {
    padding: var(--space-3xl) 0;
    max-width: none !important;
}

.service-content > .container {
    max-width: 1200px;
}

.service-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin: 2rem 0 1rem;
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.service-content section {
    margin-bottom: var(--space-2xl);
}


/* Grid-stretching brøt service-hero-image aspect-ratio — fix */
.service-hero-grid {
    align-items: center !important;
}

.service-hero-image {
    aspect-ratio: 4 / 3 !important;
    max-height: 560px;
    width: 100%;
    height: auto !important;
}

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


/* =====================================================
   FIKS-RUNDE 4 — bakgrunn, farger, størrelser
   ===================================================== */

/* 1) FJERN HERO-BAKGRUNNSBILDE PÅ FORSIDEN — det var stygt */
.hero .hero-bg,
.hero .hero-background-image,
.hero .hero-noise,
.hero .hero-grid {
    display: none !important;
}

/* Bytt til ren gradient bakgrunn */
.hero {
    background: linear-gradient(180deg, #fafaf9 0%, #f5f5f4 100%);
    min-height: auto;
    padding: var(--space-5xl) 0 var(--space-3xl);
}

.hero .hero-gradient {
    display: none !important;
}

/* 2) H1 på service-hero MÅ være mørk når hero-bakgrunnen er lys */
.service-hero {
    background: var(--gradient-dark);
    color: var(--color-text-primary);
}

.service-hero .hero-bg,
.service-hero .hero-noise,
.service-hero .hero-gradient {
    display: none !important;
}

.service-hero h1,
.service-hero .service-hero-title,
.service-hero p,
.service-hero .lead,
.service-hero .breadcrumb,
.service-hero .breadcrumb a,
.service-hero-text h1,
.service-hero-text p,
.service-hero .service-features .feature {
    color: var(--color-text-primary) !important;
}

.service-hero .breadcrumb a {
    color: var(--color-text-tertiary) !important;
}

.service-hero .breadcrumb a:hover {
    color: var(--color-accent) !important;
}

.service-hero .lead,
.service-hero .service-features .feature {
    color: var(--color-text-secondary) !important;
}

.service-hero .text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

/* 3) CTA-band — Trenger du hjelp h2 må være hvit (siden bakgrunnen er orange) */
.cta-band,
.service-cta-band,
section[class*="cta-section"],
section[class*="bottom-cta"] {
    background: var(--gradient-accent);
    color: #fff;
    padding: var(--space-4xl) 0;
    text-align: center;
}

.cta-band h2,
.service-cta-band h2,
section[class*="cta-section"] h2,
section[class*="bottom-cta"] h2 {
    color: #fff !important;
}

.cta-band p,
.service-cta-band p,
section[class*="cta-section"] p,
section[class*="bottom-cta"] p {
    color: rgba(255,255,255,0.9) !important;
}

/* 4) SERVICE-HERO-IMAGE — gjør større ved å bryte ut av smal container */
.service-hero .container {
    max-width: 1400px !important;
}

.service-hero-content {
    max-width: none !important;
}

.service-hero-grid {
    max-width: 1280px;
    margin: 0 auto;
}

.service-hero-image {
    max-height: 480px;
    width: 100%;
    aspect-ratio: 4 / 3 !important;
}

@media (min-width: 1024px) {
    .service-hero-image {
        max-height: 520px;
    }
}

/* breadcrumb stil for service-hero */
.service-hero .breadcrumb {
    margin-bottom: var(--space-md);
}

/* Service icon-large — vis i topp av venstre side */
.service-hero .service-icon-large {
    margin-bottom: var(--space-md);
}

/* Generic fix: section.cta (vår pattern) skal være orange */
section.cta {
    background: transparent;
    padding: var(--space-4xl) 0;
}

section.cta .cta-card {
    background: var(--gradient-accent);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

section.cta .cta-card h2 {
    color: #fff !important;
    font-size: var(--text-4xl);
}

section.cta .cta-card p {
    color: rgba(255,255,255,0.95) !important;
    margin-bottom: var(--space-xl);
}

section.cta .cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

section.cta .btn-white {
    background: #fff;
    color: var(--color-text-primary);
}

section.cta .btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

section.cta .btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* H2 i bottom-CTA på service-pages "Trenger du hjelp med graving?" */
section.service-cta-bottom,
section.service-cta,
.service-cta-section {
    background: var(--gradient-accent);
    color: #fff;
    padding: var(--space-4xl) 0;
    text-align: center;
}

section.service-cta-bottom h2,
section.service-cta h2,
.service-cta-section h2 {
    color: #fff !important;
}


/* =====================================================
   SERVICE-CARD BILDER — overstyr blek look
   ===================================================== */

.service-card-bg img {
    opacity: 0.85 !important;
}

.service-card:hover .service-card-bg img {
    opacity: 1 !important;
    transform: scale(1.04);
}

/* Mykere gradient over bildet — slik at teksten fortsatt er leselig */
.service-card-bg::after {
    background: linear-gradient(to top,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 35%,
        rgba(255, 255, 255, 0.15) 65%,
        rgba(255, 255, 255, 0) 100%) !important;
}

.service-card:hover .service-card-bg::after {
    background: linear-gradient(to top,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.75) 35%,
        rgba(255, 255, 255, 0) 70%) !important;
}

/* Sørg for at bilde alltid fyller kortet, ingen padding */
.service-card-bg {
    aspect-ratio: unset;
}

.service-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}


/* =====================================================
   FIKS-RUNDE: hero-padding PC, ikon-farger, projects-section
   ===================================================== */

/* 1) Hero padding PC */
.hero {
    padding: var(--space-5xl) 0 var(--space-3xl);
}

.hero .container,
.hero > .container {
    padding-left: var(--space-2xl);
    padding-right: var(--space-2xl);
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero .container { padding: 0 var(--space-2xl); }
    .hero-grid {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: var(--space-3xl);
        align-items: center;
    }
}

.hero-content {
    padding: 0;
}

.hero-title {
    margin-bottom: var(--space-lg);
}

/* 2) IKON-FARGER — sterk terracotta overalt */
.service-card-icon svg,
.process-card-icon svg,
.service-icon-large svg,
.why-us-card .card-icon svg,
.contact-info-list svg,
.contact-promise svg {
    stroke: var(--color-accent) !important;
    color: var(--color-accent) !important;
}

.trust-item svg,
.faq-icon svg,
.why-us-list svg,
.service-features .feature svg,
.dropdown-link svg {
    stroke: var(--color-accent) !important;
    color: var(--color-accent) !important;
}

.testimonial-rating svg {
    fill: var(--color-accent) !important;
    stroke: var(--color-accent) !important;
}

.btn .gb-icon svg,
.btn svg,
.btn-primary svg {
    stroke: currentColor !important;
}

.header-phone svg {
    stroke: var(--color-accent) !important;
}

.footer-social a svg {
    stroke: rgba(255,255,255,.85) !important;
    fill: rgba(255,255,255,.85) !important;
    transition: var(--transition-fast);
}

.footer-social a:hover svg {
    stroke: var(--color-accent) !important;
    fill: var(--color-accent) !important;
}

.footer-contact ul svg {
    stroke: var(--color-accent) !important;
}

.service-card-link svg,
.post-card-link svg {
    stroke: var(--color-accent) !important;
}

.breadcrumb svg {
    stroke: var(--color-text-tertiary) !important;
}

/* 3) PROJECTS-SEKSJON "Hva vi har levert" — farger */
section.projects {
    background: var(--color-bg-primary);
    padding: var(--space-4xl) 0;
}

section.projects .section-tag {
    background: rgba(226, 98, 69, 0.12);
    color: var(--color-accent);
}

section.projects .section-title,
section.projects h2 {
    color: var(--color-text-primary) !important;
}

section.projects .section-text {
    color: var(--color-text-secondary) !important;
}

section.projects .project-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--border-color);
}

section.projects .project-card h3 {
    color: var(--color-text-primary) !important;
}

section.projects .project-card span,
section.projects .card-link {
    color: var(--color-accent) !important;
}

section.projects .projects-cta {
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
}

/* 4) Service-rubrikker ("Våre tjenester" etc) */
.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(226, 98, 69, 0.12);
    color: var(--color-accent) !important;
    border-radius: 9999px;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header .section-tag {
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

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

/* 5) Service-card title-farger */
.service-card h3 {
    color: var(--color-text-primary) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--color-text-secondary) !important;
}

.service-card-link {
    color: var(--color-accent) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

/* 6) Logo — bytt til svart versjon */
.header .logo-img {
    max-height: 48px;
    width: auto;
    filter: none;
}

/* (footer hadde brightness 0 invert 1 — beholdes for hvit) */


/* =====================================================
   IKON-RAMME FIX — match med svg-farge
   ===================================================== */

.service-card-icon {
    width: 56px !important;
    height: 56px !important;
    background: var(--gradient-accent) !important;
    border-radius: var(--radius-lg) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: var(--space-lg) !important;
}

.service-card-icon svg,
.service-card-icon .gb-icon svg {
    color: #fff !important;
    stroke: #fff !important;
    fill: none !important;
    width: 28px !important;
    height: 28px !important;
}

.process-card-icon {
    width: 48px !important;
    height: 48px !important;
    background: var(--gradient-accent) !important;
    border-radius: var(--radius-md) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.process-card-icon svg,
.process-card-icon .gb-icon svg {
    color: #fff !important;
    stroke: #fff !important;
    width: 24px !important;
    height: 24px !important;
}

.why-us-card .card-icon {
    background: var(--gradient-accent) !important;
}

.why-us-card .card-icon svg,
.why-us-card .card-icon .gb-icon svg {
    color: #fff !important;
    stroke: #fff !important;
}

.service-icon-large {
    background: var(--gradient-accent) !important;
}

.service-icon-large svg {
    color: #fff !important;
    stroke: #fff !important;
    fill: none !important;
}


/* =====================================================
   SERVICE-CARD BILDE: gjør tydelig synlig
   ===================================================== */

.service-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    aspect-ratio: 4 / 5;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.service-card-bg {
    position: relative !important;
    inset: auto !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
}

.service-card-bg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    display: block;
    transition: transform 400ms ease;
}

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

.service-card-bg::after {
    content: none !important;
    background: none !important;
}

.service-card-content {
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--color-bg-card);
    position: relative;
    z-index: 1;
}

.service-card-content h3 {
    margin-bottom: var(--space-sm);
}

.service-card-content p {
    flex: 1;
}

.service-card-icon {
    position: absolute;
    top: -28px;
    right: var(--space-xl);
    background: var(--gradient-accent) !important;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =====================================================
   LOGO — endelig fix
   ===================================================== */

/* Header: vis logoen som den er (svart-på-transparent) */
.header .logo-img, .header .custom-logo { max-height: 56px; width: auto; filter: invert(1) !important; mix-blend-mode: multiply !important; background: transparent !important; }

/* Footer: snu svart til hvit via brightness/invert-filter */
.footer .logo-img, .footer .custom-logo { max-height: 56px; width: auto; filter: none !important; mix-blend-mode: lighten !important; background: transparent !important; }

/* Logo-link container */
.header .logo,
.footer .logo {
    display: inline-flex;
    align-items: center;
}

.header .logo {
    background: transparent;
}

.footer .logo {
    background: transparent;
}


/* =====================================================
   LOGO — endelig STERK overstyring (overstyrer inline width)
   ===================================================== */

img.logo-img, img.custom-logo, .custom-logo-link img, .header img.logo-img, .header .custom-logo-link img, .header a.logo img, header.header a.logo img { display: inline-block !important; visibility: visible !important; opacity: 1 !important; width: auto !important; height: 48px !important; max-height: 48px !important; max-width: 240px !important; object-fit: contain !important; filter: invert(1) !important; mix-blend-mode: multiply !important; background: transparent !important; }

@media (min-width: 768px) {
    img.logo-img, .header a.logo img, .custom-logo-link img {
        height: 56px !important;
        max-width: 280px !important;
    }
}

/* Footer-versjon (snu til hvit) */
.footer img.logo-img, .footer .custom-logo-link img, .footer a.logo img, footer.footer a.logo img { filter: none !important; mix-blend-mode: lighten !important; }

/* Header logo-container alltid synlig */
.header .logo,
.header a.logo {
    display: inline-flex !important;
    visibility: visible !important;
    align-items: center;
}

.header {
    display: block !important;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
}

/* === Project images grid (3x2, kun bilder, ikke klikkbar) === */
.projects-grid-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}
.project-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: #1c1917;
}
.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.project-card-img:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
    .projects-grid-images { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .projects-grid-images { grid-template-columns: 1fr; }
}

/* === Service-card uten <a> — div-versjon === */
div.service-card {
    cursor: default;
}
.service-card .service-card-link { display: none; }

/* === Footer logo (hvit variant) === */
.footer .logo .logo-img { filter: none; mix-blend-mode: lighten; }


/* === LOGO ENDELIG OVERSTYRING 2026-05-18 (max specificity) === */
html body header.header .logo-img,
html body header.header img.logo-img,
html body header.header .custom-logo-link img,
html body header.header a.logo img {
    filter: invert(1) !important;
    mix-blend-mode: multiply !important;
    background: transparent !important;
    max-height: 60px !important;
    width: auto !important;
    opacity: 1 !important;
}
html body footer.footer .logo-img,
html body footer.footer img.logo-img,
html body footer.footer .custom-logo-link img,
html body footer.footer a.logo img {
    filter: none !important;
    mix-blend-mode: lighten !important;
    background: transparent !important;
    max-height: 60px !important;
    width: auto !important;
    opacity: 1 !important;
}


/* === LOGO RIKTIG FILER 2026-05-18 (ekte transparent PNG, ingen blend nødvendig) === */
html body header.header .logo-img,
html body header.header img.logo-img,
html body header.header a.logo img {
    filter: none !important;
    mix-blend-mode: normal !important;
    background: transparent !important;
    max-height: 60px !important;
    width: auto !important;
    opacity: 1 !important;
}
html body footer.footer .logo-img,
html body footer.footer img.logo-img,
html body footer.footer a.logo img {
    filter: none !important;
    mix-blend-mode: normal !important;
    background: transparent !important;
    max-height: 60px !important;
    width: auto !important;
    opacity: 1 !important;
}


/* === LOGO STØRRE 2026-05-18 === */
html body header.header .logo-img,
html body header.header img.logo-img,
html body header.header a.logo img {
  max-height: 90px !important;
  height: 90px !important;
  width: auto !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
  opacity: 1 !important;
}
html body footer.footer .logo-img,
html body footer.footer img.logo-img,
html body footer.footer a.logo img {
  max-height: 80px !important;
  height: 80px !important;
  width: auto !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
  opacity: 1 !important;
}
.header { min-height: 110px; }
.header-container { padding-top: .5em; padding-bottom: .5em; }


/* === Team-seksjon (samme stil som om-oss) === */
.team-section { padding: 4em 0; background: var(--color-bg-alt, #f5f5f4); }
.team-section .section-header { text-align: center; margin-bottom: 2em; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2em; max-width: 1100px; margin: 0 auto; }
.team-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.06); text-align: center; }
.team-img { aspect-ratio: 1/1; overflow: hidden; background: #1c1917; }
.team-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; padding: 1em 1em 0.2em; color: #1c1917; }
.team-card p { padding: 0 1em 1.2em; color: #78716c; font-size: .92rem; margin: 0; }


/* === CURSOR FIX 2026-05-18: fjern mix-blend-mode som lager blå farge === */
.cursor, #cursor {
  mix-blend-mode: normal !important;
  background: var(--color-accent, #e26245) !important;
}
.cursor-follower, #cursor-follower {
  mix-blend-mode: normal !important;
  border-color: var(--color-accent, #e26245) !important;
}

/* === Header padding fix etter logo-økning === */
.header-container { padding-top: .75em !important; padding-bottom: .75em !important; }
.header { padding-top: 0 !important; padding-bottom: 0 !important; }


/* === PROSJEKTER GRID FIX 2026-05-18: 3 i bredden + tekst synlig === */
.projects-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2em !important;
  margin-bottom: 3em !important;
}
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr !important; }
}

/* Project-card: tydelig synlig tekst + fast layout */
.projects .project-card,
.projects-grid .project-card {
  position: relative !important;
  display: block !important;
  background: #ffffff !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  aspect-ratio: auto !important;
  text-decoration: none !important;
  color: #1c1917 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.projects .project-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}
.projects .project-card img,
.projects-grid .project-card img {
  width: 100% !important;
  aspect-ratio: 16/10 !important;
  object-fit: cover !important;
  display: block !important;
}
.projects .project-card-body {
  padding: 1.25em 1.5em !important;
  background: #ffffff !important;
  color: #1c1917 !important;
}
.projects .project-card-body h3 {
  margin: 0 0 .5em !important;
  font-size: 1.15rem !important;
  color: #1c1917 !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 600 !important;
}
.projects .project-card-meta {
  display: flex !important;
  gap: 1em !important;
  font-size: .9rem !important;
  color: #78716c !important;
}
.projects .project-card-meta span {
  color: #78716c !important;
}


/* === PADDING FIX 2026-05-18: bedre side-padding på PC === */
.container {
  max-width: 1280px !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
@media (min-width: 1024px) {
  .container { padding-left: 48px !important; padding-right: 48px !important; }
}
@media (max-width: 768px) {
  .container { padding-left: 20px !important; padding-right: 20px !important; }
}

/* Hero har eget max-width — sett samme container-style */
.hero {
  max-width: 1280px !important;
  padding-left: 48px !important;
  padding-right: 48px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.hero-content { padding-left: 0 !important; padding-right: 0 !important; }

/* Wrapper sections beholdes full bredde, container inni får padding */
.services, .projects, .testimonials, .cta, .why-us, .process-simple, .blog-preview, .faq, .trust-bar, .team-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Header-container også med padding */
.header-container {
  max-width: 1280px !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (min-width: 1024px) {
  .header-container { padding-left: 48px !important; padding-right: 48px !important; }
}


/* === PROSJEKT-SLIDER 2026-05-18: 3 i bredden PC, scroll-snap mobil === */
.prosjekt-slider-section {
  padding: 4em 0;
  background: #fafaf9;
}
.prosjekt-slider-section .section-header {
  text-align: center;
  margin-bottom: 2.5em;
}
.prosjekt-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.prosjekt-slide {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prosjekt-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.prosjekt-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.prosjekt-slide-caption {
  padding: 1em 1.25em;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: #44403c;
  font-weight: 500;
}

/* Mobil: horisontal scroll-snap, 1 om gangen */
@media (max-width: 768px) {
  .prosjekt-slider {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1em;
    padding: 0 20px 1em;
    scroll-padding: 20px;
  }
  .prosjekt-slide {
    flex: 0 0 calc(100vw - 60px);
    max-width: 380px;
    scroll-snap-align: center;
  }
  .prosjekt-slider::-webkit-scrollbar { height: 6px; }
  .prosjekt-slider::-webkit-scrollbar-thumb { background: rgba(226, 98, 69, 0.3); border-radius: 3px; }
}

/* === Blog-hero featured image === */
.blog-hero-image {
  margin-top: 2em;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.blog-hero-image .blog-hero-img,
.blog-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === BLOG LAYOUT FIX 2026-05-18 === */
.blog-hero-image {
  margin: 2em auto 0 !important;
  max-width: 1100px !important;
  width: calc(100% - 4em) !important;
  padding: 0 !important;
}
.article-body {
  max-width: 880px !important;
  padding: 0 1em !important;
}
.article-body .wp-block-image,
.article-body figure {
  margin: 2em auto !important;
  max-width: 100% !important;
}
.article-body .wp-block-image img,
.article-body figure img {
  width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  display: block !important;
}
.article-content {
  padding: 3em 0 5em !important;
}
.article-layout {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  gap: 3em !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 2em !important;
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr !important; }
  .article-toc { display: none !important; }
}

/* =====================================================
   BLOG PROFESJONELL LAYOUT 2026-05-19
   ===================================================== */

.blog-single { background: #fff; }

/* Hero (above image) */
.blog-single-hero {
    padding: 4em 0 2.5em;
    background: linear-gradient(180deg, #fafaf9 0%, #fff 100%);
    text-align: center;
}
.blog-single-hero .container,
.blog-single-hero .container-narrow {
    max-width: 820px;
    padding-left: 1.5em;
    padding-right: 1.5em;
}
.blog-single-hero .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    color: #78716c;
    font-size: 0.88rem;
    margin-bottom: 2em;
}
.blog-single-hero .breadcrumb a {
    color: #78716c;
    text-decoration: none;
}
.blog-single-hero .breadcrumb a:hover { color: #e26245; }
.blog-single-hero .blog-meta {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-bottom: 1.5em;
    flex-wrap: wrap;
}
.blog-single-hero .blog-category {
    background: rgba(226, 98, 69, 0.1);
    color: #b84a32;
    padding: 0.35em 0.9em;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.blog-single-hero .blog-date,
.blog-single-hero .blog-read-time {
    color: #78716c;
    font-size: 0.9rem;
}
.blog-single-hero .blog-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    color: #1c1917;
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}
.blog-single-hero .blog-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #44403c;
    max-width: 640px;
    margin: 0 auto;
}

/* Cover image */
.blog-cover {
    padding: 0 0 3em;
}
.blog-cover .container {
    max-width: 1100px;
    padding-left: 1.5em;
    padding-right: 1.5em;
}
.blog-cover-img,
.blog-cover .container > img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    display: block;
}

/* Body */
.blog-body-wrap { padding: 0 0 5em; }
.blog-body-wrap .container,
.blog-body-wrap .container-narrow {
    max-width: 760px;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.blog-body.prose {
    font-family: 'Inter', sans-serif;
    font-size: 1.12rem;
    line-height: 1.75;
    color: #292524;
}
.blog-body.prose h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1c1917;
    margin: 2.5em 0 0.6em;
    letter-spacing: -0.01em;
}
.blog-body.prose h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1c1917;
    margin: 1.8em 0 0.5em;
}
.blog-body.prose h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #44403c;
    margin: 1.5em 0 0.4em;
}
.blog-body.prose p {
    margin: 0 0 1.4em;
    color: #292524;
}
.blog-body.prose a {
    color: #b84a32;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.blog-body.prose a:hover { color: #e26245; }
.blog-body.prose ul,
.blog-body.prose ol {
    margin: 0 0 1.6em 1.4em;
    padding: 0;
}
.blog-body.prose li {
    margin: 0.4em 0;
    line-height: 1.7;
}
.blog-body.prose strong { color: #1c1917; font-weight: 600; }
.blog-body.prose blockquote {
    border-left: 4px solid #e26245;
    background: #fef3ee;
    padding: 1.2em 1.6em;
    margin: 2em -0.5em;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #44403c;
}
.blog-body.prose hr {
    border: none;
    border-top: 1px solid #e7e5e4;
    margin: 3em 0;
}

/* Inline images */
.blog-body.prose .wp-block-image,
.blog-body.prose figure {
    margin: 2.5em -2em;
    max-width: calc(100% + 4em);
}
.blog-body.prose .wp-block-image img,
.blog-body.prose figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}
.blog-body.prose figcaption {
    text-align: center;
    color: #78716c;
    font-size: 0.9rem;
    margin-top: 0.8em;
}
@media (max-width: 768px) {
    .blog-body.prose .wp-block-image,
    .blog-body.prose figure {
        margin: 2em 0;
        max-width: 100%;
    }
}

/* Footer / sharing */
.blog-footer {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid #e7e5e4;
}
.blog-share {
    display: flex;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}
.blog-share span {
    font-weight: 600;
    color: #44403c;
}
.blog-share a {
    color: #78716c;
    text-decoration: none;
    padding: 0.4em 0.9em;
    border: 1px solid #e7e5e4;
    border-radius: 999px;
    font-size: 0.88rem;
    transition: all 0.2s;
}
.blog-share a:hover {
    background: #e26245;
    color: #fff;
    border-color: #e26245;
}

/* Related articles */
.related-articles {
    padding: 5em 0;
    background: #fafaf9;
}
.related-articles .container { max-width: 1280px; padding: 0 2em; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin-top: 2.5em;
}
.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.related-card-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #1c1917;
}
.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.related-card:hover .related-card-image img { transform: scale(1.04); }
.related-card-body { padding: 1.4em 1.5em 1.5em; }
.related-card-body .blog-category {
    background: rgba(226, 98, 69, 0.1);
    color: #b84a32;
    padding: 0.3em 0.8em;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 0.8em;
}
.related-card-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0 0 0.8em;
}
.related-card-body h3 a {
    color: #1c1917;
    text-decoration: none;
}
.related-card-body h3 a:hover { color: #e26245; }
.related-card-link {
    color: #b84a32;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}
.related-card-link:hover { color: #e26245; }

@media (max-width: 900px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .related-grid { grid-template-columns: 1fr; }
}

/* Skjul gamle elementer som ikke skal være der */
.blog-single .article-toc,
.blog-single .toc-sticky,
.blog-single .article-layout,
.blog-single .blog-hero,
.blog-single .blog-hero-image,
.blog-single .article-header,
.blog-single .article-meta {
    display: none !important;
}

/* =====================================================
   GRAVING — KREATIV SERVICE-PAGE LAYOUT 2026-05-19
   ===================================================== */

/* 3 trust-pilarer */
.trust-pillars {
    padding: 4em 0 5em;
    background: #fafaf9;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2em;
}
.pillar {
    background: #fff;
    border-radius: 16px;
    padding: 2.5em 2em;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}
.pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2em;
    background: linear-gradient(135deg, #e26245, #b84a32);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.pillar-icon svg { width: 30px; height: 30px; }
.pillar h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    color: #1c1917;
    margin: 0 0 0.6em;
}
.pillar p { color: #44403c; font-size: 0.95rem; line-height: 1.6; margin: 0; }
@media (max-width: 768px) {
    .pillars-grid { grid-template-columns: 1fr; }
}

/* Service-scope 2-col grid med ikon-liste */
.service-scope {
    padding: 5em 0;
}
.scope-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em 2em;
    max-width: 1100px;
    margin: 3em auto 0;
    padding: 0 2em;
}
.scope-item {
    display: flex;
    align-items: center;
    gap: 0.9em;
    padding: 1em 1.2em;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    transition: border-color 0.2s, transform 0.2s;
}
.scope-item:hover {
    border-color: #e26245;
    transform: translateX(4px);
}
.scope-item svg {
    width: 20px;
    height: 20px;
    color: #e26245;
    flex-shrink: 0;
}
.scope-item span {
    color: #1c1917;
    font-size: 0.98rem;
    font-weight: 500;
}
@media (max-width: 768px) {
    .scope-grid { grid-template-columns: 1fr; }
}

/* Narrative seksjoner (vekselvise) */
.narrative-section {
    padding: 5em 0;
}
.narrative-section.narrative-image-right { background: #fff; }
.narrative-section.narrative-image-left { background: #fafaf9; }
.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4em;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}
.narrative-image-left .narrative-grid {
    grid-template-areas: "img text";
}
.narrative-image-left .narrative-img { grid-area: img; }
.narrative-image-left .narrative-text { grid-area: text; }

.narrative-text .section-tag {
    background: rgba(226, 98, 69, 0.1);
    color: #b84a32;
    padding: 0.35em 0.9em;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1em;
}
.narrative-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.2;
    color: #1c1917;
    margin: 0 0 1em;
}
.narrative-text p {
    color: #44403c;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 1em;
}
.narrative-text strong { color: #1c1917; }
.narrative-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    display: block;
}
@media (max-width: 900px) {
    .narrative-grid { grid-template-columns: 1fr !important; gap: 2em; }
    .narrative-image-left .narrative-grid { grid-template-areas: "img" "text"; }
}

/* Callout-band — orange CTA */
.callout-band {
    padding: 0 2em;
    margin: 4em auto;
    max-width: 1100px;
}
.callout {
    background: linear-gradient(135deg, #1c1917, #292524);
    color: #fff;
    border-radius: 20px;
    padding: 2.5em;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2em;
    align-items: center;
}
.callout-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e26245, #b84a32);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.callout-icon svg { width: 32px; height: 32px; }
.callout-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    margin: 0 0 0.4em;
    font-size: 1.4rem;
}
.callout-content p {
    color: rgba(255,255,255,0.78);
    margin: 0;
    font-size: 0.98rem;
}
@media (max-width: 768px) {
    .callout { grid-template-columns: 1fr; text-align: center; }
    .callout-icon { margin: 0 auto; }
}

/* Testimonials grid */
.service-testimonials {
    padding: 5em 0;
    background: #fafaf9;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    max-width: 1200px;
    margin: 3em auto 0;
    padding: 0 2em;
}
.testi {
    background: #fff;
    border-radius: 16px;
    padding: 2em;
    margin: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 4px solid #e26245;
}
.testi-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 0.8em;
    letter-spacing: 0.1em;
}
.testi p {
    color: #44403c;
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0 0 1em;
    font-style: normal;
}
.testi cite {
    color: #78716c;
    font-size: 0.88rem;
    font-style: normal;
}
@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* FAQ collapsible */
.service-faq {
    padding: 5em 0;
}
.service-faq .container-narrow { max-width: 820px; padding: 0 2em; }
.faq-list { margin-top: 2.5em; }
.faq-item {
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    margin-bottom: 0.8em;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: #e26245; }
.faq-item summary {
    list-style: none;
    padding: 1.2em 1.5em;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1c1917;
    position: relative;
    padding-right: 3em;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #e26245;
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: #e26245; }
.faq-item p {
    padding: 0 1.5em 1.5em;
    color: #44403c;
    line-height: 1.7;
    margin: 0;
}

/* Hero features list */
.hero-features {
    list-style: none;
    padding: 0;
    margin: 1.5em 0 2em;
}
.hero-features li {
    padding: 0.4em 0 0.4em 1.8em;
    position: relative;
    color: #44403c;
}
.hero-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e26245;
    font-weight: 700;
    font-size: 1.1rem;
}

/* === OM-OSS IMAGE-STATS FIX 2026-05-19 === */
.about-hero-image { position: relative; }
.about-hero-image img { 
  width: 100% !important; 
  border-radius: 16px !important; 
  display: block !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15) !important;
}
.image-stats {
  position: relative !important;
  margin-top: 1.5em !important;
  background: #fff !important;
  border-radius: 16px !important;
  padding: 1.5em !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1em !important;
  width: 100% !important;
  height: auto !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  border: 1px solid #f1f1f0 !important;
}
.image-stats .stat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.5em !important;
  padding: 1em 0.5em !important;
  border-right: 1px solid #f1f1f0 !important;
}
.image-stats .stat-item:last-child { border-right: none !important; }
.image-stats .stat-item svg {
  width: 36px !important;
  height: 36px !important;
  color: #e26245 !important;
  stroke: #e26245 !important;
  fill: none !important;
}
.image-stats .stat-item svg path[fill="currentColor"],
.image-stats .stat-item:nth-child(2) svg {
  fill: #f59e0b !important;
  color: #f59e0b !important;
  stroke: none !important;
}
.image-stats .stat-label {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  color: #1c1917 !important;
  margin-top: 0.3em !important;
}
.image-stats .stat-number { display: none !important; }
@media (max-width: 768px) {
  .image-stats { grid-template-columns: 1fr !important; padding: 1em !important; }
  .image-stats .stat-item { border-right: none !important; border-bottom: 1px solid #f1f1f0 !important; padding: 1em !important; }
  .image-stats .stat-item:last-child { border-bottom: none !important; }
}

/* === FIX: header overlay + service-card klikkbar + tjeneste-punkt font === */
body { padding-top: 110px !important; }
main, .main-content { padding-top: 0 !important; }
.header { position: fixed !important; z-index: 1000 !important; background: rgba(255,255,255,0.96) !important; backdrop-filter: blur(8px) !important; border-bottom: 1px solid #f1f1f0 !important; }

/* Service-cards på forsiden — klikkbare a-tags */
a.service-card,
.services-grid a.service-card,
.services-grid .service-card[href] {
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  color: inherit !important;
  cursor: pointer !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}
a.service-card:hover { transform: translateY(-4px) !important; box-shadow: 0 12px 32px rgba(0,0,0,.12) !important; }

/* Service-card-link "Les mer" som var skjult — vis igjen */
.service-card .service-card-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: .4em !important;
  color: #e26245 !important;
  font-weight: 600 !important;
  margin-top: 1em !important;
}

/* Fix tjeneste-punkt-fonter (scope-grid + hero-features) */
.scope-grid .scope-item,
.scope-grid .scope-item span {
  font-size: .98rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  font-family: 'Inter', sans-serif !important;
}
.hero-features li,
.service-hero .hero-features li {
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  font-family: 'Inter', sans-serif !important;
}

/* === FAQ font-fix 2026-05-19 (mindre) === */
.faq-item summary {
  font-size: 1rem !important;
  padding: 1em 1.3em !important;
  padding-right: 2.5em !important;
}
.faq-item p {
  font-size: .95rem !important;
  line-height: 1.65 !important;
  padding: 0 1.3em 1.2em !important;
}
.faq-item summary::after {
  font-size: 1.2rem !important;
  right: 1.2em !important;
}
.service-faq .section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
}

/* ===== ABOUT HERO image-stats — refactored 2026-05-19 ===== */
.about-hero-image {
    aspect-ratio: auto;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

.about-hero-image > img {
    border-radius: var(--radius-2xl);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.image-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    background: transparent;
    backdrop-filter: none;
    margin-top: calc(-1 * var(--space-xl));
    padding: 0 var(--space-md);
    position: relative;
    z-index: 2;
}

.image-stats .stat-item {
    background: var(--color-bg-primary, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.image-stats .stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.22), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.image-stats .stat-item svg {
    width: 30px;
    height: 30px;
    color: var(--color-accent, #ff7a3d);
    stroke: var(--color-accent, #ff7a3d);
    fill: none;
    flex-shrink: 0;
}

.image-stats .stat-item svg[fill="currentColor"] {
    fill: var(--color-accent, #ff7a3d);
    stroke: none;
}

.image-stats .stat-item .stat-label {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-sm, 0.9rem);
    font-weight: 600;
    color: var(--color-text-primary, #1a1a1a);
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.image-stats .stat-item .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

@media (max-width: 640px) {
    .image-stats {
        grid-template-columns: 1fr;
        margin-top: var(--space-md);
        gap: var(--space-sm);
        padding: 0;
    }
    .image-stats .stat-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: var(--space-md);
        padding: var(--space-md);
    }
}
/* ===== END ABOUT HERO image-stats refactor ===== */

/* === HEADER PADDING FIX 2026-05-19 (mindre) === */
body { padding-top: 80px !important; }
.header { min-height: 80px !important; }
.header-container { padding-top: .2em !important; padding-bottom: .2em !important; }
html body header.header img.logo-img,
html body header.header a.logo img { max-height: 60px !important; height: 60px !important; }

/* Sentrer hero-CTA-knapper */
.hero-actions, .service-hero-content .hero-actions, .service-hero .hero-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 1em !important;
  flex-wrap: wrap !important;
}
.service-hero-text { text-align: center !important; }
.service-hero-text .hero-features { display: inline-block; text-align: left; }
.service-hero-text .service-icon-large { margin: 0 auto 1em !important; }

/* === LOGO STØRRE 2026-05-19 (override siste) === */
html body header.header img.logo-img,
html body header.header a.logo img {
  max-height: 80px !important;
  height: 80px !important;
}
body { padding-top: 100px !important; }
.header { min-height: 100px !important; }

/* === HERO RYDDIG FIX 2026-05-19 — endelig versjon === */
/* Mindre body padding (logo 70px holder) */
html body header.header img.logo-img,
html body header.header a.logo img {
  max-height: 70px !important;
  height: 70px !important;
}
body { padding-top: 86px !important; }
.header { min-height: 86px !important; }

/* Mindre topp-padding på alle hero/page-hero */
.hero, .service-hero, .page-hero, .blog-hero, .contact-hero, .about-hero {
  padding-top: 2.5em !important;
}
.hero { padding-bottom: 2em !important; }
.page-hero { padding: 3em 0 2em !important; }

/* Service-hero ryddig: tekst venstre, knapp UNDER tekst, bilde høyre */
.service-hero-content { text-align: left !important; }
.service-hero-text { text-align: left !important; }
.service-hero-text h1 { margin-bottom: 0.5em !important; }
.service-hero-text .hero-text { margin-bottom: 1.5em !important; }
.service-hero-text .hero-features { 
  display: block !important; 
  margin: 0 0 2em !important; 
  text-align: left !important;
}
.service-hero-text .service-icon-large { margin: 0 0 1em !important; }
.service-hero .hero-actions {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 1em !important;
  flex-wrap: wrap !important;
  margin-top: 1.5em !important;
}
.service-hero-grid {
  align-items: center !important;
  gap: 3em !important;
}
.service-hero-image img {
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}

/* === TEKST VENSTRE PÅ TJENESTER 2026-05-19 (overstyrer alle tidligere) === */
html body .service-hero,
html body .service-hero .container,
html body .service-hero-content,
html body .service-hero-text,
html body .service-hero-text h1,
html body .service-hero-text p,
html body .service-hero-text .hero-text,
html body .service-hero-text .hero-features,
html body .service-hero-text .hero-features li {
    text-align: left !important;
}
html body .service-hero-text .service-icon-large {
    margin-left: 0 !important;
    margin-right: auto !important;
    display: inline-flex !important;
}
html body .service-hero .hero-actions {
    justify-content: flex-start !important;
}

/* === FINAL HERO + PADDING FIX 2026-05-19 === */
body { padding-top: 80px !important; }
.header { min-height: 80px !important; }

/* Service hero: SENTRERT layout */
.service-hero-content,
.service-hero-text { text-align: center !important; }
.service-hero-text h1 { margin-bottom: 0.5em !important; }
.service-hero-text .hero-features {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 1.5em !important;
  margin: 0 auto 2em !important;
  text-align: left !important;
}
.service-hero-text .service-icon-large { margin: 0 auto 1em !important; }
.service-hero .hero-actions,
.service-hero-content .hero-actions,
.hero .hero-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 1em !important;
  flex-wrap: wrap !important;
  margin-top: 1.5em !important;
}

/* Reduser hero-topspace */
.hero, .service-hero, .page-hero, .blog-hero, .contact-hero, .about-hero {
  padding-top: 2em !important;
}
.about-hero { padding-top: 3em !important; padding-bottom: 2em !important; }
/* === END FINAL FIX === */


/* === ENDELIG TJENESTE-HERO VENSTRE 2026-05-19 — OVERRIDE ALT === */
html body main .service-hero,
html body main .service-hero *,
html body main .service-hero-text,
html body main .service-hero-content,
html body main .service-hero-text h1,
html body main .service-hero-text p,
html body main .service-hero-text .hero-text,
html body main .service-hero .hero-features,
html body main .service-hero .hero-features li {
  text-align: left !important;
}
html body main .service-hero .hero-actions {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 1em !important;
}
html body main .service-hero-text .service-icon-large,
html body main .service-hero-text .hero-features {
  margin-left: 0 !important;
  margin-right: auto !important;
}
/* Punktlister i scope-grid og hero-features pen styling */
.scope-grid .scope-item span {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
}
.hero-features {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4em !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 1em 0 1.5em !important;
}
.hero-features li {
  padding: 0 0 0 1.8em !important;
  position: relative !important;
  text-align: left !important;
  font-size: 1rem !important;
}
.hero-features li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  color: #e26245 !important;
  font-weight: 700 !important;
}

/* === MOBILE-FIX 2026-05-19 — bilder + grids stabler riktig === */
@media (max-width: 900px) {
  /* Service-hero: bilde UNDER tekst */
  .service-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2em !important;
  }
  .service-hero-image { order: 2 !important; }
  .service-hero-text { order: 1 !important; }
  .service-hero-image img { width: 100% !important; max-height: 320px !important; object-fit: cover !important; }
  
  /* Narrative seksjoner: stabler 1-kolonne, bilde over tekst */
  .narrative-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas: "img" "text" !important;
    gap: 1.5em !important;
  }
  .narrative-img { grid-area: img !important; }
  .narrative-text { grid-area: text !important; }
  .narrative-img img { max-height: 280px !important; }
  
  /* Pilarer + scope-grid + testimonials 1-kolonne */
  .pillars-grid,
  .testimonials-grid,
  .scope-grid {
    grid-template-columns: 1fr !important;
    gap: 1em !important;
    padding: 0 1em !important;
  }
  
  /* Hero på forside: bilde under tekst */
  .hero { padding: 2em 1em !important; }
  .hero-visual img { max-height: 260px !important; object-fit: cover !important; }
  
  /* Om-oss image-stats: 1 kolonne på mobil */
  .image-stats { grid-template-columns: 1fr !important; }
  .image-stats .stat-item { border-right: none !important; border-bottom: 1px solid #f1f1f0 !important; }
  
  /* Body padding mindre på mobil */
  body { padding-top: 70px !important; }
  .header { min-height: 70px !important; }
  html body header.header img.logo-img { max-height: 50px !important; height: 50px !important; }
  
  /* Tjenester arkiv-grid 1-kolonne */
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card-bg img { max-height: 240px !important; }
  
  /* Prosjekt-slider mobil scroll-snap (allerede satt i annen CSS) */
}

@media (max-width: 600px) {
  .blog-cover .container { padding: 0 1em !important; }
  .related-grid { grid-template-columns: 1fr !important; }
  .blog-single-hero { padding: 2em 0 1.5em !important; }
  .blog-single-hero .blog-title { font-size: 1.8rem !important; }
}

/* === ENDELIG LOGO STØRRELSE 2026-05-19 — overstyrer alt === */
html body header.header img.logo-img,
html body header.header a.logo img,
html body header.header .logo-img {
  max-height: 90px !important;
  height: 90px !important;
  width: auto !important;
}
html body { padding-top: 110px !important; }
html body header.header { min-height: 110px !important; }

@media (max-width: 768px) {
  html body header.header img.logo-img,
  html body header.header a.logo img {
    max-height: 65px !important;
    height: 65px !important;
  }
  html body { padding-top: 80px !important; }
  html body header.header { min-height: 80px !important; }
}

/* === HERO-PUNKTER KOMPAKT + KNAPP UNDER 2026-05-19 === */
.service-hero-text { display: flex !important; flex-direction: column !important; align-items: flex-start !important; }
.service-hero-text > * { width: 100% !important; }

.service-hero-text .hero-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 1.2em 0 1.5em !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35em !important;
  align-items: flex-start !important;
}
.service-hero-text .hero-features li {
  padding: 0 0 0 1.6em !important;
  margin: 0 !important;
  position: relative !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #44403c !important;
  text-align: left !important;
}
.service-hero-text .hero-features li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: #e26245 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

/* Knapp under listen */
.service-hero .hero-actions,
.service-hero-text .hero-actions,
.service-hero-text > a.btn,
.service-hero-text a.btn-primary {
  margin-top: 0.5em !important;
  margin-bottom: 0 !important;
  display: inline-flex !important;
  align-self: flex-start !important;
}

/* Fjern overflødig top-margin på h1 */
.service-hero-text h1 { margin-top: 0.3em !important; margin-bottom: 0.5em !important; }
.service-hero-text .hero-text { margin: 0 0 0.8em !important; }
.service-hero-text .service-icon-large { margin: 0 0 0.5em !important; }

/* === HERO ICON + KNAPP FIX 2026-05-19 === */
/* Service-icon: vis SVG ikon ordentlig */
.service-hero-text .service-icon-large {
  display: inline-flex !important;
  width: 60px !important;
  height: 60px !important;
  background: linear-gradient(135deg, #e26245, #b84a32) !important;
  border-radius: 14px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 1em !important;
  padding: 0 !important;
}
.service-hero-text .service-icon-large svg {
  width: 30px !important;
  height: 30px !important;
  color: #fff !important;
  stroke: #fff !important;
  fill: none !important;
}

/* Knapp ikke full bredde */
.service-hero-text .btn,
.service-hero-text a.btn,
.service-hero-text .btn-primary,
.service-hero-text a.btn-primary,
.service-hero .hero-actions .btn,
.service-hero .hero-actions a {
  display: inline-flex !important;
  width: auto !important;
  align-items: center !important;
  gap: 0.5em !important;
  padding: 0.85em 1.6em !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  align-self: flex-start !important;
}
.service-hero .hero-actions {
  display: flex !important;
  justify-content: flex-start !important;
  width: auto !important;
}

/* === SKJUL "Se alle artikler" 2026-05-19 === */
.blog-preview .blog-cta,
.blog-preview a[href*="/aktuelt/"]:has(span:contains("Se alle")),
.blog-preview .btn-outline,
.blog-cta {
  display: none !important;
}


/* === HERO I FULL BREDDE — 2026-08-17 ===
   Merknad #228: «Fiks så det ikke er kant på bakgrunnsfargen.»

   Feilen: en tidligere justering la max-width: 1280px på .hero. Men .hero er
   selve seksjonen som bærer bakgrunnsgradienten, og alle andre seksjoner på
   siden går i full bredde og strammer inn innholdet med en beholder inni.
   Resultatet var at bakgrunnen stoppet 353 px inn fra hver kant på brede
   skjermer, med en tydelig loddrett kant mot det hvite.

   Løsningen: seksjonen får full bredde igjen, og innholdet holdes på nøyaktig
   samme plass som før ved hjelp av innrykk som regnes ut fra skjermbredden.
   Innholdsboksen blir 1184 px, som er 1280 minus de 48 px innrykk den hadde,
   så ingenting flytter seg — bare bakgrunnen strekker seg helt ut. */

.hero {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: max(48px, calc((100% - 1184px) / 2)) !important;
  padding-right: max(48px, calc((100% - 1184px) / 2)) !important;
}

@media (max-width: 768px) {
  .hero {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* =====================================================
   MOBILMENY — ekte retting 2026-08-17
   =====================================================
   Menyen åpnet seg, men ble bare 148 px høy og viste fire av ti lenker.

   Årsaken: .header har backdrop-filter. Et element med backdrop-filter blir
   den nye målestokken for alt med position: fixed inni seg. Menyen ligger
   inne i headeren, så «inset: 0» pekte på headeren i stedet for skjermen.
   Derfor ble panelet like høyt som headeren, og resten ble klippet bort.

   Løsningen er ikke å presse på flere !important, men å fjerne det som
   skaper problemet på små skjermer. Headeren er uansett ugjennomsiktig der. */

@media (max-width: 1023px) {

  .header {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Nå måler panelet seg mot skjermen igjen. dvh tar høyde for at
     adresselinja på telefon kommer og går. */
  .nav {
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding-bottom: calc(48px + env(safe-area-inset-bottom)) !important;
    overscroll-behavior: contain;
  }

  /* Hele lista skal kunne rulle når den er lengre enn skjermen. */
  .nav-list {
    width: 100%;
    overflow-y: auto;
  }

  /* Undermenyen med de seks tjenestene lå skjult uten noen måte å åpne den
     på. Nå folder den seg ut når man trykker på «Tjenester». */
  .has-dropdown > .nav-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .has-dropdown > .nav-link::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .2s ease;
    flex: 0 0 auto;
    opacity: .55;
  }

  .has-dropdown.dropdown-open > .nav-link::after {
    transform: rotate(-135deg) translate(-2px, -2px);
    opacity: 1;
  }

  .has-dropdown.dropdown-open .dropdown {
    display: block !important;
    padding-left: 4px;
  }

  /* Store nok trykkflater. */
  .nav-link,
  .dropdown-link {
    min-height: 48px;
  }
}

/* =====================================================
   FAQ — smalere og strammere, merknad #235
   =====================================================
   Punktene var 1184 px brede med 18 px skrift. Det er altfor lange linjer
   til å lese komfortabelt. Anbefalt lesebredde er rundt 70 tegn. */

.service-faq .container,
.faq .container,
.faq-list {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  padding: 18px 22px;
  margin-bottom: 10px;
}

.faq-item h3,
.faq-item summary,
.faq-item .faq-question {
  font-size: 1.02rem;
  line-height: 1.4;
}

.faq-item p,
.faq-item .faq-answer {
  font-size: .97rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .faq-item {
    padding: 15px 17px;
  }
}


/* =====================================================
   MOBILMENY, del 2 — undermenyen skal ligge i lista
   =====================================================
   Undermenyen åpnet seg, men beholdt skrivebordsutseendet: et flytende kort
   på 320 px med «transform: translateX(-50%)», som skjøv det halvveis ut av
   skjermen og klippet teksten. På telefon skal den bare folde seg ut under
   «Tjenester» som en helt vanlig del av lista. */

@media (max-width: 1023px) {

  .has-dropdown .dropdown {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid var(--color-accent) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    margin: 4px 0 8px 6px !important;
    padding: 0 0 4px 14px !important;
  }

  /* Uten denne står undermenyen åpen hele tiden, siden regelen over
     tvinger den synlig. Det er utfellingen som styrer, ikke synligheten. */
  .has-dropdown .dropdown { display: none !important; }
  .has-dropdown.dropdown-open .dropdown { display: block !important; }

  /* Hover-regelen fra skrivebord skal ikke gjelde der man ikke har mus. */
  .nav-item.has-dropdown:hover .dropdown {
    transform: none !important;
  }

  .dropdown-link {
    display: block !important;
    width: 100% !important;
    padding: 11px 6px !important;
    white-space: normal !important;
  }

  .dropdown-link strong,
  .dropdown-link span {
    display: block;
    white-space: normal;
  }

  /* Ikonene til venstre i undermenyen tar plass fra teksten på smal skjerm. */
  .dropdown-icon {
    display: none !important;
  }
}


/* Pila som viser at «Tjenester» kan foldes ut. En annen regel tvinger
   .nav-link til display:block, så flex-plasseringen slo ikke inn og pila
   havnet på egen linje. Den festes derfor til høyre kant i stedet. */
@media (max-width: 1023px) {
  .has-dropdown > .nav-link {
    position: relative !important;
    padding-right: 34px !important;
  }
  .has-dropdown > .nav-link::after {
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -7px;
    transform: rotate(45deg);
  }
  .has-dropdown.dropdown-open > .nav-link::after {
    transform: rotate(-135deg);
    margin-top: -3px;
  }
}


/* Pila droppes. Temaet bruker allerede .nav-link::after til en understrek,
   og et element kan bare ha ett ::after. De to reglene smeltet sammen og
   la pila oppå første bokstav. Den oransje streken langs undermenyen viser
   uansett tydelig at den er utfoldet, så vi trenger ikke pila. */
@media (max-width: 1023px) {
  .has-dropdown > .nav-link::after {
    content: none !important;
  }
  .has-dropdown > .nav-link {
    padding-right: 6px !important;
  }
}


/* =====================================================
   KONTAKTSKJEMAET LOT SEG IKKE SENDE — retting 2026-08-17
   =====================================================
   Personvernboksen er påkrevd, og den lå med «display: none» inne i etiketten.
   Det gir to feil på én gang:

     1. Nettleseren nekter å sende skjemaet, men kan ikke vise feilmeldingen,
        fordi et element med display:none ikke kan få fokus. Brukeren trykker
        «Send henvendelse» og det skjer ingenting. Ingen melding, ingenting.
        Konsollen sier «An invalid form control with name='gb_privacy' is not
        focusable», men det ser ikke en kunde.
     2. Klikk på etiketten slo ikke gjennom til boksen, så den kunne heller
        ikke hukes av.

   Med andre ord: ingen kunde har kunnet sende inn skjemaet.

   Løsningen er den vanlige måten å skjule et skjemafelt visuelt på, uten å
   ta det ut av dokumentet. Da kan nettleseren både gi det fokus, rulle til
   det og vise meldingen, og etiketten virker som den skal. */

.checkbox-label input[type="checkbox"] {
  display: inline-block !important;
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

/* Etiketten blir målestokk, så den usynlige boksen ligger nøyaktig oppå
   det avkrysningsmerket kunden faktisk ser. */
.checkbox-label {
  position: relative;
}

/* Tydelig markering når man går gjennom skjemaet med tastatur. */
.checkbox-label input[type="checkbox"]:focus-visible + .checkmark {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Hele etiketten skal være klikkbar, ikke bare de tjue pikslene. */
.checkbox-label span:last-child {
  cursor: pointer;
}


/* Presis plassering: hver usynlige boks skal ligge oppå SIN EGEN etikett.
   Uten left/top beholder den absolutt plasserte boksen sin statiske posisjon,
   og de to avkrysningsboksene kunne da havne oppå hverandre. Da fanget den
   ene klikkene som var ment for den andre. */
.checkbox-label {
  position: relative !important;
}
.checkbox-label input[type="checkbox"] {
  left: 0;
  top: 3px;
}
