/* ============================================================
   SPECIALIZĂRI — overview + pagină individuală
============================================================ */

/* === OVERVIEW === */
.spec-overview-hero{
  background:var(--off-white);padding:clamp(5rem,9vw,8rem) 0 clamp(3rem,5vw,4rem);
  position:relative;overflow:hidden;
}
.spec-overview-hero::before{
  content:"";position:absolute;top:-25%;right:-8%;width:35%;aspect-ratio:1;
  background:var(--sky);opacity:.12;border-radius:50%;
}
.spec-overview-hero-inner{position:relative;z-index:2;max-width:760px}
.spec-overview-hero h1{font-size:clamp(2.6rem,5vw,4.2rem);margin-bottom:1.5rem;line-height:1.05}
.spec-overview-hero h1 em{font-style:italic;color:var(--sky)}
.spec-overview-hero p{font-size:1.15rem;line-height:1.65}

.spec-overview-list{padding:clamp(3rem,5vw,5rem) 0 clamp(6rem,9vw,8rem);background:var(--white)}
.spec-row{
  display:grid;grid-template-columns:120px 1fr auto;gap:3rem;
  padding:3rem 0;border-bottom:1px solid var(--line);
  transition:padding-left .3s ease;
}
.spec-row:hover{padding-left:1rem;background:linear-gradient(90deg,var(--off-white) 0%,transparent 100%)}
.spec-row:last-child{border-bottom:0}
.spec-row-num{
  font-family:var(--font-serif);font-size:5rem;color:var(--gold);font-weight:500;
  line-height:1;letter-spacing:-.02em;
}
.spec-row-body h2{font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:.6rem;font-weight:500}
.spec-row-tag{
  font-family:var(--font-sans);font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold-dark);font-weight:600;margin-bottom:1rem;display:block;
}
.spec-row-body p{font-size:1.02rem;line-height:1.65;max-width:580px}
.spec-row-arrow{
  align-self:center;width:54px;height:54px;border-radius:50%;border:1.5px solid var(--line);
  display:grid;place-items:center;color:var(--navy);transition:all .3s;
  flex-shrink:0;
}
.spec-row:hover .spec-row-arrow{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.spec-row-arrow svg{width:20px;height:20px}

/* === INDIVIDUAL SPECIALTY PAGE === */
.spec-detail-hero{
  background:linear-gradient(135deg,var(--navy-dark),var(--navy));
  color:var(--white);padding:clamp(4rem,7vw,6rem) 0 clamp(6rem,10vw,9rem);
  position:relative;overflow:hidden;
}
.spec-detail-hero::before{
  content:"";position:absolute;top:-30%;right:-15%;width:50%;aspect-ratio:1;
  background:var(--sky);opacity:.35;border-radius:50%;
}
.spec-detail-hero::after{
  content:"";position:absolute;top:15%;right:25%;width:7%;aspect-ratio:1;
  background:var(--gold);border-radius:50%;
  box-shadow:0 0 60px rgba(201,169,97,.4);
}
.spec-detail-hero-inner{position:relative;z-index:2;max-width:920px}
.spec-detail-num{
  font-family:var(--font-serif);font-size:clamp(8rem,18vw,16rem);font-weight:500;
  color:rgba(255,255,255,.06);line-height:.8;letter-spacing:-.04em;
  position:absolute;top:-2rem;right:0;pointer-events:none;
}
.spec-detail-hero .eyebrow{color:var(--gold-light)}
.spec-detail-hero .eyebrow::before{background:var(--gold-light)}
.spec-detail-hero h1{color:var(--white);font-size:clamp(2.8rem,6vw,5rem);margin-bottom:1.5rem;line-height:1.05}
.spec-detail-hero h1 em{font-style:italic;color:var(--gold-light)}
.spec-detail-hero-sub{color:rgba(255,255,255,.85);font-size:1.2rem;line-height:1.65;max-width:740px;margin-bottom:2.5rem}
.spec-detail-hero-cta{display:flex;gap:1rem;flex-wrap:wrap}
.spec-detail-hero .doctor-breadcrumbs{margin-bottom:2.5rem}
.spec-detail-hero .doctor-breadcrumbs svg{width:12px!important;height:12px!important;flex-shrink:0}
.spec-detail-hero .doctor-breadcrumbs a,.spec-detail-hero .doctor-breadcrumbs span{flex-shrink:0}
.spec-detail-hero .doctor-breadcrumbs{display:flex;gap:.6rem;align-items:center;font-size:.85rem;color:rgba(255,255,255,.65)}
.spec-detail-hero .doctor-breadcrumbs a:hover{color:var(--gold-light)}

/* TOC strip */
.spec-toc{
  background:var(--navy-dark);border-top:1px solid rgba(255,255,255,.08);
  padding:1.2rem 0;position:sticky;top:73px;z-index:50;
}
.spec-toc-inner{display:flex;gap:2rem;align-items:center;overflow-x:auto;justify-content:center;flex-wrap:wrap}
.spec-toc a{
  font-family:var(--font-sans);font-size:.85rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:rgba(255,255,255,.6);transition:color .2s;white-space:nowrap;
}
.spec-toc a:hover{color:var(--gold-light)}
.spec-toc-sep{color:rgba(255,255,255,.2);font-size:.7rem}

/* Sections */
.spec-section{padding:clamp(4rem,7vw,6rem) 0}
.spec-section-head{margin-bottom:3.5rem;max-width:780px}
.spec-section-head h2{font-size:clamp(2rem,4vw,3rem);margin-bottom:1rem;line-height:1.1}
.spec-section-head p{font-size:1.08rem;line-height:1.65}

/* Interventii grid */
.spec-interv{background:var(--off-white)}
.spec-interv-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem}
.interv-card{
  background:var(--white);border-radius:var(--radius-lg);
  padding:2.2rem 2rem;display:flex;flex-direction:column;
  border:1px solid var(--line-soft);transition:all .3s;
}
.interv-card:hover{transform:translateY(-3px);border-color:var(--gold);box-shadow:var(--shadow-2)}
.interv-card h3{font-size:1.3rem;font-weight:500;margin-bottom:.8rem;color:var(--navy)}
.interv-card p{font-size:.95rem;line-height:1.6;flex:1;margin-bottom:1.5rem;color:var(--body)}
.interv-meta{
  display:grid;grid-template-columns:1fr 1fr;gap:1rem;
  padding-top:1.2rem;border-top:1px solid var(--line);
}
.interv-meta > div small{
  display:block;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold-dark);font-weight:600;margin-bottom:.3rem;
}
.interv-meta > div span{font-size:.95rem;font-weight:600;color:var(--navy)}

