/* ==========================================================================
   HH Helpline - hhhelpline.website
   Style: Luxury Retreat (#7) | Architecture: Full-Screen Sections (#8)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Lato:wght@300;400;700&display=swap');

:root {
  --color-primary: #2C3E50;
  --color-secondary: #8B7355;
  --color-accent: #D4AF37;
  --color-text: #1A1A1A;
  --color-text-light: #555;
  --color-bg: #FAF8F5;
  --color-bg-white: #FFFFFF;
  --color-gold-light: rgba(212,175,55,0.15);
  --color-overlay: rgba(44,62,80,0.65);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --shadow-elegant: 0 4px 24px rgba(44,62,80,0.10);
  --shadow-card: 0 2px 16px rgba(44,62,80,0.08);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-snap-type: y proximity; }
body {
  font-family: var(--font-body); color: var(--color-text); background: var(--color-bg);
  line-height: 1.7; font-weight: 400; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-secondary); }
ul, ol { list-style: none; }

.skip-nav {
  position: absolute; top: -100%; left: 0; background: var(--color-primary);
  color: #fff; padding: 12px 24px; z-index: 10000; font-size: 14px;
}
.skip-nav:focus { top: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: 400; color: var(--color-primary); line-height: 1.25;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { margin-bottom: 1rem; max-width: 72ch; }

.gold-line { display: block; width: 60px; height: 2px; background: var(--color-accent); margin: 16px 0 24px; }
.gold-line--center { margin-left: auto; margin-right: auto; }

/* --- Header --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 40px; display: flex; align-items: center; justify-content: space-between;
  background: transparent; transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97); padding: 10px 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.site-header.scrolled .header__logo { color: var(--color-primary); }
.site-header.scrolled .header__nav a { color: var(--color-text); }
.site-header.scrolled .header__nav a:hover { color: var(--color-accent); }
.site-header.scrolled .header__phone { color: var(--color-primary); }

.header__logo {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600;
  color: #fff; letter-spacing: 0.03em;
}
.header__logo span { color: var(--color-accent); }

.header__nav { display: flex; align-items: center; gap: 32px; }
.header__nav a {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 400;
  color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.12em;
  position: relative; padding-bottom: 2px;
}
.header__nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--color-accent); transition: width 0.3s;
}
.header__nav a:hover::after, .header__nav a.active::after { width: 100%; }

.header__phone {
  font-family: var(--font-body); font-weight: 700; color: #fff;
  font-size: 0.95rem; letter-spacing: 0.05em;
}
.header__phone:hover { color: var(--color-accent); }

.header__cta {
  background: var(--color-accent); color: var(--color-primary); font-weight: 700;
  padding: 10px 24px; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.1em; border: none; cursor: pointer; transition: var(--transition);
  display: inline-block;
}
.header__cta:hover { background: #c9a030; color: #fff; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: var(--transition); }
.site-header.scrolled .hamburger span { background: var(--color-primary); }

/* --- Full-Screen Section --- */
.fs-section {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; scroll-snap-align: start;
}

/* --- Hero --- */
.hero { background-size: cover; background-position: center; background-attachment: fixed; text-align: center; color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,62,80,0.55) 0%, rgba(44,62,80,0.75) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 800px; padding: 0 24px; }
.hero__subtitle {
  font-family: var(--font-body); font-size: 1rem; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--color-accent); margin-bottom: 16px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__desc { font-size: 1.1rem; line-height: 1.8; opacity: 0.92; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 14px 36px; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; transition: var(--transition);
  cursor: pointer; border: none; font-family: var(--font-body);
}
.btn--gold { background: var(--color-accent); color: var(--color-primary); }
.btn--gold:hover { background: #c9a030; color: #fff; }
.btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: #1a2a38; }

/* --- Trust Bar --- */
.trust-bar { background: var(--color-primary); padding: 24px 40px; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-bar__item { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.9); font-size: 0.9rem; letter-spacing: 0.05em; }
.trust-bar__icon { color: var(--color-accent); font-size: 1.4rem; }

/* --- Section Helpers --- */
.section-inner { max-width: 1200px; width: 100%; margin: 0 auto; padding: 100px 40px; }
.section-inner--narrow { max-width: 900px; }
.text-center { text-align: center; }
.section-bg-white { background: var(--color-bg-white); }
.section-bg-cream { background: var(--color-bg); }

/* --- Cards --- */
.cards-grid { display: grid; gap: 32px; margin-top: 48px; }
.cards-grid--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cards-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards-grid--2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

.card {
  background: var(--color-bg-white); padding: 40px 32px;
  border: 1px solid rgba(139,115,85,0.12); transition: var(--transition); position: relative;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--color-accent); transform: scaleX(0); transition: transform 0.4s; transform-origin: left;
}
.card:hover { box-shadow: var(--shadow-elegant); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }
.card__icon { font-size: 2.4rem; color: var(--color-accent); margin-bottom: 20px; display: block; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; color: var(--color-text-light); }

