/* Interior pages shared CSS — loaded after styles.css */
/* mobile-first: base styles target mobile, media queries scale up */

section { padding: clamp(4rem,8vw,6.5rem) 0; }

.sec-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,3.5vw,3rem); font-weight: 300; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.sec-title em { font-style: italic; color: var(--slate); }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── PAGE HERO ────────────────────────────────────────────────── */
.page-hero {
  padding: clamp(7rem,12vw,10rem) 0 clamp(4rem,7vw,6rem);
  background:
    radial-gradient(ellipse 60% 70% at 5% 40%, rgba(90,172,191,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 95% 70%, rgba(196,168,130,0.09) 0%, transparent 60%),
    var(--stone);
  position: relative; overflow: hidden;
}
.page-hero::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background: linear-gradient(to bottom, transparent, var(--teal), transparent); }
.hero-back { display: inline-flex; align-items: center; gap: .5rem; font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 2rem; transition: gap .3s var(--ease); }
.hero-back:hover { gap: .8rem; }
.page-tag { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-d); border: 1.5px solid var(--slate); padding: .32em .85em; border-radius: 2px; margin-bottom: 1.2rem; }
.page-h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem,5.5vw,4.8rem); font-weight: 600; line-height: 1.05; color: var(--ink); letter-spacing: -.02em; margin-bottom: 1rem; }
.page-h1 em { font-style: italic; color: var(--slate-d); }
.page-lead { font-size: clamp(.95rem,1.5vw,1.1rem); font-weight: 400; line-height: 1.7; color: var(--ink-m); max-width: 600px; margin-bottom: 2.5rem; }

/* ── SINTOMAS ─────────────────────────────────────────────────── */
.sintomas { background: var(--white); }
.sint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,6vw,6rem); align-items: start; margin-top: 3rem; }
.sint-list { display: flex; flex-direction: column; gap: 1.4rem; }
.sint-item { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.4rem; background: var(--stone); border-radius: var(--r); border-left: 3px solid var(--teal); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.sint-item:hover { transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.sint-num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; color: var(--teal); line-height: 1; flex-shrink: 0; width: 2rem; }
.sint-text { font-size: .84rem; font-weight: 400; line-height: 1.6; color: var(--ink-m); }
.sint-text strong { display: block; font-size: .88rem; color: var(--ink); margin-bottom: .25rem; }
.info-box { background: var(--slate-dd); border-radius: var(--r); padding: 2.2rem 2rem; color: #fff; }
.info-box-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; color: #fff; margin-bottom: 1rem; }
.info-box-body { font-size: .84rem; font-weight: 400; line-height: 1.7; color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.info-stat { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.info-stat-item { text-align: center; }
.info-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 600; color: var(--teal-l); line-height: 1; }
.info-stat-label { font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: .3rem; }

/* ── TRATAMIENTO ──────────────────────────────────────────────── */
.tratamiento { background: var(--stone); }
.trat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 2px; background: rgba(78,108,132,0.12); border: 2px solid rgba(78,108,132,0.1); margin-top: 3rem; }
.trat-card { background: var(--white); padding: clamp(1.6rem,3vw,2.4rem); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.trat-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--teal), var(--slate)); transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease); }
.trat-card:hover::before { transform: scaleX(1); }
.trat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.09); }
.trat-ico { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(90,172,191,0.4); display: flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 1.2rem; }
.trat-name { font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.trat-desc { font-size: .78rem; font-weight: 400; line-height: 1.65; color: var(--ink-m); }
.trat-tag { display: inline-block; margin-top: 1rem; font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); border: 1px solid rgba(78,108,132,.25); padding: .28em .7em; border-radius: 2px; }

