/* =======================================================================
   HOME.CSS — PAGE-SPECIFIC STYLES FOR INDEX.HTML
   ======================================================================= */

/* --------------------------
   SECTION UTILITIES (Home-specific)
-------------------------- */
section { padding: 75px 0; }

.section-kicker {
  text-align: center;
  text-transform: uppercase;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--primary);
  margin-bottom: 6px;
}

.section-title {
  text-align: center;
  font-size: 2.15rem;
  margin: 0 0 22px;
}

.section-intro {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 680px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* --------------------------
   HERO SECTION
-------------------------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
}

.hero-content {
  position: relative;
  max-width: 600px;
  padding: 60px 0;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
  color: #e5e7eb;
  margin-bottom: 8px;
  font-weight: 600;
}

.hero-subtitle {
  color: #e5e7eb;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-badge {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  padding: 4px 12px;
  font-size: .85rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-note {
  color: #e5e7eb;
  margin-top: 10px;
  font-size: .95rem;
}

.hero-trust {
  margin-top: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
}

/* --------------------------
   HOW WE HELP SECTION
-------------------------- */
.how-help-section { background: var(--bg-section); }

.how-help-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 45px;
}

.how-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: .25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.how-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-help-cta {
  text-align: center;
  margin-top: 40px;
}

/* --------------------------
   BOOK SECTION
-------------------------- */
.book-section { 
  background: #f9fafb; 
  padding: 80px 20px;
}

.book-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.book-cover-wrap {
  text-align: center;
}

.book-cover-large {
  max-width: 280px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  margin: 0 auto;
}

.book-content {
  text-align: left;
}

.book-content .section-kicker {
  text-align: left;
}

.book-content .section-title {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 16px;
}

.book-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.book-benefits {
  margin: 20px 0 28px;
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

.book-benefits li {
  margin-bottom: 10px;
  position: relative;
}

.book-benefits li::marker {
  color: var(--primary);
}

.author-mini-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.author-mini {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
}

.author-mini-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.author-mini-text strong {
  color: var(--text-main);
}

@media (max-width: 768px) {
  .book-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .book-cover-large {
    max-width: 220px;
  }
  
  .book-content {
    text-align: center;
  }
  
  .book-content .section-kicker,
  .book-content .section-title {
    text-align: center;
  }
  
  .book-benefits {
    text-align: left;
    display: inline-block;
  }
  
  .author-mini-block {
    justify-content: center;
  }
}

/* --------------------------
   SERVICES (WHOLE-PERSON CARE)
-------------------------- */
.enhanced-services { background: #ffffff; }

.services-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.services-list {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
}

.services-list li {
  font-size: 1rem;
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
  color: var(--text-muted);
}

.services-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

/* --------------------------
   COMMUNITY SECTION
-------------------------- */
.community-section { background: var(--bg-section); }

.community-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.community-highlight {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

/* --------------------------
   HEALING ROOM SECTION
-------------------------- */
.healing-room-card-body {
  padding: 20px;
  color: var(--text-main);
  font-size: .95rem;
}

.healing-room-card-body ul {
  padding-left: 20px;
  color: var(--text-muted);
}

.healing-room-card-body li {
  margin-bottom: 6px;
}

.healing-room-subtext {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: .9rem;
}

/* --------------------------
   ABOUT SECTION
-------------------------- */
.about-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-highlight {
  background: #ffffff;
  padding: 18px;
  border-left: 4px solid var(--primary);
  margin: 20px 0;
  color: var(--text-main);
  font-size: 1rem;
}

.about-secondary {
  margin-top: 20px;
  color: var(--text-muted);
}

.about-list {
  padding-left: 20px;
  margin: 16px 0;
  color: var(--text-muted);
}

.about-list li {
  margin-bottom: 8px;
}

/* --------------------------
   TEAM SECTION
-------------------------- */
.team-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

/* --------------------------
   NUTRITION SECTION
-------------------------- */
.nutrition-section { background: var(--bg-section); }

/* --------------------------
   FAQ SECTION
-------------------------- */
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 18px 24px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  background: #f3f4f6;
  border-radius: 12px 12px 0 0;
}

.faq-item .faq-toggle {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

details.faq-item .faq-answer {
  max-height: none;
  padding: 20px 24px;
  border-left: 3px solid var(--primary);
  background: #f9fafb;
  margin: 0;
  border-radius: 0 0 12px 12px;
}

.faq-cta-note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: .9rem;
}

/* --------------------------
   PAYMENT SECTION
-------------------------- */
.payment-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.payment-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px;
}

.payment-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.payment-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-align: center;
}

