/* ===== BARROW WELLNESS — STYLES.CSS ===== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --orange:        #E8621A;
  --orange-light:  #F4874A;
  --orange-pale:   #FDF0E8;
  --brown:         #5C3D2E;
  --brown-light:   #8B6355;
  --red:           #C0392B;
  --red-soft:      #E05A4B;
  --white:         #FFFFFF;
  --cream:         #FBF7F4;
  --text-dark:     #2C1A12;
  --text-mid:      #5C3D2E;
  --text-muted:    #A07868;
  --border:        rgba(92,61,46,0.15);
  --shadow-warm:   0 8px 40px rgba(232,98,26,0.12);
  --shadow-card:   0 4px 24px rgba(44,26,18,0.10);
  --radius:        16px;
  --radius-sm:     8px;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }

/* ===== UTILITIES ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-pale);
  border: 1px solid rgba(232,98,26,0.22);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  padding: 15px 34px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232,98,26,0.35);
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,98,26,0.45);
}

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

.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(251,247,244,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-card); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
}
.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }

.nav-cta { font-size: 0.88rem; padding: 11px 26px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FBF7F4 0%, #FDF0E8 50%, #FBF7F4 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #F4874A 0%, transparent 70%);
  top: -150px; right: -150px;
  animation: floatBlob 8s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #C0392B 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: floatBlob 10s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}
.eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.eyebrow-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero h1 em {
  font-style: italic;
  color: var(--orange);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-trust {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeUp 0.8s 0.4s ease both;
}
.trust-dots {
  display: flex;
  gap: -6px;
}
.trust-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: linear-gradient(135deg, var(--orange-light), var(--brown-light));
  margin-right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
}
.trust-text {
  font-size: 0.88rem;
  color: var(--text-mid);
}
.trust-text strong { color: var(--orange); }

/* ===== EMPATHY SECTION ===== */
.empathy {
  padding: 100px 0;
  background: var(--brown);
  position: relative;
  overflow: hidden;
}
.empathy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.empathy-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.empathy-left .section-tag { background: rgba(244,135,74,0.15); border-color: rgba(244,135,74,0.3); }

.empathy h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 20px;
}
.empathy h2 em { color: var(--orange-light); font-style: italic; }

.empathy-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.empathy-close {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}

.pain-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pain-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: background 0.25s;
}
.pain-card:hover { background: rgba(255,255,255,0.1); }

.pain-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(232,98,26,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.pain-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.empathy-verdict {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 0;
  background: var(--cream);
}

.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}
.pricing-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 12px;
}
.pricing-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto 40px;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 2px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.price-card.featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-warm);
}
.price-card.featured:hover { box-shadow: 0 12px 48px rgba(232,98,26,0.22); }

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-plan {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--orange);
  font-family: var(--font-display);
}
.price-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--orange);
  font-family: var(--font-display);
  line-height: 1;
}
.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.price-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.price-desc strong {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--brown);
  font-size: 0.98rem;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(232,98,26,0.12);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-footnote {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-mid);
  font-family: var(--font-display);
  font-style: italic;
  padding: 24px;
  background: var(--orange-pale);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--orange);
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 12px;
}
.faq-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: var(--orange); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s;
}
.faq-item.open .faq-question { color: var(--orange); }

.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--orange-pale);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.faq-cta {
  margin-top: 56px;
  text-align: center;
  padding: 48px 36px;
  background: linear-gradient(135deg, var(--orange-pale), #FFF7F2);
  border-radius: var(--radius);
  border: 1.5px solid rgba(232,98,26,0.18);
}
.faq-cta h3 {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.faq-cta p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 28px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { font-size: 1.6rem; }
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  max-width: 220px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: var(--orange-light); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 200;          /* above navbar z-index:100 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--orange-pale);
  border: 1.5px solid rgba(232,98,26,0.2);
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 201;          /* always on top within overlay */
}
.mobile-close:hover {
  background: var(--orange);
  color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .empathy-inner { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .price-card.featured { order: 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 110px 0 70px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .empathy, .pricing, .faq { padding: 72px 0; }
}
