/* Oddway International — Health & Pharma Blog
   Plain CSS, system fonts, no external dependencies. */

:root {
  --navy: #0b1e3a;
  --navy-mid: #132a4d;
  --navy-deep: #071427;
  --gold: #c4a35a;
  --gold-soft: #e8d7a8;
  --teal: #0e6e7c;
  --teal-dark: #0a5561;
  --teal-soft: #e7f4f6;
  --bg: #f3f6f8;
  --card: #ffffff;
  --text: #1c2330;
  --muted: #5c6778;
  --line: #d5dce4;
  --focus: #0e6e7c;
  --header-h: 4.5rem;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(11, 30, 58, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
  --measure: 42rem;
  --wide: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--teal-dark);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
}

.skip-link:focus {
  top: 0;
}

/* Header
   -------------------------------------------------- */

.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--gold);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -6px;
}

.nav-toggle-label span::after {
  top: 6px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  color: #f4f7f9;
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  display: inline-block;
}

.site-nav a:hover {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.15rem;
  background: var(--gold);
  border-radius: 1px;
}

/* Main + layout
   -------------------------------------------------- */

.site-main {
  flex: 1 0 auto;
}

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section + .section {
  padding-top: 0;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.4rem;
}

.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.5rem;
}

.gold-rule {
  width: 3.5rem;
  height: 3px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.5rem;
}

/* Hero
   -------------------------------------------------- */

.hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(14, 110, 124, 0.28), transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: #fff;
  padding: 4.5rem 0 4.75rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.05rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero .tagline {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  max-width: 36rem;
  margin: 0 0 2rem;
}

/* Buttons
   -------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.35rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* Cards: What we cover
   -------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.icon-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.icon-card .icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-card .icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.icon-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.icon-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Article cards
   -------------------------------------------------- */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--teal);
}

.article-card time {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.article-card h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.35;
  margin: 0.45rem 0 0.6rem;
}

.article-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--teal);
}

.article-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  flex: 1 1 auto;
}

.read-more {
  font-weight: 600;
  text-decoration: none;
  color: var(--teal);
  font-size: 0.95rem;
}

.read-more:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

/* Page header (inner pages)
   -------------------------------------------------- */

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 2.6rem 0 2.4rem;
  border-bottom: 3px solid var(--gold);
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 38rem;
}

/* Prose (about, articles, contact intro)
   -------------------------------------------------- */

.prose {
  max-width: var(--measure);
}

.prose h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin: 2rem 0 0.7rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose ul {
  margin: 0 0 1.2rem;
  padding-left: 1.25rem;
}

.prose li {
  margin: 0 0 0.4rem;
}

.disclaimer {
  margin-top: 2.25rem;
  padding: 1rem 1.15rem;
  background: #f4efe4;
  border-left: 3px solid var(--gold);
  color: #3d382c;
  font-size: 0.95rem;
}

.disclaimer strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Blog index list
   -------------------------------------------------- */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 48rem;
}

.blog-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.blog-item time {
  font-size: 0.82rem;
  color: var(--muted);
}

.blog-item h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0.3rem 0 0.5rem;
}

.blog-item h2 a {
  color: var(--navy);
  text-decoration: none;
}

.blog-item h2 a:hover {
  color: var(--teal);
}

.blog-item p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

/* Contact form
   -------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid #c5ced6;
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(14, 110, 124, 0.2);
  outline-offset: 0;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-aside {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.contact-aside h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.7rem;
}

.contact-aside p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1rem;
}

.contact-aside a {
  color: var(--gold-soft);
  font-weight: 600;
  overflow-wrap: break-word;
  word-break: normal;
}

.contact-aside a:hover {
  color: #fff;
}

.thanks-box {
  max-width: 36rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
}

.thanks-box h1 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

/* Footer
   -------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 1.5rem 0;
  margin-top: auto;
  border-top: 3px solid var(--gold);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive
   -------------------------------------------------- */

@media (max-width: 900px) {
  .card-grid,
  .article-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.2rem 0 3.4rem;
  }

  .section {
    padding: 2.6rem 0;
  }
}

@media (max-width: 720px) {
  .nav-toggle-label {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-mid);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.6rem;
  }

  .logo img {
    height: 40px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
