/*
Theme Name: Smart Parenting Advices
Theme URI: https://smartparentingadvices.com
Author: Smart Parenting Advices
Author URI: https://smartparentingadvices.com
Description: A warm, editorial parenting advice and resource website.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-parenting-advices
Tags: parenting, family, blog, editorial, warm, lavender
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  /* Palette */
  --ivory:        #FDFCF8;
  --ivory-mid:    #F7F5EE;
  --ivory-deep:   #EEE9DC;
  --lavender:     #7C6FA0;
  --lavender-light:#9B8FBD;
  --lavender-pale: #F0EEF8;
  --lavender-deep: #4E4270;
  --amber:        #E8A020;
  --amber-light:  #F0B840;
  --amber-pale:   #FDF4DC;
  --coral:        #E0604A;
  --coral-light:  #F07862;
  --coral-pale:   #FDEEE8;
  --sage:         #5A8A6A;
  --sage-pale:    #EDF4EF;
  --sky:          #4A8CB8;
  --sky-pale:     #E8F2F8;
  --ink:          #1C1A2E;
  --ink-mid:      #3A3655;
  --ink-light:    #6E6A88;
  --border:       #E4DFDA;
  --border-light: #EDE9E4;
  --white:        #FFFFFF;

  /* Typography */
  --font-display: 'Nunito', 'Helvetica Rounded', sans-serif;
  --font-body:    'Source Serif 4', 'Georgia', serif;
  --font-ui:      'Nunito', sans-serif;

  /* Motion */
  --ease:       cubic-bezier(0.35, 0, 0.25, 1);
  --transition: all 0.28s var(--ease);
  --trans-fast: all 0.16s ease;

  /* Layout */
  --max-w:      1320px;
  --max-w-read: 780px;
  --gutter:     clamp(1.25rem, 5vw, 5rem);
  --radius:     10px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-pill:100px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--ink-mid);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; }
a    { color: var(--lavender); text-decoration: none; transition: var(--trans-fast); }
a:hover { color: var(--lavender-deep); }
ul, ol { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lavender);
  display: inline-block;
  margin-bottom: 0.75rem;
}
.eyebrow--amber  { color: var(--amber); }
.eyebrow--coral  { color: var(--coral); }
.eyebrow--sage   { color: var(--sage); }
.eyebrow--white  { color: rgba(255,255,255,0.7); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.section     { padding: clamp(4rem, 9vw, 9rem) 0; }
.section--sm { padding: clamp(3rem, 6vw, 6rem) 0; }
.section--xs { padding: clamp(2rem, 4vw, 4rem) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.88rem 1.85rem;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-lavender {
  background: var(--lavender);
  color: var(--white);
  border-color: var(--lavender);
}
.btn-lavender:hover {
  background: var(--lavender-deep);
  border-color: var(--lavender-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,111,160,0.3);
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-amber:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,0.3);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-coral:hover {
  background: var(--coral-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224,96,74,0.3);
}

.btn-outline-lavender {
  background: transparent;
  color: var(--lavender);
  border-color: var(--lavender);
}
.btn-outline-lavender:hover {
  background: var(--lavender);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-ivory {
  background: var(--ivory);
  color: var(--lavender);
  border-color: var(--ivory);
}
.btn-ivory:hover {
  background: var(--white);
  color: var(--lavender-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.btn-lg { padding: 1.05rem 2.2rem; font-size: 0.92rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.75rem; }

.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 0.18s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* =============================================
   IMAGE PLACEHOLDERS
   ============================================= */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ivory-mid) 0%, var(--ivory-deep) 100%);
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 30%, rgba(124,111,160,0.07) 0%, transparent 60%);
}
.img-placeholder-text {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  opacity: 0.55;
  z-index: 1;
  text-align: center;
  padding: 1rem;
  line-height: 1.8;
}

/* =============================================
   HEADER
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
#site-header.scrolled {
  background: rgba(253, 252, 248, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border-light), 0 4px 20px rgba(28,26,46,0.06);
  padding: 0.85rem var(--gutter);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--lavender-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--trans-fast);
  box-shadow: 0 3px 10px rgba(124,111,160,0.25);
}
.site-logo:hover .logo-mark { transform: rotate(-5deg) scale(1.05); }

.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-tagline {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender);
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--lavender); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--lavender-deep);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(-100%);
  transition: transform 0.42s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ivory);
  letter-spacing: -0.02em;
}
.mobile-nav a:hover { color: var(--amber-light); }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(160deg, var(--lavender-deep) 0%, var(--lavender) 55%, #9880C8 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(3rem, 8vw, 8rem);
}

/* Warm decorative blobs */
.hero-blob-1 {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(232,160,32,0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-blob-2 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(224,96,74,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
/* Scattered dots */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: flex-end;
}

.hero-left {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  width: fit-content;
}
.hero-badge-emoji { font-size: 1rem; }
.hero-badge-text {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 6rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--amber-light);
  display: inline-block;
}

.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-family: var(--font-body);
}

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

.hero-social-proof {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-avatars {
  display: flex;
}
.hero-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.6);
  background: linear-gradient(135deg, var(--amber-pale), var(--lavender-pale));
  margin-left: -10px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-avatar:first-child { margin-left: 0; }
.hero-proof-text {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
}
.hero-proof-text strong { color: var(--white); font-weight: 800; }

/* Right side — featured card stack */
.hero-right { position: relative; padding-bottom: 2rem; }

.hero-featured-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(28,26,46,0.25);
}
.hero-featured-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ivory-deep);
}
.hero-featured-body { padding: 1.5rem; }
.hero-featured-cat {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 0.5rem;
}
.hero-featured-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.hero-featured-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--ink-light);
}

