/* ==========================================================================
   TheNutriZen — Main Stylesheet
   Brand: deep forest green + warm terracotta, cream backgrounds
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors */
  --forest: #2F5D50;
  --forest-dark: #1E3F36;
  --forest-light: #4C8073;
  --sage: #A9C4B4;
  --sage-light: #E7EFE9;
  --terracotta: #E07A3E;
  --terracotta-dark: #C7622A;
  --gold: #D9A94A;

  --cream: #FBF6EE;
  --cream-deep: #F4ECDD;
  --white: #FFFFFF;
  --ink: #22302A;
  --muted: #5B6B62;
  --border: #E4DED0;

  /* Typography */
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Spacing / shape */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(34, 48, 42, 0.08);
  --shadow-md: 0 14px 40px rgba(34, 48, 42, 0.12);
  --shadow-lg: 0 26px 60px rgba(30, 63, 54, 0.18);
  --container: 1180px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--forest-dark);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
section { position: relative; }

/* ==========================================================================
   Utilities
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-light);
  color: var(--forest);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--terracotta); color: var(--white); box-shadow: 0 10px 24px rgba(224,122,62,.35); }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(199,98,42,.4); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest-dark); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 22px; font-size: .88rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(0.22,1,0.36,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: .1s; }
.reveal-delay-2.in-view { transition-delay: .2s; }
.reveal-delay-3.in-view { transition-delay: .3s; }
.reveal-delay-4.in-view { transition-delay: .4s; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(34,48,42,.08);
  border-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 1; }
.brand img { height: 42px; width: auto; flex-shrink: 0; }
.brand-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--forest-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text span { color: var(--terracotta); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  padding: 10px 16px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:not(.btn):hover,
.main-nav a.active:not(.btn) { background: var(--sage-light); color: var(--forest); }
.nav-cta-wrap { margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--forest-dark); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: 56px; padding-bottom: 120px; overflow: visible; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 20px;
}
.hero-media { position: relative; }
.hero-media .blob-shape {
  position: absolute;
  inset: -6% -10%;
  background: radial-gradient(circle at 30% 20%, var(--sage-light), transparent 60%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(2px);
}
.hero-media img.portrait {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  max-width: 92%;
  margin-inline: auto;
}
.hero-media .float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .9rem;
  z-index: 2;
  animation: floaty 5s ease-in-out infinite;
}
.hero-media .float-badge svg { width: 26px; height: 26px; color: var(--terracotta); flex-shrink: 0; }
.hero-media .badge-top { top: 6%; right: 2%; animation-delay: .3s; }
.hero-media .badge-bottom { bottom: 8%; left: -2%; animation-delay: 1s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-panel {
  position: relative;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  overflow: hidden;
}
.hero-panel::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: var(--terracotta);
  opacity: .25;
  border-radius: 50%;
  top: -120px; right: -100px;
  filter: blur(10px);
}
.hero-panel::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border: 2px solid rgba(255,255,255,.15);
  border-radius: 50%;
  bottom: -80px; left: -60px;
}
.hero-eyebrow {
  display: inline-block;
  color: var(--sage);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: 14px;
}
.hero-panel h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin-bottom: .4em;
}
.hero-panel h1 .accent { color: var(--terracotta); display: block; font-size: 1.1em; }
.hero-panel p.lead { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-stats .stat b { display: block; font-size: 1.5rem; font-family: var(--font-heading); color: var(--white); }
.hero-stats .stat span { color: rgba(255,255,255,.7); font-size: .85rem; }

/* ==========================================================================
   Specialty cards
   ========================================================================== */
.specialties { margin-top: -70px; position: relative; z-index: 5; }
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.specialty-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.specialty-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.specialty-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.specialty-card:hover .specialty-icon { background: var(--terracotta); transform: rotate(-8deg) scale(1.05); }
.specialty-icon svg { width: 30px; height: 30px; color: var(--forest); transition: color var(--transition); }
.specialty-card:hover .specialty-icon svg { color: var(--white); }
.specialty-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.specialty-card p { color: var(--muted); font-size: .88rem; margin: 0; }
.specialty-card.explore { background: var(--forest); color: var(--white); }
.specialty-card.explore h3 { color: var(--white); }
.specialty-card.explore .specialty-icon { background: rgba(255,255,255,.14); }
.specialty-card.explore .specialty-icon svg { color: var(--white); }
.specialty-card.explore:hover { background: var(--forest-dark); }

/* ==========================================================================
   About / philosophy alternating rows
   ========================================================================== */
