/* ============================================================
   Elteknik Hudiksvall — Complete Stylesheet
   Design: dark minimalist, serif, uppercase labels
   ============================================================ */

/* ============================================================
   1. RESET + BASE
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0c0c0c;
    color: #e0e0e0;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
}

/* ============================================================
   2. NAVIGATION
   ============================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 64px;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a1a;
}

.nav-logo {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 3px;
    text-decoration: none;
    color: #e0e0e0;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 13px;
    letter-spacing: 2px;
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #e0e0e0;
}

.nav-cta {
    font-size: 12px;
    letter-spacing: 2px;
    padding: 10px 24px;
    border: 1px solid #e0e0e0;
    color: #e0e0e0;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background-color: #e0e0e0;
    color: #0c0c0c;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: #e0e0e0;
    display: block;
    transition: all 0.3s;
}

/* ============================================================
   3. HERO
   ============================================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-tag {
    font-size: 12px;
    letter-spacing: 5px;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 32px;
    line-height: 1.2;
}

.hero-line {
    width: 50px;
    height: 1px;
    background-color: #e0e0e0;
    margin: 0 auto 32px;
}

.hero-sub {
    font-size: 16px;
    color: #777;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 48px;
}

.hero-phone {
    font-size: 20px;
    letter-spacing: 3px;
    padding: 16px 48px;
    border: 1px solid #e0e0e0;
    display: inline-block;
    text-decoration: none;
    color: #e0e0e0;
    transition: background-color 0.2s, color 0.2s;
    margin-bottom: 12px;
}

.hero-phone:hover {
    background-color: #e0e0e0;
    color: #0c0c0c;
}

.hero-phone-label {
    font-size: 12px;
    color: #555;
    letter-spacing: 3px;
    margin-top: 12px;
    text-transform: uppercase;
}

/* ============================================================
   4. SECTIONS
   ============================================================ */

.section {
    padding: 80px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 11px;
    letter-spacing: 5px;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 48px;
    line-height: 1.3;
}

.divider {
    width: 30px;
    height: 1px;
    background-color: #333;
    margin-bottom: 48px;
}

/* ============================================================
   5. SERVICES GRID
   ============================================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    padding: 32px;
    border: 1px solid #1a1a1a;
    transition: border-color 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    border-color: #333;
}

.service-card .service-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

/* ============================================================
   6. USP
   ============================================================ */

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.usp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.usp-number {
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 8px;
}

.usp-label {
    font-size: 12px;
    letter-spacing: 3px;
    color: #555;
    text-transform: uppercase;
}

/* ============================================================
   7. CTA BAND
   ============================================================ */

.cta-band {
    background-color: #111;
    padding: 80px 48px;
    text-align: center;
}

.cta-band h2 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.cta-band p {
    color: #666;
    font-size: 14px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-phone {
    font-size: 28px;
    letter-spacing: 4px;
    font-weight: 300;
    text-decoration: none;
    color: #e0e0e0;
    display: block;
    transition: color 0.2s;
}

.cta-phone:hover {
    color: #fff;
}

.cta-name {
    font-size: 13px;
    color: #555;
    letter-spacing: 3px;
    margin-top: 12px;
    text-transform: uppercase;
}

/* ============================================================
   8. ARTICLE CARDS
   ============================================================ */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-card {
    border: 1px solid #1a1a1a;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: border-color 0.3s;
}

.article-card:hover {
    border-color: #333;
}

.article-img {
    height: 140px;
    background-color: #151515;
}

.article-body {
    padding: 24px;
}

.article-card h3 {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.article-card p {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
}

/* ============================================================
   9. SERVICE PAGE
   ============================================================ */

.service-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.service-page h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.service-intro {
    font-size: 16px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 48px;
}

.service-list {
    list-style: none;
    margin-bottom: 48px;
}

.service-list li {
    padding: 12px 0 12px 24px;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.service-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #555;
}

.faq {
    margin-top: 48px;
}

.faq details {
    border-bottom: 1px solid #1a1a1a;
    padding: 16px 0;
}

.faq summary {
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 1px;
    color: #e0e0e0;
    list-style: none;
    user-select: none;
}

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

.faq details[open] summary {
    margin-bottom: 12px;
}

.faq details p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    padding-left: 0;
}

/* ============================================================
   10. ARTICLE PAGE
   ============================================================ */

.article-page {
    max-width: 750px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.article-page h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-meta {
    font-size: 13px;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 48px;
}

.article-page h2 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 48px 0 16px;
    line-height: 1.4;
}

.article-page h3 {
    font-size: 18px;
    font-weight: 400;
    margin: 32px 0 12px;
    line-height: 1.4;
}

.article-page p {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
}

.article-page ul,
.article-page ol {
    margin: 16px 0 20px 24px;
    color: #ccc;
    list-style: disc;
}

.article-page ol {
    list-style: decimal;
}

.article-page li {
    margin-bottom: 8px;
    line-height: 1.7;
    font-size: 15px;
}

.takeaway-box {
    border-left: 2px solid #e0e0e0;
    padding: 24px;
    margin: 48px 0;
    background-color: #111;
}

.takeaway-box h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 400;
}