/* Floating mini-cards */
.hero-mini-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.1rem;
  box-shadow: 0 8px 28px rgba(28,26,46,0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  animation: floatCard 4s ease-in-out infinite;
}
.hero-mini-card:nth-child(2) { animation-delay: 1.2s; }
.hero-mini-card:nth-child(3) { animation-delay: 2.4s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.hero-mini-card.top-left {
  top: -1.5rem;
  left: -2rem;
}
.hero-mini-card.bottom-right {
  bottom: 1rem;
  right: -1.5rem;
}
.mini-card-emoji { font-size: 1.4rem; }
.mini-card-txt {}
.mini-card-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  display: block;
  line-height: 1.2;
}
.mini-card-sub {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  color: var(--ink-light);
  display: block;
}

/* =============================================
   CATEGORY PILLS NAV
   ============================================= */
.category-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav .container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.cat-pill {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  color: var(--ink-mid);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-pill:hover { border-color: var(--lavender); color: var(--lavender); background: var(--lavender-pale); }
.cat-pill.active { background: var(--lavender); color: var(--white); border-color: var(--lavender); }
.cat-pill--amber.active { background: var(--amber); border-color: var(--amber); }
.cat-pill--coral.active { background: var(--coral); border-color: var(--coral); }
.cat-pill--sage.active  { background: var(--sage);  border-color: var(--sage);  }
.cat-pill--sky.active   { background: var(--sky);   border-color: var(--sky);   }

/* =============================================
   FEATURED ARTICLES
   ============================================= */
.featured-section { background: var(--ivory); }

.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.featured-main {
  grid-row: 1 / 3;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.featured-main:hover { box-shadow: 0 16px 48px rgba(28,26,46,0.09); transform: translateY(-4px); border-color: transparent; }

.article-img {
  overflow: hidden;
  background: var(--ivory-deep);
}
.article-img .img-placeholder { transition: transform 0.5s var(--ease); }
.article-card:hover .article-img .img-placeholder,
.featured-main:hover .article-img .img-placeholder,
.blog-card:hover .article-img .img-placeholder { transform: scale(1.05); }

.featured-main .article-img { aspect-ratio: 16/10; }

.article-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.article-cat {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 0.6rem;
  display: block;
}
.article-cat--amber { color: var(--amber); }
.article-cat--coral { color: var(--coral); }
.article-cat--sage  { color: var(--sage); }
.article-cat--sky   { color: var(--sky); }

.article-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
article:hover .article-title { color: var(--lavender); }

.featured-main .article-title { font-size: 1.55rem; }
.article-excerpt {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}
.article-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* Side cards */
.featured-side {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.featured-side:hover { box-shadow: 0 12px 36px rgba(28,26,46,0.08); transform: translateY(-4px); border-color: transparent; }
.featured-side .article-img { aspect-ratio: 16/9; }
.featured-side .article-title { font-size: 1.05rem; }

/* =============================================
   TOPIC SECTIONS (color-coded)
   ============================================= */
.topic-section { background: var(--ivory-mid); }

.topic-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.topic-card:hover {
  box-shadow: 0 12px 40px rgba(28,26,46,0.09);
  transform: translateY(-5px);
  border-color: transparent;
}
.topic-card__img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--ivory-deep);
  position: relative;
  flex-shrink: 0;
}
.topic-card__img .img-placeholder { transition: transform 0.5s var(--ease); }
.topic-card:hover .topic-card__img .img-placeholder { transform: scale(1.06); }

.topic-card__color-bar {
  height: 4px;
  width: 100%;
}
.bar-lavender { background: var(--lavender); }
.bar-amber    { background: var(--amber); }
.bar-coral    { background: var(--coral); }
.bar-sage     { background: var(--sage); }

.topic-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.topic-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.topic-card:hover .topic-card__title { color: var(--lavender); }
.topic-card__desc {
  font-size: 0.87rem;
  color: var(--ink-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}
.topic-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.topic-card__count {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-light);
}
.read-link {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--lavender);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.18s;
}
.read-link::after { content: '→'; }
.read-link:hover { gap: 0.55rem; color: var(--lavender-deep); }

