:root {
  --color-primary: #017b8b;
  --color-accent: #2fac71;
  --color-surface: #f7f8fa;
  --color-muted: #5c6880;
  --color-border: #dfe4ee;
  --color-text: #0f1a2b;
  --font-stack: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow-soft: 0 20px 45px rgba(15, 26, 43, 0.15);
  --shadow-subtle: 0 8px 30px rgba(15, 26, 43, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  background: var(--color-surface);
  color: var(--color-text);
  line-height: 1.6;
}

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

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  z-index: 10;
  transition: box-shadow 0.3s ease;
}

.site-header.sticky {
  box-shadow: var(--shadow-subtle);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.header-left {
  display: flex;
  align-items: center;
}

.primary-nav {
  display: flex;
  gap: 1.5rem;
}

.primary-nav a {
  font-size: 0.95rem;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--color-text);
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-cta:hover,
.nav-cta:focus {
  background: #035c6a;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border-radius: 8px;
  padding: 0.2rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  display: block;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.nav-cta {
  white-space: nowrap;
}


.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 43, 0.65);
  display: none;
  justify-content: flex-end;
  z-index: 12;
}

.mobile-nav[data-open='true'] {
  display: flex;
}

.mobile-nav-panel {
  background: #ffffff;
  width: min(280px, 80vw);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.mobile-nav-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(15, 26, 43, 0.08);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  color: var(--color-text);
  cursor: pointer;
}

.mobile-nav-close:hover,
.mobile-nav-close:focus {
  background: rgba(1, 123, 139, 0.1);
}

.mobile-nav-panel a {
  font-size: 1rem;
  color: var(--color-text);
}

.mobile-nav-panel .nav-cta {
  width: 100%;
  text-align: center;
}

main {
  flex: 1;
  width: 100%;
}

.section > * {
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 4rem 1.5rem;
}

.section-light {
  background: #ffffff;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.card-hero {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.card-hero-text {
  max-width: 520px;
}

.badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.badges span {
  background: #eaf7f5;
  color: #0d5f5b;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-primary,
.btn-secondary,
.btn-light {
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-light {
  background: #f1f6fb;
  border: 1px solid transparent;
  color: var(--color-text);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover {
  transform: translateY(-1px);
}

.hero-media {
  max-width: 540px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-strip {
  display: flex;
  gap: 1rem;
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.search-strip input,
.search-strip select {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #f9fafb;
}

.search-strip button {
  background: var(--color-accent);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.category-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.category-card h3 {
  margin: 0.5rem 0;
}

.article-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.article-card img {
  border-radius: var(--radius);
  margin-bottom: 1rem;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.article-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.article-card p {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.disclaimer-card {
  background: #eef5ff;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.icon-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.icon-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.icon-card svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.testimonial-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.cta-band {
  background: linear-gradient(120deg, #017b8b, #0c4c5f);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-band button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  padding: 0.9rem 1.4rem;
}

.site-footer {
  margin-top: auto;
  padding: 2rem 1.5rem 3rem;
  background: #0f1a2b;
  color: #dfe4ee;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-content h4 {
  margin-top: 0;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .header-actions {
    margin-left: auto;
    gap: 0.4rem;
  }

  .header-left {
    width: 100%;
  }

  .primary-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .search-strip {
    flex-direction: column;
  }

  .hero-section .card-hero {
    flex-direction: column;
  }

  .nav-cta {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    padding: 0.2rem;
  }

  .mobile-menu-btn span {
    margin-bottom: 4px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 2.5rem 1rem;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
  }
}
.hero-section {
  background: linear-gradient(145deg, #eef7fc, #ffffff);
  border-bottom: 1px solid var(--color-border);
  padding-top: 5rem;
}

.hero-section .card {
  border: none;
  box-shadow: none;
  padding: 0;
}

.hero-section .card-hero {
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
}

.tips-row {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.home-tip-card {
  border-radius: var(--radius);
  padding: 1.2rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-subtle);
}

.home-tip-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.home-tip-card p {
  margin: 0;
  color: var(--color-muted);
}

.filter-notice {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.search-strip button {
  white-space: nowrap;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.pagination button {
  border-radius: 8px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-border);
  background: #fff;
}

.pagination button.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.filter-tabs button {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.filter-tabs button.active {
  border-color: var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
}

.category-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.category-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}

.symptoms-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.symptom-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--color-border);
}

.article-hero {
  margin-bottom: 2rem;
}

.article-content h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  border-left: 3px solid var(--color-border);
  padding-inline-start: 1rem;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.callout {
  margin: 1.2rem 0;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  border: 1px solid var(--color-border);
}

.callout-do {
  background: #e9f8ee;
  border-color: rgba(47, 172, 113, 0.3);
}

.callout-dont {
  background: #fff3f3;
  border-color: rgba(255, 105, 97, 0.4);
}

.related-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #f9fafb;
  margin-bottom: 1rem;
}

.contact-form button {
  background: var(--color-primary);
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: 10px;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}
