/* ============================================
   Iterny Agency Theme — Light Professional
   ============================================ */

/* --- 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: #0066ff;
    --accent-hover: #0052cc;
    --accent-light: #e8f0ff;
    --accent-subtle: #f0f5ff;
    --success: #059669;
    --error: #dc2626;
    --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 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo-icon { display: block; flex-shrink: 0; }

.site-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.5px;
    line-height: 1;
}

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

.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; }

.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 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;
    counter-reset: process-step;
}

.process-step {
    text-align: center;
    position: relative;
    counter-increment: process-step;
}

.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;
}

/* --- AI Section --- */
.ai-section {
    padding: 80px 0;
    background: var(--heading);
    color: #fff;
}

.ai-section .section-title {
    color: #fff;
}

.ai-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.ai-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ai-content h2 {
    color: #fff;
    margin-bottom: 20px;
}

.ai-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.ai-features {
    list-style: none;
    margin-top: 24px;
}

.ai-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
}

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

.ai-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.15);
}

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

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

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

.portfolio-card-img {
    height: 180px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.portfolio-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
}

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

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

.portfolio-card-body p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 10px;
    border-radius: 20px;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 12px;
}

/* --- 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;
}

/* --- Pricing Table --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto;
}

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

.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: 2rem;
    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;
}

/* --- Horizontal pricing card --- */
.pricing-card-horizontal {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-top: 40px;
    padding: 32px 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.pricing-card-horizontal-main {
    flex: 0 0 280px;
    border-right: 1px solid var(--border);
    padding-right: 48px;
}

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

.pricing-features-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 40px;
    flex: 1;
    margin-bottom: 0;
}

/* --- Bransje Grid (tjenester page) --- */
.bransje-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* --- 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;
}

/* --- About Page --- */
.about-hero {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: center;
    padding: 60px 0;
}

.about-photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.about-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-light);
}

.about-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-muted);
    transition: all 0.2s;
}

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

.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.about-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

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

.about-legal {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.about-legal p {
    font-size: 0.9375rem;
}

/* --- 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 {
    display: block;
    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); }

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

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

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

    .pricing-card-horizontal {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 28px 24px;
    }

    .pricing-card-horizontal-main {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .pricing-features-horizontal {
        grid-template-columns: 1fr;
    }

    .bransje-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .ai-image { order: -1; }

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

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

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

    .about-photo-wrapper { margin: 0 auto; }
}

@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; }
    .bransje-grid { grid-template-columns: repeat(2, 1fr); }

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

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