/* ===== THE KENDALL METHOD — Iris Kendall Fitness & Wellness ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #F8F6F3;
  --bg-card: #FFFFFF;
  --bg-elevated: #FDFCFB;
  --text: #1a1a1a;
  --text-secondary: #6b6b6b;
  --text-highlight: #2d2d2d;
  --accent: #E91E8C;
  --accent-hover: #C4007A;
  --accent-glow: rgba(233, 30, 140, 0.2);
  --border: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(233, 30, 140, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ===== AMBIENT BACKGROUND GRAPHICS ===== */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 600px at 15% 20%, rgba(233, 30, 140, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 85% 30%, rgba(233, 30, 140, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 700px 700px at 50% 70%, rgba(233, 30, 140, 0.035) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: ambient-drift 25s ease-in-out infinite alternate;
}

@keyframes ambient-drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, -20px) rotate(1deg); }
  100% { transform: translate(-20px, 15px) rotate(-1deg); }
}

body::after { display: none; }

/* Ensure content sits above background effects */
.hero, section, footer, .stats-bar {
  position: relative;
  z-index: 1;
}

/* Subtle grain texture overlay */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.font-heading {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
  line-height: 0.9;
}

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; overflow: hidden; }
.hero-mobile { display: flex; flex-direction: column; }
.hero-desktop { display: none; min-height: 100vh; }

.hero-image-wrap { position: relative; width: 100%; height: 55vh; overflow: hidden; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-gradient-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 7rem; background: linear-gradient(transparent, #F8F6F3); }

.hero-content { position: relative; z-index: 10; background: #F8F6F3; padding: 0.5rem 1.5rem 5rem; }

.hero-tag { display: inline-block; border: 1px solid var(--border-accent); padding: 0.25rem 0.75rem; margin-bottom: 0.75rem; }
.hero-tag span { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase; }

.hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; line-height: 0.9; letter-spacing: 0.05em; color: var(--text); }
.hero h1 .accent { color: var(--accent); }
.hero .subtitle { margin-top: 0.75rem; font-size: 1.15rem; color: var(--text-highlight); }
.hero .description { margin-top: 0.75rem; max-width: 32rem; font-size: 0.9rem; line-height: 1.7; color: var(--text-secondary); }

.hero-ctas { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #ffffff; padding: 1rem 2rem;
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.15em;
  border: none; cursor: pointer; transition: all 0.3s; text-decoration: none; font-weight: 700;
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 30px var(--accent-glow); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text); padding: 1rem 2rem;
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.15em;
  border: 2px solid rgba(0,0,0,0.15); cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ===== STATS BAR ===== */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #F1EDE8; padding: 2rem 1.5rem; }
.stats-grid { max-width: 72rem; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.stat { text-align: center; }
.stat-value { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--accent); }
.stat-label { margin-top: 0.25rem; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--text-secondary); text-transform: uppercase; }

/* ===== SECTIONS ===== */
section { padding: 6rem 1.5rem; }
.section-inner { max-width: 72rem; margin: 0 auto; }
.section-label { font-size: 0.75rem; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 0.95; letter-spacing: 0.05em; color: var(--text); margin-top: 0.5rem; }
.section-desc { margin-top: 1rem; max-width: 40rem; font-size: 1.05rem; line-height: 1.7; color: var(--text-secondary); }

/* ===== STORY ===== */
.story-grid { display: grid; gap: 3rem; }
.story-quote { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; line-height: 1.05; letter-spacing: 0.03em; color: var(--accent); }
.story-subquote { margin-top: 1rem; font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 0.05em; color: var(--text-highlight); }
.story-text p { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 1.5rem; }
.story-text p.lead { font-size: 1.1rem; font-weight: 500; color: var(--text); }
.story-text .pullquote { border-left: 2px solid var(--accent); padding-left: 1.5rem; font-style: italic; font-size: 1.1rem; color: var(--text); }

/* ===== FEATURES ===== */
.features-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
.feature-card { position: relative; overflow: hidden; border: 1px solid var(--border); background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); padding: 1.5rem; transition: all 0.3s; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.feature-card:hover { border-color: var(--border-accent); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); transition: width 0.5s; }
.feature-card:hover::before { width: 100%; }
.feature-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.05em; color: var(--text); }
.feature-card p { margin-top: 0.5rem; font-size: 0.85rem; line-height: 1.6; color: var(--text-secondary); }

