/* =========================================================
   BTC HUNTER TEA — PAGE LAYOUTS
   ========================================================= */

/* ================= HOME HERO ================= */
.home-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 80px; overflow: hidden; background: var(--tea-950);
  color: var(--white);
}
.home-hero .hh-bg {
  position: absolute; inset: 0; z-index: 0;
}
.home-hero .hh-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.home-hero .hh-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,36,25,.88) 0%, rgba(14,36,25,.78) 45%, rgba(14,36,25,.96) 100%);
}
.home-hero .hh-blob {
  position: absolute; width: 640px; height: 640px; border-radius: 50%; z-index: 1;
  background: conic-gradient(from 90deg, var(--gold-500), var(--tea-700), var(--leaf-500), var(--gold-500));
  filter: blur(120px); opacity: .35; top: -220px; right: -180px;
  animation: infuse 12s ease-in-out infinite;
  background-size: 200% 200%;
}
.home-hero .hh-leaf { position: absolute; z-index: 1; color: var(--leaf-400); opacity: .4; }
.home-hero .hh-leaf svg { width: 100%; height: 100%; }
.home-hero .container { position: relative; z-index: 3; }
.home-hero .hh-grid { display: grid; gap: 50px; align-items: center; }
@media (min-width: 980px) { .home-hero .hh-grid { grid-template-columns: 1.1fr 0.9fr; } }

.home-hero h1 { color: var(--white); margin-top: 18px; }
.home-hero h1 .hl { color: var(--gold-300, var(--gold-200)); }
.home-hero .hh-sub { margin-top: 22px; max-width: 480px; color: rgba(247,241,226,.82); }
.home-hero .hh-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.home-hero .hh-trust { display: flex; align-items: center; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.home-hero .hh-trust .stat-num { font-size: 1.7rem; }

.hh-cup {
  position: relative; width: min(360px, 84vw); margin: 0 auto; aspect-ratio: 1/1.02;
}
.hh-cup img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0,0,0,.4)); }
.hh-steam { position: absolute; top: -10px; left: 46%; width: 3px; height: 60px; }
.hh-steam span { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(255,255,255,.7), transparent); border-radius: 999px; animation: steamRise 3.2s ease-in infinite; }
.hh-steam span:nth-child(2) { left: 14px; animation-delay: 1s; }
.hh-steam span:nth-child(3) { left: -14px; animation-delay: 2s; }
.hh-orbit { position: absolute; inset: -30px; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; animation: spinSlow 40s linear infinite; }
.hh-orbit-dot { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 6px rgba(223,182,94,.18); }
.hh-scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3; color: rgba(247,241,226,.6); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.hh-scroll-cue .cue-line { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: floatY 2s ease-in-out infinite; }

/* ================= Marquee strip ================= */
.marquee-strip { background: var(--cream-100); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 26s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tea-700); display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.marquee-track span::after { content: '•'; color: var(--gold-500); }

/* ================= Story split ================= */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split-media .sm-card {
  position: absolute; left: -20px; bottom: -20px; background: var(--white); border-radius: var(--radius-md);
  padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; max-width: 240px;
}
@media (max-width: 480px) { .split-media .sm-card { left: 10px; bottom: 10px; } }
.split-media .sm-card .smc-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--tea-tint); color: var(--tea-800); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.split-media .sm-card .smc-icon svg { width: 20px; height: 20px; }
.split-media .sm-card strong { display: block; font-family: var(--font-display); color: var(--tea-900); font-size: 1.02rem; }
.split-media .sm-card span { font-size: .78rem; color: var(--charcoal-500); }
.split-copy .lede { margin-top: 18px; }
.split-copy ul { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.split-copy ul li { display: flex; gap: 12px; font-size: .95rem; color: var(--charcoal-700); align-items: flex-start; }
.split-copy ul li svg { width: 20px; height: 20px; color: var(--leaf-600); flex-shrink: 0; margin-top: 2px; }

/* ================= Stats band ================= */
.stats-band { background: var(--tea-900); position: relative; overflow: hidden; }
.stats-band::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 10% 20%, rgba(95,162,103,.25), transparent 50%), radial-gradient(circle at 90% 80%, rgba(203,155,62,.25), transparent 50%); }
.stats-band .container { position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 36px; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }

