/* ============================================================
   Homepage — physician-first landing page
   Additive styles only. Loaded after style.css and header.css.
   ============================================================ */

:root{--teal:#2F6B7A;--safe-top:env(safe-area-inset-top,0px)}

.contact-detail-text a{overflow-wrap:anywhere}

/* ---------- Hero: editorial ---------- */
.hero-editorial{background:var(--cream);padding:calc(var(--nav-h) + var(--safe-top) + 88px) 24px 96px;position:relative;overflow:hidden}
.hero-editorial-inner{max-width:var(--container);margin:0 auto;display:grid;grid-template-columns:1.15fr .85fr;gap:64px;align-items:center}
.hero-kicker{display:inline-block;font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--teal);margin-bottom:1.5rem}
.hero-editorial h1{font-size:clamp(2.7rem,5.6vw,4.6rem);line-height:1.02;color:var(--navy);margin-bottom:1.5rem;letter-spacing:-.01em}
.hero-sub{font-size:clamp(1.02rem,1.6vw,1.2rem);color:var(--text-light);line-height:1.65;max-width:560px;margin-bottom:1.4rem}
.hero-byline{font-size:.95rem;font-weight:600;color:var(--navy);margin-bottom:2.2rem}
.hero-byline span{color:var(--gold);margin:0 .3rem}
.hero-editorial .hero-ctas{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-start}
.btn-navy{background:var(--navy);color:var(--white)}
.btn-navy:hover{background:var(--navy-dark);color:var(--white);transform:translateY(-2px);box-shadow:0 8px 24px rgba(27,42,74,.18)}
.btn-outline-navy{border:1.5px solid var(--border);color:var(--navy);background:transparent}
.btn-outline-navy:hover{border-color:var(--navy);color:var(--navy);transform:translateY(-2px)}
.hero-editorial-photo{position:relative;justify-self:center;width:100%;max-width:430px}
.hero-editorial-photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center top;border:1px solid var(--border);border-radius:8px;box-shadow:0 18px 50px rgba(27,42,74,.12)}

/* ---------- Physician / credentials ---------- */
.cred-band{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:2.5rem}
#dr-kasper .cred-band{margin-bottom:0}
.physician-intro{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:start}
#about-dr-kasper .physician-intro{grid-template-columns:1fr;gap:1.75rem}
#about-dr-kasper .approach-stack{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.physician-body p{color:var(--text-light);font-size:1rem}
.physician-body h3{margin-bottom:1rem;font-size:1.55rem}
.approach-stack{display:flex;flex-direction:column;gap:16px}
.approach-box{padding:24px;background:var(--cream);border-left:3px solid var(--gold);border-radius:10px}
.approach-box h4{margin-bottom:.5rem;font-size:1rem}
.approach-box p{color:var(--text-light);font-size:.92rem;margin:0}
.cred-card{background:var(--white);border:1px solid var(--border);border-radius:14px;padding:24px;box-shadow:0 4px 16px rgba(0,0,0,.04)}
.cred-card-header{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.cred-card-icon{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,var(--navy),var(--slate));display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cred-card-icon svg{width:19px;height:19px;stroke:var(--gold);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cred-card h4{margin:0;font-size:1rem}
#dr-kasper.section-dark .cred-card h4{color:var(--navy)}
#dr-kasper .physician-bio{max-width:900px;margin:3rem auto 0;padding-top:2rem;border-top:1px solid rgba(255,255,255,.16);text-align:center;color:rgba(255,255,255,.72);font-size:1rem;line-height:1.85}
.cred-card ul{display:flex;flex-direction:column;gap:7px}
.cred-card li{font-size:.88rem;color:var(--text-light);display:flex;align-items:flex-start;gap:9px;line-height:1.5}
.cred-card li::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--gold);flex-shrink:0;margin-top:8px}
.physician-locations{margin-top:3rem}
.section-light .testimonial-card{background:var(--white);border-color:var(--border)}
.section-light .testimonials{border-top-color:var(--border)}
.physician-locations h3{font-size:1.35rem;margin-bottom:1rem}
.physician-locations .practice-locations{margin-top:0}
.physician-service{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border)}
.physician-service h4{font-size:1rem;margin-bottom:.4rem}
.physician-service p{color:var(--text-light);font-size:.9rem;margin:0}

