/*
Theme Name: ThriveCore Rehab Landing
Theme URI: https://thrivecore.in
Author: ThriveCore
Description: Single-purpose, high-conversion, mobile-first landing page theme for the ThriveCore One-on-One Online Rehab Program. Activate the theme and the landing page shows on every URL.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: thrivecore-rehab
*/

:root{
  --teal:#0b6e6e;
  --teal-dark:#074d4f;
  --teal-soft:#e7f4f3;
  --orange:#f97316;
  --orange-dark:#ea580c;
  --ink:#10222b;
  --muted:#5b6b73;
  --line:#e3ebee;
  --bg:#ffffff;
  --bg-soft:#f6faf9;
  --gold:#f5b301;
  --radius:16px;
  --shadow:0 10px 30px rgba(7,77,79,.12);
  --shadow-lg:0 20px 50px rgba(7,77,79,.18);
  --wrap:1160px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:'Poppins','Inter',system-ui,sans-serif;line-height:1.2;margin:0 0 .5em;color:var(--ink)}
p{margin:0 0 1em}
ul{margin:0;padding:0;list-style:none}
.tc-wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.tc-section{padding:64px 0}
.tc-section.soft{background:var(--bg-soft)}
.tc-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);background:var(--teal-soft);padding:6px 14px;border-radius:999px;margin-bottom:14px}
.tc-title{font-size:clamp(26px,4.2vw,40px);font-weight:700;letter-spacing:-.01em}
.tc-sub{color:var(--muted);font-size:clamp(16px,2vw,18px);max-width:720px}
.tc-center{text-align:center}
.tc-center .tc-sub{margin-left:auto;margin-right:auto}