/* ===== PRICING ===== */
.pricing-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
.price-card { border: 1px solid var(--border); background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); padding: 2rem; position: relative; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.price-card.featured { border-color: var(--accent); background: #FFFFFF; box-shadow: 0 4px 24px rgba(233, 30, 140, 0.1); }
.price-badge { position: absolute; top: -0.75rem; left: 1.5rem; background: var(--accent); color: #ffffff; font-family: 'Bebas Neue', sans-serif; font-size: 0.75rem; letter-spacing: 0.15em; padding: 0.25rem 0.75rem; }
.price-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.05em; color: var(--text); }
.price-amount { margin-top: 0.75rem; font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--text); }
.price-amount span { font-size: 1.2rem; color: var(--text-secondary); }
.price-period { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.25rem; }
.price-features { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.price-features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--text-secondary); }
.price-features li .check { color: var(--accent); flex-shrink: 0; }
.price-card .btn-primary { margin-top: 1.5rem; width: 100%; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
.testimonial-card { border: 1px solid var(--border); background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); padding: 1.5rem 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.testimonial-quote-mark { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: rgba(233, 30, 140, 0.4); margin-bottom: 0.75rem; }
.testimonial-card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-secondary); }
.testimonial-author { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.testimonial-author .name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.testimonial-author .role { font-size: 0.8rem; color: var(--text-secondary); }

/* ===== QUOTE BREAK ===== */
.quote-break { text-align: center; padding: 6rem 1.5rem; background: linear-gradient(var(--bg), #0f0808, var(--bg)); }
.quote-break blockquote { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; line-height: 1.1; letter-spacing: 0.03em; color: var(--text); }
.quote-break .accent { color: var(--accent); }
.quote-break cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: 1rem; color: var(--text-secondary); }

/* ===== FAQ ===== */
.faq-list { margin-top: 3rem; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; font-size: 1.05rem; font-weight: 500; color: var(--text); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { font-size: 1.5rem; color: var(--accent); margin-left: 1rem; transition: transform 0.3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item .faq-answer { padding-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.7; color: var(--text-secondary); }

/* ===== FINAL CTA ===== */
.final-cta { text-align: center; padding: 6rem 1.5rem; }
.final-cta h2 { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; letter-spacing: 0.05em; }
.final-cta .accent { color: var(--accent); }
.final-cta p { margin-top: 1.5rem; max-width: 36rem; margin-left: auto; margin-right: auto; font-size: 1.05rem; line-height: 1.7; color: var(--text-secondary); }
.final-cta-buttons { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }

footer { border-top: 1px solid var(--border); padding: 2rem 1.5rem; text-align: center; font-size: 0.8rem; color: var(--text-secondary); background: #F1EDE8; }

@keyframes cta-pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); } 50% { box-shadow: 0 0 20px 4px var(--accent-glow); } }
.btn-primary { animation: cta-pulse 3s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.scroll-arrow { animation: bounce 2s infinite; }

/* ===== WINTER BREAK ===== */
.winter-break {
  display: flex;
  flex-direction: column;
}
.winter-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(var(--bg), #0f0d0d, var(--bg));
}
.winter-image {
  position: relative;
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
}
.winter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

@media (min-width: 768px) {
  .winter-break {
    flex-direction: row;
    min-height: 70vh;
  }
  .winter-quote {
    width: 45%;
    padding: 4rem 3rem;
    text-align: left;
    align-items: flex-start;
  }
  .winter-image {
    width: 55%;
    max-height: none;
  }
  .winter-image img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-position: center 20%;
  }
}

@media (min-width: 640px) {
  .stats-grid { justify-content: space-between; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .final-cta-buttons { flex-direction: row; justify-content: center; }
}

@media (min-width: 768px) {
  .hero-mobile { display: none; }
  .hero-desktop { display: flex; align-items: stretch; }
  .hero-desktop .hero-left { width: 50%; display: flex; flex-direction: column; justify-content: center; padding: 3rem 3rem 3rem 5rem; }
  .hero-desktop .hero-right { width: 50%; position: relative; }
  .hero-desktop .hero-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .hero-desktop .hero-gradient-left { position: absolute; top: 0; bottom: 0; left: 0; width: 8rem; background: linear-gradient(to right, #F8F6F3, transparent); }
  .hero-desktop .hero-gradient-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 8rem; background: linear-gradient(transparent, #F8F6F3); }
  .hero h1 { font-size: 4rem; }
  .hero .subtitle { font-size: 1.3rem; }
  .hero-ctas { flex-direction: row; }
  .story-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .section-title { font-size: 4rem; }
  .story-quote { font-size: 3.5rem; }
  .quote-break blockquote { font-size: 4rem; }
  .final-cta h2 { font-size: 4.5rem; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .hero-desktop .hero-left { padding: 4rem 4rem 4rem 7rem; }
  .hero h1 { font-size: 5rem; }
}
