:root {
    --primary: #0b3d6b;
    --primary-dark: #082b4d;
    --primary-light: #125b9e;
    --accent: #00b386;
    --accent-dark: #009e78;
    --gold: #f5a623;
    --text: #2c3e50;
    --text-light: #5f7d95;
    --bg: #ffffff;
    --bg-soft: #f4f8fb;
    --border: #e4edf4;
    --danger: #d64545;
    --radius: 10px;
    --shadow: 0 4px 18px rgba(11, 61, 107, 0.08);
    --shadow-lg: 0 12px 32px rgba(11, 61, 107, 0.14);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { max-width: 100%; height: auto; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { color: var(--primary); text-decoration: underline; }

h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.2rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.4rem 0 0.5rem; }

p { margin-bottom: 1rem; }

ul, ol { margin: 0 0 1rem 1.4rem; }
li { margin-bottom: 0.35rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

main { flex: 1 0 auto; }

/* ===== Navigation ===== */
header { position: sticky; top: 0; z-index: 1000; background: var(--primary); box-shadow: 0 2px 10px rgba(0,0,0,0.15); }

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo a {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo a:hover { text-decoration: none; color: #fff; }
.logo .logo-mark {
    background: var(--accent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.nav-links {
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links li { margin: 0; }
.nav-links a {
    color: #dbe8f5;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    display: block;
    transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.16); }

.btn-primary, .btn-large, .btn, .btn-secondary {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 10px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

.btn-large {
    background: var(--accent);
    color: #fff;
    padding: 15px 34px;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(0, 179, 134, 0.35);
}
.btn-large:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 8px 18px;
    font-size: 0.95rem;
}
.btn-secondary:hover { background: var(--primary); color: #fff; text-decoration: none; }

.btn-pdf {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 15px 34px;
    font-size: 1.1rem;
    display: inline-block;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
}
.btn-pdf:hover { background: var(--primary); color: #fff; text-decoration: none; }

.pdf-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: underline;
    white-space: nowrap;
}
.pdf-link:hover { color: var(--accent); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    color: #fff;
    padding: 64px 20px 56px;
    text-align: center;
}
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero p { color: #d9e6f5; font-size: 1.1rem; max-width: 760px; margin: 0 auto 26px; }
.hero .hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}
.hero .badge-pill {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 40px;
}

.redirect-notice {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 24px;
    margin: 0 auto;
    max-width: 620px;
}
.redirect-notice p { color: #eaf3fc; margin-bottom: 16px; }
.redirect-notice.light {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    margin: 24px auto;
}
.redirect-notice.light p { color: var(--text); }

/* ===== Page header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 48px 20px 40px;
    text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 8px; }
.page-header p { color: #cfe0f2; font-size: 1.05rem; max-width: 720px; margin: 0 auto; }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    max-width: 1200px;
    margin: 18px auto 0;
    padding: 0 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}
.breadcrumbs a { color: var(--primary-light); }
.breadcrumbs .sep { margin: 0 6px; color: var(--text-light); }

/* ===== SEO keyword cloud ===== */
.seo-keyword-cloud {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 26px 20px;
    padding: 18px 22px;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.9;
}
.seo-keyword-cloud strong { color: var(--primary); font-weight: 600; }
.seo-keyword-cloud a { color: var(--primary-light); }

/* ===== Features ===== */
.features { padding: 20px 0 10px; }
.features .section-head { text-align: center; margin-bottom: 30px; }
.features .section-head h2 { margin-bottom: 6px; }
.features .section-head p { color: var(--text-light); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    margin-bottom: 20px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #0aa06f);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* ===== Content sections ===== */
.content { padding: 10px 0 50px; }
.content section { margin-bottom: 20px; }
.content .container > h2:first-child { margin-top: 1.2rem; }
.content .lead { color: var(--text-light); font-size: 1.05rem; }

/* ===== Product grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
    margin: 18px 0 30px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card h3 { margin: 0; font-size: 1.05rem; }
.product-card p { color: var(--text-light); font-size: 0.92rem; margin: 0; flex: 1; }
.product-card .product-link { font-weight: 700; font-size: 0.9rem; }

/* ===== Blog grid ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 18px 0 30px;
}
.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.blog-card h3 a { color: var(--primary); }
.blog-card p { color: var(--text-light); font-size: 0.92rem; flex: 1; }
.blog-card .read-more { font-weight: 700; font-size: 0.9rem; }
.blog-card.featured { border: 2px solid var(--accent); position: relative; }
.badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 10px;
}

/* ===== FAQ ===== */
.faq-section { margin: 16px 0; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: var(--shadow);
}
.faq-item h3 { margin: 0 0 6px; font-size: 1rem; color: var(--primary); }
.faq-item p { margin: 0; color: var(--text-light); font-size: 0.95rem; }

/* ===== Article ===== */
.article {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(20px, 4vw, 40px);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}
.article .article-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.article blockquote {
    border-left: 4px solid var(--accent);
    background: var(--bg-soft);
    padding: 16px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 18px 0;
}
.article blockquote p { margin: 0; font-style: italic; }
.toc {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 20px 0;
}
.toc h3 { margin: 0 0 10px; font-size: 1rem; }
.toc ul { margin: 0; list-style: none; }
.toc li { margin-bottom: 6px; }
.toc a { font-weight: 600; }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; margin: 18px 0; }
table.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem;
    min-width: 560px;
}
.price-table th {
    background: var(--primary);
    color: #fff;
    text-align: left;
    padding: 12px 14px;
}
.price-table td { padding: 12px 14px; border-top: 1px solid var(--border); }
.price-table tr:nth-child(even) td { background: var(--bg-soft); }

/* ===== Trust bar ===== */
.trust-bar {
    background: #fff;
    border: 1px solid var(--border);
    border-bottom: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background-color: var(--border);
}
.trust-item {
    background: #fff;
    text-align: center;
    padding: 22px 14px;
}
.trust-item .trust-num { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.trust-item .trust-label { color: var(--text-light); font-size: 0.85rem; }

/* ===== Reviews ===== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 18px 0 30px;
}
.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.review-card .stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 8px; }
.review-card p { color: var(--text-light); font-size: 0.95rem; margin: 0 0 10px; }
.review-card .reviewer { font-weight: 700; color: var(--primary); font-size: 0.9rem; }

/* ===== Product page reviews ===== */
.reviews-summary {
    background: #fff8ec;
    border: 1px solid #f0e0b8;
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 20px 0;
    text-align: center;
}
.reviews-summary .rating-big { font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.reviews-summary .stars { color: var(--gold); font-size: 1.3rem; margin: 6px 0; }
.reviews-summary p { color: var(--text-light); font-size: 0.9rem; margin: 4px 0 0; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 18px 0 30px;
}
.review-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.review-item .review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 8px; }
.review-item p { color: var(--text-light); font-size: 0.95rem; margin: 0 0 10px; }
.review-item .review-author { font-weight: 700; color: var(--primary); font-size: 0.9rem; font-style: normal; }

/* ===== Rating summary ===== */
.rating-summary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin: 24px 0;
}
.rating-summary .rating-score { font-size: 3rem; font-weight: 800; line-height: 1; }
.rating-summary .rating-stars { color: var(--gold); font-size: 1.4rem; }
.rating-summary p { color: #cfe0f2; margin: 4px 0 0; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    text-align: center;
    border-radius: var(--radius);
    padding: 40px 28px;
    margin: 30px 0;
}
.cta-section h2 { color: #fff; margin: 0 0 10px; }
.cta-section p { color: #eafff8; margin: 0 0 22px; }
.cta-section .btn-large { background: #fff; color: var(--primary); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.cta-section .btn-large:hover { background: #f0f0f0; }

/* ===== Locations ===== */
.locations ul { column-count: 3; column-gap: 30px; }
.locations li { break-inside: avoid; }
@media (max-width: 768px) { .locations ul { column-count: 1; } }

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.contact-card h3 { margin-top: 0; }
.contact-card p { color: var(--text-light); margin: 0 0 6px; }
.contact-card a { font-weight: 600; }

/* ===== Footer ===== */
footer {
    background: var(--primary-dark);
    color: #c6d6e8;
    padding: 44px 0 30px;
    margin-top: auto;
    font-size: 0.92rem;
}
footer .footer-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
footer h2 { color: #fff; font-size: 1.2rem; margin: 0 0 14px; }
footer h3 { color: #fff; font-size: 1rem; margin: 20px 0 10px; }
footer a { color: #9fc3e8; }
footer a:hover { color: #fff; }
footer .footer-links p { margin-bottom: 10px; line-height: 2; }
footer .copyright {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 24px;
    padding-top: 18px;
    color: #8aa5c2;
    text-align: center;
}
footer .disclaimer {
    color: #8aa5c2;
    font-size: 0.82rem;
    text-align: center;
    margin-top: 10px;
}
footer .seo-footer-link-juice {
    font-size: 10px;
    opacity: 0.55;
    margin-top: 34px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    color: #8aa5c2;
}

/* ===== Mobile bottom CTA bar ===== */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
    z-index: 999;
    text-align: center;
}
.mobile-cta-bar a {
    display: block;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    padding: 13px;
    border-radius: 8px;
}
.mobile-cta-bar a:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

/* ===== 404 ===== */
.error-404 { text-align: center; padding: 80px 20px; }
.error-404 h1 { font-size: 4rem; }
.error-404 p { color: var(--text-light); margin-bottom: 24px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        align-items: stretch;
        padding: 10px 20px 20px;
        gap: 2px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .navbar .btn-primary { display: none; }
}

@media (max-width: 768px) {
    .hero { padding: 44px 16px 40px; }
    .page-header { padding: 36px 16px 30px; }
    .feature-grid, .product-grid, .blog-grid, .review-grid { grid-template-columns: 1fr; }
    .mobile-cta-bar { display: block; }
    body { padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
