/*
Theme Name: Rohini Narain
Description: Dr. Rohini Narain Lifestyle Medicine — Child of GeneratePress
Template: generatepress
Version: 1.0.0
*/

/* ─── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --color-bg:         #F7F4EF;
  --color-dark:       #1A1A18;
  --color-accent:     #3D6B4F;
  --color-accent-cta: #2D5A3D;
  --color-slate:      #4A5568;
  --color-divider:    #E8E3DA;
  --color-white:      #FFFFFF;
  --font-heading:     'Cormorant Garamond', Georgia, serif;
  --font-body:        'Inter', system-ui, sans-serif;
  --max-width:        1200px;
  --section-pad:      clamp(60px, 8vw, 120px);
  --ease-out:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── RESET + BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 18px; }

body {
  background-color: var(--color-bg);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 300; }
h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 400; }
h3 { font-size: clamp(22px, 2.5vw, 30px); font-weight: 500; font-family: var(--font-body); }
h4 { font-size: 20px; font-weight: 500; font-family: var(--font-body); }
p  { font-size: clamp(16px, 1.1vw, 18px); line-height: 1.75; color: var(--color-slate); }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section { padding: var(--section-pad) 0; }

/* ─── NAVIGATION ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(247,244,239,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-divider);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after { width: 100%; }

/* ─── CTA BUTTON ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent-cta);
  color: var(--color-white);
}

.btn-primary:hover {
  background: #224730;
  transform: scale(1.02);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent-cta);
  border: 1.5px solid var(--color-accent-cta);
}

.btn-outline:hover {
  background: var(--color-accent-cta);
  color: var(--color-white);
}

/* ─── IMAGE PLACEHOLDERS (shown until real photos are uploaded) ─ */
.hero-image > div,
.about-image > div {
  background: linear-gradient(145deg, #2D3B32 0%, #1E2E25 40%, #162219 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image > div::after {
  content: 'Dr. Rohini Narain';
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-image > div {
  background: linear-gradient(145deg, #E8E3DA 0%, #D5CCBC 100%);
  min-height: 600px;
}

.about-image > div::after {
  content: 'Photo coming soon';
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(26,26,24,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── HERO SECTION ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-content {
  padding: 120px clamp(20px, 5vw, 80px) 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
  display: block;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(16px, 1.1vw, 19px);
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 16px;
  line-height: 1.65;
}

.hero-micro {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 44px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.1s linear;
  filter: sepia(8%) saturate(90%);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,24,0.6) 0%, transparent 50%);
}

/* ─── LOGO ───────────────────────────────────────────────────── */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-white);
}

.logo-icon { flex-shrink: 0; transition: transform 0.3s ease; }
.site-logo:hover .logo-icon { transform: rotate(15deg); }

.logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-white);
  line-height: 1.2;
}

/* On scrolled header (light background) — darken logo text */
.site-header.scrolled .logo-text { color: var(--color-dark); }
.site-header.scrolled .logo-icon circle,
.site-header.scrolled .logo-icon path,
.site-header.scrolled .logo-icon line { stroke: var(--color-accent); }

/* ─── NAV CTA BUTTON ─────────────────────────────────────────── */
.nav-cta {
  padding: 10px 20px !important;
  font-size: 13px !important;
}

/* ─── SCROLL PROGRESS BAR ────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--color-accent);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ─── PROBLEM SECTION ────────────────────────────────────────── */
.section-problem {
  background: var(--color-bg);
  text-align: center;
}

.section-problem h2 {
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-problem p {
  max-width: 620px;
  margin: 0 auto 20px;
  font-size: 18px;
}

.section-problem .divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin: 40px auto;
}

/* ─── PILLAR CARD IMAGE ─────────────────────────────────────── */
.pillar-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: 1px;
}

.pillar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  filter: saturate(85%) brightness(95%);
}

.pillar-card:hover .pillar-img-wrap img {
  transform: scale(1.04);
}

/* ─── PILLARS SECTION ────────────────────────────────────────── */
.section-pillars { background: var(--color-white); }

.section-pillars h2 {
  text-align: center;
  margin-bottom: 16px;
}