/* ================= Gallery preview ================= */
.gallery-preview-img { aspect-ratio: 4/5; }

/* ================= Products preview / grid ================= */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chip { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--border); color: var(--charcoal-700); transition: all .3s var(--ease); }
.filter-chip:hover { border-color: var(--tea-700); }
.filter-chip.is-active { background: var(--tea-900); border-color: var(--tea-900); color: var(--white); }

/* ================= Why choose ================= */
.why-hero-figure { position: relative; }
.why-hero-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.why-badge-float { position: absolute; top: -18px; right: -18px; background: var(--gold-500); color: var(--tea-950); width: 96px; height: 96px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow-md); animation: floatY 5s ease-in-out infinite; }
.why-badge-float strong { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; }
.why-badge-float span { font-family: var(--font-mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .05em; }

/* ================= Process trail intro ================= */
.trail-wrap { position: relative; }
.trail-compass { position: absolute; width: 30px; height: 30px; color: var(--gold-500); opacity: .5; display: none; }
@media (min-width: 860px) { .trail-compass { display: block; } }

/* ================= Testimonials ================= */
.carousel { overflow: hidden; }
.carousel-track { display: flex; gap: 24px; transition: transform .6s var(--ease); }
.carousel-track > * { flex: 0 0 100%; }
@media (min-width: 640px) { .carousel-track > * { flex: 0 0 calc(50% - 12px); } }
@media (min-width: 960px) { .carousel-track > * { flex: 0 0 calc(33.333% - 16px); } }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.carousel-controls button.cc-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); }
.carousel-controls button.cc-arrow:hover { background: var(--tea-900); border-color: var(--tea-900); color: var(--white); }
.carousel-controls button.cc-arrow svg { width: 18px; height: 18px; }
[data-carousel-dots] { display: flex; gap: 8px; }
[data-carousel-dots] button { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all .3s var(--ease); }
[data-carousel-dots] button.is-active { width: 22px; border-radius: 4px; background: var(--gold-500); }

/* ================= FAQ layout ================= */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; } }

/* ================= Newsletter band ================= */
.newsletter-band { background: linear-gradient(135deg, var(--gold-100), var(--cream-100)); border-radius: var(--radius-lg); padding: clamp(36px,5vw,60px); position: relative; overflow: hidden; }
.newsletter-band::after { content:''; position:absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--gold-200); opacity: .5; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; position: relative; z-index: 2; max-width: 480px; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 15px 20px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); }
.newsletter-form input:focus { outline: none; border-color: var(--tea-700); }

/* ================= Inner page hero variants ================= */
.page-hero--split { display: grid; gap: 40px; align-items: end; }
@media (min-width: 860px) { .page-hero--split { grid-template-columns: 1.2fr 0.8fr; } }
.page-hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }

/* ================= Products page ================= */
.product-detail-note { background: var(--tea-tint); border: 1px dashed var(--tea-600); border-radius: var(--radius-md); padding: 18px 22px; font-size: .9rem; color: var(--tea-800); display: flex; gap: 12px; align-items: flex-start; }
.product-detail-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

.pdp-modal .pdp-body { display: grid; gap: 26px; text-align: left; }
@media (min-width: 640px) { .pdp-modal .pdp-body { grid-template-columns: 1fr 1.2fr; } }
.pdp-modal { max-width: 640px; }
.pdp-media { border-radius: var(--radius-md); overflow: hidden; background: var(--cream-100); aspect-ratio: 4/5; }
.pdp-media img { width: 100%; height: 100%; object-fit: contain; padding: 26px; }
.pdp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 16px; }
.pdp-specs div { font-size: .84rem; }
.pdp-specs dt { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; font-size: .68rem; color: var(--charcoal-500); }
.pdp-specs dd { color: var(--tea-900); font-weight: 600; margin: 2px 0 0; }