/* Process timeline */
.spec-process{background:var(--white)}
.spec-process-timeline{position:relative;max-width:920px;margin:0 auto}
.spec-process-timeline::before{
  content:"";position:absolute;left:30px;top:30px;bottom:30px;width:2px;
  background:linear-gradient(180deg,var(--gold) 0%,var(--sky) 100%);
}
.spec-process-step{
  display:grid;grid-template-columns:64px 1fr;gap:2rem;padding:2rem 0;
  position:relative;
}
.spec-process-step-num{
  width:64px;height:64px;border-radius:50%;background:var(--navy);
  color:var(--gold);font-family:var(--font-serif);font-size:1.6rem;font-weight:500;
  display:grid;place-items:center;flex-shrink:0;position:relative;z-index:2;
  border:3px solid var(--white);box-shadow:0 0 0 1px var(--line);
}
.spec-process-step-body h3{font-size:1.35rem;margin-bottom:.5rem;color:var(--navy);font-weight:500}
.spec-process-step-body p{font-size:1rem;line-height:1.65;max-width:640px}

/* Team for this specialty */
.spec-team{background:var(--off-white)}
.spec-team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}

/* FAQ */
.spec-faq{background:var(--white)}
.spec-faq-list{max-width:820px;margin:0 auto}
.faq-item{
  border-bottom:1px solid var(--line);padding:1.5rem 0;
}
.faq-item:first-child{border-top:1px solid var(--line)}
.faq-q{
  width:100%;text-align:left;font-family:var(--font-serif);font-size:clamp(1.15rem,2vw,1.35rem);
  font-weight:500;color:var(--navy);display:flex;justify-content:space-between;align-items:center;
  gap:1rem;padding:.5rem 0;
}
.faq-icon{
  flex-shrink:0;width:32px;height:32px;border-radius:50%;border:1.5px solid var(--gold);
  display:grid;place-items:center;color:var(--gold);transition:transform .3s;
}
.faq-icon svg{width:14px;height:14px}
.faq-item.open .faq-icon{background:var(--gold);color:var(--navy);transform:rotate(45deg)}
.faq-a{
  max-height:0;overflow:hidden;transition:max-height .4s ease;
}
.faq-item.open .faq-a{max-height:400px}
.faq-a-inner{padding:1rem 0 .5rem;color:var(--body);font-size:1rem;line-height:1.7}

/* Final CTA for specialty */
.spec-cta{
  background:var(--navy);color:var(--white);padding:clamp(4rem,7vw,6rem) 0;
  position:relative;overflow:hidden;
}
.spec-cta::before{
  content:"";position:absolute;bottom:-30%;right:-10%;width:40%;aspect-ratio:1;
  background:var(--sky);opacity:.25;border-radius:50%;
}
.spec-cta-inner{position:relative;z-index:2;text-align:center;max-width:680px;margin:0 auto}
.spec-cta h2{color:var(--white);font-size:clamp(2rem,4.4vw,3.4rem);margin-bottom:1.5rem;line-height:1.1}
.spec-cta h2 em{font-style:italic;color:var(--gold-light)}
.spec-cta p{color:rgba(255,255,255,.8);font-size:1.1rem;margin-bottom:2.5rem}
.spec-cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* Responsive */
@media (max-width:1024px){
  .spec-row{grid-template-columns:80px 1fr;gap:1.5rem}
  .spec-row-num{font-size:3.5rem}
  .spec-row-arrow{grid-column:2;justify-self:end;width:44px;height:44px}
  .spec-interv-grid{grid-template-columns:1fr}
  .spec-team-grid{grid-template-columns:repeat(2,1fr)}
  .spec-toc{display:none}
}
@media (max-width:640px){
  .spec-row{grid-template-columns:60px 1fr;gap:1rem;padding:2rem 0}
  .spec-row-num{font-size:2.5rem}
  .spec-process-timeline::before{left:24px}
  .spec-process-step{grid-template-columns:50px 1fr;gap:1.2rem}
  .spec-process-step-num{width:50px;height:50px;font-size:1.3rem}
  .interv-meta{grid-template-columns:1fr}
  .spec-team-grid{grid-template-columns:1fr}
}
