/* Páginas interiores (pie de página) */
.pg-navr { display: flex; gap: 8px; align-items: center; }
.pg .nav__cta.pg-cta { display: inline-flex; }
.pg-hero { display: block; }
.pg-hero .rs-title { max-width: 980px; }
.pg-draft { display: inline-block; margin-top: 22px; padding: 8px 14px; border-radius: 10px; background: rgba(0, 0, 0, .22); font-size: 14.5px; }
.pg-body { padding: 0 clamp(0px, 5.6vw, 78px); }
.pg-sec { margin-top: clamp(48px, 6vw, 80px); }
.pg-sec > p { max-width: 760px; margin-top: 16px; font-size: 18px; line-height: 1.45; }
.pg-sec a:not(.rs-btn) { text-decoration: underline; text-underline-offset: 4px; }
.pg-cards { counter-reset: none; }
.pg-cards li h3 { margin-top: 0; }
.pg-end { display: flex; flex-wrap: wrap; gap: 14px; }
.pg-end .rs-btn { margin-top: 0; }
.rs-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.rs-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.pg-form { margin-top: 24px; }
.pg-wide { grid-column: 1 / -1; }
.rs-field textarea, .rs-field input[type=url] { width: 100%; padding: 14px 16px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 14px; background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 17px; }
.rs-field input[type=url] { height: 52px; padding: 0 16px; }
.rs-field textarea { resize: vertical; min-height: 120px; }
.rs-field textarea:focus-visible, .rs-field input[type=url]:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pg-faq { margin-top: 20px; max-width: 860px; }
.pg-faq details { border-bottom: 1px solid rgba(255, 255, 255, .22); padding: 18px 0; }
.pg-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; cursor: pointer; font-size: 20px; font-weight: 500; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(#fff, #fff) center / 100% 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 100% no-repeat; transition: transform .3s var(--ease); }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq details p { margin-top: 12px; max-width: 720px; font-size: 17.5px; line-height: 1.45; color: var(--text-2); }
.pg-list { margin: 16px 0 0; padding-left: 22px; max-width: 760px; display: grid; gap: 10px; font-size: 18px; line-height: 1.42; }
.pg-swatches { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.pg-swatches li { display: grid; gap: 4px; font-size: 15px; }
.pg-swatches span { height: 96px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .25); margin-bottom: 6px; }
.pg-swatches code { font-size: 14px; opacity: .85; }
.pg-swatches em { font-style: normal; opacity: .7; }
.pg-logos { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; }
.pg-logos figure { margin: 0; padding: 30px; border-radius: 22px; background: var(--pink-card); display: grid; justify-items: start; align-content: space-between; gap: 22px; min-height: 220px; }
.pg-logos img { width: 120px; height: auto; }
.pg-word span { font-size: 40px; font-weight: 500; }
.pg-logos figcaption { font-size: 15px; opacity: .9; }
.pg-pend { background: #DFBA77; color: #263443; padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.pg-foot { margin-top: 40px; padding: 40px var(--gutter) 48px; background: rgba(255, 255, 255, .08); }
.pg-foot nav { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; font-size: 16px; }
.pg-foot a { text-decoration: none; opacity: .9; }
.pg-foot a:hover { text-decoration: underline; text-underline-offset: 4px; opacity: 1; }
.pg-foot p { max-width: 1400px; margin: 28px auto 0; font-size: 14px; opacity: .65; }
@media (max-width: 859px) {
  .pg-foot nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-logos { grid-template-columns: 1fr; }
  .pg .nav__cta.pg-cta { display: none; }
}

/* ---------- Soporte ---------- */
.sp-search { margin-top: 28px; max-width: 760px; }
.sp-search input { width: 100%; height: 62px; padding: 0 24px; border: 0; border-radius: 18px; background: #fff; color: #1d2a38; font: inherit; font-size: 18px; }
.sp-search input:focus { outline: 3px solid #A9CEC8; outline-offset: 2px; }
.sp-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sp-quick button, .sp-more button { padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.55); background: transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.sp-quick button:hover, .sp-more button:hover { background: rgba(255,255,255,.1); }
.sp-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.sp-act { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none !important; }
.sp-act b { font-size: 18px; font-weight: 600; }
.sp-act span { font-size: 15px; line-height: 1.4; opacity: .82; }
.sp-act--chat { background: #A9CEC8; color: #1d2a38; }
.sp-act--chat span { opacity: .85; }
a.sp-act:hover { transform: translateY(-2px); transition: transform .2s ease; }
.sp-status b { display: flex; align-items: center; gap: 10px; }
.sp-status i { width: 10px; height: 10px; border-radius: 50%; background: #7fd3a6; box-shadow: 0 0 0 4px rgba(127,211,166,.2); }
.sp-topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 20px; }
.sp-topic { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 20px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.18); background: transparent; color: #fff; font: inherit; cursor: pointer; }
.sp-topic b { font-size: 17px; font-weight: 600; }
.sp-topic span { font-size: 14px; line-height: 1.4; opacity: .8; }
.sp-topic small { margin-top: auto; padding-top: 8px; font-size: 13px; color: #DE8B95; font-weight: 600; }
.sp-topic[aria-pressed="true"], .sp-topic:hover { border-color: #A9CEC8; background: rgba(169,206,200,.1); }
.sp-faqbox .pg-faq { margin-top: 18px; }
.sp-faqbox details p + p { margin-top: 8px; }
.sp-empty { margin-top: 16px; font-size: 17px; opacity: .85; }
.sp-safe { padding: 26px 30px; border-radius: 22px; background: rgba(222,139,149,.14); }
.sp-safe p { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.sp-fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; height: 56px; padding: 0 24px; border: 0; border-radius: 999px; background: #A9CEC8; color: #1d2a38; font: inherit; font-size: 17px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.3); cursor: pointer; }
.sp-chat-on .sp-fab { display: none; }
.sp-chat { position: fixed; right: 24px; bottom: 24px; z-index: 61; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 48px)); display: flex; flex-direction: column; border-radius: 24px; background: #1d2a38; box-shadow: 0 24px 70px rgba(0,0,0,.45); overflow: hidden; }
.sp-chat[hidden] { display: none; }
.sp-chat header { position: relative; padding: 18px 60px 16px 22px; background: #A9CEC8; color: #1d2a38; }
.sp-chat header b { display: block; font-size: 17px; }
.sp-chat header span { font-size: 13px; opacity: .8; }
.sp-chat header button { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid #1d2a38; background: transparent; color: #1d2a38; font-size: 16px; cursor: pointer; }
.sp-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.sp-msg { max-width: 88%; padding: 12px 15px; border-radius: 16px 16px 16px 4px; background: #fff; color: #1d2a38; font-size: 15px; line-height: 1.45; }
.sp-msg p + p { margin-top: 6px; }
.sp-msg a { color: #8e3f50; }
.sp-msg--me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: #DE8B95; color: #fff; }
.sp-more { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 13px; }
.sp-more button { border-color: rgba(29,42,56,.35); color: #1d2a38; font-size: 13px; padding: 6px 12px; text-align: left; }
.sp-form { display: flex; gap: 8px; padding: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.sp-form input { flex: 1; height: 48px; padding: 0 16px; border: 0; border-radius: 14px; background: #fff; color: #1d2a38; font: inherit; font-size: 16px; }
.sp-form button { width: 48px; border: 0; border-radius: 14px; background: #A9CEC8; color: #1d2a38; font-size: 18px; cursor: pointer; }
@media (max-width: 1100px) { .sp-topics { grid-template-columns: repeat(3, 1fr); } .sp-actions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sp-topics, .sp-actions { grid-template-columns: 1fr; } .sp-chat { right: 8px; left: 8px; bottom: 8px; width: auto; height: calc(100dvh - 16px); } .sp-fab { right: 16px; bottom: 16px; } }

/* Cuatro pasos: dos por fila para que no quede uno suelto */
@media (min-width: 761px) { .pg-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* Biografía: cabecera en el verde menta de la web, con el texto en azul oscuro */
.pg-hero--biografia { background: #AECBC5; color: #263443; }

/* ---------- Biografía: más cerca de la portada, con ilustraciones ---------- */
.pg-hero--biografia { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); gap: clamp(24px, 4vw, 64px); align-items: center; }
.pg-hero--biografia .bio-img { width: 100%; height: auto; border-radius: 26px; }
.bio-img { display: block; width: 100%; max-width: 384px; aspect-ratio: 1; object-fit: cover; border-radius: 26px; }
.bio-steps__list { list-style: none; padding: clamp(28px, 4vw, 56px); margin: 32px 0 0; border-radius: 26px; background: #95515E; color: #fff; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.bio-steps__list h3 { margin-top: 28px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; line-height: 1.2; }
.bio-steps__list p { margin-top: 10px; font-size: 16px; line-height: 1.4; opacity: .92; }
.bio-row { display: grid; grid-template-columns: 384px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.bio-row--flip { grid-template-columns: minmax(0, 1fr) 384px; }
.bio-row--flip .bio-img { order: 2; }
.bio-row__body .rs-h2 { margin-top: 0; }
.bio-row__body p { margin-top: 16px; max-width: 620px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; }
.bio-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.bio-plan { padding: clamp(24px, 3vw, 40px); border-radius: 26px; }
.bio-plan--wine { background: #95515E; color: #fff; }
.bio-plan--gold { background: #DFBA77; color: #263443; }
.bio-plan h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; }
.bio-plan__price { margin-top: 14px; font-size: 22px; }
.bio-plan__price strong { font-size: clamp(30px, 3vw, 40px); font-weight: 600; }
.bio-plan p:last-child { margin-top: 12px; font-size: 17px; line-height: 1.4; }
@media (max-width: 1000px) { .bio-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 859px) {
  .pg-hero--biografia { grid-template-columns: 1fr; }
  .pg-hero--biografia .bio-img { max-width: 300px; }
  .bio-row, .bio-row--flip { grid-template-columns: 1fr; }
  .bio-row--flip .bio-img { order: 0; }
  .bio-plans, .bio-steps__list { grid-template-columns: 1fr; }
}

/* Mientras llegan las ilustraciones nuevas: filas de texto a una columna y cabecera sin imagen */
.bio-row:not(:has(.bio-img)) { grid-template-columns: minmax(0, 1fr); }
.pg-hero--biografia:not(:has(.bio-img)) { grid-template-columns: minmax(0, 1fr); }