/* --------------------------
   REVIEWS SECTION
-------------------------- */
.review-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  font-size: .95rem;
  line-height: 1.55;
}

.review-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.review-author {
  font-weight: 600;
  margin-top: 10px;
  color: var(--text-main);
}

.review-source {
  color: var(--text-muted);
  font-size: .85rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

/* --------------------------
   LOCATION & HOURS SECTION
-------------------------- */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  color: var(--text-main);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: .97rem;
}

.location-note {
  margin-top: 10px;
  color: var(--text-muted);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

/* --------------------------
   CONDITIONS LIST
-------------------------- */
.conditions-list {
  padding-left: 20px;
  columns: 2;
  column-gap: 40px;
  line-height: 1.6;
}

.conditions-list li {
  margin-bottom: 6px;
}

/* --------------------------
   HEADER SCROLL STATE
-------------------------- */
.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* =======================================================================
   MOBILE RESPONSIVE STYLES
   ======================================================================= */

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
  section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .services-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-image {
    order: -1;
  }
  
  .community-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Mobile devices (768px and below) */
@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  .container {
    padding: 0 16px;
  }
  
  /* Hero Mobile */
  .hero {
    min-height: 85vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 40px 16px;
    max-width: 100%;
  }
  
  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 3px 10px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .hero-buttons a {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 14px 20px;
  }
  
  .hero-note {
    font-size: 0.85rem;
    text-align: center;
  }
  
  .hero-trust {
    font-size: 0.9rem;
    text-align: center;
  }
  
  /* Section Titles Mobile */
  .section-kicker {
    font-size: 0.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .section-intro {
    font-size: 0.95rem;
  }
  
  /* How We Help Mobile */
  .how-help-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .how-card {
    padding: 24px 20px;
  }
  
  .how-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Book Section Mobile */
  .book-section {
    padding: 50px 16px;
  }
  
  .book-inner {
    gap: 30px;
  }
  
  .book-cover-large {
    max-width: 180px;
  }
  
  .book-content .section-title {
    font-size: 1.4rem;
  }
  
  .book-description {
    font-size: 0.95rem;
  }
  
  .book-benefits {
    font-size: 0.9rem;
    padding-left: 18px;
  }
  
  .author-mini-block {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  /* Services Mobile */
  .services-inner {
    text-align: center;
  }
  
  .services-list li {
    text-align: left;
  }
  
  /* Team Section Mobile */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .team-member img {
    height: 140px;
  }
  
  .team-member h3 {
    font-size: 0.9rem;
  }
  
  .team-title {
    font-size: 0.7rem;
  }
  
  .team-member p {
    font-size: 0.8rem;
  }
  
  /* Payment & Reviews Mobile */
  .payment-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* FAQ Mobile */
  .faq-item summary {
    font-size: 0.95rem;
    padding: 16px;
  }
  
  .faq-answer {
    font-size: 0.9rem;
    padding: 0 16px 16px;
  }
  
  /* Location Mobile */
  .location-grid {
    text-align: center;
  }
  
  .hours-list li {
    font-size: 0.9rem;
  }
  
  .map-placeholder iframe {
    min-height: 280px;
  }
  
  /* Conditions List Mobile */
  .conditions-list {
    columns: 1;
  }
  
  /* Video Section Mobile */
  .section[style*="background: #f8fafc"] h2 {
    font-size: 1.5rem !important;
  }
  
  .section[style*="background: #f8fafc"] p {
    font-size: 0.95rem !important;
  }
  
  /* Trust Bar Mobile Fix */
  section[style*="border-bottom: 1px solid #e5e7eb"] > .container > div {
    gap: 20px !important;
  }
  
  section[style*="border-bottom: 1px solid #e5e7eb"] > .container > div > div {
    flex: 1 1 140px;
    min-width: 140px;
  }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 40px;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  /* Trust Bar - Stack vertically on very small screens */
  section[style*="border-bottom: 1px solid #e5e7eb"] > .container > div {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  section[style*="border-bottom: 1px solid #e5e7eb"] > .container > div > div,
  section[style*="border-bottom: 1px solid #e5e7eb"] > .container > div > div > a {
    justify-content: center !important;
  }
  
  .hero-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons a {
    font-size: 0.9rem;
    padding: 12px 16px;
  }
  
  .section-title {
    font-size: 1.35rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .team-member img {
    height: 180px;
  }
  
  .book-cover-large {
    max-width: 150px;
  }
  
  .author-mini {
    width: 50px;
    height: 50px;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .how-card:hover,
  .benefit-card:hover {
    transform: none;
  }
  
  a, button {
    min-height: 44px;
    min-width: 44px;
  }
  
  .hero-buttons a {
    padding: 16px 24px;
  }
}
