:root {
  --primary: #0075a8;
  --secondary: #35aae9;
  --accent: #e87c0a;
  --white: #ffffff;
  --light: #f0f7fc;
  --text: #1a1a2e;
  --muted: #555;
  --border: #cde8f5;
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--light);
}

/* HEADER */
.site-header {
  background: linear-gradient(135deg, #005580 0%, var(--primary) 60%, #1a85c0 100%);
  color: white;
  padding: 0;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: white;
}
.site-logo .logo-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.site-logo h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: white;
}
.site-logo p {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 2px;
}
.header-contact {
  text-align: right;
  font-size: 0.85rem;
  opacity: 0.9;
}
.header-contact a {
  color: white;
  text-decoration: none;
}
.header-contact a:hover { text-decoration: underline; }

/* NAVIGATION */
.site-nav {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.site-nav ul {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 13px 16px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover,
.site-nav a.active {
  background: rgba(0,0,0,0.2);
  color: white;
  border-bottom-color: var(--accent);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #004d75 0%, var(--primary) 50%, var(--secondary) 100%);
  color: white;
  padding: 72px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: white;
  border: none;
  padding: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.hero p {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 28px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 8px 24px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}
.hero-info {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-info-item {
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 20px;
  text-align: center;
}
.hero-info-item strong {
  display: block;
  font-size: 1.1rem;
  color: white;
}
.hero-info-item span {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* NOTICE BOX */
.notice-box {
  background: #fff8e1;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.notice-box strong { color: #8a5200; }

/* PAGE LAYOUT */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px;
}
.content-card {
  background: white;
  border-radius: 10px;
  padding: 40px 48px;
  box-shadow: 0 2px 16px rgba(0,117,168,0.08);
  margin-bottom: 28px;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin: 28px 0;
}
.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,117,168,0.1);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,117,168,0.18);
}
.card-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 28px;
  text-align: center;
  font-size: 2.5rem;
  color: white;
}
.card-body {
  padding: 20px 24px;
}
.card-body h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1rem;
}
.card-body p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

/* TYPOGRAPHY */
h1 {
  font-size: 1.85rem;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
}
h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin: 32px 0 12px;
}
h3 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin: 20px 0 8px;
  font-weight: 600;
}
p { margin-bottom: 14px; }
ul, ol { margin: 10px 0 16px 24px; }
li { margin-bottom: 6px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
strong { color: var(--primary); }

/* CONTACT INFO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.contact-item {
  background: var(--light);
  border-radius: 8px;
  padding: 20px 24px;
  border-left: 4px solid var(--secondary);
}
.contact-item h3 {
  margin-top: 0;
  color: var(--primary);
}
.contact-item p { margin-bottom: 6px; color: var(--muted); font-size: 0.9rem; }
.contact-item a { color: var(--primary); font-weight: 600; }

/* CREDENTIALS */
.credentials-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.credentials-list li {
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 0.95rem;
}
.credentials-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1rem;
}

/* TIMELINE */
.timeline {
  margin: 20px 0;
  padding-left: 20px;
  border-left: 3px solid var(--secondary);
}
.timeline-item {
  padding: 12px 0 12px 24px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 20px;
  width: 12px;
  height: 12px;
  background: var(--secondary);
  border-radius: 50%;
  border: 2px solid white;
}
.timeline-item .year {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* DISORDERS LIST */
.disorders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.disorder-item {
  background: var(--light);
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 0.9rem;
  border-left: 3px solid var(--secondary);
}

/* COSTS TABLE */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-table th {
  background: var(--primary);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.article-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.article-table tr:nth-child(even) td { background: #f8fafc; }
.article-table tr:hover td { background: #e8f4fb; }

/* FAQ */
.faq-section { margin-top: 32px; }
.faq-item { margin-bottom: 16px; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.faq-q {
  background: #eef6fb;
  padding: 14px 20px;
  border-left: 4px solid var(--accent);
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}
.faq-a {
  padding: 14px 20px;
  background: white;
  border-left: 4px solid #e0e0e0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* SIDE NOTE */
.side-note {
  background: #e8f4fb;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 0.9rem;
  border-left: 4px solid var(--secondary);
}
.side-note h4 { color: var(--primary); margin-bottom: 8px; }

/* 404 */
.error-404 { text-align: center; padding: 80px 20px; }
.error-404 .big-404 { font-size: 120px; font-weight: 700; color: var(--secondary); line-height: 1; opacity: 0.6; }
.error-404 h2 { font-size: 2rem; color: var(--primary); margin: 16px 0 8px; border: none; padding: 0; }
.error-404 p { color: var(--muted); max-width: 480px; margin: 0 auto 24px; }
.btn-back {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 13px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
}
.btn-back:hover { background: var(--accent); color: white; text-decoration: none; transform: translateY(-1px); }

/* FOOTER */
.site-footer {
  background: #00445e;
  color: rgba(255,255,255,0.75);
  padding: 40px 32px 24px;
  margin-top: 56px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-col h4 { color: white; margin-bottom: 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col p, .footer-col li { font-size: 0.85rem; margin-bottom: 6px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-inner { flex-direction: column; text-align: center; }
  .header-contact { text-align: center; }
  .site-nav ul { justify-content: center; }
  .site-nav a { padding: 10px 10px; font-size: 12.5px; }
  .page-wrapper { padding: 24px 16px; }
  .content-card { padding: 24px 20px; }
  h1 { font-size: 1.5rem; }
  .hero { padding: 48px 20px; }
  .hero h1 { font-size: 1.6rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .cards-grid { grid-template-columns: 1fr; }
}
