:root {
  --color-bg: #F5EFE8;
  --color-bg-alt: #EEE1D5;
  --color-text: #352B2B;
  --color-text-muted: #6E5B58;
  --color-primary: #632F3E;
  --color-primary-dark: #4A232E;
  --color-secondary: #B98283;
  --color-accent: #D8C0B5;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --container-width: 1120px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }

p { margin: 0 0 1rem; color: var(--color-text-muted); }

a { color: var(--color-primary-dark); }

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

.section {
  padding: 4.5rem 0;
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.btn-whatsapp:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* Header (shared with the homepage) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 232, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--color-text);
}

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

.nav-desktop a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.95rem;
}

.nav-desktop a:hover {
  color: var(--color-primary-dark);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  display: block;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0.5rem 1.5rem 1rem;
}

.nav-mobile a {
  padding: 0.6rem 0;
  text-decoration: none;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-mobile.open {
  display: flex;
}

@media (max-width: 860px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

/* Footer (shared with the homepage) */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* WhatsApp floating button (shared with the homepage) */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 60;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  background: var(--color-primary);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 1.5rem 0 0;
}

.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Article header */
.article-header {
  padding: 2rem 0 0;
}

.article-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-bg-alt);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin: 1rem 0 1rem;
}

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

.article-cover {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 2.5rem;
}

/* Article body typography */
.article-body {
  max-width: 72ch;
  margin: 0 auto;
}

.article-body p {
  color: var(--color-text);
  font-size: 1.05rem;
}

.article-body h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
  text-align: left;
}

.article-body h3 {
  font-size: 1.2rem;
}

.article-body ul,
.article-body ol {
  color: var(--color-text);
  padding-left: 1.5rem;
}

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

.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.5rem 1.5rem;
  border-left: 3px solid var(--color-primary);
  color: var(--color-text-muted);
  font-style: italic;
}

.article-cta {
  max-width: 72ch;
  margin: 3rem auto 0;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.article-cta h3 {
  color: #fff;
  margin-top: 0;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.9);
}

/* Related articles */
.related-articles {
  max-width: 72ch;
  margin: 3rem auto 0;
}

.related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.related-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.related-card a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}

.related-card a:hover {
  color: var(--color-primary-dark);
}

/* Blog listing */
.blog-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.blog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 860px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-card .article-category {
  align-self: flex-start;
  margin: 0.5rem 0 0;
}

.blog-card h2 {
  font-size: 1.2rem;
  text-align: left;
  margin: 0;
}

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

.blog-card h2 a:hover {
  color: var(--color-primary-dark);
}

.blog-card p {
  font-size: 0.95rem;
  margin: 0 0 auto;
}