/* ── RECUPERACIÓN ─────────────────────────────────────────────── */
.recuperacion { background: var(--white); }
.rec-timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 3.5rem; position: relative; }
.rec-timeline::before { content:''; position:absolute; top:28px; left:10%; right:10%; height:1px; background: linear-gradient(90deg, var(--teal), var(--beige)); }
.rec-step { padding: 0 1rem; text-align: center; }
.rec-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--slate); margin: 0 auto 1.4rem; position: relative; z-index: 1; transition: background .3s, color .3s, transform .3s var(--ease); }
.rec-step:hover .rec-dot { background: var(--teal); color: #fff; transform: scale(1.1); }
.rec-period { font-size: .72rem; font-weight: 700; color: var(--teal); letter-spacing: .08em; margin-bottom: .4rem; }
.rec-label  { font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.rec-desc   { font-size: .72rem; font-weight: 400; line-height: 1.55; color: var(--ink-m); }

/* ── CTA FINAL (interior) ─────────────────────────────────────── */
.cta-final { background: var(--slate-dd); position: relative; overflow: hidden; padding: clamp(5rem,9vw,9rem) 0; }
.cta-final::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 60% 70% at 20% 50%, rgba(90,172,191,0.15) 0%, transparent 60%), radial-gradient(ellipse 50% 60% at 80% 30%, rgba(196,168,130,0.1) 0%, transparent 55%); }
.cta-ring { position:absolute; right:-160px; top:50%; transform:translateY(-50%); width:560px; height:560px; border-radius:50%; border:1.5px solid rgba(255,255,255,.04); pointer-events:none; animation:ringPulse 7s ease-in-out infinite; }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-eyebrow { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-l); margin-bottom: 1.5rem; }
.cta-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem,5vw,4rem); font-weight: 300; line-height: 1.08; color: var(--white); margin-bottom: 1.4rem; }
.cta-h2 em { font-style: italic; color: var(--teal-l); }
.cta-sub { font-size: .92rem; font-weight: 400; color: rgba(255,255,255,.82); max-width: 440px; margin: 0 auto 3rem; line-height: 1.7; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }

/* ── FAQ (interior pages) ─────────────────────────────────────── */
.page-faq { background: var(--stone); }
.page-faq-list {
  border: 1px solid rgba(78,108,132,.14);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2.5rem;
}
.faq-item { border-bottom: 1px solid rgba(78,108,132,.1); background: var(--white); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.15rem 1.4rem;
  font-family: 'Montserrat', sans-serif; font-size: .83rem; font-weight: 600;
  color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: background .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px; /* touch target */
}
.faq-q:hover { background: rgba(78,108,132,.04); color: var(--slate); }
.faq-q.open  { color: var(--slate); background: rgba(78,108,132,.05); }
.faq-ico {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(78,108,132,.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.faq-q.open .faq-ico { background: var(--slate); border-color: var(--slate); transform: rotate(45deg); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: .82rem; font-weight: 400; line-height: 1.72; color: var(--ink-m);
  transition: max-height .45s var(--ease), padding .3s;
  padding: 0 1.4rem;
}
.faq-a.open { max-height: 400px; padding: .15rem 1.4rem 1.25rem; }

/* ── DRA IMAGE STRIP (between hero and symptoms) ─────────────── */
.dra-strip { background: var(--white); padding: clamp(1.8rem,4vw,3rem) 0; border-bottom: 1px solid rgba(78,108,132,0.1); }
.dra-strip-grid {
  display: grid; grid-template-columns: clamp(180px,22vw,260px) 1fr;
  gap: clamp(1.8rem,4vw,3.5rem); align-items: center;
}
.dra-strip-img {
  border-radius: 8px; overflow: hidden;
  aspect-ratio: 3/4; max-height: 340px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(78,108,132,0.1);
}
.dra-strip-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.dra-strip-tag {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--slate-d);
  border: 1.5px solid var(--slate-d); padding: 0.3em 0.8em;
  border-radius: 2px; display: inline-block; margin-bottom: 0.8rem;
}
.dra-strip-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem,2.5vw,1.9rem);
  font-weight: 300; color: var(--ink); line-height: 1.1; margin-bottom: 0.4rem;
}
.dra-strip-name em { font-style: italic; color: var(--slate); }
.dra-strip-spec {
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.9rem;
}
.dra-strip-body {
  font-size: 0.82rem; color: var(--ink-m); line-height: 1.7; max-width: 520px;
}
.dra-strip-creds {
  margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.dra-strip-cred {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--ink-s); background: var(--stone);
  border: 1px solid rgba(78,108,132,0.14);
  padding: 0.35em 0.8em; border-radius: 3px;
}