/* =============================================
   ABOUT STRIP
   ============================================= */
.about-strip { background: var(--lavender-pale); }

.about-img-wrap { position: relative; }
.about-img-main {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ivory-deep);
}
.about-img-float {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 48%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 4px solid var(--lavender-pale);
  box-shadow: 0 10px 32px rgba(28,26,46,0.12);
}
.about-heart-badge {
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  background: var(--amber);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgba(232,160,32,0.35);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.pillar-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.pillar:hover { background: var(--ivory); box-shadow: 0 4px 16px rgba(28,26,46,0.06); }
.pillar-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--lavender-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.pillar-title { font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.15rem; }
.pillar-desc  { font-size: 0.83rem; color: var(--ink-light); line-height: 1.55; margin: 0; }

/* =============================================
   TIPS BAND (quick tips)
   ============================================= */
.tips-band { background: var(--amber); overflow: hidden; }
.tips-band-inner {
  display: flex;
  gap: 0;
  overflow: hidden;
}
.tip-item {
  flex: 1;
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.tip-item:last-child { border-right: none; }
.tip-item:hover { background: rgba(255,255,255,0.08); }
.tip-emoji { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.tip-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.tip-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   BLOG GRID
   ============================================= */
.blog-section { background: var(--ivory); }

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.blog-grid-main { display: flex; flex-direction: column; gap: 1.5rem; }

.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 260px 1fr;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: 0 10px 32px rgba(28,26,46,0.08); transform: translateY(-3px); border-color: transparent; }
.blog-card .article-img { aspect-ratio: 4/3; }
.blog-card .article-body { padding: 1.5rem; }
.blog-card .article-title { font-size: 1.1rem; }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
}
.widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ivory-mid);
}
.sidebar-topics { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sidebar-topic-tag {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--ivory-mid);
  color: var(--ink-mid);
  transition: var(--trans-fast);
  text-decoration: none;
}
.sidebar-topic-tag:hover { background: var(--lavender); color: var(--white); }
.sidebar-mini-post {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-mini-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-mini-img {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ivory-deep);
}
.sidebar-mini-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.2rem;
  transition: color 0.2s;
}
a:hover .sidebar-mini-title { color: var(--lavender); }
.sidebar-mini-date { font-family: var(--font-ui); font-size: 0.68rem; color: var(--ink-light); }

.newsletter-widget {
  background: linear-gradient(135deg, var(--lavender-deep) 0%, var(--lavender) 100%);
  border: none;
}
.newsletter-widget .widget-title { color: var(--white); border-color: rgba(255,255,255,0.2); }
.newsletter-widget p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.newsletter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  outline: none;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { background: var(--ivory-mid); }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '❝';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 3.5rem;
  color: var(--lavender-pale);
  line-height: 1;
  font-family: Georgia;
}
.testimonial-card:hover { box-shadow: 0 10px 32px rgba(28,26,46,0.08); transform: translateY(-3px); border-color: transparent; }
.test-stars { font-size: 0.9rem; letter-spacing: 2px; color: var(--amber); margin-bottom: 1rem; }
.test-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.test-author { display: flex; align-items: center; gap: 0.75rem; }
.test-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender-pale), var(--amber-pale));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
}
.test-name { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; color: var(--ink); display: block; }
.test-detail { font-family: var(--font-ui); font-size: 0.72rem; color: var(--ink-light); }

/* =============================================
   NEWSLETTER SECTION
   ============================================= */
