@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --accent: #e07b00;
  --accent-dark: #b85f00;
  --accent-light: #fef3e2;
  --dark: #1a1a1a;
  --dark-nav: #111111;
  --text: #2c2c2c;
  --text-muted: #6b7280;
  --bg: #f9f7f3;
  --card: #ffffff;
  --border: #e5e7eb;
  --radius: 8px;
  --max-w: 1160px;
  --shadow: 0 1px 4px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* NAV */
.site-nav { background: var(--dark-nav); position: sticky; top: 0; z-index: 100; }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.nav-brand svg { color: var(--accent); flex-shrink: 0; }
.nav-brand span { color: var(--accent); }
.nav-menu { display: flex; list-style: none; gap: 2px; }
.nav-menu a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .875rem; font-weight: 500; padding: 8px 14px; border-radius: 6px; transition: color .2s, background .2s; display: block; }
.nav-menu a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; padding: 6px 12px; border-radius: 6px; font-size: 1.1rem; line-height: 1; }
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--dark-nav); padding: 12px 20px 20px; border-top: 1px solid rgba(255,255,255,.1); gap: 0; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; }
}

/* HERO */
.hero { background: var(--dark); color: #fff; padding: 80px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(224,123,0,.12) 0%, transparent 70%); pointer-events: none; }
.hero h1 { font-family: 'Barlow', sans-serif; font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.72); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline:hover { border-color: #fff; }

/* SECTIONS */
section { padding: 60px 0; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block; }
.section-title { font-family: 'Barlow', sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.section-subtitle { color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }

/* CATEGORIES GRID */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; text-decoration: none; color: var(--text); transition: all .2s; display: flex; flex-direction: column; gap: 10px; }
.cat-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-icon { width: 44px; height: 44px; background: var(--accent-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.cat-icon svg { width: 22px; height: 22px; }
.cat-card h3 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1rem; }
.cat-card p { font-size: .8rem; color: var(--text-muted); }

/* ARTICLE CARDS */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: all .2s; display: flex; flex-direction: column; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.article-cat-badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-light); padding: 3px 10px; border-radius: 20px; }
.article-card h3 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--dark); }
.article-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.article-card-meta { padding: 14px 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--text-muted); }
.article-card-meta .read-more { color: var(--accent); font-weight: 600; }

