/* ============================================
   Bedrift Base Theme — Norwegian Business
   ============================================ */

/* --- Self-hosted Inter (SIL Open Font License) --- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter-latin-800-normal.woff2') format('woff2'); }

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

:root {
    --bg: #ffffff;
    --surface: #f8f9fb;
    --elevated: #ffffff;
    --border: #e2e5ea;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --heading: #0f0f1a;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    --accent-subtle: #f8faff;
    --success: #059669;
    --error: #dc2626;
    --warning: #d97706;
    --radius: 8px;
    --radius-lg: 12px;
    --max-width: 1200px;
    --content-width: 780px;
    --nav-height: 64px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.04);
    --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

h1 { font-size: 3rem; font-weight: 800; letter-spacing: -1px; }
h2 { font-size: 2rem; letter-spacing: -0.5px; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }
.section-surface { background: var(--surface); }

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--nav-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--heading);
    text-decoration: none;
}

.site-logo:hover { color: var(--heading); }

.site-logo svg { display: block; }
.site-logo-img { height: 36px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

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

.nav-links .btn-accent { color: #fff; }
.nav-links .btn-accent:hover { color: #fff; background: var(--accent-hover); border-color: var(--accent-hover); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--heading);
    border-radius: 1px;
    transition: all var(--transition);
}

/* --- Hero --- */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--accent-subtle) 0%, var(--bg) 100%);
}

.hero-image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-image .container {
    position: relative;
    z-index: 1;
}

.hero-image h1,
.hero-image .hero-tagline {
    color: #fff;
}

.hero-image .hero-tagline {
    opacity: 0.9;
}

.hero-image .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.hero-image .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Stats Bar --- */
.stats-bar {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.service-price {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    padding: 4px 12px;
    border-radius: 20px;
}

/* --- Process Steps --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.process-step { text-align: center; }

.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-step h3 { margin-bottom: 8px; }

.process-step p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* --- About / Om oss Section --- */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-text h2 { margin-bottom: 16px; }

.about-text p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* --- Lightbox --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
}
.lightbox-caption {
    color: #fff;
    font-size: 0.9rem;
    margin-top: 12px;
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 1;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
    z-index: 1;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

/* --- Reviews / Anmeldelser --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.review-stars svg {
    width: 18px;
    height: 18px;
    fill: #f59e0b;
    color: #f59e0b;
}

.review-stars svg.empty {
    fill: none;
    stroke: var(--border);
}

.review-text {
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--heading);
}

.review-source {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* --- Pricing Table --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}


.pricing-card .btn-block{
    margin-top: auto;
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card h3 { margin-bottom: 8px; }

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--heading);
    line-height: 1;
}

.pricing-period {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 12px 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--text);
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 2px;
}

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
}

.contact-info h3 { margin-bottom: 24px; }

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

.contact-item svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.contact-item strong { display: block; margin-bottom: 2px; }

.contact-item span {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

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

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

.form-msg {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    display: none;
}

.form-msg.success {
    display: block;
    background: #ecfdf5;
    color: var(--success);
    border: 1px solid #a7f3d0;
}

.form-msg.error {
    display: block;
    background: #fef2f2;
    color: var(--error);
    border: 1px solid #fecaca;
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--accent-subtle) 100%);
}

.cta-section h2 { margin-bottom: 16px; }

.cta-section p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background var(--transition);
}

.faq-question:hover { background: var(--surface); }

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* --- Map Section --- */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Blog / Archive --- */
.archive-header {
    text-align: center;
    padding: 60px 0 40px;
}

.archive-header h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.archive-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    padding-bottom: 60px;
}