.about-section { padding-block: 120px 90px; }
.philosophy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 90px;
}
.philosophy-row:last-child { margin-bottom: 0; }
.philosophy-row.reverse .philosophy-media { order: 2; }
.philosophy-row.reverse .philosophy-copy { order: 1; }
.philosophy-media { position: relative; }
.philosophy-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.philosophy-media .ring-accent {
  position: absolute;
  width: 120px; height: 120px;
  border: 10px solid var(--sage-light);
  border-radius: 50%;
  z-index: -1;
}
.philosophy-row:not(.reverse) .ring-accent { bottom: -30px; right: -30px; }
.philosophy-row.reverse .ring-accent { top: -30px; left: -30px; }
.philosophy-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.philosophy-copy p { color: var(--muted); }
.philosophy-copy .check-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.philosophy-copy .check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--forest-dark); font-size: .95rem; }
.philosophy-copy .check-list svg { width: 20px; height: 20px; color: var(--terracotta); flex-shrink: 0; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  margin-inline: 24px;
  max-width: calc(var(--container) - 0px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  color: var(--white);
}
.stat-item { text-align: center; }
.stat-item .num { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: var(--white); }
.stat-item .num .plus { color: var(--terracotta); }
.stat-item span { color: rgba(255,255,255,.75); font-size: .92rem; font-weight: 500; }
.stat-item svg { width: 30px; height: 30px; margin-bottom: 10px; color: var(--sage); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { padding-block: 110px; background: var(--cream-deep); }
.testi-track-wrap { position: relative; max-width: 780px; margin: 0 auto; }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform .6s cubic-bezier(0.65,0,0.35,1); }
.testi-slide { flex: 0 0 100%; padding: 10px; }
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.testi-card .stars { color: var(--gold); margin-bottom: 18px; display: flex; justify-content: center; gap: 4px; }
.testi-card .stars svg { width: 18px; height: 18px; }
.testi-card p.quote { font-size: 1.12rem; color: var(--ink); font-style: italic; margin-bottom: 24px; }
.testi-person { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testi-person .name { font-weight: 700; color: var(--forest-dark); }
.testi-person .role { font-size: .85rem; color: var(--muted); }
.testi-nav { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); border: none; padding: 0; transition: background var(--transition), transform var(--transition); }
.testi-dot.active { background: var(--terracotta); transform: scale(1.3); }
.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition);
}
.testi-arrow:hover { background: var(--forest); color: var(--white); }
.testi-arrow svg { width: 18px; height: 18px; }
.testi-arrow.prev { left: -60px; }
.testi-arrow.next { right: -60px; }

/* ==========================================================================
   Media / featured strip
   ========================================================================== */
.media-strip { padding-block: 60px; }
.media-strip p.label { text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 30px; letter-spacing: .04em; }
.media-logos { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; opacity: .7; }
.media-logos span { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--muted); }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--terracotta), var(--terracotta-dark));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 55%);
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 520px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.85); position: relative; }

/* ==========================================================================
   Instagram strip
   ========================================================================== */
.insta-strip { padding-block: 100px; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 40px; }
.insta-grid a { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.insta-grid a::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(47,93,80,0);
  transition: background var(--transition);
}
.insta-grid a:hover::after { background: rgba(47,93,80,.45); }
.insta-grid a:hover img { transform: scale(1.1); }
.insta-grid a svg { position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; color: var(--white); transform: translate(-50%,-50%) scale(0); transition: transform var(--transition); }
.insta-grid a:hover svg { transform: translate(-50%,-50%) scale(1); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest-dark); color: rgba(255,255,255,.78); padding-top: 90px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,.65); margin-top: 14px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition), transform var(--transition); }
.footer-social a:hover { background: var(--terracotta); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { transition: color var(--transition); font-size: .93rem; }
.footer-col a:hover { color: var(--terracotta); }
.footer-contact li { display: flex; gap: 10px; font-size: .9rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--terracotta); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 26px; font-size: .85rem; color: rgba(255,255,255,.55); flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--white); }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--forest); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: none; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--terracotta); }
.back-to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   Page banner (Blog / Appointment interior pages)
   ========================================================================== */
.page-banner {
  background: linear-gradient(150deg, var(--forest), var(--forest-dark));
  color: var(--white);
  padding: 150px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: var(--terracotta); opacity: .2; top: -160px; left: -100px;
}
.page-banner::after {
  content: '';
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15); bottom: -120px; right: -60px;
}
.page-banner h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); position: relative; }
.page-banner .crumb { color: var(--sage); font-weight: 600; position: relative; }
.page-banner .crumb a:hover { color: var(--white); }
.page-banner p.sub { color: rgba(255,255,255,.8); max-width: 560px; margin-inline: auto; position: relative; }