/* HOW TO */
.how-section { background: var(--dark); color: #fff; }
.how-section .section-title { color: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 40px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 1rem; color: #fff; flex-shrink: 0; }
.step h3 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1rem; }
.step p { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--dark); color: #fff; padding: 48px 0; }
.page-hero .section-label { margin-bottom: 8px; }
.page-hero h1 { font-family: 'Barlow', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; }
.page-hero p { color: rgba(255,255,255,.7); margin-top: 12px; max-width: 600px; }

/* BREADCRUMB */
.breadcrumb-bar { font-size: .8rem; color: var(--text-muted); padding: 12px 0; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.breadcrumb-bar a { color: var(--accent); text-decoration: none; }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar span { margin: 0 6px; color: var(--border); }

/* ARTICLE LAYOUT */
.article-outer { padding: 40px 0 60px; }
.article-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .article-layout { grid-template-columns: 1fr 260px; } }
.article-main h2 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--dark); margin-top: 40px; margin-bottom: 14px; padding-top: 8px; border-top: 2px solid var(--accent-light); display: flex; align-items: center; gap: 8px; }
.article-main h2:first-child { margin-top: 0; border-top: none; }
.article-main p { margin-bottom: 16px; line-height: 1.78; }
.article-main ul, .article-main ol { padding-left: 20px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.symptom-list { list-style: none !important; padding-left: 0 !important; display: flex; flex-direction: column; gap: 8px !important; }
.symptom-list li { display: flex !important; gap: 10px; align-items: flex-start; padding: 10px 14px; background: #fff8ee; border-left: 3px solid var(--accent); border-radius: 4px; line-height: 1.5; }
.symptom-list li::before { content: '!'; background: var(--accent); color: #fff; border-radius: 50%; width: 18px; height: 18px; min-width: 18px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .65rem; margin-top: 1px; }
.tip-list { list-style: none !important; padding-left: 0 !important; display: flex; flex-direction: column; gap: 8px !important; }
.tip-list li { display: flex !important; gap: 10px; align-items: flex-start; padding: 10px 14px; background: #f0fdf4; border-left: 3px solid #22c55e; border-radius: 4px; line-height: 1.5; }
.tip-list li::before { content: '✓'; background: #22c55e; color: #fff; border-radius: 50%; width: 18px; height: 18px; min-width: 18px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .7rem; margin-top: 1px; }
.interval-box { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.interval-box svg { flex-shrink: 0; color: var(--accent); }
.interval-box p { color: rgba(255,255,255,.85); margin: 0; }
.interval-box strong { color: var(--accent); display: block; margin-bottom: 4px; font-family: 'Barlow', sans-serif; font-size: 1.1rem; }

/* TOC */
.article-sidebar { display: none; }
@media (min-width: 900px) { .article-sidebar { display: block; } }
.toc { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: sticky; top: 80px; }
.toc h4 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; }
.toc ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc ul li a { font-size: .85rem; color: var(--text-muted); text-decoration: none; display: block; padding: 6px 10px; border-radius: 4px; border-left: 2px solid transparent; }
.toc ul li a:hover { color: var(--accent); background: var(--accent-light); border-left-color: var(--accent); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); text-decoration: none; font-size: .85rem; margin-top: 20px; }
.back-link:hover { color: var(--accent); }

/* MAINTENANCE */
.maintenance-intro { max-width: 700px; margin-bottom: 40px; color: var(--text-muted); }
.milestone { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.milestone-header { background: var(--dark); color: #fff; padding: 18px 28px; display: flex; align-items: center; gap: 20px; }
.milestone-km { font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--accent); min-width: 110px; white-space: nowrap; }
.milestone-info h2 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: .95rem; margin-bottom: 2px; }
.milestone-info p { font-size: .8rem; color: rgba(255,255,255,.6); }
.milestone-body { padding: 24px 28px; }
.checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; line-height: 1.5; }
.checklist li::before { content: ''; width: 18px; height: 18px; min-width: 18px; border: 2px solid var(--accent); border-radius: 4px; margin-top: 1px; }
.checklist li.critical { font-weight: 600; color: #b85f00; }
.checklist li.critical::before { border-color: var(--accent); background: var(--accent-light); }

/* LEGAL / PRIVACY */
.legal-content { max-width: 760px; margin: 0 auto; padding: 40px 0 60px; }
.legal-content h2 { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--dark); margin-top: 36px; margin-bottom: 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { line-height: 1.78; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.legal-content li { line-height: 1.7; }
.last-updated { font-size: .8rem; color: var(--text-muted); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.legal-box { background: #fff8ee; border: 1px solid #fcd34d; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
.legal-box p { margin: 0; }

/* ABOUT */
.about-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 680px; margin-bottom: 48px; line-height: 1.75; }
.about-values { display: flex; flex-direction: column; gap: 24px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.value-icon { width: 44px; height: 44px; background: var(--accent-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.value-icon svg { width: 22px; height: 22px; }
.value-item h3 { font-family: 'Barlow', sans-serif; font-weight: 700; margin-bottom: 4px; }
.value-item p { font-size: .875rem; color: var(--text-muted); }

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 700px; padding: 40px 0 60px; }
.contact-email-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-email-card h2 { font-family: 'Barlow', sans-serif; font-weight: 700; margin-bottom: 16px; }
.contact-email-address { font-size: 1.2rem; font-weight: 600; color: var(--accent); word-break: break-all; }
.contact-notice { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 6px; padding: 16px 20px; margin-top: 20px; font-size: .875rem; color: #166534; }
.contact-legal-note { font-size: .8rem; color: var(--text-muted); margin-top: 12px; }
.contact-legal-note a { color: var(--accent); }

/* ARTICLES LIST */
.articles-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn { background: var(--card); border: 1px solid var(--border); color: var(--text); padding: 6px 16px; border-radius: 20px; font-size: .85rem; font-weight: 500; cursor: pointer; text-decoration: none; transition: all .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* FOOTER */
.site-footer { background: var(--dark); color: rgba(255,255,255,.6); margin-top: 80px; padding: 48px 0 0; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { font-size: .875rem; margin-top: 12px; max-width: 300px; color: rgba(255,255,255,.5); }
.footer-nav h3 { color: #fff; font-family: 'Barlow', sans-serif; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .875rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { padding: 24px 0; }
.footer-bottom .disclaimer { font-size: .8rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; padding: 14px 18px; margin-bottom: 16px; line-height: 1.65; }
.footer-bottom .disclaimer strong { color: #fff; }
.copyright { font-size: .78rem; }
.copyright a { color: rgba(255,255,255,.45); text-decoration: none; }
.copyright a:hover { color: var(--accent); }

/* UTILITIES */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.bg-light { background: #fff; }
.view-all { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: .9rem; text-decoration: none; margin-top: 32px; }
.view-all:hover { text-decoration: underline; }
.alert-important { background: #fff8ee; border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 20px; font-size: .9rem; }
.alert-important strong { color: var(--accent-dark); }
