/* ZenLip Wellness — shared styles */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --ink: #1e293b;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --maxw: 1100px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

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

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--ink); }
.main-nav { display: flex; gap: 1.75rem; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 55%, #115e59 100%);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.hero h1 { font-size: 2.6rem; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.02em; }
.hero p { font-size: 1.15rem; opacity: .92; max-width: 640px; margin: 0 auto; }

/* Sections */
section { padding: 3.5rem 0; }
.section-title { font-size: 1.9rem; letter-spacing: -0.02em; margin-bottom: .5rem; }
.section-sub { color: var(--muted); margin-bottom: 2.25rem; }

/* Article grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,118,110,.10); }
.article-card .thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  background: linear-gradient(135deg, var(--primary-light), #f0fdfa);
}
.article-card .body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.article-card h3 { font-size: 1.15rem; margin-bottom: .55rem; line-height: 1.4; }
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { color: var(--primary); }
.article-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.article-card .meta {
  margin-top: 1.1rem;
  font-size: .82rem;
  color: var(--muted);
  display: flex;
  gap: .9rem;
}
.tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .75rem;
  font-weight: 600;
  padding: .18rem .6rem;
  border-radius: 999px;
  margin-bottom: .7rem;
  align-self: flex-start;
}

/* Article page */
.article-page { background: var(--card); }
.article-page .container { max-width: 760px; }
.article-header { padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: 2.2rem; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 1rem; }
.article-meta { color: var(--muted); font-size: .9rem; display: flex; gap: 1.2rem; }
.article-body { padding: 2.25rem 0 3rem; }
.article-body h2 { font-size: 1.45rem; margin: 2.1rem 0 .8rem; letter-spacing: -0.01em; }
.article-body h3 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.4rem; }
.article-body li { margin-bottom: .45rem; }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg);
  padding: 1rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  color: var(--primary-dark);
}
.callout {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
}

/* Static pages */
.page-content { background: var(--card); }
.page-content .container { max-width: 760px; }
.page-content h1 { font-size: 2rem; padding: 3rem 0 1rem; letter-spacing: -0.02em; }
.page-content .updated { color: var(--muted); font-size: .88rem; margin-bottom: 2rem; }
.page-content h2 { font-size: 1.3rem; margin: 2rem 0 .7rem; }
.page-content h3 { font-size: 1.08rem; margin: 1.4rem 0 .5rem; }
.page-content p { margin-bottom: 1.05rem; }
.page-content ul, .page-content ol { margin: 0 0 1.2rem 1.4rem; }
.page-content li { margin-bottom: .5rem; }

/* Contact form */
.contact-form { display: grid; gap: 1.1rem; max-width: 520px; }
.contact-form label { font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--bg);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--primary);
  border-color: transparent;
}
.btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: .8rem 1.6rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--primary-dark); }

/* Newsletter */
.newsletter {
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
}
.newsletter h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.newsletter p { opacity: .9; margin-bottom: 1.5rem; }
.newsletter form {
  display: flex;
  gap: .6rem;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter input {
  flex: 1;
  min-width: 220px;
  padding: .8rem 1rem;
  border: none;
  border-radius: 8px;
  font: inherit;
}
.newsletter .btn { background: #fff; color: var(--primary-dark); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 3rem 0 2rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: #64748b;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(0,0,0,.08);
  padding: 1rem 1.5rem;
  display: none;
  z-index: 200;
}
.cookie-banner.show { display: block; }
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: .9rem; color: var(--muted); }
.cookie-banner a { color: var(--primary); }

@media (max-width: 720px) {
  .main-nav { gap: 1rem; }
  .hero h1 { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