/* Buttons */
.tc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:'Poppins',sans-serif;font-weight:600;font-size:16px;line-height:1.2;padding:16px 28px;border-radius:12px;border:0;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;text-align:center}
.tc-btn-primary{background:var(--orange);color:#fff;box-shadow:0 8px 20px rgba(249,115,22,.35)}
.tc-btn-primary:hover{background:var(--orange-dark);transform:translateY(-2px)}
.tc-btn-outline{background:#fff;color:var(--teal);border:2px solid var(--teal)}
.tc-btn-outline:hover{background:var(--teal);color:#fff}
.tc-btn-wa{background:#25d366;color:#fff}
.tc-btn-block{width:100%}
.tc-pulse{animation:tcpulse 2.2s infinite}
@keyframes tcpulse{0%{box-shadow:0 0 0 0 rgba(249,115,22,.5)}70%{box-shadow:0 0 0 14px rgba(249,115,22,0)}100%{box-shadow:0 0 0 0 rgba(249,115,22,0)}}

/* Top bar + header */
.tc-topbar{background:var(--teal-dark);color:#dff3f1;font-size:13px}
.tc-topbar .tc-wrap{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:8px;padding-bottom:8px}
.tc-topbar a{font-weight:600;color:#fff}
.tc-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.tc-header .tc-wrap{display:flex;align-items:center;justify-content:space-between;padding-top:10px;padding-bottom:10px}
.tc-logo img{height:46px;width:auto}
.tc-header-cta{display:flex;align-items:center;gap:12px}
.tc-header-phone{display:none;font-weight:600;color:var(--teal)}
.tc-header .tc-btn{padding:12px 20px;font-size:15px}

/* Hero */
.tc-hero{background:linear-gradient(135deg,#f0f9f8 0%,#ffffff 55%,#fff4ea 100%);padding:40px 0 56px;position:relative;overflow:hidden}
.tc-hero::before{content:"";position:absolute;top:-120px;right:-120px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(11,110,110,.14),transparent 70%)}
.tc-hero-grid{display:grid;gap:32px;align-items:start;position:relative}
.tc-crumb{font-size:13px;color:var(--muted);margin-bottom:14px}
.tc-hero h1{font-size:clamp(30px,6vw,52px);font-weight:800;letter-spacing:-.02em;margin-bottom:18px}
.tc-hero h1 span{color:var(--teal)}
.tc-hero-sub{font-size:clamp(16px,2.2vw,19px);color:var(--muted);margin-bottom:22px;max-width:560px}
.tc-checks{display:grid;gap:12px;margin-bottom:24px}
.tc-checks li{display:flex;gap:12px;align-items:flex-start;font-weight:600;font-size:16px}
.tc-checks .ic{flex:0 0 26px;height:26px;border-radius:50%;background:var(--teal);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:14px;margin-top:1px}
.tc-offer-chip{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px dashed var(--orange);border-radius:12px;padding:10px 16px;font-weight:600;margin-bottom:22px}
.tc-offer-chip b{color:var(--orange-dark)}
.tc-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px}
.tc-trust-row{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--muted);font-size:14px;font-weight:500}
.tc-trust-row span::before{content:"✓ ";color:var(--teal);font-weight:800}

/* Form card */
.tc-card{background:#fff;border-radius:20px;box-shadow:var(--shadow-lg);padding:26px 22px;border:1px solid var(--line);position:relative}
.tc-card-badge{position:absolute;top:-14px;left:22px;background:var(--orange);color:#fff;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:6px 14px;border-radius:999px}
.tc-card h2{font-size:24px;margin-top:6px;margin-bottom:6px}
.tc-card .lead{color:var(--muted);font-size:15px;margin-bottom:18px}
.tc-field{margin-bottom:14px}
.tc-field label{display:block;font-weight:600;font-size:14px;margin-bottom:6px}
.tc-field input[type=text],.tc-field input[type=tel],.tc-field select{width:100%;padding:14px 14px;font-size:16px;font-family:inherit;border:1.5px solid #cfdde1;border-radius:12px;background:#fff;color:var(--ink);transition:border .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
.tc-field select{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%230b6e6e' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}
.tc-field input:focus,.tc-field select:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 4px rgba(11,110,110,.14)}
.tc-radio{display:flex;gap:10px}
.tc-radio label{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;border:1.5px solid #cfdde1;border-radius:12px;padding:12px;font-weight:600;cursor:pointer;margin:0}
.tc-radio input{accent-color:var(--teal);width:18px;height:18px}
.tc-radio label:has(input:checked){border-color:var(--teal);background:var(--teal-soft)}
.tc-hp{position:absolute!important;left:-9999px!important;opacity:0;height:0;width:0}
.tc-note{font-size:13px;color:var(--muted);margin:14px 0 0;text-align:center}
.tc-note b{color:var(--ink)}
.tc-secure{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);margin-top:12px}
.tc-alert{padding:14px 16px;border-radius:12px;margin-bottom:16px;font-weight:600;font-size:15px}
.tc-alert.ok{background:#e8f8ee;color:#14663a;border:1px solid #b6e6c8}
.tc-alert.err{background:#fdecea;color:#912018;border:1px solid #f5c2bd}

/* Trust strip */
.tc-strip{background:var(--teal);color:#fff;padding:22px 0}
.tc-strip-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;text-align:center}
.tc-strip b{display:block;font-family:'Poppins',sans-serif;font-size:18px}
.tc-strip span{font-size:13.5px;opacity:.9}

/* Cards */
.tc-grid{display:grid;gap:18px;margin-top:36px}
.tc-feature{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 22px;box-shadow:var(--shadow);transition:transform .2s}
.tc-feature:hover{transform:translateY(-4px)}
.tc-feature .ico{width:54px;height:54px;border-radius:14px;background:var(--teal-soft);display:flex;align-items:center;justify-content:center;font-size:26px;margin-bottom:14px}
.tc-feature h3{font-size:19px;margin-bottom:6px}
.tc-feature p{color:var(--muted);margin:0;font-size:15.5px}

/* Why / split */
.tc-split{display:grid;gap:28px;align-items:center}
.tc-compare{display:grid;gap:14px}
.tc-compare .col{border-radius:var(--radius);padding:22px;border:1px solid var(--line)}
.tc-compare .bad{background:#fff7f5;border-color:#f6d3cc}
.tc-compare .good{background:#effaf8;border-color:#b9e3dd}
.tc-compare h4{font-size:17px;margin-bottom:10px}
.tc-compare li{padding:6px 0 6px 26px;position:relative;font-size:15.5px}
.tc-compare .bad li::before{content:"✕";position:absolute;left:0;color:#d92d20;font-weight:800}
.tc-compare .good li::before{content:"✓";position:absolute;left:0;color:var(--teal);font-weight:800}

/* Steps */
.tc-steps{display:grid;gap:18px;margin-top:36px;counter-reset:s}
.tc-step{background:#fff;border-radius:var(--radius);padding:24px 22px 22px;border:1px solid var(--line);position:relative}
.tc-step::before{counter-increment:s;content:counter(s);position:absolute;top:-16px;left:22px;width:36px;height:36px;border-radius:50%;background:var(--orange);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;font-family:'Poppins',sans-serif;box-shadow:0 6px 14px rgba(249,115,22,.4)}
.tc-step h3{font-size:18px;margin-top:6px}
.tc-step p{color:var(--muted);margin:0;font-size:15.5px}

/* Chips */
.tc-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:28px}
.tc-chip{background:#fff;border:1.5px solid #cfe3e1;color:var(--teal-dark);font-weight:600;padding:10px 18px;border-radius:999px;font-size:15px}

/* Offer */
.tc-offer{background:linear-gradient(135deg,var(--teal-dark),var(--teal));color:#fff;border-radius:24px;padding:36px 24px;text-align:center;box-shadow:var(--shadow-lg)}
.tc-offer h2{color:#fff;font-size:clamp(24px,4vw,36px)}
.tc-offer p{color:#d8f0ee;max-width:620px;margin-left:auto;margin-right:auto}
.tc-price{display:flex;justify-content:center;align-items:baseline;gap:12px;margin:14px 0 20px;font-family:'Poppins',sans-serif}
.tc-price s{font-size:22px;opacity:.7}
.tc-price b{font-size:56px;line-height:1}
.tc-price small{font-size:15px;opacity:.85}
.tc-offer .tc-btn-primary{font-size:18px;padding:18px 34px}

/* Testimonial */
.tc-quote{max-width:760px;margin:30px auto 0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px 24px;box-shadow:var(--shadow);text-align:center}
.tc-stars{color:var(--gold);font-size:22px;letter-spacing:3px;margin-bottom:10px}
.tc-quote p{font-size:clamp(17px,2.4vw,20px);font-style:italic;color:#24363f}
.tc-quote cite{font-style:normal;font-weight:700;color:var(--teal)}

/* FAQ */
.tc-faq{max-width:820px;margin:34px auto 0;display:grid;gap:12px}
.tc-faq details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0;overflow:hidden}
.tc-faq summary{cursor:pointer;list-style:none;padding:18px 52px 18px 20px;font-weight:600;font-family:'Poppins',sans-serif;font-size:16px;position:relative}
.tc-faq summary::-webkit-details-marker{display:none}
.tc-faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:26px;color:var(--teal);font-weight:400;line-height:1}
.tc-faq details[open]{border-color:var(--teal)}
.tc-faq details[open] summary::after{content:"–"}
.tc-faq details p{padding:0 20px 18px;margin:0;color:var(--muted);font-size:15.5px}

/* Final CTA */
.tc-final{background:linear-gradient(135deg,#fff4ea,#f0f9f8);text-align:center}
.tc-final .tc-hero-actions{justify-content:center}

/* Footer */
.tc-footer{background:#0a2a30;color:#bcd3d6;padding:44px 0 90px;font-size:14.5px}
.tc-footer .tc-wrap{display:grid;gap:26px}
.tc-footer img{height:44px;width:auto;background:#fff;padding:6px 10px;border-radius:10px;margin-bottom:12px}
.tc-footer h4{color:#fff;font-size:16px;margin-bottom:10px}
.tc-footer a:hover{color:#fff}
.tc-footer li{margin-bottom:6px}
.tc-disclaimer{border-top:1px solid rgba(255,255,255,.12);padding-top:18px;font-size:12.5px;opacity:.8;grid-column:1/-1}

/* Sticky mobile bar */
.tc-sticky{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(0,0,0,.08)}
.tc-sticky a{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:10px;padding:13px 6px;font-weight:700;font-size:14.5px;font-family:'Poppins',sans-serif}
.tc-sticky .call{background:var(--teal);color:#fff}
.tc-sticky .wa{background:#25d366;color:#fff}
.tc-sticky .book{background:var(--orange);color:#fff;flex:1.4}

/* Tablet+ */
@media (min-width:640px){
  .tc-grid.g2{grid-template-columns:repeat(2,1fr)}
  .tc-strip-grid{grid-template-columns:repeat(4,1fr)}
  .tc-header-phone{display:inline}
  .tc-compare{grid-template-columns:1fr 1fr}
}
@media (min-width:900px){
  .tc-section{padding:88px 0}
  .tc-hero{padding:56px 0 80px}
  .tc-hero-grid{grid-template-columns:1.1fr .9fr;gap:48px}
  .tc-card{padding:32px 30px}
  .tc-grid.g4{grid-template-columns:repeat(4,1fr)}
  .tc-grid.g3{grid-template-columns:repeat(3,1fr)}
  .tc-steps{grid-template-columns:repeat(3,1fr)}
  .tc-split{grid-template-columns:1fr 1fr;gap:48px}
  .tc-footer .tc-wrap{grid-template-columns:1.4fr 1fr 1fr}
  .tc-sticky{display:none}
  .tc-footer{padding-bottom:44px}
  .tc-offer{padding:56px 40px}
}
@media (max-width:420px){
  .tc-topbar .hide-sm{display:none}
  .tc-logo img{height:40px}
  .tc-header .tc-btn{padding:11px 14px;font-size:14px}
  .tc-hero-actions .tc-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
