/* ============================================
   MenAtlas — Light / Warm Medical Theme
   ============================================ */

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

:root {
  --white: #ffffff;
  --bg: #faf9f7;
  --bg-warm: #f3f0ec;
  --text: #1a1815;
  --text-secondary: #4a4640;
  --text-muted: #8a8478;
  --brown: #6b5c4c;
  --brown-light: #8a7b6b;
  --brown-dark: #3d3228;
  --border: #e5e0da;
  --border-light: #eee9e3;
  --accent: #6b5c4c;
  --accent-hover: #5a4d3f;
  --bar-fill: #6b5c4c;
  --radius: 8px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Source Serif 4', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--brown-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: #2e2620;
}

.btn-nav {
  background: var(--brown-dark);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}
.btn-nav:hover {
  background: #2e2620;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brown-dark);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-menu a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.mobile-menu.active {
  display: flex;
}

/* --- Hero --- */
.hero {
  padding: 9rem 1.5rem 5rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--brown-dark);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero .btn {
  margin-bottom: 2.5rem;
}

.hero-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.proof-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* --- Sections --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}
.section-warm {
  background: var(--bg);
}

.section-header {
  max-width: 600px;
  margin-bottom: 3.5rem;
}
.section-header.center,
.section-header {
  text-align: left;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Treatment Blocks --- */
.treatment-block {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3.5rem;
  align-items: start;
}

.treatment-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.75rem;
}

.treatment-text > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.treatment-list {
  list-style: none;
  margin-bottom: 1.75rem;
}
.treatment-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.treatment-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brown-light);
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.5rem 0;
}

/* --- Lab Cards --- */
.lab-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.lab-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.lab-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}
.lab-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.lab-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--bar-fill);
  transition: width 0.8s ease;
}
.lab-range {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --- Info Cards --- */
.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}
.info-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.75rem;
}
.info-card > p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.info-list {
  list-style: none;
}
.info-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}
.info-list li strong {
  color: var(--text);
}

/* --- Steps --- */
.steps {
  max-width: 640px;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.step:last-child {
  margin-bottom: 0;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown);
  margin-top: 0.1rem;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.4rem;
}
.step-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Testimonials --- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.testimonial p {
  font-size: 0.925rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial footer {
  display: flex;
  flex-direction: column;
}
.testimonial footer strong {
  font-size: 0.875rem;
  font-style: normal;
  color: var(--text);
}
.testimonial footer span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
}

/* --- About Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.about-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}
.about-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- CTA --- */
.cta-block {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 0;
}
.cta-block h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 1rem;
}
.cta-block > p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.cta-fine {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 0.75rem;
}
.footer-brand > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: var(--text-secondary);
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .treatment-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 7.5rem 1.5rem 3.5rem;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
}
