/* ============================================================
   Diagnosis subpage — Dr. Camilo Tarazona
   Calm, reassuring patient-education template
   ============================================================ */

/* Breadcrumb */
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-3); font-weight: 600; flex-wrap: wrap; }
.crumb a { color: var(--ink-2); transition: color .2s; }
.crumb a:hover { color: var(--olive); }
.crumb .sep { color: var(--gold-d); }
.crumb .here { color: var(--forest); }

/* Subpage hero */
.sub-hero { padding-top: 78px; }
.sub-hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px,5vw,72px);
  align-items: center; padding-block: clamp(40px,5vw,72px);
}
.sub-hero h1 { font-size: clamp(33px, 4.4vw, 56px); line-height: 1.05; margin: 22px 0 18px; }
.sub-hero .lede { max-width: 36ch; }
.sub-illu {
  display: block; width: 100%; height: clamp(340px, 36vw, 460px);
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand);
  object-fit: cover; object-position: center;
}

/* Prose block (Qué es) */
.prose { max-width: 64ch; display: flex; flex-direction: column; gap: 20px; }
.prose p { font-size: clamp(17px,1.7vw,19px); line-height: 1.7; color: var(--ink); }
.prose p.first::first-letter {
  font-family: var(--font-display); font-size: 3.4em; line-height: .82; float: left;
  color: var(--olive); padding: 6px 12px 0 0; font-weight: 600;
}

/* Warning signs */
.signs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.sign {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius-sm);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sign:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(201,160,92,.5); }
.sign .si {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(74,93,35,.08); color: var(--olive); display: grid; place-items: center;
}
.sign .si svg { width: 23px; height: 23px; }
.sign .st { font-size: 16px; font-weight: 600; color: var(--forest); line-height: 1.35; }
.sign .sd { font-size: 14px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.signs-note { margin-top: 24px; font-size: 14.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.signs-note svg { flex: none; width: 19px; height: 19px; color: var(--gold-d); margin-top: 2px; }

/* Process steps (cómo abordamos) */
.proc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.proc-card {
  background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.proc-card .pn {
  font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--gold-d);
  letter-spacing: .04em; display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.proc-card .pn::before { content:""; width: 26px; height: 1.5px; background: var(--gold); }
.proc-card .pic { width: 40px; height: 40px; color: var(--olive); margin-bottom: 16px; }
.proc-card h4 { font-size: 22px; margin-bottom: 10px; }
.proc-card p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* Video feature */
.vfeat {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: clamp(22px,3vw,34px); box-shadow: var(--shadow-sm); margin-top: 8px;
}
.vframe {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden;
  border-left: 5px solid var(--olive); background: var(--sand);
}
.vframe-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; object-fit: cover; }
.vframe .play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; z-index: 2; pointer-events: none;
  background: rgba(255,255,255,.92); border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(45,59,24,.55); transition: transform .3s, background .3s; cursor: pointer;
}
.vframe:hover .play { transform: scale(1.07); background: #fff; }
.vframe .play svg { width: 26px; height: 26px; color: var(--olive); margin-left: 4px; }
.vframe .dur { position: absolute; right: 14px; bottom: 14px; z-index: 2; font-family: ui-monospace, monospace; font-size: 13px; font-weight: 600; color: #fff; background: rgba(45,59,24,.82); padding: 5px 11px; border-radius: 7px; }
.vfeat h3 { font-size: clamp(24px,2.6vw,32px); }
.vfeat p { color: var(--ink-2); font-size: 16px; margin-top: 14px; }
.vfeat .vmeta { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); margin-top: 16px; }

/* FAQ accordion */
.faq { max-width: 820px; margin-top: 28px; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item:first-child { border-top: 1px solid var(--hair); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 6px; font-family: var(--font-display); font-size: clamp(18px,2vw,22px);
  font-weight: 600; color: var(--olive); transition: color .2s;
}
.faq-q:hover { color: var(--forest); }
.faq-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-d); display: grid; place-items: center; transition: transform .3s, background .3s, color .3s; }
.faq-ic svg { width: 15px; height: 15px; }
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--gold); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.3,.7,.3,1); }
.faq-a-inner { padding: 0 6px 26px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 64ch; }

/* Closing CTA */
.close-cta { background: var(--cream); text-align: center; }
.close-cta .wrap { max-width: 760px; }
.close-cta h2 { font-size: clamp(28px,3.4vw,44px); }
.close-cta .cc-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 34px; }
.close-cta .btn { font-size: 16.5px; padding: 18px 34px; }

@media (max-width: 920px) {
  .sub-hero-grid { grid-template-columns: 1fr; }
  .sub-illu { order: 1; height: clamp(280px, 62vw, 380px); }
  .signs { grid-template-columns: 1fr; }
  .proc { grid-template-columns: 1fr; }
  .vfeat { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .close-cta .btn { width: 100%; justify-content: center; }
}