/* ---------- Why Dr. Kasper ---------- */
.why-kasper{padding:68px 0}
.why-kasper-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.why-kasper-eyebrow{display:block;font-family:var(--ff-body);font-size:.74rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin-bottom:1.25rem}
.why-kasper-title{font-size:clamp(2.4rem,3.75vw,3rem);line-height:1.06;letter-spacing:-.015em;color:var(--navy);margin-bottom:1.5rem;max-width:560px}
.why-kasper-intro p{font-size:1.03rem;line-height:1.8;color:rgba(255,255,255,.78);margin-bottom:0;max-width:560px}
.why-kasper-cards{display:flex;flex-direction:column;gap:16px}
.why-card{background:var(--white);border:1px solid rgba(27,42,74,.07);border-radius:14px;padding:22px 26px;box-shadow:0 10px 30px rgba(0,0,0,.16)}
.why-card h3{font-family:var(--ff-body);font-size:1.18rem;font-weight:700;line-height:1.3;color:var(--navy);margin-bottom:.4rem}
.why-card p{font-size:.96rem;line-height:1.65;color:var(--text-light);margin:0}

/* ---------- What is PRP: preparation science ---------- */
.prp-science{padding:96px 0;background:var(--white)}
.prp-science-eyebrow{display:block;font-family:var(--ff-body);font-size:.74rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--teal);margin-bottom:1.5rem}
.prp-science h2{font-size:clamp(2.6rem,4.4vw,3.6rem);line-height:1.12;letter-spacing:-.01em;color:var(--navy);margin-bottom:1.6rem;max-width:980px}
.prp-science-intro{font-size:1.08rem;line-height:1.8;color:var(--text-light);max-width:980px;margin-bottom:3rem}
.prp-science-intro strong{color:var(--navy);font-weight:700}
.prp-science-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-bottom:2.2rem}
.prp-science-card{background:#F7F7F4;border:1px solid #E7E6E1;border-radius:10px;padding:34px 30px}
.prp-science-num{display:block;font-family:var(--ff-display);font-size:2rem;line-height:1;color:#93A6B8;margin-bottom:1rem}
.prp-science-card h3{font-size:1.55rem;line-height:1.22;color:var(--navy);margin-bottom:.8rem}
.prp-science-card p{font-size:.97rem;line-height:1.75;color:var(--text-light);margin:0}
.prp-science-note{font-size:.82rem;line-height:1.7;color:var(--text-muted);max-width:1120px}
.prp-science-note a{font-weight:700;color:var(--navy);white-space:nowrap}
.prp-science-note a:hover{color:var(--teal)}

/* ---------- What to Expect: merged procedure steps + timeline ---------- */
.expect-grid{margin-top:3rem}

/* ---------- Evidence teaser ---------- */
.evidence-section{background:var(--navy);color:var(--white)}
.evidence-section h2,.evidence-section h3,.evidence-section h4{color:var(--white)}
.evidence-section .section-subtitle{color:rgba(255,255,255,.62)}
.evidence-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:2.5rem}
.evidence-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:28px;transition:var(--transition)}
.evidence-card:hover{background:rgba(255,255,255,.1);border-color:rgba(198,156,63,.3);transform:translateY(-3px)}
.evidence-card-icon{width:44px;height:44px;border-radius:10px;background:rgba(198,156,63,.14);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.evidence-card-icon svg{width:22px;height:22px;stroke:var(--gold);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.evidence-card h4{color:var(--white);margin-bottom:8px;font-size:1.05rem}
.evidence-card p{color:rgba(255,255,255,.68);font-size:.9rem;margin:0}
.evidence-cta{text-align:center}
.evidence-disclaimer{max-width:760px;margin:2.5rem auto 0;text-align:center;font-size:.78rem;color:rgba(255,255,255,.55);line-height:1.7}

/* ---------- Consistency pass: legacy sections adopt the new palette ---------- */

/* Eyebrows: teal on light sections, white on navy */
.section-label{font-size:.74rem;font-weight:700;letter-spacing:.2em;color:var(--teal);margin-bottom:1rem}
.section-dark .section-label,.evidence-section .section-label{color:var(--white)}
.why-kasper-eyebrow{color:var(--white)}

/* Match the subtitle typography used in the new sections */
.section-subtitle{font-family:var(--ff-body);font-size:1.08rem;line-height:1.8;max-width:980px}

/* Section headers follow the left-aligned editorial layout of the new sections */
.section-header{text-align:left}
.section-header .section-subtitle{margin-left:0;margin-right:0}

/* Background rhythm now alternates white / cream / navy down the page */
#what-to-expect{background:var(--cream)}
#prp-basics{background:var(--white)}

/* Primary buttons: navy on light, white on navy */
.btn-gold{background:var(--navy);color:var(--white)}
.btn-gold:hover{background:var(--navy-dark);color:var(--white);box-shadow:0 8px 24px rgba(27,42,74,.18)}
.evidence-section .btn-gold{background:var(--white);color:var(--navy)}
.evidence-section .btn-gold:hover{background:var(--cream);color:var(--navy-dark);box-shadow:0 8px 24px rgba(0,0,0,.25)}
.btn-submit{background:var(--navy);color:var(--white);border-radius:8px}
.btn-submit:hover{background:var(--navy-dark);color:var(--white);box-shadow:0 8px 24px rgba(27,42,74,.18)}

/* Form focus uses the light-section accent */
.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(47,107,122,.12)}

/* Dark-section cards match the new white "Why Dr. Kasper" cards */
.evidence-card{background:var(--white);border-color:rgba(27,42,74,.07);box-shadow:0 10px 30px rgba(0,0,0,.16)}
.evidence-card:hover{background:var(--white);border-color:rgba(198,156,63,.45)}
.evidence-card h4{font-family:var(--ff-body);font-size:1.18rem;font-weight:700;line-height:1.3;color:var(--navy);margin-bottom:.4rem}
.evidence-card p{color:var(--text-light);font-size:.96rem;line-height:1.65}
.evidence-card-icon{background:var(--gold-pale)}

/* Card geometry aligned with the new system */
.faq-item{background:var(--white);border-radius:14px}
.faq-question:hover{background:#F7F7F4}
.prp-highlight-box,.contact-form-wrap{border-radius:14px}

/* ---------- Responsive ---------- */
@media(max-width:1024px){
  .hero-editorial-inner{grid-template-columns:1fr;gap:44px}
  .hero-editorial-text{max-width:680px}
  .hero-editorial-photo{max-width:360px}
  .physician-intro{grid-template-columns:1fr;gap:32px}
  .why-kasper-grid{grid-template-columns:1fr;gap:48px}
  .why-kasper-title{max-width:680px;font-size:clamp(2.6rem,5vw,3.4rem)}
  .prp-science-grid{grid-template-columns:1fr}
  .evidence-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .hero-editorial{padding:calc(var(--nav-h) + var(--safe-top) + 40px) 24px 56px}
  .hero-editorial-inner{gap:32px}
  .hero-editorial h1{font-size:clamp(2.4rem,9vw,3.2rem)}
  .hero-editorial .hero-ctas{flex-direction:column;align-items:stretch}
  .hero-editorial .btn{width:100%;justify-content:center}
  .hero-editorial-photo{display:none}
  .hero-editorial .hero-ctas::before{content:'';align-self:center;width:128px;height:128px;border-radius:50%;margin:0 0 24px;background:url('dr-kasper.webp') center 18%/cover no-repeat;border:3px solid var(--white);box-shadow:0 10px 28px rgba(27,42,74,.16)}
  .cred-band{grid-template-columns:1fr}
  #about-dr-kasper .approach-stack{grid-template-columns:1fr}
  .why-kasper{padding:52px 0}
  .why-kasper-title{font-size:clamp(2.2rem,9vw,2.9rem)}
  .why-kasper-cards{gap:16px}
  .why-card{padding:22px}
  .prp-science{padding:64px 0}
  .prp-science h2{font-size:clamp(2.2rem,9vw,2.9rem)}
  .prp-science-card{padding:26px 24px}
}