.pillars-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 60px;
  font-size: 16px;
  color: var(--color-slate);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pillar-card {
  background: var(--color-bg);
  padding: 44px 36px;
  border: 1px solid var(--color-divider);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,26,24,0.08);
  border-color: var(--color-accent);
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 300;
  color: rgba(61, 107, 79, 0.25);
  line-height: 1;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 18px;
  color: var(--color-accent);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pillar-headline {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.pillar-body { font-size: 15px; line-height: 1.7; }

/* ─── CONDITIONS SECTION ──────────────────────────────────────── */
.section-conditions {
  background: var(--color-dark);
  color: var(--color-white);
}

.section-conditions h2 { color: var(--color-white); margin-bottom: 16px; }
.section-conditions .section-intro { color: rgba(255,255,255,0.6); margin-bottom: 52px; }

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.condition-item {
  background: var(--color-dark);
  padding: 28px 24px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  border-left: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.condition-item:hover {
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* ─── ABOUT SECTION ──────────────────────────────────────────── */
.section-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background: var(--color-bg);
}

.about-image {
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: sepia(5%) saturate(85%);
}

.about-content {
  padding: clamp(60px, 8vw, 100px) clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 { margin-bottom: 28px; }
.about-content p { margin-bottom: 20px; }

.credential-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 6px 12px;
  margin-bottom: 28px;
  border-radius: 1px;
}

/* ─── BOOKING CTA SECTION ────────────────────────────────────── */
.section-booking {
  background: var(--color-accent-cta);
  padding: clamp(80px, 10vw, 120px) 0;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.booking-left h2 { color: var(--color-white); margin-bottom: 20px; }
.booking-left p  { color: rgba(255,255,255,0.75); margin-bottom: 32px; font-size: 16px; }

.booking-or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.booking-or-divider::before,
.booking-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.booking-or-divider span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  color: var(--color-accent-cta);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 16px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.whatsapp-btn:hover {
  background: var(--color-bg);
  transform: scale(1.02);
  color: var(--color-accent-cta);
}

/* ─── CONTACT FORM ───────────────────────────────────────────── */
.contact-form-wrap {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 40px 36px;
  backdrop-filter: blur(8px);
}

.form-heading {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.cf7-row { margin-bottom: 20px; }

.wpcf7-form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 500;
}

.wpcf7-form .required { color: var(--color-accent); }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 1px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color: rgba(255,255,255,0.3); }

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
}

.wpcf7-form textarea { resize: vertical; min-height: 100px; }

.wpcf7-form input[type="submit"] {
  width: 100%;
  background: var(--color-white);
  color: var(--color-accent-cta);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 24px;
  border: none;
  cursor: pointer;
  border-radius: 1px;
  margin-top: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--color-bg);
  transform: scale(1.01);
}

.wpcf7-response-output {
  margin-top: 16px !important;
  padding: 12px 16px !important;
  border: none !important;
  font-size: 13px !important;
  border-radius: 1px !important;
}

.wpcf7-mail-sent-ok {
  background: rgba(61,107,79,0.3) !important;
  color: #a8d5b5 !important;
}

.wpcf7-validation-errors,
.wpcf7-spam-blocked {
  background: rgba(200,50,50,0.2) !important;
  color: #ffb3b3 !important;
}

.wpcf7-not-valid-tip {
  color: #ffb3b3 !important;
  font-size: 12px !important;
  margin-top: 4px !important;
}

/* Mobile booking layout */
@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.5);
}

.footer-main { padding: 72px 0 56px; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 56px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-white);
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-credential {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(61,107,79,0.4);
  padding: 5px 10px;
}

.footer-col-heading {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
}
.footer-col ul a:hover {
  color: var(--color-white);
  padding-left: 6px;
}

.footer-contact-text {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,107,79,0.2);
  border: 1px solid rgba(61,107,79,0.5);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 18px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer-wa-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
}

