﻿/* ============================================================
   Anidem Computers AB Ã¢â‚¬â€œ Front-office Stylesheet
   Colors: Primary blue #1a3a5c, Accent blue #077594
   Font: Inter (Google Fonts)
   ============================================================ */

/* -------- Reset & Base -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2d3748;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1a3a5c; text-decoration: none; transition: color .2s; }
a:hover { color: #077594; }
ul, ol { list-style: none; }

/* -------- Utilities -------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: #f6f8fb; }
.section-light { background: #fafbfd; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-header h2 { font-size: 2rem; font-weight: 700; color: #1a3a5c; margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; color: #718096; }
.section-badge {
    display: inline-block;
    background: rgba(7,117,148,.15);
    color: #077594;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.text-center { text-align: center; }
.site-main { min-height: 60vh; }

/* -------- Buttons -------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 8px;
    font-weight: 600; font-size: .95rem;
    border: none; cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
}
.btn-primary { background: #077594; color: #fff; }
.btn-primary:hover { background: #4a97c5; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(7,117,148,.35); }
.btn-secondary { background: #1a3a5c; color: #fff; }
.btn-secondary:hover { background: #275385; color: #fff; transform: translateY(-2px); }
.btn-outline { border: 2px solid #1a3a5c; color: #1a3a5c; background: transparent; }
.btn-outline:hover { background: #1a3a5c; color: #fff; }
.btn-outline.btn-light { border-color: #fff; color: #fff; }
.btn-outline.btn-light:hover { background: #fff; color: #1a3a5c; }
a.btn-danger, .btn-danger { background: #c0392b; color: #fff !important; }
a.btn-danger:hover, .btn-danger:hover { background: #a93226; color: #fff !important; }
a.btn-danger i, .btn-danger i { color: #fff !important; }
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* -------- Navigation -------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; background: #1a3a5c;
    box-shadow: 0 2px 20px rgba(0,0,0,.15);
    transition: background .3s;
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .95; transition: opacity .2s; }
.nav-logo:hover img { opacity: 1; }
.nav-logo .logo-text-fallback { font-size: 1.2rem; color: #fff; white-space: nowrap; letter-spacing: .5px; }
.nav-logo .logo-text-fallback strong { font-weight: 800; margin-right: 2px; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
    color: rgba(255,255,255,.85); padding: 8px 16px;
    font-size: .9rem; font-weight: 500; border-radius: 6px;
    transition: all .2s;
}
.nav-menu a:hover, .nav-menu a.active { color: #fff; background: rgba(255,255,255,.1); }

.nav-cta {
    background: #077594; color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}
.nav-cta:hover { background: #4a97c5 !important; transform: translateY(-1px); }

.nav-cta-danger {
    background: #c0392b !important;
    gap: 6px;
}
.nav-cta-danger:hover { background: #a93226 !important; }

/* Mobile toggle */
.nav-toggle {
    display: none; background: none; border: none;
    color: #fff; cursor: pointer; padding: 8px;
    width: 36px; height: 36px; position: relative;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: #fff;
    margin: 5px auto; transition: all .3s;
}
.nav-toggle:hover span { background: #077594; }

/* -------- Hero Section -------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    padding-top: 72px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('../img/hero-bakgrund.avif') center/cover no-repeat;
    transform: scaleX(-1);
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,80,160,.98) 0%, rgba(7,117,148,.95) 25%, rgba(7,117,148,.90) 45%, rgba(44,143,122,.75) 65%, rgba(44,143,122,.4) 100%);
    z-index: 1;
}
.hero > .container { position: relative; z-index: 3; width: 100%; }
.hero-content {
    max-width: 700px; padding: 60px 0;
}
.hero-content .section-badge {
    margin-bottom: 20px;
    background: rgba(26,58,92,.5);
    color: #fff;
    font-size: .85rem;
    letter-spacing: 2px;
}
.hero-content h1 {
    font-size: 3.2rem; font-weight: 800; color: #fff;
    line-height: 1.15; margin-bottom: 20px;
}
.hero-content h1 .highlight { color: #1a3a5c; }
.hero-content p {
    font-size: 1.15rem; color: rgba(255,255,255,.8);
    margin-bottom: 32px; max-width: 560px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 10px;
    font-size: 1rem; font-weight: 600;
    transition: all .3s ease; text-decoration: none;
}
.btn-hero-primary { background: #1a3a5c; color: #fff; box-shadow: 0 4px 15px rgba(26,58,92,.4); }
.btn-hero-primary:hover { background: #0d1f33; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,58,92,.5); }
.btn-hero-secondary { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-hero-secondary:hover { background: rgba(255,255,255,.2); color: #fff; }

/* Hero decorative */
.hero-visual {
    position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(7,117,148,.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Floating hexagons */
.hero-hex {
    position: absolute;
    width: 120px; height: 138px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 2;
    opacity: .5;
    pointer-events: none;
}
.hex-1 {
    background: #077594;
    width: 200px; height: 231px;
    top: 12%; right: 8%;
    animation: hexFloat1 8s ease-in-out infinite;
}
.hex-2 {
    background: #2c8f7a;
    width: 140px; height: 161px;
    bottom: 18%; right: 22%;
    animation: hexFloat2 10s ease-in-out infinite;
}
.hex-3 {
    background: #b5c820;
    width: 110px; height: 127px;
    top: 35%; right: 35%;
    animation: hexFloat3 12s ease-in-out infinite;
}
@keyframes hexFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-15px, 20px) rotate(5deg); }
    66% { transform: translate(10px, -15px) rotate(-3deg); }
}
@keyframes hexFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -10px) rotate(-4deg); }
    66% { transform: translate(-10px, 15px) rotate(6deg); }
}
@keyframes hexFloat3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-12px, -18px) rotate(8deg); }
    66% { transform: translate(18px, 10px) rotate(-5deg); }
}
.hex-4 {
    background: #1a3a5c;
    width: 240px; height: 277px;
    bottom: 8%; left: 5%;
    animation: hexFloat4 9s ease-in-out infinite;
}
.hex-5 {
    background: #077594;
    width: 90px; height: 104px;
    top: 20%; right: 45%;
    animation: hexFloat5 11s ease-in-out infinite;
}
.hex-6 {
    background: #2c8f7a;
    width: 160px; height: 185px;
    bottom: 30%; left: 25%;
    animation: hexFloat6 14s ease-in-out infinite;
}
@keyframes hexFloat4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -12px) rotate(-6deg); }
    66% { transform: translate(-8px, 18px) rotate(4deg); }
}
@keyframes hexFloat5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-18px, 12px) rotate(7deg); }
    66% { transform: translate(14px, -8px) rotate(-4deg); }
}
@keyframes hexFloat6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, 20px) rotate(-8deg); }
    66% { transform: translate(-16px, -14px) rotate(5deg); }
}
.hero-stats {
    display: flex; gap: 48px; margin-top: 48px; padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat h3 { font-size: 2rem; font-weight: 700; color: #077594; }
.hero-stat p { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 4px; }

/* -------- Page Hero (subpages) -------- */
.page-hero {
    position: relative;
    background: #077594;
    padding: 140px 0 60px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.page-hero > .container { position: relative; z-index: 3; }
.page-hero-sm { padding: 120px 0 40px; }
.page-hero h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto; }
.page-hero .section-badge { background: #1a3a5c; color: #fff; }
.breadcrumb {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 16px; font-size: .85rem; color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #077594; }
.breadcrumb i { font-size: .6rem; }

/* -------- Dental Section (homepage) -------- */
.dental-section {
    background: linear-gradient(135deg, #f0f7fd 0%, #e8f4fb 100%);
    padding: 80px 0;
}
.dental-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: center;
}
.dental-grid h2 { font-size: 1.8rem; color: #1a3a5c; margin-bottom: 16px; }
.dental-grid p { color: #4a5568; margin-bottom: 24px; }
.dental-features { display: grid; gap: 16px; }
.dental-feature {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px; background: #fff; border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.dental-feature i { color: #077594; font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.dental-feature h4 { font-size: .95rem; font-weight: 600; color: #1a3a5c; margin-bottom: 2px; }
.dental-feature p { font-size: .85rem; color: #718096; margin: 0; }

/* -------- Services Grid -------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: #077594;
    transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.service-card:hover {
    box-shadow: 0 12px 40px rgba(26,58,92,.12);
    transform: translateY(-6px);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
    width: 64px; height: 64px; margin: 0 auto 20px;
    background: linear-gradient(135deg, #e8f4fb, #f0f7fd);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #077594;
    transition: all .3s;
}
.service-card:hover .icon { background: #077594; color: #fff; }
.service-card h3 { font-size: 1.15rem; font-weight: 600; color: #1a3a5c; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: #718096; margin-bottom: 16px; }
.service-card .card-link {
    font-size: .85rem; font-weight: 600; color: #077594;
    display: inline-flex; align-items: center; gap: 6px;
}
.service-card .card-link i { transition: transform .2s; }
.service-card:hover .card-link i { transform: translateX(4px); }

/* -------- About Section -------- */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: center;
}
.about-content h2 { font-size: 2rem; font-weight: 700; color: #1a3a5c; margin-bottom: 16px; }
.about-content p { color: #4a5568; margin-bottom: 20px; }
.about-info-cards { display: grid; gap: 16px; margin-top: 32px; }
.about-info-card,
.info-card {
    display: flex; align-items: center; gap: 16px;
    background: #f6f8fb; padding: 18px 22px; border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all .3s;
}
.about-info-card:hover,
.info-card:hover { border-color: #077594; box-shadow: 0 4px 12px rgba(7,117,148,.08); }
.about-info-card i, .info-card i { font-size: 1.3rem; color: #077594; }
.about-info-card h4, .info-card h4 { font-size: .95rem; font-weight: 600; color: #1a3a5c; }
.about-info-card p, .info-card p { font-size: .85rem; color: #718096; margin: 0; }
.about-visual {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.about-stat-card {
    background: linear-gradient(135deg, #1a3a5c, #275385);
    padding: 32px 24px; border-radius: 14px;
    text-align: center; color: #fff;
}
.about-stat-card:nth-child(2) { margin-top: 30px; }
.about-stat-card:nth-child(3) { margin-top: -30px; }
.about-stat-card h3 { font-size: 2rem; font-weight: 700; color: #077594; }
.about-stat-card p { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: 4px; }

/* -------- Blog Section -------- */
.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 14px; overflow: hidden;
    transition: all .3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.blog-card:hover {
    box-shadow: 0 12px 40px rgba(26,58,92,.12);
    transform: translateY(-4px);
}
.blog-card-img {
    height: 200px; background: linear-gradient(135deg, #e8edf4, #f8f9fa);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img i { font-size: 2rem; color: #cbd5e0; }
.blog-card-body { padding: 24px; }
.blog-card-date { font-size: .8rem; color: #a0aec0; margin-bottom: 8px; display: block; }
.blog-card-body h3 { font-size: 1.1rem; font-weight: 600; color: #1a3a5c; margin-bottom: 10px; }
.blog-card-body h3 a { color: inherit; }
.blog-card-body h3 a:hover { color: #077594; }
.blog-card-body p { font-size: .9rem; color: #718096; margin-bottom: 14px; }
.read-more {
    font-size: .85rem; font-weight: 600; color: #077594;
    display: inline-flex; align-items: center; gap: 6px;
}
.read-more i { transition: transform .2s; font-size: .75rem; }
.read-more:hover i { transform: translateX(4px); }

/* Blog listing page */
.blog-listing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Single blog post */
.article-header { text-align: center; padding: 0 0 32px; border-bottom: 1px solid #e2e8f0; margin-bottom: 32px; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: .85rem; color: #a0aec0; margin-top: 12px; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-featured, .article-image { margin-bottom: 48px; border-radius: 14px; overflow: hidden; }
.article-featured img, .article-image img { width: 100%; }
.article-content { font-size: 1.05rem; line-height: 1.85; }
.article-content h2, .article-content h3 { color: #1a3a5c; margin: 32px 0 12px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 0 0 16px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content a { color: #077594; text-decoration: underline; }
.article-back { margin-top: 48px; padding-top: 32px; border-top: 1px solid #e2e8f0; text-align: center; }

.related-posts { background: #f8f9fa; }

/* -------- Partners -------- */
.partners-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.partner-item,
.partner-card {
    background: #fff; padding: 0; border-radius: 14px;
    border: 1px solid #e2e8f0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    min-height: 100px;
    transition: all .3s;
    color: #2d3748;
    overflow: hidden;
}
.partner-item:hover, .partner-card:hover {
    border-color: #077594;
    box-shadow: 0 6px 20px rgba(7,117,148,.1);
    transform: translateY(-3px);
}
.partner-item img { max-height: 50px; opacity: .7; transition: opacity .3s; }
.partner-item:hover img { opacity: 1; }
.partner-item span,
.partner-card h4 { font-weight: 600; font-size: 1rem; color: #1a3a5c; margin-bottom: 4px; padding: 0 24px; }
.partner-card p { font-size: .85rem; color: #718096; margin: 0; padding: 0 24px 20px; }
.partner-logo { width: 100%; margin-bottom: 12px; }
.partner-logo img { width: 100%; display: block; object-fit: contain; }

.section-alt .service-card,
.section-alt .blog-card,
.section-alt .partner-card,
.section-light .partner-card {
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    border-color: rgba(226,232,240,.6);
}
.section-alt .service-card:hover,
.section-alt .blog-card:hover {
    box-shadow: 0 16px 48px rgba(26,58,92,.14);
}

/* Elevated cards on tinted backgrounds */
.section-alt .contact-card,
.section-alt .sidebar-card,
.section-alt .feature-item,
.section-alt .pricing-card,
.section-alt .pricing-note,
.section-alt .blog-article {
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

/* Prose/article content on alt background */
.section-alt .blog-article {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 48px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

/* -------- Portfolio -------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    justify-items: center;
}
.portfolio-grid.portfolio-grid--few {
    grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
    justify-content: center;
}
.portfolio-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.portfolio-card:hover .portfolio-image img {
    transform: scale(1.03);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 58, 92, .7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    opacity: 0;
    transition: opacity .3s ease;
    text-decoration: none;
}
.portfolio-overlay i { font-size: 1.5rem; }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-content {
    padding: 24px;
}
.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.portfolio-content p {
    color: #64748b;
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #077594;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: gap .3s ease;
}
.portfolio-link:hover { gap: 10px; }

/* -------- CTA Section -------- */
.section-cta { padding: 60px 0; }
.cta-box {
    background: linear-gradient(135deg, #1a3a5c, #275385);
    padding: 56px 48px; border-radius: 20px;
    text-align: center; color: #fff;
    position: relative; overflow: hidden;
}
.cta-box::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(7,117,148,.15) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-box h2 { font-size: 2rem; margin-bottom: 16px; position: relative; }
.cta-box p { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 32px; position: relative; }
.cta-btns {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; flex-wrap: wrap; position: relative;
}

/* -------- Contact Page -------- */
.contact-grid {
    display: grid; grid-template-columns: 2fr 1fr;
    gap: 48px; align-items: start;
}
.contact-form-wrap {
    padding: 40px 0;
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-weight: 600; font-size: .9rem;
    color: #1a3a5c; margin-bottom: 6px;
}
.form-control {
    width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0;
    border-radius: 8px; font-size: .95rem; font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
.form-control:focus {
    outline: none; border-color: #077594;
    box-shadow: 0 0 0 3px rgba(7,117,148,.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.checkbox-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; margin-top: 4px;
}
.checkbox-label {
    display: flex; align-items: center; gap: 8px;
    font-size: .9rem; color: #4a5568; cursor: pointer;
}
.checkbox-label input[type="checkbox"] { accent-color: #077594; }

.form-success {
    text-align: center; padding: 48px 24px;
}
.form-success i { font-size: 3rem; color: #077594; margin-bottom: 16px; }
.form-success h3 { color: #1a3a5c; margin-bottom: 8px; }
.form-error {
    background: #fff5f5; color: #c53030; border: 1px solid #feb2b2;
    padding: 12px 16px; border-radius: 8px; margin-bottom: 20px;
    font-size: .9rem;
}

.contact-info { display: grid; gap: 16px; }
.contact-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 14px; padding: 24px;
    text-align: center; transition: all .3s;
}
.contact-card:hover { border-color: #077594; box-shadow: 0 4px 15px rgba(7,117,148,.08); }
.contact-card i { font-size: 1.5rem; color: #077594; margin-bottom: 12px; }
.contact-card h4 { font-size: .95rem; font-weight: 600; color: #1a3a5c; margin-bottom: 6px; }
.contact-card p { font-size: .85rem; color: #718096; }
.contact-card a { color: #077594; }
.contact-fjÃƒÂ¤rrsupport { background: linear-gradient(135deg, #e8f4fb, #f0f7fd); border-color: #077594; }

/* -------- Service Single Page -------- */
.service-single-grid {
    display: grid; grid-template-columns: 1fr 340px;
    gap: 48px; align-items: start;
}
.service-content h2, .service-content h3 { color: #1a3a5c; margin-top: 28px; margin-bottom: 12px; }
.service-content p { margin-bottom: 16px; color: #4a5568; }
.service-content ul { margin: 0 0 16px 24px; list-style: disc; }
.service-content li { margin-bottom: 6px; color: #4a5568; }
.service-hero-image {
    margin: 20px 0 28px;
    border-radius: 12px;
    overflow: hidden;
}
.service-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.service-sidebar { position: sticky; top: 96px; }
.sidebar-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 14px; padding: 28px;
    margin-bottom: 20px;
}
.sidebar-card h4 {
    font-size: 1rem; font-weight: 700; color: #1a3a5c;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 2px solid #077594;
}
.sidebar-services a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 8px;
    color: #4a5568; font-size: .9rem;
    transition: all .2s; margin-bottom: 2px;
}
.sidebar-services a:hover, .sidebar-services a.active {
    background: #e8f4fb; color: #1a3a5c;
}
.sidebar-services a i { color: #077594; width: 16px; text-align: center; }
.sidebar-contact-widget {
    background: linear-gradient(135deg, #1a3a5c, #275385);
    border: none; color: #fff;
}
.sidebar-contact-widget h4 { color: #fff; border-color: #077594; }
.sidebar-contact-widget p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 16px; }
.sidebar-contact-widget .btn { width: 100%; justify-content: center; }

/* -------- Pricing Cards (IT for tandvÃƒÂ¥rd) -------- */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; align-items: stretch;
}
.pricing-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 14px; padding: 36px 28px;
    position: relative; transition: all .3s;
    display: flex; flex-direction: column;
}
.pricing-card:hover { box-shadow: 0 12px 40px rgba(26,58,92,.1); }
.pricing-featured {
    border-color: #077594; box-shadow: 0 8px 30px rgba(7,117,148,.15);
    transform: scale(1.03);
}
.pricing-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #077594; color: #fff;
    padding: 4px 20px; border-radius: 50px;
    font-size: .8rem; font-weight: 600;
}
.pricing-header { text-align: center; margin-bottom: 24px; }
.pricing-header h3 { font-size: 1.3rem; font-weight: 700; color: #1a3a5c; }
.pricing-sub { font-size: .9rem; color: #718096; margin-top: 4px; }
.pricing-features { margin-bottom: 28px; flex: 1; }
.pricing-features li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 0; font-size: .9rem; color: #4a5568;
    border-bottom: 1px solid #f7fafc;
}
.pricing-features li i { color: #077594; margin-top: 3px; flex-shrink: 0; }
.pricing-note {
    text-align: center; margin-top: 32px;
    background: #fff; padding: 20px 24px;
    border-radius: 10px; border: 1px solid #e2e8f0;
}
.pricing-note p { font-size: .9rem; color: #718096; }
.pricing-note i { color: #077594; margin-right: 6px; }

/* -------- Features Grid -------- */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-item {
    text-align: center; padding: 32px 24px;
    background: #fff; border-radius: 14px;
    border: 1px solid #e2e8f0;
    transition: all .3s;
}
.feature-item:hover { border-color: #077594; box-shadow: 0 6px 20px rgba(7,117,148,.08); }
.feature-item i { font-size: 2rem; color: #077594; margin-bottom: 16px; }
.feature-item h4 { font-size: 1rem; font-weight: 600; color: #1a3a5c; margin-bottom: 8px; }
.feature-item p { font-size: .85rem; color: #718096; }

/* -------- Prose (page content) -------- */
.prose { font-size: 1.05rem; line-height: 1.85; color: #2d3748; }
.prose h1 { font-size: 1.9rem; font-weight: 700; color: #1a3a5c; margin: 32px 0 14px; line-height: 1.3; }
.prose h2 { font-size: 1.6rem; font-weight: 700; color: #1a3a5c; margin: 32px 0 12px; line-height: 1.3; }
.prose h3 { font-size: 1.3rem; font-weight: 600; color: #1a3a5c; margin: 24px 0 10px; line-height: 1.35; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 24px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { color: #077594; text-decoration: underline; }
.prose-page { max-width: 800px; margin: 0 auto; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid #e2e8f0; text-align: left; }
.prose th { background: #f8f9fa; font-weight: 600; color: #1a3a5c; }

/* -------- Pagination -------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    font-weight: 600; font-size: .9rem;
    border: 1px solid #e2e8f0; color: #1a3a5c;
    transition: all .2s;
}
.pagination a:hover { background: #077594; color: #fff; border-color: #077594; }
.pagination .current { background: #1a3a5c; color: #fff; border-color: #1a3a5c; }

/* -------- Footer -------- */
.site-footer {
    background: #0d1f33; color: rgba(255,255,255,.8);
}
.footer-main { padding: 64px 0 0; }
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer h4 {
    font-size: 1rem; font-weight: 600; color: #fff;
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 2px solid #077594;
    display: inline-block;
}
.site-footer p { font-size: .9rem; line-height: 1.7; margin-bottom: 8px; }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .9; transition: opacity .2s; }
.footer-logo:hover img { opacity: 1; }
.footer-about p { color: rgba(255,255,255,.65); }
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 0; }
.footer-col ul a {
    display: block; color: rgba(255,255,255,.7);
    padding: 4px 0; font-size: .9rem; transition: all .2s;
}
.footer-col ul a:hover { color: #077594; padding-left: 4px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); padding: 4px 0; font-size: .9rem; }
.footer-contact li i { color: #077594; width: 16px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: #077594; }

.footer-social {
    display: flex; gap: 12px; margin-top: 16px;
}
.footer-social a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .9rem;
    transition: all .2s;
}
.footer-social a:hover { background: #077594; }

.footer-partners {
    display: flex; align-items: center; gap: 12px;
    margin-top: 12px; flex-wrap: wrap;
}
.footer-partners a {
    font-size: .85rem; color: rgba(255,255,255,.5);
    padding: 4px 12px; border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px; transition: all .2s;
}
.footer-partners a:hover { border-color: #077594; color: #077594; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom .footer-container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; font-size: .8rem; color: rgba(255,255,255,.4);
    flex-wrap: wrap; gap: 12px;
    border: none;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-legal a:hover { color: #077594; }

/* -------- Cookie Banner -------- */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #0d1f33; color: #fff;
    padding: 20px 24px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.3);
    z-index: 9999;
    display: none;
    border-top: 2px solid #077594;
}
.cookie-banner.show { display: block; }
.cookie-content {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.cookie-content p { font-size: .9rem; color: rgba(255,255,255,.8); flex: 1; }
.cookie-content a { color: #077594; text-decoration: underline; }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-allow {
    background: #077594; color: #fff;
    padding: 10px 24px; border-radius: 8px; border: none;
    font-weight: 600; cursor: pointer; font-size: .9rem;
    transition: background .2s;
}
.cookie-allow:hover { background: #4a97c5; }
.cookie-deny {
    background: rgba(255,255,255,.1); color: #fff;
    padding: 10px 24px; border-radius: 8px; border: none;
    font-weight: 600; cursor: pointer; font-size: .9rem;
    transition: background .2s;
}
.cookie-deny:hover { background: rgba(255,255,255,.2); }

/* -------- 404 Page -------- */
.page-404 { text-align: center; padding: 120px 0; }
.page-404 h1 { font-size: 6rem; font-weight: 800; color: #1a3a5c; line-height: 1; }
.page-404 p { font-size: 1.2rem; color: #718096; margin: 16px 0 32px; }

/* -------- Responsive -------- */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.6rem; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid, .blog-listing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .pricing-featured { transform: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { grid-template-columns: repeat(4, 1fr); }
    .about-stat-card:nth-child(2), .about-stat-card:nth-child(3) { margin-top: 0; }
    .service-single-grid { grid-template-columns: 1fr; }
    .service-sidebar { position: static; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .dental-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 1.6rem; }

    /* Navigation mobile */
    .nav-menu {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        flex-direction: column; background: #1a3a5c;
        padding: 24px; gap: 4px;
        transform: translateX(100%);
        transition: transform .3s ease;
        overflow-y: auto;
    }
    .nav-menu.nav-open { transform: translateX(0); }
    .nav-menu a { padding: 14px 16px; font-size: 1rem; width: 100%; }
    .nav-toggle { display: block; }

    /* Hero */
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-btns { flex-direction: column; }
    .btn-hero { justify-content: center; }

    .page-hero { padding: 110px 0 40px; }
    .page-hero h1 { font-size: 1.8rem; }

    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .blog-grid, .blog-listing-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 40px 24px; }
    .cta-box h2 { font-size: 1.5rem; }
    .cta-btns { flex-direction: column; align-items: stretch; }
    .btn-hero { text-align: center; justify-content: center; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom .footer-container { flex-direction: column; text-align: center; }
    .footer-partners { flex-direction: column; text-align: center; }
    .partners-grid { grid-template-columns: 1fr; }
    .section-alt .blog-article { padding: 28px 20px; }
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-buttons { width: 100%; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .about-visual { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { gap: 20px; }
    .partner-item { min-width: 140px; padding: 16px 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-content h1 { font-size: 1.7rem; }
    .hero-stats { gap: 16px; }
    .hero-stat h3 { font-size: 1.5rem; }
    .about-visual { grid-template-columns: 1fr 1fr; }
}

/* -------- Animations -------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .6s ease forwards; }

/* -------- Remote Support / FjÃ¤rrsupport -------- */
.remote-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.remote-card {
    flex: 1;
    max-width: 420px;
    min-width: 280px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .25s, transform .25s;
}
.remote-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    transform: translateY(-4px);
}
.remote-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}
.remote-card h3 {
    font-size: 1.3rem;
    color: #1a3a5c;
    margin-bottom: 4px;
}
.remote-tool {
    font-size: 0.95rem;
    color: #077594;
    font-weight: 600;
    margin-bottom: 12px;
}
.remote-desc {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 24px;
}
.remote-card a.btn {
    pointer-events: auto;
}
.remote-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.remote-buttons .btn {
    pointer-events: auto;
}
@media (max-width: 600px) {
    .remote-grid { flex-direction: column; align-items: center; }
    .remote-card { max-width: 100%; }
}

/* -------- Page Featured Image -------- */
.page-featured-image {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* -------- Staff / Personal -------- */
.staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}
.staff-card {
    width: calc(25% - 24px);
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: box-shadow .25s, transform .25s;
}
.staff-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-4px);
}
.staff-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
}
.staff-photo-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #a0aec0;
    font-size: 3rem;
}
.staff-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 4px;
}
.staff-title {
    font-size: 0.95rem;
    color: #077594;
    font-weight: 500;
    margin-bottom: 10px;
}
.staff-description {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 12px;
}
.staff-contact {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}
.staff-contact a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f4f8;
    color: #1a3a5c;
    font-size: 0.9rem;
    transition: background .2s, color .2s;
}
.staff-contact a:hover {
    background: #1a3a5c;
    color: #fff;
}

@media (max-width: 991px) {
    .staff-card { width: calc(33.333% - 22px); }
}
@media (max-width: 767px) {
    .staff-grid { gap: 20px; }
    .staff-card { width: calc(50% - 10px); }
    .staff-photo, .staff-photo-placeholder { width: 110px; height: 110px; }
}
@media (max-width: 480px) {
    .staff-card { width: 100%; }
}
