/* =============================================
   DERMABABY — Estilos páginas internas
   Complementa styles.css
   ============================================= */

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-border);
  padding: 0.75rem 0;
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.375rem;
  list-style: none; flex-wrap: wrap;
  font-size: 0.8125rem; color: var(--gray-muted);
}
.breadcrumb a { color: var(--gray-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .ph { font-size: 0.7rem; }
.breadcrumb [aria-current="page"] { color: var(--gray-text); font-weight: 500; }

/* ── Doctor Hero ── */
.doctor-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(140deg, #F5EEE6 0%, #FAF6F0 45%, var(--white) 80%);
}
.doctor-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .doctor-hero__inner { grid-template-columns: 380px 1fr; gap: 4rem; }
}

.doctor-hero__img { position: relative; }
.doctor-hero__photo {
  width: 100%; max-width: 380px; aspect-ratio: 3/4;
  object-fit: cover; object-position: center top;
  border-radius: var(--radius-xl);
  display: block; margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.doctor-hero__img-placeholder {
  width: 100%; max-width: 380px; aspect-ratio: 3/4;
  background: linear-gradient(140deg, #EDE6DC, #F2EBE1);
  border-radius: var(--radius-xl);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.75rem;
  color: var(--blue-deep); margin: 0 auto;
  border: 1px solid rgba(91,123,111,.15);
}
.doctor-hero__img-placeholder .ph { font-size: 5rem; opacity: 0.3; }
.doctor-hero__img-placeholder span { font-size: 0.875rem; opacity: 0.5; }

.doctor-hero__verif {
  display: flex; align-items: center; gap: 0.625rem;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-sm);
  max-width: 380px; margin-left: auto; margin-right: auto;
}
.doctor-hero__verif .ph { font-size: 1.5rem; color: var(--teal); flex-shrink: 0; }
.doctor-hero__verif strong { display: block; font-size: 0.875rem; color: var(--black-soft); }
.doctor-hero__verif span { font-size: 0.75rem; color: var(--gray-muted); }

.doctor-hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black-soft);
  line-height: 1.05;
  margin-bottom: 0.375rem;
}
.doctor-hero__title {
  font-size: 1rem; color: var(--teal);
  font-weight: 600; margin-bottom: 1.5rem;
}
.doctor-hero__intro {
  font-size: 1.0625rem; line-height: 1.8;
  color: var(--gray-text);
  font-style: italic;
  border-left: 3px solid var(--teal);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.doctor-hero__stats {
  display: flex; gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.stat-item { text-align: center; flex: 1; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: 1.625rem; font-weight: 800; color: var(--black-soft); }
.stat-item span { font-size: 0.75rem; color: var(--gray-muted); }
.stat-divider { width: 1px; background: var(--gray-border); }

.doctor-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* ── Philosophy ── */
.philosophy-section { background: var(--white); }
.philosophy-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 3rem; align-items: start;
}
@media (min-width: 900px) {
  .philosophy-inner { grid-template-columns: 1fr 1fr; }
}
.philosophy-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--black-soft); margin-bottom: 1.25rem;
}
.philosophy-content p {
  font-size: 1rem; line-height: 1.8;
  color: var(--gray-text); margin-bottom: 1rem;
}
.philosophy-values {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.value-card {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.375rem;
  transition: all var(--transition);
}
.value-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.value-card .ph { font-size: 1.5rem; color: var(--teal); display: block; margin-bottom: 0.625rem; }
.value-card h3 { font-size: 0.9375rem; font-weight: 700; color: var(--black-soft); margin-bottom: 0.375rem; }
.value-card p { font-size: 0.8125rem; color: var(--gray-muted); line-height: 1.6; }

/* ── Curriculum ── */
.curriculum-section { background: var(--gray-bg); }
.curriculum-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .curriculum-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .curriculum-grid { grid-template-columns: repeat(3, 1fr); } }

.curriculum-col {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.curriculum-col__title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1rem; font-weight: 700; color: var(--black-soft);
  margin-bottom: 1.5rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--gray-border);
}
.curriculum-col__title .ph { color: var(--teal); font-size: 1.25rem; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 1rem; position: relative; padding-bottom: 1.375rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px; top: 16px;
  width: 1px; height: calc(100% - 16px);
  background: var(--gray-border);
}
.timeline-dot {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
  margin-top: 3px; border: 3px solid var(--teal-light);
  position: relative; z-index: 1;
}
.timeline-content { flex: 1; }
.timeline-year { font-size: 0.75rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; }
.timeline-content h4 { font-size: 0.9375rem; font-weight: 700; color: var(--black-soft); margin: 0.2rem 0 0.25rem; }
.timeline-content p { font-size: 0.8125rem; color: var(--gray-muted); }

/* Cert list */
.cert-list { display: flex; flex-direction: column; gap: 1rem; }
.cert-item { display: flex; align-items: flex-start; gap: 0.625rem; }
.cert-item .ph { font-size: 1.125rem; color: var(--teal); flex-shrink: 0; margin-top: 0.1rem; }
.cert-item strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--black-soft); }
.cert-item span { font-size: 0.8rem; color: var(--gray-muted); }

/* ── Expertise ── */
.expertise-section { background: var(--white); }
.expertise-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .expertise-grid { grid-template-columns: repeat(3, 1fr); } }