.footer-bottom {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-tagline-bottom {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════════════════════════════
   ANIMATION SYSTEM
   ════════════════════════════════════════════════════════════════ */

/* ─── PRELOADER ──────────────────────────────────────────────── */
body.loading { overflow: hidden; }

#rn-preloader {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

#rn-preloader.loaded {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-svg {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

/* SVG ring draws itself */
.loader-ring {
  stroke-dasharray: 214;
  stroke-dashoffset: 214;
  animation: drawRing 1s var(--ease-out) 0.1s forwards;
}

.loader-v,
.loader-h {
  stroke-dasharray: 52;
  stroke-dashoffset: 52;
}

.loader-v { animation: drawLine 0.5s ease 0.7s forwards; }
.loader-h { animation: drawLine 0.5s ease 0.85s forwards; }

.loader-dot {
  transform-origin: center;
  transform: scale(0);
  animation: popDot 0.3s var(--ease-out) 1s forwards;
}

@keyframes drawRing {
  to { stroke-dashoffset: 0; }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes popDot {
  to { transform: scale(1); }
}

.loader-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 300;
  color: var(--color-white);
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.5s forwards;
}

.loader-tagline {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0);
  margin-top: 8px;
  transition: color 0.6s ease;
}

.loader-tagline.visible {
  color: var(--color-accent);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SCROLL PROGRESS BAR ────────────────────────────────────── */
#scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 200;
  transition: transform 0.1s linear;
}

/* ─── HERO ENTRANCE ──────────────────────────────────────────── */
.hero-anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.hero-anim.hero-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.10s; }
[data-reveal-delay="2"] { transition-delay: 0.20s; }
[data-reveal-delay="3"] { transition-delay: 0.32s; }
[data-reveal-delay="4"] { transition-delay: 0.44s; }
[data-reveal-delay="5"] { transition-delay: 0.56s; }

/* ─── SPLIT TEXT ─────────────────────────────────────────────── */
[data-split] .sw {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) skewY(3deg);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

[data-split] .sw.sw-visible {
  opacity: 1;
  transform: translateY(0) skewY(0);
}

/* ─── CONDITION ITEMS STAGGER ────────────────────────────────── */
.condition-item {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.45s ease, transform 0.45s ease,
              border-color 0.3s ease, color 0.3s ease;
}

.condition-item.cond-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── MOBILE MENU LINK STAGGER ───────────────────────────────── */
.mobile-nav-links li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav-links li.mli-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── MOBILE RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 52vw 1fr;
    min-height: 100svh;
    background: var(--color-dark);
    align-items: start;
  }
  .hero-content {
    padding: 36px 24px 60px;
    order: 2;
  }
  .hero-image {
    display: block;
    height: 52vw;
    min-height: 220px;
    order: 1;
    width: 100%;
  }
  .hero-image img {
    height: 100%;
    object-position: top center;
  }
  .hero-image::after {
    background: linear-gradient(to bottom, transparent 50%, rgba(26,26,24,0.85) 100%);
  }
  .hero h1 { color: var(--color-white); }

  .pillars-grid { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: 1fr 1fr; }
  .section-about { grid-template-columns: 1fr; }
  .about-image { height: 360px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .conditions-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
}

/* ─── MOBILE MENU ────────────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-white);
  transition: all 0.3s ease;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
}

.mobile-nav-links li { margin-bottom: 32px; }

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: clamp(36px, 8vw, 60px);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover { color: var(--color-white); }

.mobile-overlay-number {
  margin-top: 48px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 300;
  color: var(--color-accent);
}

/* ─── WORDPRESS / GENERATEPRESS OVERRIDES ────────────────────── */
.wp-block-group { margin: 0; }
.entry-content p { font-size: inherit; }
a { color: var(--color-accent); }
a:hover { color: var(--color-accent-cta); }
img { max-width: 100%; height: auto; }

/* Hide GeneratePress default elements — we use our own */
.site-header .inside-header,
.main-navigation,
.nav-bar-items,
#site-navigation,
.page-hero-section,
.entry-header,
.page-title,
.breadcrumb-trail,
.sidebar-primary,
.inside-right-sidebar { display: none !important; }

/* Reset GeneratePress body padding that offsets our fixed header */
.site-content { padding-top: 0 !important; }
.inside-article { padding: 0 !important; }
.separate-containers .inside-article { padding: 0 !important; }
.entry-content { margin: 0 !important; padding: 0 !important; }

/* GeneratePress adds its own site-header — hide it, ours is in page template */
body:not(.admin-bar) .site-header { top: 0; }
.page-template-page-home .inside-header { display: none !important; }

/* Ensure our hero fills the screen edge to edge */
.page-template-page-home .content-area,
.page-template-page-home .site-content,
.page-template-page-home #primary { width: 100% !important; max-width: 100% !important; padding: 0 !important; float: none !important; }

/* Fix GeneratePress grid container */
.page-template-page-home .grid-container { max-width: 100% !important; padding: 0 !important; }
.page-template-page-home .site-main { margin: 0 !important; }

/* Hide GP footer — we have our own in footer.php */
.site-footer .inside-footer { display: none !important; }