/* ==========================================================================
   Blog listing
   ========================================================================== */
.blog-layout { padding-block: 90px; display: grid; grid-template-columns: 2.2fr 1fr; gap: 50px; align-items: flex-start; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-pill {
  padding: 10px 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--border);
  background: var(--white); font-weight: 600; font-size: .88rem; color: var(--muted);
  transition: all var(--transition);
}
.filter-pill:hover { border-color: var(--forest); color: var(--forest); }
.filter-pill.active { background: var(--forest); border-color: var(--forest); color: var(--white); }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.blog-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .thumb img { transform: scale(1.08); }
.blog-card .cat-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--terracotta); color: var(--white); font-size: .74rem; font-weight: 700;
  padding: 6px 14px; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: .04em;
}
.blog-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.blog-card .meta span { display: flex; align-items: center; gap: 5px; }
.blog-card .meta svg { width: 14px; height: 14px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-card h3 a:hover { color: var(--terracotta); }
.blog-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.blog-card .read-more { font-weight: 700; color: var(--forest); font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }
.blog-card .read-more svg { width: 15px; height: 15px; transition: transform var(--transition); }
.blog-card .read-more:hover svg { transform: translateX(4px); }
.blog-card.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); font-weight: 700; font-size: .9rem; color: var(--muted);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--forest); color: var(--forest); }
.pagination .current { background: var(--forest); border-color: var(--forest); color: var(--white); }

.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; margin-bottom: 28px; }
.sidebar-widget h4 { font-size: 1.02rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.sidebar-widget h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 3px; background: var(--terracotta); border-radius: 3px; }
.cat-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; font-weight: 600; }
.cat-list li:last-child { border-bottom: none; }
.cat-list a:hover { color: var(--terracotta); }
.cat-list .count { background: var(--sage-light); color: var(--forest); font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: var(--radius-pill); }
.recent-post { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.recent-post:last-child { border-bottom: none; }
.recent-post img { width: 62px; height: 62px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.recent-post h5 { font-size: .9rem; margin: 0 0 4px; line-height: 1.4; }
.recent-post h5 a:hover { color: var(--terracotta); }
.recent-post span { font-size: .78rem; color: var(--muted); }
.newsletter-widget { background: var(--forest); color: var(--white); }
.newsletter-widget h4 { color: var(--white); }
.newsletter-widget h4::after { background: var(--sage); }
.newsletter-widget p { color: rgba(255,255,255,.75); font-size: .88rem; }
.newsletter-widget input { width: 100%; padding: 13px 16px; border-radius: var(--radius-pill); border: none; margin-bottom: 12px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 7px 14px; background: var(--cream-deep); border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600; color: var(--muted); transition: all var(--transition); }
.tag-cloud a:hover { background: var(--forest); color: var(--white); }

/* ==========================================================================
   Blog single
   ========================================================================== */
.single-post { padding-block: 80px; }
.single-post-inner { max-width: 800px; margin-inline: auto; }
.single-post .cat-tag { display: inline-block; background: var(--terracotta); color: var(--white); font-size: .74rem; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill); text-transform: uppercase; margin-bottom: 18px; }
.single-post h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.single-post .meta-row { display: flex; gap: 22px; color: var(--muted); font-size: .9rem; margin-bottom: 30px; flex-wrap: wrap; }
.single-post .meta-row span { display: flex; align-items: center; gap: 6px; }
.single-post .meta-row svg { width: 15px; height: 15px; }
.single-post .cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-md); }
.single-post .content { font-size: 1.05rem; color: var(--ink); }
.single-post .content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.single-post .content h3 { font-size: 1.2rem; margin-top: 1.4em; }
.single-post .content p { color: #3a463f; }
.single-post .content ul { margin: 1em 0; padding-left: 4px; display: flex; flex-direction: column; gap: 10px; }
.single-post .content ul li { display: flex; gap: 10px; }
.single-post .content ul li::before { content: ''; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--terracotta); flex-shrink: 0; }
.single-post .content blockquote {
  border-left: 4px solid var(--terracotta); margin: 30px 0; padding: 6px 26px; font-style: italic; color: var(--forest-dark); font-size: 1.1rem; background: var(--cream-deep); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.post-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0; }