.expertise-card {
  padding: 1.75rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  background: var(--gray-bg);
  transition: all var(--transition);
}
.expertise-card:hover { border-color: var(--teal); background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.expertise-card .ph { font-size: 1.75rem; color: var(--teal); display: block; margin-bottom: 0.875rem; }
.expertise-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--black-soft); margin-bottom: 0.5rem; }
.expertise-card p { font-size: 0.875rem; color: var(--gray-muted); line-height: 1.6; }

/* ══════════════════════════════════════
   CONDITION LANDING PAGE STYLES
══════════════════════════════════════ */

/* ── Condition Hero ── */
.condition-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(140deg, #F5EEE6 0%, #FAF6F0 45%, var(--white) 80%);
}
.condition-hero__inner {
  display: grid; grid-template-columns: 1fr;
  gap: 3rem; align-items: center;
}
@media (min-width: 900px) {
  .condition-hero__inner { grid-template-columns: 1fr 420px; }
}
.condition-hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--black-soft); line-height: 1.08;
  margin-bottom: 1.25rem;
}
.condition-hero__content p {
  font-size: 1.0625rem; line-height: 1.8;
  color: var(--gray-text); margin-bottom: 1.75rem;
  max-width: 560px;
}
.condition-hero__photo {
  width: 100%; border-radius: var(--radius-xl);
  object-fit: cover; display: block;
  box-shadow: var(--shadow-lg);
  max-height: 420px;
}
.condition-hero__img { overflow: hidden; border-radius: var(--radius-xl); }
.condition-hero__media {
  background: linear-gradient(140deg, #EAF0ED, #C8D9CF);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem;
  color: var(--teal-dark); border: 1px solid rgba(91,123,111,.15);
}
.condition-hero__media .ph { font-size: 3.5rem; opacity: 0.4; }
.condition-hero__media span { font-size: 0.875rem; opacity: 0.5; }

.hero-trust-row {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 1.75rem;
}
.hero-trust-badge {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(91,123,111,.1);
  border: 1px solid rgba(91,123,111,.2);
  border-radius: 100px;
  padding: 0.35rem 0.875rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--teal-dark);
}
.hero-trust-badge .ph { font-size: 0.875rem; }

/* ── Urgency box ── */
.urgency-box {
  background: #FEF2F0;
  border: 1.5px solid #F43F5E;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}
.urgency-box__title {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; color: #C0272D;
  font-size: 1rem; margin-bottom: 0.875rem;
}
.urgency-box__title .ph { font-size: 1.25rem; }
.urgency-box ul { display: flex; flex-direction: column; gap: 0.5rem; }
.urgency-box li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: #7F1D1D;
}
.urgency-box li .ph { color: #F43F5E; font-size: 1rem; flex-shrink: 0; }

/* ── Content sections ── */
.content-section { padding: 4rem 0; }
.content-section--alt { background: var(--gray-bg); }
.content-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .content-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .content-grid--reverse > *:first-child { order: 2; }
  .content-grid--reverse > *:last-child { order: 1; }
}

.content-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--black-soft); margin-bottom: 1.25rem;
}
.content-text p {
  font-size: 0.9375rem; line-height: 1.8;
  color: var(--gray-text); margin-bottom: 1rem;
}
.content-text p:last-child { margin-bottom: 0; }

.symptom-list { display: flex; flex-direction: column; gap: 0.625rem; }
.symptom-list li {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.9375rem; color: var(--gray-text); line-height: 1.5;
}
.symptom-list li .ph { color: var(--teal); font-size: 1.125rem; flex-shrink: 0; margin-top: 0.1rem; }

.info-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.info-card--teal { border-left: 4px solid var(--teal); }
.info-card h3 { font-size: 1rem; font-weight: 700; color: var(--black-soft); margin-bottom: 1rem; }

/* Treatment accordion */
.treatment-list { display: flex; flex-direction: column; gap: 0.75rem; }
.treatment-item {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.treatment-item__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; cursor: pointer;
  transition: background var(--transition);
}
.treatment-item__header:hover { background: var(--gray-bg); }
.treatment-item__title { display: flex; align-items: center; gap: 0.625rem; font-weight: 600; color: var(--black-soft); }
.treatment-item__title .ph { color: var(--teal); }
.treatment-item__body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
}
.treatment-item__body.open {
  max-height: 300px;
  padding: 0 1.25rem 1.25rem;
}
.treatment-item__body p { font-size: 0.9rem; color: var(--gray-text); line-height: 1.7; }

/* Differentiators */
.diff-list { display: flex; flex-direction: column; gap: 1rem; }
.diff-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.125rem;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.diff-item:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.diff-item__icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.diff-item__icon .ph { font-size: 1.25rem; color: var(--teal); }
.diff-item h3 { font-size: 0.9375rem; font-weight: 700; color: var(--black-soft); margin-bottom: 0.25rem; }
.diff-item p { font-size: 0.8125rem; color: var(--gray-muted); line-height: 1.6; }

/* Related articles */
.related-section { background: var(--gray-bg); padding: 3.5rem 0; }
.related-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* Condition CTA inline */
.inline-cta {
  background: var(--blue-deep);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 2rem 0;
}
.inline-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); margin-bottom: 0.75rem;
}
.inline-cta p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; font-size: 0.9375rem; }