.post-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.post-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.post-card-img {
    height: 200px;
    background: var(--surface);
    overflow: hidden;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-body { padding: 24px; }

.post-card-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.post-card-body h3 { margin-bottom: 8px; }
.post-card-body h3 a { color: var(--heading); }
.post-card-body h3 a:hover { color: var(--accent); }

.post-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* --- Single Post --- */
.single-post {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 60px 24px;
}

.single-post .post-header { margin-bottom: 40px; }

.single-post .post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.single-post .post-meta {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.single-post .post-content {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.single-post .post-content h2 { margin: 40px 0 16px; }
.single-post .post-content h3 { margin: 32px 0 12px; }
.single-post .post-content p { margin-bottom: 16px; }

.single-post .post-content ul,
.single-post .post-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.single-post .post-content li { margin-bottom: 8px; }

.single-post .post-content img {
    border-radius: var(--radius);
    margin: 24px 0;
}

.single-post .post-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-muted);
}

.single-post .post-content code {
    background: var(--surface);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.875em;
}

.single-post .post-content pre {
    background: var(--heading);
    color: #e8e8ec;
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 24px 0;
}

.single-post .post-content pre code {
    background: none;
    padding: 0;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 40px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: all var(--transition);
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.pagination .current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* --- 404 --- */
.error-page {
    text-align: center;
    padding: 120px 24px;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.error-page p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

/* --- Page header --- */
.page-header {
    text-align: center;
    padding: 60px 0 40px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Generic page content --- */
.page-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 60px 24px;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.page-content p { margin-bottom: 16px; }
.page-content h2 { margin: 40px 0 16px; }
.page-content h3 { margin: 32px 0 12px; }

/* --- Footer --- */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo { margin-bottom: 16px; }

.footer-about {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-col h4 {
    margin-bottom: 16px;
    color: var(--heading);
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; align-items: center; gap: 8px; }
.footer-sep { color: var(--border); }

/* --- Team Section --- */
.team-section {
    padding: 80px 0;
}

.team-section .section-title {
    margin-bottom: 12px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

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

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.team-card {
    background: var(--bg, #fff);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
}

.team-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.team-card-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    overflow: hidden;
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-photo svg {
    width: 40px;
    height: 40px;
}

.team-card h3 {
    margin-bottom: 4px;
    font-size: 1.125rem;
}

.team-card-title {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card-bio {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.team-card-specializations {
    list-style: none;
    margin-bottom: 16px;
}

.team-card-specializations li {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 3px 2px;
}

.team-card-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.team-card-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    transition: all var(--transition);
}

.team-card-social-link:hover {
    background: var(--accent);
    color: #fff;
}

.team-card-social-link svg {
    flex-shrink: 0;
}

.team-card-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
}

.team-card-contact:hover {
    color: var(--accent-hover);
}

.team-card-contact svg {
    flex-shrink: 0;
}

/* --- Booking Modal --- */
.booking-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.booking-modal-overlay.open {
    display: flex;
}

.booking-modal {
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: modalSlideIn 0.2s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.booking-modal-close:hover {
    background: var(--surface);
    color: var(--heading);
}

.booking-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
    padding-right: 32px;
}

.booking-modal-subtitle {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.booking-modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.booking-modal-msg {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    margin-bottom: 16px;
    display: none;
}

.booking-modal-msg.success {
    display: block;
    background: #ecfdf5;
    color: var(--success);
    border: 1px solid #a7f3d0;
}

.booking-modal-msg.error {
    display: block;
    background: #fef2f2;
    color: var(--error);
    border: 1px solid #fecaca;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .services-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; width: 100%; padding: 12px; }
    .nav-links .btn-accent { text-align: center; margin-top: 8px; }
    .site-header { position: relative; }

    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 2rem; }
    .hero-tagline { font-size: 1.0625rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .section { padding: 60px 0; }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

    .booking-modal { padding: 24px; }
    .booking-modal-row { grid-template-columns: 1fr; }

    .single-post .post-header h1 { font-size: 2rem; }

    .help-topic-grid { grid-template-columns: 1fr; }
    .help-layout { grid-template-columns: 1fr; }
    .help-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 24px; margin-bottom: 24px; }
}

/* ============================================
   Help Center
   ============================================ */
.help-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 0.875rem; color: var(--text-muted); }
.help-breadcrumb a { color: var(--accent); text-decoration: none; }
.help-breadcrumb a:hover { text-decoration: underline; }
.help-breadcrumb-sep { color: var(--border); }

.help-topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.help-topic-card {
    display: block; padding: 24px; background: var(--elevated); border: 1px solid var(--border);
    border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
.help-topic-card:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.help-topic-icon { margin-bottom: 12px; color: var(--accent); }
.help-topic-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--heading); }
.help-topic-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }
.help-topic-count { font-size: 0.8rem; color: var(--text-muted); }

.help-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.help-sidebar { border-right: 1px solid var(--border); padding-right: 24px; }
.help-nav-group { margin-bottom: 4px; }
.help-nav-topic {
    display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius);
    text-decoration: none; color: var(--text); font-size: 0.9rem; font-weight: 500; transition: background 0.15s;
}
.help-nav-topic:hover { background: var(--surface); }
.help-nav-topic.active { background: var(--accent-light); color: var(--accent); }
.help-nav-topic svg { width: 18px; height: 18px; flex-shrink: 0; }
.help-nav-articles { list-style: none; padding: 0 0 8px 20px; }
.help-nav-articles li a {
    display: block; padding: 4px 12px; font-size: 0.85rem; color: var(--text-muted);
    text-decoration: none; border-radius: 4px; transition: color 0.15s;
}
.help-nav-articles li a:hover { color: var(--text); }
.help-nav-articles li a.active { color: var(--accent); font-weight: 500; }

.help-content { min-width: 0; }
.help-content h2 { font-size: 1.5rem; margin-bottom: 16px; color: var(--heading); }
.help-content h3 { font-size: 1.15rem; margin: 24px 0 12px; color: var(--heading); }
.help-content p { margin-bottom: 12px; line-height: 1.7; }
.help-content ul, .help-content ol { margin: 0 0 16px 24px; line-height: 1.7; }
.help-content li { margin-bottom: 4px; }
.help-content code { background: var(--surface); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

.help-article-list { display: flex; flex-direction: column; gap: 4px; }
.help-article-link {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    background: var(--elevated); border: 1px solid var(--border); border-radius: var(--radius);
    text-decoration: none; color: var(--text); font-weight: 500; transition: border-color 0.15s;
}
.help-article-link:hover { border-color: var(--accent); color: var(--accent); }

.help-tip, .help-warning {
    padding: 16px 20px; border-radius: var(--radius); margin: 16px 0; line-height: 1.6;
}
.help-tip { background: var(--accent-light); border-left: 4px solid var(--accent); }
.help-warning { background: #fef3cd; border-left: 4px solid var(--warning); }

/* --- Membership Section --- */
.membership-section { padding: 80px 0; background: var(--surface); }

.membership-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 1040px; margin: 0 auto; align-items: start;
}

.membership-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px; position: relative; transition: all var(--transition);
}
.membership-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.membership-card.featured { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: scale(1.04); z-index: 1; }
.membership-card.featured:hover { transform: scale(1.04) translateY(-3px); }

.membership-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 600;
    padding: 4px 16px; border-radius: 20px; white-space: nowrap;
}

.membership-card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.membership-price { font-size: 2.5rem; font-weight: 800; color: var(--heading); line-height: 1; }
.membership-period { font-size: 0.875rem; color: var(--text-muted); margin-left: 4px; }

.membership-binding {
    display: inline-block; margin-top: 8px; font-size: 0.8125rem; color: var(--text-muted);
    background: var(--surface); padding: 4px 12px; border-radius: 20px;
}

.membership-desc {
    color: var(--text-muted); font-size: 0.9375rem; margin: 16px 0 24px;
    padding-bottom: 24px; border-bottom: 1px solid var(--border);
}

.membership-features { list-style: none; margin-bottom: 24px; }
.membership-features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.9375rem; color: var(--text); }
.membership-features li svg { flex-shrink: 0; color: var(--success); margin-top: 2px; }
.membership-features li.excluded { color: var(--text-muted); text-decoration: line-through; opacity: 0.6; }
.membership-features li.excluded svg { color: var(--text-muted); }

@media (max-width: 1024px) {
    .membership-grid { grid-template-columns: 1fr; max-width: 400px; }
    .membership-card.featured { transform: none; }
    .membership-card.featured:hover { transform: translateY(-3px); }
}

/* --- Shop / Butikk Section --- */
.shop-section { padding: 80px 0; }

.shop-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px; max-width: 1200px; margin: 0 auto;
}

.shop-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; position: relative; transition: all var(--transition);
}
.shop-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.shop-badge {
    position: absolute; top: 12px; left: 12px; z-index: 1;
    background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 600;
    padding: 4px 12px; border-radius: 20px;
}

.shop-card-image { aspect-ratio: 4/3; overflow: hidden; background: var(--surface); }
.shop-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.shop-card:hover .shop-card-image img { transform: scale(1.05); }

.shop-card-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); opacity: 0.4;
}

.shop-card-body { padding: 20px; }
.shop-card-title { font-size: 1.0625rem; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.shop-card-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }

.shop-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shop-card-price { display: flex; align-items: baseline; gap: 8px; }
.shop-price { font-size: 1.25rem; font-weight: 700; color: var(--heading); }
.shop-price-old { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }

@media (max-width: 640px) {
    .shop-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .shop-card-body { padding: 14px; }
    .shop-card-title { font-size: 0.9375rem; }
    .shop-card-footer { flex-direction: column; align-items: flex-start; }
}