.author-box { display: flex; gap: 20px; background: var(--cream-deep); border-radius: var(--radius-md); padding: 28px; align-items: center; }
.author-box img { width: 74px; height: 74px; border-radius: 50%; flex-shrink: 0; }
.author-box h4 { margin-bottom: 4px; }
.author-box p { margin: 0; color: var(--muted); font-size: .92rem; }
.related-posts { margin-top: 60px; }
.related-posts h3 { margin-bottom: 26px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ==========================================================================
   Custom select component
   ========================================================================== */
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select .cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--cream-deep);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.custom-select .cs-trigger .placeholder-txt { color: var(--muted); }
.custom-select .cs-trigger svg { width: 18px; height: 18px; color: var(--forest); transition: transform var(--transition); flex-shrink: 0; }
.custom-select.open .cs-trigger svg { transform: rotate(180deg); }
.custom-select.open .cs-trigger,
.custom-select .cs-trigger:focus-visible {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(47,93,80,.12);
  outline: none;
}
.custom-select .cs-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  max-height: 0;
  overflow: hidden auto;
  opacity: 0;
  z-index: 40;
  transition: max-height var(--transition), opacity .25s ease;
  padding: 0 6px;
}
.custom-select.open .cs-panel { max-height: 260px; opacity: 1; padding: 6px; }
.custom-select .cs-option {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.custom-select .cs-option:hover,
.custom-select .cs-option.highlighted { background: var(--sage-light); color: var(--forest); }
.custom-select .cs-option.selected { background: var(--forest); color: var(--white); font-weight: 600; }
.custom-select.error .cs-trigger { border-color: #D24A4A; box-shadow: 0 0 0 4px rgba(210,74,74,.12); }

/* ==========================================================================
   Appointment page
   ========================================================================== */
.appointment-layout { padding-block: 90px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: flex-start; }
.booking-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 44px; border: 1px solid var(--border); }
.booking-card h2 { font-size: 1.5rem; }
.booking-card > p { color: var(--muted); margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: .88rem; color: var(--forest-dark); }
.form-group label .req { color: var(--terracotta); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--cream-deep);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--forest); background: var(--white);
  box-shadow: 0 0 0 4px rgba(47,93,80,.12);
}
.form-note { font-size: .82rem; color: var(--muted); margin-top: -8px; }
.form-submit-row { margin-top: 10px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--muted); }
.consent-row input { margin-top: 4px; accent-color: var(--forest); }

.success-banner {
  display: flex; align-items: center; gap: 16px;
  background: var(--sage-light); color: var(--forest-dark);
  border: 1px solid var(--sage);
  border-radius: var(--radius-md); padding: 22px 26px; margin-bottom: 30px;
  animation: pop-in .5s cubic-bezier(0.22,1,0.36,1);
}
.success-banner svg { width: 30px; height: 30px; color: var(--forest); flex-shrink: 0; }
@keyframes pop-in { from { opacity: 0; transform: scale(.92) translateY(-8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.info-card { background: var(--forest); color: var(--white); border-radius: var(--radius-lg); padding: 34px; margin-bottom: 24px; }
.info-card h3 { color: var(--white); font-size: 1.1rem; }
.info-card ul { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.info-card li { display: flex; gap: 12px; font-size: .92rem; color: rgba(255,255,255,.85); }
.info-card li b { color: var(--white); display: block; }
.info-card .step-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--terracotta);
  color: var(--white); font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-quick { display: flex; flex-direction: column; gap: 14px; }
.contact-quick a {
  display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 20px; transition: all var(--transition);
}
.contact-quick a:hover { border-color: var(--terracotta); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-quick .icon-wrap { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-quick .icon-wrap svg { width: 20px; height: 20px; color: var(--forest); }
.contact-quick b { display: block; font-size: .92rem; }
.contact-quick span { font-size: .8rem; color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; margin-inline: auto; }
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-row, .philosophy-row.reverse { grid-template-columns: 1fr; }
  .philosophy-row.reverse .philosophy-media, .philosophy-row.reverse .philosophy-copy { order: initial; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .blog-layout, .appointment-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; top: 0; right: -100%; width: min(320px, 84%); height: 100vh; background: var(--white);
    flex-direction: column; align-items: flex-start; padding: 100px 30px 30px; box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transition: right var(--transition); gap: 6px; z-index: 998; }
  .main-nav.open { right: 0; }
  .main-nav a:not(.btn) { width: 100%; }
  .nav-cta-wrap { margin-left: 0; margin-top: 14px; width: 100%; }
  .nav-cta-wrap .btn { width: 100%; }
  .nav-toggle { display: flex; z-index: 999; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(30,63,54,.4); z-index: 997; opacity: 0; visibility: hidden; transition: opacity var(--transition); }
  .nav-overlay.show { opacity: 1; visibility: visible; }

  .hero-panel { padding: 42px 28px; }
  .hero-stats { gap: 22px; }
  .specialty-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; padding: 44px 28px; }
  .testi-arrow { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-banner { padding: 130px 0 70px; }
  .author-box { flex-direction: column; text-align: center; }
}