/* ── VAL-URGENCIA DOCTOR AVATAR ──────────────────────────────── */
.val-dra-card {
  display: flex; align-items: center; gap: 0.85rem;
  padding-bottom: 1rem; margin-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.val-dra-card img {
  width: 54px; height: 54px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid rgba(90,172,191,0.5); flex-shrink: 0;
}
.val-dra-card-name {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em;
  color: rgba(255,255,255,0.92); line-height: 1.3;
}
.val-dra-card-spec { font-size: 0.57rem; color: var(--teal-l); letter-spacing: 0.06em; }

/* ── HERO AGENDA SI (síntomas rápidos en hero) ───────────────── */
.hero-agenda {
  margin-top: 2rem;
  background: rgba(90,172,191,0.07);
  border: 1px solid rgba(90,172,191,0.2);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
  max-width: 520px;
}
.hero-agenda-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.7rem;
}
.hero-agenda-list {
  display: flex; flex-direction: column; gap: 0.45rem;
  list-style: none; padding: 0;
}
.hero-agenda-list li {
  font-size: 0.78rem; font-weight: 400; color: var(--ink-m);
  line-height: 1.5; padding-left: 1.1rem; position: relative;
}
.hero-agenda-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
}

/* ── VALORACIÓN + URGENCIA section ───────────────────────────── */
.valoracion-bloque { background: var(--stone); }
.val-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.val-incluye-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--slate-d);
  border: 1.5px solid var(--slate-d); padding: 0.32em 0.85em;
  border-radius: 2px; display: inline-block; margin-bottom: 1.3rem;
}
.val-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300; line-height: 1.1; color: var(--ink);
  margin-bottom: 1.4rem;
}
.val-title em { font-style: italic; color: var(--slate); }
.val-checklist {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.65rem;
  margin-bottom: 1.4rem;
}
.val-checklist li {
  font-size: 0.82rem; font-weight: 400; color: var(--ink-m);
  line-height: 1.5; display: flex; align-items: flex-start; gap: 0.7rem;
}
.val-checklist li::before {
  content: ''; flex-shrink: 0; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(90,172,191,0.12);
  border: 1.5px solid var(--teal);
  margin-top: 0.1rem;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='3,8 6,11 13,5' stroke='%235AACBF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.val-price {
  font-size: 0.73rem; color: var(--ink-s); margin-top: 0.4rem;
}
.val-price strong { color: var(--ink); }
.val-urgencia {
  background: var(--slate-dd); border-radius: 8px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.val-urg-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-l);
}
.val-urg-text {
  font-size: 0.87rem; font-weight: 400; line-height: 1.72;
  color: rgba(255,255,255,0.82);
}
.val-urg-micro {
  font-size: 0.67rem; color: rgba(255,255,255,0.45); margin-top: -0.3rem;
}

/* ── RESPONSIVE (interior) ────────────────────────────────────── */
@media (max-width: 960px) {
  .sint-grid      { grid-template-columns: 1fr; }
  .rec-timeline   { grid-template-columns: repeat(2,1fr); }
  .rec-timeline::before { display: none; }
  .val-grid       { grid-template-columns: 1fr; }
  .dra-strip-grid { grid-template-columns: clamp(140px,30vw,200px) 1fr; }
}
@media (max-width: 600px) {
  .cta-btns   { flex-direction: column; align-items: stretch; }
  .hero-ctas  { flex-direction: column; }
  .rec-timeline { grid-template-columns: 1fr; }
  .page-faq-list { border-radius: 0; margin-left: -1rem; margin-right: -1rem; border-left: none; border-right: none; }
  .hero-agenda  { max-width: 100%; }
  .dra-strip-grid { grid-template-columns: 1fr; }
  .dra-strip-img  { aspect-ratio: 4/3; max-height: 220px; }
}
