/* Modern, clean, and professional CSS */
:root {
    --primary-color: #0f766e;
    --primary-hover: #115e59;
    --secondary-color: #102a43;
    --background-light: #f4f8fa;
    --text-main: #405268;
    --text-light: #64748b;
    --accent-red: #dc2626;
    --white: #ffffff;
    --border-color: #dce6ea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.py-5 {
    padding: 3rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.2);
}

.btn-large {
    font-size: 1.125rem;
    padding: 16px 32px;
}

.btn-accent {
    background-color: var(--accent-red);
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background-color: var(--background-light);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Sections */
.section-title {
    font-size: 2.25rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
}

/* Services Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Pricing/Plans */
.pricing-card {
    text-align: center;
    padding: 50px 30px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-main);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    color: #9ca3af;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.disclaimer {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Call to Action Banner */
.cta-banner {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Responsive */
@media (max-width: 860px) {
    .nav-links {
        display: none;
        /* Hide by default on mobile, can be toggled via JS */
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .header-cta .phone-number,
    .d-mobile-none {
        display: none !important;
    }

    .logo {
        font-size: 1.25rem;
        gap: 8px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Guided Diagnostics */
.brand-selection-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.brand-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}

.brand-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.brand-card:hover,
.brand-card.active {
    border-color: var(--primary-color);
    background: #e8f4f3;
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(15, 118, 110, 0.12);
}

.diag-step {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.diag-step:last-child {
    border-bottom: none;
}

.diag-step i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.diag-step .fa-circle-notch {
    color: var(--primary-color);
}

.diag-step .fa-check-circle {
    color: green;
}

.diag-step .fa-triangle-exclamation {
    color: var(--accent-red);
}

.test-result {
    padding: 15px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
}

.result-error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #f87171;
}

.result-error a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
}

/* Editorial theme */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.site-header,
header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(16, 42, 67, 0.08);
    backdrop-filter: blur(14px);
}

.nav-container {
    min-height: 78px;
    height: auto;
}

.nav-container > nav {
    margin-left: auto;
}

.header-cta {
    margin-left: 24px;
}

.logo {
    gap: 10px;
    font-size: 1.25rem;
    letter-spacing: -0.035em;
}

.logo img {
    border-radius: 9px;
}

.nav-links {
    gap: 28px;
}

.nav-links a {
    padding: 10px 0;
    font-size: 0.94rem;
}

.btn {
    border-radius: 9px;
}

.btn-primary:hover {
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}

.btn-outline {
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.82);
}

.btn-outline:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-light {
    background: #fff;
    color: var(--secondary-color);
}

.btn-light:hover {
    background: #e8f4f3;
    color: var(--secondary-color);
}

.home-main .py-5 {
    padding: 88px 0;
}

.home-hero {
    padding: 82px 0 76px;
    text-align: left;
    background:
        radial-gradient(ellipse at 9% 12%, rgba(208, 235, 231, 0.72), transparent 38%),
        linear-gradient(180deg, #f8fbfc 0%, #fff 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: clamp(42px, 7vw, 100px);
}

.hero-copy {
    max-width: 620px;
}

.eyebrow,
.section-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid #cfe5e2;
    border-radius: 999px;
    background: #edf7f6;
    letter-spacing: 0.04em;
}

.home-hero h1 {
    max-width: 650px;
    margin: 15px 0 20px;
    color: var(--secondary-color);
    font-size: clamp(2.7rem, 5vw, 4.35rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 1.06;
}

.home-hero p {
    max-width: 560px;
    margin: 0 0 27px;
    color: #52677b;
    font-size: 1.13rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 19px;
    font-size: 0.95rem;
}

.hero-actions .btn-large {
    font-size: 0.95rem;
}

.home-hero .trust-badges {
    justify-content: flex-start;
    gap: 20px;
    margin-top: 27px;
}

.home-hero .badge {
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: #5d7082;
    font-size: 0.84rem;
}

.home-hero .badge i {
    color: var(--primary-color);
}

.hero-visual {
    position: relative;
    min-height: 390px;
}

.hero-visual::before {
    position: absolute;
    inset: 20px -17px -17px 20px;
    border: 1px solid #c8dedd;
    border-radius: 28px;
    content: "";
}

.hero-visual > img {
    position: relative;
    display: block;
    width: 100%;
    height: 420px;
    border-radius: 25px;
    object-fit: cover;
    box-shadow: 0 28px 60px rgba(16, 42, 67, 0.16);
}

.hero-note {
    position: absolute;
    right: 0;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border: 1px solid rgba(220, 230, 234, 0.9);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(16, 42, 67, 0.14);
}

.hero-note-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: #e8f4f3;
    color: var(--primary-color);
}

.hero-note strong,
.hero-note small {
    display: block;
}

.hero-note strong {
    color: var(--secondary-color);
    font-size: 0.88rem;
}

.hero-note small {
    margin-top: 2px;
    color: var(--text-light);
    font-size: 0.77rem;
}

.home-articles .section-title,
.home-issues .section-title,
.home-feedback .section-title {
    margin-bottom: 16px;
    color: var(--secondary-color);
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    letter-spacing: -0.045em;
}

.home-articles .section-kicker,
.home-issues .section-kicker,
.home-feedback .section-kicker {
    text-align: center;
}

.home-articles .card {
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(16, 42, 67, 0.06);
}

.home-articles .card:hover {
    box-shadow: 0 16px 36px rgba(16, 42, 67, 0.12);
}

.home-articles .card > div:first-child {
    height: 210px;
}

.home-articles .card > div:nth-child(2) {
    gap: 0;
}

.home-articles .card h3 {
    color: var(--secondary-color);
    letter-spacing: -0.025em;
    line-height: 1.4;
}

.home-articles .card .btn {
    margin-top: auto;
}

.diagnostics-callout {
    padding: 53px 0;
    background: var(--secondary-color);
    color: #fff;
}

.diagnostics-callout-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.diagnostics-callout .section-kicker {
    margin-bottom: 9px;
    color: #8bd1c7;
}

.diagnostics-callout h2 {
    margin-bottom: 8px;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    letter-spacing: -0.04em;
}

.diagnostics-callout p {
    max-width: 620px;
    margin: 0;
    color: #c7d7e1;
}

.diagnostics-callout .btn {
    flex: 0 0 auto;
}

.home-issues .card,
.home-feedback .grid > div {
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(16, 42, 67, 0.05);
}

.home-issues .card-icon {
    color: var(--primary-color);
}

.home-about .about-layout {
    gap: clamp(36px, 7vw, 88px) !important;
}

.home-about h2 {
    color: var(--secondary-color) !important;
    font-size: clamp(2rem, 3.4vw, 2.7rem) !important;
    letter-spacing: -0.05em;
    line-height: 1.15;
}

.home-about img {
    max-height: 430px;
    object-fit: cover;
}

.home-brands {
    background: #fff;
}

.home-feedback {
    background: var(--background-light);
}

.home-feedback .grid > div {
    background: #fff !important;
}

.home-feedback h4 {
    color: var(--secondary-color) !important;
}

footer {
    background: #0c2238;
}

.footer-col p,
.footer-links a,
.disclaimer {
    color: #b9c9d5;
}

.footer-links a:hover {
    color: #8bd1c7;
}

.disclaimer {
    border-top-color: rgba(255, 255, 255, 0.14);
}

:focus-visible {
    outline: 3px solid #31a99c;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
        gap: 34px;
    }

    .hero-visual {
        min-height: 330px;
    }

    .hero-visual > img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        min-height: 70px;
    }

    .nav-links {
        top: 70px;
    }

    .home-main .py-5 {
        padding: 64px 0;
    }

    .home-hero {
        padding: 58px 0 62px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        width: min(100% - 14px, 560px);
        min-height: 300px;
        margin: 0 auto;
    }

    .hero-visual > img {
        height: 330px;
    }

    .hero-note {
        right: -10px;
    }

    .diagnostics-callout-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .home-hero h1 {
        font-size: 2.55rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .home-hero .trust-badges {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .hero-visual,
    .hero-visual > img {
        min-height: 250px;
        height: 270px;
    }

    .hero-note {
        right: -8px;
        bottom: 14px;
        padding: 11px 13px;
    }
}