.img-card { background: var(--color-bg-white); overflow: hidden; border: 1px solid rgba(139,115,85,0.08); transition: var(--transition); }
.img-card:hover { box-shadow: var(--shadow-elegant); transform: translateY(-4px); }
.img-card__img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.6s; }
.img-card:hover .img-card__img { transform: scale(1.05); }
.img-card__body { padding: 28px 24px; }
.img-card__body h3 { margin-bottom: 8px; font-size: 1.3rem; }
.img-card__body p { font-size: 0.9rem; color: var(--color-text-light); }

/* --- Gallery --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; }
.gallery-grid__item { overflow: hidden; position: relative; border: 1px solid rgba(139,115,85,0.08); }
.gallery-grid__item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.6s; }
.gallery-grid__item:hover img { transform: scale(1.08); }
.gallery-grid__caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  background: linear-gradient(transparent, rgba(44,62,80,0.8));
  color: #fff; font-size: 0.85rem; letter-spacing: 0.05em;
  transform: translateY(100%); transition: transform 0.4s;
}
.gallery-grid__item:hover .gallery-grid__caption { transform: translateY(0); }

/* --- Testimonials --- */
.testimonial {
  background: var(--color-bg-white); padding: 48px 40px; border-left: 3px solid var(--color-accent);
  margin-bottom: 32px; position: relative;
}
.testimonial::before {
  content: '\201C'; font-family: var(--font-heading); font-size: 4rem;
  color: var(--color-accent); opacity: 0.3; position: absolute; top: 16px; left: 20px;
}
.testimonial__text { font-size: 1.05rem; line-height: 1.8; font-style: italic; color: var(--color-text); margin-bottom: 16px; }
.testimonial__author { font-weight: 700; color: var(--color-primary); font-size: 0.9rem; }
.testimonial__program { color: var(--color-secondary); font-size: 0.85rem; }

/* --- Stats --- */
.stats-bar { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; padding: 48px 24px; }
.stat { text-align: center; }
.stat__number { font-family: var(--font-heading); font-size: 3rem; font-weight: 300; color: var(--color-accent); display: block; }
.stat__label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-text-light); margin-top: 4px; }

/* --- CTA Section --- */
.cta-section { background-size: cover; background-position: center; text-align: center; color: #fff; position: relative; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: rgba(44,62,80,0.8); }
.cta-section .section-inner { position: relative; z-index: 2; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); margin: 0 auto 32px; max-width: 600px; }
.cta-section .phone-big {
  font-family: var(--font-heading); font-size: 2.4rem; color: var(--color-accent);
  display: block; margin-bottom: 24px; font-weight: 300; letter-spacing: 0.05em;
}

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid rgba(139,115,85,0.15); }
.faq-question {
  width: 100%; background: none; border: none; padding: 24px 40px 24px 0;
  font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-primary);
  cursor: pointer; text-align: left; position: relative; transition: var(--transition); font-weight: 600;
}
.faq-question::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-accent); transition: transform 0.3s; font-weight: 300;
}
.faq-question.active::after { content: '\2212'; }
.faq-question:hover { color: var(--color-accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s; }
.faq-answer.open { max-height: 600px; padding: 0 0 24px; }
.faq-answer p { font-size: 0.95rem; color: var(--color-text-light); line-height: 1.8; }

/* --- Steps --- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 48px; counter-reset: step; }
.step { text-align: center; padding: 32px 20px; position: relative; counter-increment: step; }
.step::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border: 2px solid var(--color-accent);
  font-family: var(--font-heading); font-size: 1.4rem; color: var(--color-accent);
  margin: 0 auto 20px; font-weight: 300;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--color-text-light); }

/* --- Contact --- */
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 40px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-accent); color: var(--color-accent); font-size: 1.2rem; flex-shrink: 0;
}
.contact-info__text h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-info__text p { font-size: 0.9rem; color: var(--color-text-light); margin-bottom: 0; }
.contact-info__text a { color: var(--color-accent); }

.map-container { width: 100%; margin-top: 40px; border: 1px solid rgba(139,115,85,0.12); }
.map-container iframe { width: 100%; height: 450px; display: block; }