/* ================= About page ================= */
.founder-block { background: var(--cream-100); border-radius: var(--radius-lg); padding: clamp(32px,5vw,56px); position: relative; }
.founder-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem,2.2vw,1.55rem); color: var(--tea-900); line-height: 1.55; }
.founder-sign { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.founder-sign img { width: 54px; height: 54px; border-radius: 50%; object-fit: contain; background: var(--white); padding: 6px; box-shadow: var(--shadow-sm); }
.founder-sign strong { display: block; color: var(--tea-900); font-family: var(--font-display); }
.founder-sign span { font-size: .82rem; color: var(--charcoal-500); }

.timeline-year { display: flex; gap: 26px; }
.timeline-year .ty-year { font-family: var(--font-mono); font-weight: 700; color: var(--gold-600); flex-shrink: 0; width: 64px; }

/* ================= Videos page ================= */
.video-card { border-radius: var(--radius-md); overflow: hidden; }
.video-media { position: relative; aspect-ratio: 9/16; max-height: 480px; margin: 0 auto; background: var(--tea-950); cursor: pointer; overflow: hidden; }
.video-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video-card:hover .video-media img { transform: scale(1.06); }
.video-media iframe { width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(14,36,25,0) 40%, rgba(14,36,25,.7) 100%);
}
.video-play span {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease); position: relative;
}
.video-play span::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6);
  animation: pulseRing 2.4s ease-out infinite;
}
.video-card:hover .video-play span { transform: scale(1.1); }
.video-play svg { width: 22px; height: 22px; color: var(--tea-900); margin-left: 3px; }
.video-info { padding: 16px 4px 0; }
.video-info h4 { font-size: .98rem; margin-bottom: 10px; }
.videos-grid { display: grid; gap: 30px; grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px) { .videos-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 980px) { .videos-grid { grid-template-columns: repeat(4,1fr); } }

/* ================= Portal pages (retailer / distributor) ================= */
.portal-hero-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.portal-hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.benefit-strip { display: grid; gap: 24px; grid-template-columns: repeat(2,1fr); }
@media (min-width: 760px) { .benefit-strip { grid-template-columns: repeat(4,1fr); } }
.process-mini { display: flex; flex-direction: column; gap: 0; }
.process-mini-step { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.process-mini-step:last-child { border-bottom: none; }
.process-mini-step .pm-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--gold-500); width: 46px; flex-shrink: 0; }

/* ================= Find Us page ================= */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
.contact-card-grid { display: grid; gap: 20px; grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px) { .contact-card-grid { grid-template-columns: repeat(4,1fr); } }
.contact-mini-card { text-align: center; padding: 28px 18px; }
.contact-mini-card .cmc-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--tea-tint); color: var(--tea-800); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.contact-mini-card .cmc-icon svg { width: 24px; height: 24px; }
.contact-mini-card h4 { font-size: .96rem; }
.contact-mini-card p, .contact-mini-card a { font-size: .86rem; }
.hours-list { display: flex; flex-direction: column; gap: 10px; }
.hours-list div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; }
.hours-list span:last-child { color: var(--tea-800); font-weight: 700; }

/* ================= Legal pages ================= */
.legal-layout { display: grid; gap: 48px; }
@media (min-width: 940px) { .legal-layout { grid-template-columns: 260px 1fr; } }
.legal-toc { position: sticky; top: 120px; align-self: start; display: none; }
@media (min-width: 940px) { .legal-toc { display: block; } }
.legal-toc h5 { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; color: var(--tea-700); margin-bottom: 16px; }
.legal-toc ul { display: flex; flex-direction: column; gap: 10px; }
.legal-toc a { font-size: .87rem; color: var(--charcoal-500); border-left: 2px solid var(--border); padding-left: 14px; display: block; transition: all .25s var(--ease); }
.legal-toc a:hover, .legal-toc a.is-active { color: var(--tea-900); border-color: var(--gold-500); }
.legal-body h2 { font-size: 1.5rem; margin-top: 46px; margin-bottom: 16px; scroll-margin-top: 120px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--charcoal-700); font-size: .96rem; margin-bottom: 14px; }
.legal-body ul { padding-left: 4px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.legal-body ul li { display: flex; gap: 10px; }
.legal-body ul li::before { content: '—'; color: var(--gold-600); flex-shrink: 0; }
.legal-updated { font-family: var(--font-mono); font-size: .78rem; color: var(--charcoal-500); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 40px; display: inline-block; background: var(--cream-100); padding: 8px 16px; border-radius: 999px; }
