/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #2d6a4f;
  --color-primary-dark: #1b4332;
  --color-primary-light: #52b788;
  --color-accent: #d4a373;
  --color-accent-light: #faedcd;
  --color-bg: #fefae0;
  --color-bg-white: #ffffff;
  --color-text: #3a3a3a;
  --color-text-light: #6b6b6b;
  --color-heading: #1b4332;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-light); }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-heading); line-height: 1.3; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* === Header === */
.site-header {
  background: var(--color-primary-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.logo svg { flex-shrink: 0; }

.logo:hover { color: var(--color-accent-light); }

/* Navigation */
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* === Hero Section === */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 3rem;
}

.hero-text .subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  border: 4px solid rgba(255,255,255,0.2);
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.btn-primary:hover {
  background: #c9956a;
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

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

/* === Credentials Badge === */
.credentials {
  background: var(--color-bg-white);
  padding: 3rem 0;
  border-bottom: 1px solid #e9e5d5;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.credential-item {
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: var(--color-bg);
  border: 1px solid #e9e5d5;
}

.credential-item .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.credential-item h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* === Content Sections === */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--color-bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0.5rem auto 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid #e9e5d5;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { opacity: 0.9; font-size: 1.1rem; margin-bottom: 2rem; }

/* === Page Header (inner pages) === */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.page-header h1 { color: #fff; margin-bottom: 0.5rem; font-size: 2.5rem; }
.page-header p { opacity: 0.85; font-size: 1.15rem; }

/* === Content Layout === */
.content-body {
  padding: 3rem 0;
}

.content-card {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.content-card h2 { margin-bottom: 1rem; }
.content-card h3 { margin-top: 1.5rem; }

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.sidebar-card {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}

.sidebar-card img {
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.sidebar-card h3 { margin-bottom: 0.75rem; }

/* === Books Grid === */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.book-card {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.book-card img {
  width: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.book-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.book-card p { font-size: 0.92rem; color: var(--color-text-light); margin: 0; }

/* === Contact Info === */
.contact-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.contact-item .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* === Footer === */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
}

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

.footer-brand { max-width: 360px; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }

.footer-contact p { font-size: 0.9rem; margin-bottom: 0.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 280px; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-buttons { justify-content: center; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-primary-dark);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; width: 100%; }
  .menu-toggle { display: block; }
  h1 { font-size: 2rem; }
  .section { padding: 3rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .book-card { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .credentials-grid { grid-template-columns: 1fr; }
  .contact-info { flex-direction: column; }
}

/* === Diet Article Styles === */
.article-body h3 {
  margin-top: 2rem;
  color: var(--color-primary-dark);
}

.article-body blockquote {
  border-left: 4px solid var(--color-primary-light);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-text-light);
}

.article-body ol, .article-body ul {
  margin: 1rem 0 1rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

/* Journey timeline style */
.journey-item {
  padding-left: 2rem;
  border-left: 3px solid var(--color-primary-light);
  margin-bottom: 1.5rem;
  position: relative;
}

.journey-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-bg-white);
}