/* --- Insurance --- */
.insurance-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.insurance-badge {
  background: var(--color-bg-white); border: 1px solid rgba(139,115,85,0.15);
  padding: 12px 24px; font-size: 0.9rem; color: var(--color-text); transition: var(--transition);
}
.insurance-badge:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* --- Blog --- */
.blog-card { background: var(--color-bg-white); overflow: hidden; border: 1px solid rgba(139,115,85,0.08); transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-elegant); transform: translateY(-4px); }
.blog-card__img { width: 100%; height: 200px; object-fit: cover; }
.blog-card__body { padding: 24px; }
.blog-card__category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-accent); font-weight: 700; margin-bottom: 8px; display: block; }
.blog-card__body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.blog-card__body p { font-size: 0.88rem; color: var(--color-text-light); }
.blog-card__date { font-size: 0.8rem; color: var(--color-secondary); margin-top: 12px; display: block; }

/* --- Dot Nav --- */
.dot-nav { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.dot-nav__dot {
  width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--color-secondary);
  background: transparent; cursor: pointer; transition: var(--transition); padding: 0;
}
.dot-nav__dot.active { background: var(--color-accent); border-color: var(--color-accent); transform: scale(1.3); }
.dot-nav__dot:hover { border-color: var(--color-accent); }

/* --- Progress Bar --- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--color-accent); z-index: 1001; width: 0; transition: width 0.15s; }

/* --- Footer --- */
.site-footer { background: var(--color-primary); color: rgba(255,255,255,0.8); padding: 72px 40px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { font-family: var(--font-heading); color: #fff; font-size: 1.1rem; margin-bottom: 20px; font-weight: 400; }
.footer-col p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.7); }
.footer-col a { display: block; color: rgba(255,255,255,0.7); font-size: 0.88rem; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--color-accent); padding-left: 4px; }
.footer__brand { font-family: var(--font-heading); font-size: 1.4rem; color: #fff; margin-bottom: 16px; display: block; }
.footer__brand span { color: var(--color-accent); }
.footer-bottom {
  max-width: 1200px; margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 16px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--color-accent); }

/* --- Inner Page Hero --- */
.page-hero {
  min-height: 50vh; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; position: relative; text-align: center; color: #fff;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,62,80,0.6) 0%, rgba(44,62,80,0.8) 100%); }
.page-hero__content { position: relative; z-index: 2; padding: 0 24px; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- Two Col --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
.two-col img { width: 100%; height: 400px; object-fit: cover; border: 1px solid rgba(139,115,85,0.08); }

/* --- Schedule Table --- */
.schedule-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.schedule-table th, .schedule-table td { padding: 14px 20px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid rgba(139,115,85,0.12); }
.schedule-table th { font-family: var(--font-heading); color: var(--color-primary); font-weight: 600; font-size: 0.95rem; }
.schedule-table tr:hover { background: var(--color-gold-light); }

/* --- Modality Tags --- */
.modality-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.modality-tag { padding: 8px 20px; border: 1px solid var(--color-accent); font-size: 0.85rem; color: var(--color-primary); transition: var(--transition); }
.modality-tag:hover { background: var(--color-accent); color: #fff; }

/* --- Substance List --- */
.substance-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.substance-list li { padding: 12px 16px; background: var(--color-bg); font-size: 0.9rem; border-left: 3px solid var(--color-accent); }

/* --- Legal / Privacy --- */
.legal-content { max-width: 800px; margin: 0 auto; padding: 140px 40px 80px; }
.legal-content h1 { margin-bottom: 8px; }
.legal-content .effective-date { color: var(--color-secondary); font-size: 0.9rem; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 12px; }
.legal-content p, .legal-content li { font-size: 0.95rem; color: var(--color-text-light); }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content li { list-style: disc; margin-bottom: 6px; }

/* --- Breadcrumbs --- */
.breadcrumbs { font-size: 0.8rem; color: var(--color-text-light); padding: 0 0 24px; }
.breadcrumbs a { color: var(--color-secondary); }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs span { margin: 0 8px; }

/* --- Mobile Nav --- */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,62,80,0.98); z-index: 999; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-heading); font-size: 1.8rem; color: #fff; font-weight: 300; letter-spacing: 0.05em; }
.mobile-nav a:hover { color: var(--color-accent); }
.mobile-nav__close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col--reverse { direction: ltr; }
  .stats-bar { gap: 32px; }
}

@media (max-width: 768px) {
  .site-header { padding: 12px 20px; }
  .site-header.scrolled { padding: 10px 20px; }
  .header__nav, .header__phone, .header__cta { display: none; }
  .hamburger { display: flex; }
  .section-inner { padding: 60px 20px; }
  .hero__content { padding: 0 16px; }
  .trust-bar { gap: 24px; padding: 20px; }
  .trust-bar__item { font-size: 0.8rem; }
  .cards-grid--4, .cards-grid--3, .cards-grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .dot-nav { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .page-hero { min-height: 40vh; }
  .legal-content { padding: 120px 20px 60px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__buttons { flex-direction: column; align-items: center; }
  .stats-bar { gap: 24px; }
  .stat__number { font-size: 2.4rem; }
}
