/* Home page: stat cards + testimonial slider */
:root {
    --ink: #1c1411;
    --muted: #6b625e;
    --surface: #ffffff;
    --panel: #f6f5f4;
    --line: #ebe7e4;
    --brand: var(--gold, #351403);
    --brand-accent: var(--accent, #60bbd0);
    --brand-accent-ink: #1f7f95; /* accent darkened for text contrast */
    --radius: 16px;
}

.section-wrap { padding: 3rem 0 1rem; }
.section-head { margin-bottom: 1.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin: .25rem 0 0; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-accent-ink); }
.link-arrow { font-weight: 600; font-size: .9rem; color: var(--brand-accent-ink); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Stat cards ---------- */
.stat-card {
    position: relative; height: 100%; padding: 1.4rem 1.25rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(53,20,3,.04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}
.stat-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--brand-accent); opacity: 0; transition: opacity .2s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(53,20,3,.10); border-color: transparent; }
.stat-card:hover::before { opacity: 1; }
.stat-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem;
    background: rgba(96,187,208,.16); color: var(--brand-accent-ink); font-size: 1.25rem;
}
.stat-card { min-width: 0; }
.stat-value { overflow-wrap: anywhere; font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-label { margin-top: .35rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.stat-hint { margin-top: .15rem; font-size: .8rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.reviews-panel { background: var(--panel); border-radius: 24px; padding: clamp(1.25rem, 4vw, 3rem); }
.tslider { position: relative; }
.tslider-track {
    display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: .25rem; scrollbar-width: none; outline: none;
}
.tslider-track::-webkit-scrollbar { display: none; }
.tslider-track:focus-visible { box-shadow: 0 0 0 3px rgba(96,187,208,.6); border-radius: var(--radius); }
.review-card {
    flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
}
@media (min-width: 768px)  { .review-card { flex-basis: calc((100% - 1rem) / 2); } }
@media (min-width: 1100px) { .review-card { flex-basis: calc((100% - 2rem) / 3); } }
.review-stars { color: #f0a000; letter-spacing: .12em; font-size: 1.05rem; margin-bottom: .75rem; }
.review-quote { font-size: 2.6rem; line-height: .8; height: 1.4rem; color: var(--brand-accent); font-family: Georgia, serif; margin-bottom: .75rem; }
.review-text { flex: 1; color: var(--ink); font-size: .95rem; line-height: 1.6; margin-bottom: 1.25rem; }
.review-author { display: flex; align-items: center; gap: .75rem; }
.avatar {
    width: 38px; height: 38px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem;
}
.review-name { font-weight: 700; font-size: .92rem; color: var(--ink); }
.review-meta { font-size: .85rem; color: var(--muted); }

.tslider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.12);
    margin: 0; cursor: pointer; transition: border-color .15s, color .15s, opacity .15s;
}
.tslider-btn:hover, .tslider-btn:focus-visible { border-color: var(--brand-accent-ink); color: var(--brand-accent-ink); outline: none; }
.tslider-btn.prev { left: -14px; } .tslider-btn.next { right: -14px; }
.tslider-btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 575px) { .tslider-btn.prev { left: -6px; } .tslider-btn.next { right: -6px; } }

.tslider-dots { display: flex; justify-content: center; gap: .4rem; margin-top: 1.5rem; }
.tslider-dots button {
    width: 8px; height: 8px; padding: 0; margin: 0; border: 0; border-radius: 999px; background: #d9d4d0; cursor: pointer; transition: width .2s, background .2s;
}
.tslider-dots button[aria-selected="true"] { width: 24px; background: var(--brand); }
.tslider-dots button:focus-visible { outline: 2px solid var(--brand-accent-ink); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .tslider-track { scroll-behavior: auto; }
    .stat-card, .stat-card:hover { transition: none; transform: none; }
}
.stat-value-sm { font-size: clamp(1.2rem, 2.2vw, 1.5rem); padding: .35rem 0; }

.stat-value-long { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.stat-hint { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

/* ---------- Register call-to-action ---------- */
.cta-card {
    position: relative; overflow: hidden; display: grid; gap: 2rem; align-items: center;
    padding: clamp(1.75rem, 5vw, 3.5rem); border-radius: 28px; color: #fff;
    background: radial-gradient(900px 400px at 100% 0%, rgba(96,187,208,.28), transparent 60%), linear-gradient(135deg, #351403 0%, #5a2508 100%);
}
@media (min-width: 992px) { .cta-card { grid-template-columns: 1.4fr .8fr; } }
.cta-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8fd6e6; }
.cta-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: .5rem 0 .9rem; color: #fff; }
.cta-lead { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 40rem; margin-bottom: 1.25rem; }
.cta-points { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .6rem; }
.cta-points li { display: flex; gap: .65rem; align-items: center; color: rgba(255,255,255,.92); }
.cta-points .bi { flex: none; display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #8fd6e6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.cta-btn, .cta-btn:hover, .cta-btn:focus { background: #fff; color: #351403; font-weight: 700; border: 0; border-radius: 12px; padding: .8rem 1.4rem; margin: 0; }
.cta-btn:hover { background: #eef6f8; }
.cta-btn .bi { margin-left: .35rem; transition: transform .2s; }
.cta-btn:hover .bi { transform: translateX(4px); }
.cta-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.45); }
.cta-link:hover { color: #8fd6e6; }
.cta-visual { position: relative; display: none; min-height: 280px; }
@media (min-width: 992px) { .cta-visual { display: block; } }
.cta-ring { position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transform: translate(-50%, -50%); }
.cta-ring-1 { width: 220px; height: 220px; } .cta-ring-2 { width: 320px; height: 320px; border-style: dashed; }
.cta-core { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 28px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: #351403; background: #8fd6e6; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.cta-chip { position: absolute; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); animation: cta-float 6s ease-in-out infinite; }
.cta-chip-a { top: 8%; left: 18%; } .cta-chip-b { top: 14%; right: 12%; animation-delay: -2s; } .cta-chip-c { bottom: 8%; right: 26%; animation-delay: -4s; }
@keyframes cta-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .cta-chip { animation: none; } .cta-btn .bi { transition: none; } }

/* ---------- Numbers band ---------- */
.impact-card { display: grid; gap: 2rem; align-items: center; padding: clamp(1.75rem, 5vw, 3.5rem); border-radius: 28px; background: #f6f5f4; border: 1px solid #ebe7e4; }
@media (min-width: 992px) { .impact-card { grid-template-columns: 1fr 1.3fr; } }
.impact-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-accent-ink); }
.impact-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: .4rem 0 .8rem; color: var(--ink); }
.impact-copy p { color: var(--muted); margin: 0; max-width: 30rem; }
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 0; }
.impact-item { position: relative; background: #fff; border: 1px solid #ebe7e4; border-radius: 18px; padding: 1.25rem 1.25rem 1.1rem; min-width: 0; display: flex; flex-direction: column; }
.impact-item .bi { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; background: rgba(96,187,208,.16); color: var(--brand-accent-ink); margin-bottom: .9rem; }
.impact-value { order: 2; margin: 0; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: var(--brand); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.impact-label { order: 3; margin-top: .35rem; font-size: .9rem; font-weight: 600; color: var(--muted); }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem); background: radial-gradient(700px 360px at 85% 0%, rgba(96,187,208,.22), transparent 65%), radial-gradient(600px 300px at 0% 100%, rgba(53,20,3,.06), transparent 70%), #faf9f8; border-bottom: 1px solid #ebe7e4; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ebe7e4 1px, transparent 1px), linear-gradient(90deg, #ebe7e4 1px, transparent 1px); background-size: 44px 44px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.25fr .85fr; } }
.hero-pill, .hero-live { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; }
.hero-pill { padding: .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid #ebe7e4; color: var(--ink); box-shadow: 0 1px 2px rgba(53,20,3,.05); }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e62; box-shadow: 0 0 0 0 rgba(47,158,98,.5); animation: hero-pulse 2s infinite; }
@keyframes hero-pulse { 70% { box-shadow: 0 0 0 8px rgba(47,158,98,0); } 100% { box-shadow: 0 0 0 0 rgba(47,158,98,0); } }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: var(--ink); margin: 1rem 0 .9rem; max-width: 16ch; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34rem; margin-bottom: 1.6rem; }

.hero-search { display: grid; gap: .5rem; padding: .5rem; background: #fff; border: 1px solid #ebe7e4; border-radius: 16px; box-shadow: 0 10px 30px rgba(53,20,3,.08); max-width: 46rem; }
@media (min-width: 768px) { .hero-search { grid-template-columns: 1.6fr 1fr auto; align-items: center; } }
.hero-search-field { position: relative; }
.hero-search-q .bi { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: #9b918c; pointer-events: none; }
.hero-search-q .form-control { padding-left: 2.4rem; }
.hero-search .form-control, .hero-search .form-select { border: 0; background-color: #faf9f8; border-radius: 10px; height: 48px; }
.hero-search .form-control:focus, .hero-search .form-select:focus { box-shadow: 0 0 0 .2rem rgba(96,187,208,.4); background-color: #fff; }
.hero-go { height: 48px; padding: 0 1.4rem; margin: 0; font-weight: 700; white-space: nowrap; }

.hero-popular { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin-top: .9rem; font-size: .85rem; color: var(--muted); }
.hero-chip { padding: .2rem .7rem; border-radius: 999px; background: #fff; border: 1px solid #ebe7e4; color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.hero-chip:hover { border-color: var(--brand-accent); color: var(--brand-accent-ink); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin-top: 1.6rem; }
.hero-cta { margin: 0; padding: .7rem 1.4rem; font-weight: 700; }
.hero-link { font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.hero-store img { display: block; height: 44px; width: auto; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; padding: 0; margin: 1.6rem 0 0; font-size: .88rem; color: var(--muted); }
.hero-trust strong { color: var(--ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }

.hero-feed { background: #fff; border: 1px solid #ebe7e4; border-radius: 20px; padding: 1.1rem 1.25rem; box-shadow: 0 20px 50px rgba(53,20,3,.10); }
.hero-feed-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.hero-feed-head h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-accent-ink); font-weight: 700; margin: 0; }
.hero-live { color: #1b6b3a; }
.hero-feed-list { list-style: none; margin: 0; padding: 0; }
.hero-feed-list li + li { border-top: 1px solid #f0ece9; }
.hero-feed-list a { display: block; padding: .8rem .25rem; text-decoration: none; color: var(--ink); border-radius: 10px; transition: background .15s; }
.hero-feed-list a:hover { background: #f6f5f4; }
.hero-feed-title { display: block; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.hero-feed-meta { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .3rem; font-size: .8rem; color: var(--muted); }
.hero-feed-entity { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-days { flex: none; padding: .1rem .55rem; border-radius: 999px; font-weight: 700; font-size: .72rem; background: #e8f5ee; color: #1b6b3a; }
.hero-days-warn { background: #fff1d6; color: #8a5a00; }
.hero-feed-all { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; font-weight: 700; font-size: .9rem; color: var(--brand-accent-ink); text-decoration: none; }
.hero-feed-all:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .hero-dot { animation: none; } }