.newsletter-section {
  background: linear-gradient(135deg, var(--lavender-deep) 0%, var(--lavender) 100%);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  border-radius: 50%;
}
.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,160,32,0.12) 0%, transparent 60%);
  border-radius: 50%;
}
.newsletter-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.newsletter-inner h2 { color: var(--white); margin-bottom: 0.75rem; }
.newsletter-inner p  { color: rgba(255,255,255,0.72); margin-bottom: 2rem; font-size: 1.05rem; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.9rem 1.25rem;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
}
.newsletter-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.newsletter-perk {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.newsletter-perk::before { content: '✓'; color: var(--amber-light); }

/* =============================================
   PAGE HERO (interior pages)
   ============================================= */
.page-hero {
  background: linear-gradient(160deg, var(--lavender-deep) 0%, var(--lavender) 100%);
  padding: clamp(7rem, 12vw, 12rem) 0 clamp(3rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(232,160,32,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 35% 45% at 15% 80%, rgba(224,96,74,0.1) 0%, transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.7); max-width: 600px; font-size: 1.05rem; margin: 0; }
.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--amber-light); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.35; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.expert-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.expert-card:hover { box-shadow: 0 12px 36px rgba(28,26,46,0.08); transform: translateY(-4px); border-color: transparent; }
.expert-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ivory-deep);
  position: relative;
}
.expert-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(78,66,112,0.4), transparent);
}
.expert-body { padding: 1.5rem; }
.expert-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-bottom: 0.2rem; }
.expert-role { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender); margin-bottom: 0.75rem; display: block; }
.expert-bio  { font-size: 0.85rem; color: var(--ink-light); line-height: 1.65; margin: 0; }

.value-block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-item {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.value-item:hover { background: var(--lavender-pale); border-color: rgba(124,111,160,0.2); }
.value-emoji { font-size: 1.8rem; margin-bottom: 0.75rem; }
.value-title { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 0.4rem; }
.value-desc  { font-size: 0.85rem; color: var(--ink-light); line-height: 1.6; margin: 0; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}
.contact-info-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-block:last-of-type { border: none; }
.c-lbl {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender);
  display: block;
  margin-bottom: 0.4rem;
}
.c-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}
.c-val a { color: var(--ink); }
.c-val a:hover { color: var(--lavender); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px rgba(28,26,46,0.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink-mid);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea,
.form-group input[type="email"] {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  padding: 0.78rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--lavender);
  box-shadow: 0 0 0 3px rgba(124,111,160,0.12);
  background: var(--white);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237C6FA0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: var(--ivory);
  padding-right: 2.5rem;
}
.form-success {
  background: var(--lavender-pale);
  border: 1.5px solid var(--lavender);
  color: var(--lavender-deep);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

/* =============================================
   POST CONTENT
   ============================================= */
.post-wrap { max-width: var(--max-w-read); margin: 0 auto; padding: 4rem var(--gutter); }
.post-wrap h2 { margin: 2.5rem 0 1rem; font-size: 1.75rem; }
.post-wrap h3 { margin: 2rem 0 0.75rem; font-size: 1.35rem; }
.post-wrap p  { line-height: 1.95; margin-bottom: 1.5rem; font-size: 1.05rem; }
.post-wrap ul, .post-wrap ol { margin: 1.5rem 0 1.5rem 1.5rem; line-height: 1.9; }
.post-wrap ul { list-style: disc; }
.post-wrap ol { list-style: decimal; }
.post-wrap blockquote {
  border-left: 4px solid var(--lavender);
  padding: 1.25rem 1.75rem;
  background: var(--lavender-pale);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  margin: 2rem 0;
  color: var(--lavender-deep);
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--ink);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo-name { color: var(--ivory); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.35); }
.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 280px;
  font-family: var(--font-body);
}
.footer-col h5 {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.87rem; color: rgba(255,255,255,0.42); transition: color 0.2s; }
.footer-col a:hover { color: var(--lavender-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.76rem; color: rgba(255,255,255,0.28); margin: 0; }
.footer-disclaimer { font-size: 0.68rem; color: rgba(255,255,255,0.22); max-width: 500px; font-family: var(--font-body); }

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.09s; }
.fade-up:nth-child(3) { transition-delay: 0.18s; }
.fade-up:nth-child(4) { transition-delay: 0.27s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right   { display: none; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-main { grid-row: auto; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .tips-band-inner { flex-wrap: wrap; }
  .tip-item { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.15); }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .blog-card { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr 1fr; }
  .value-block { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .expert-grid { grid-template-columns: 1fr; }
  .value-block { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .tip-item { flex: 0 0 100%; }
}