.related-articles {
    margin-top: 64px;
    border-top: 1px solid #1a1a1a;
    padding-top: 32px;
}

.related-articles h3 {
    font-size: 14px;
    letter-spacing: 2px;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 400;
}

.related-articles a {
    display: block;
    padding: 8px 0;
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    font-size: 14px;
    transition: color 0.2s;
}

.related-articles a:hover {
    color: #fff;
}

/* ============================================================
   11. KNOWLEDGE BASE LISTING
   ============================================================ */

.kb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ============================================================
   12. CONTACT PAGE
   ============================================================ */

.contact-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    text-align: center;
}

.contact-page h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.contact-page .section-label {
    display: block;
    margin-bottom: 16px;
}

.contact-phone {
    font-size: 36px;
    letter-spacing: 4px;
    font-weight: 300;
    margin: 32px 0;
    text-decoration: none;
    color: #e0e0e0;
    display: block;
    transition: color 0.2s;
}

.contact-phone:hover {
    color: #fff;
}

.contact-name {
    font-size: 16px;
    color: #777;
    margin-bottom: 48px;
    letter-spacing: 1px;
}

.contact-address {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}

.contact-map {
    margin-top: 32px;
    color: #777;
    text-decoration: underline;
    font-size: 14px;
    display: inline-block;
    transition: color 0.2s;
}

.contact-map:hover {
    color: #e0e0e0;
}

/* ============================================================
   13. FOOTER
   ============================================================ */

.footer {
    border-top: 1px solid #1a1a1a;
    padding: 48px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 16px;
    color: #777;
    font-weight: 400;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #e0e0e0;
}

.footer-col p {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-logo {
    font-size: 16px;
    letter-spacing: 3px;
    font-weight: 300;
    margin-bottom: 12px;
    color: #e0e0e0;
}

.footer-bottom {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #1a1a1a;
    font-size: 12px;
    color: #333;
}

/* ============================================================
   14. RESPONSIVE — 768px
   ============================================================ */

@media (max-width: 768px) {
    /* Nav */
    .nav {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(12, 12, 12, 0.98);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid #1a1a1a;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 14px;
        padding: 4px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    /* Hero */
    .hero h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .hero-phone {
        font-size: 18px;
        padding: 14px 32px;
    }

    /* Grids — single column */
    .services-grid {
        grid-template-columns: 1fr;
    }

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

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

    /* USP */
    .usp-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        padding: 48px 24px;
    }

    /* Sections */
    .section {
        padding: 60px 24px;
    }

    /* CTA band */
    .cta-band {
        padding: 60px 24px;
    }

    .cta-phone {
        font-size: 22px;
        letter-spacing: 2px;
    }

    /* Section title */
    .section-title {
        font-size: 26px;
    }
}

/* ============================================================
   14b. RESPONSIVE — 480px
   ============================================================ */

@media (max-width: 480px) {
    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
    }

    /* Hero */
    .hero h1 {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .hero-phone {
        font-size: 16px;
        padding: 12px 24px;
        letter-spacing: 2px;
    }

    /* Headings */
    .section-title {
        font-size: 22px;
    }

    .service-page h1,
    .article-page h1,
    .contact-page h1 {
        font-size: 28px;
    }

    .contact-phone {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .cta-band h2 {
        font-size: 22px;
    }

    .cta-phone {
        font-size: 20px;
    }

    .usp-number {
        font-size: 36px;
    }
}
