:root {
  --ssk-surgical-rose: #98526a;
  --ssk-surgical-rose-deep: #743449;
  --ssk-surgical-rose-soft: #ead1d7;
  --ssk-surgical-gold: #c89d4f;
  --ssk-surgical-cream: #fffaf7;
  --ssk-surgical-ink: #392f32;
  --ssk-surgical-muted: #6e5d62;
  --ssk-surgical-line: rgba(122, 51, 70, 0.14);
  --ssk-surgical-shadow: 0 18px 50px rgba(73, 43, 53, 0.09);
}

/* Honeypot: conserva el campo antispam fuera de la vista, del foco y del árbol accesible. */
.ssk-cp-form .ssk-cp-hp,
.ssk-cp-hp[aria-hidden="true"] {
  position: absolute !important;
  inset: auto auto auto -10000px !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}

.ssk-surgical-credentials-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 20px;
}

.ssk-surgical-credentials-inline span,
.ssk-surgical-team-credentials {
  color: #5f4e54;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ssk-surgical-credentials-inline span {
  display: block;
  padding: 13px 15px;
  border: 1px solid rgba(151, 72, 98, 0.16);
  border-radius: 14px;
  background: rgba(255, 250, 247, 0.82);
}

.ssk-surgical-credentials-inline strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ssk-surgical-rose-deep);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssk-surgical-team-credentials {
  margin: 8px 0 13px;
}

.ssk-surgical-treatment {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ssk-surgical-ink);
  background: #fffdfb;
  font-family: Montserrat, Arial, sans-serif;
}

/* El tema agrega un header legado en estas fichas. Se oculta solo allí y se
   conserva su espacio original para no mover el diseño aprobado. */
body.ssk-surgical-treatment-page #page > #header[role="banner"],
body.ssk-surgical-treatment-page #page > #header[role="banner"] + hr {
  display: none !important;
}

body.ssk-surgical-treatment-page .ssk-st-page {
  padding-top: 64px;
}

.ssk-st-page,
.ssk-st-page * {
  box-sizing: border-box;
}

.ssk-st-page h1,
.ssk-st-page h2,
.ssk-st-page h3,
.ssk-st-page p,
.ssk-st-page ul,
.ssk-st-page ol,
.ssk-st-page figure {
  margin-top: 0;
}

.ssk-st-page h1,
.ssk-st-page h2,
.ssk-st-page h3 {
  color: var(--ssk-surgical-ink);
  font-family: FiraSans, Montserrat, Arial, sans-serif;
}

.ssk-st-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  min-height: 650px;
  background:
    radial-gradient(circle at 12% 12%, rgba(200, 157, 79, 0.12), transparent 26%),
    linear-gradient(135deg, #f4dfe2 0%, #fff8f4 62%, #f7e9e5 100%);
}

.ssk-st-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(64px, 8vw, 112px) clamp(24px, 6vw, 88px);
}

.ssk-st-kicker {
  margin-bottom: 14px;
  color: var(--ssk-surgical-rose);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ssk-st-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.ssk-st-lead {
  max-width: 690px;
  margin-bottom: 14px;
  color: #493a3e;
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  font-weight: 600;
  line-height: 1.5;
}

.ssk-st-intro {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--ssk-surgical-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.ssk-st-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.ssk-st-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.ssk-st-button:hover,
.ssk-st-button:focus-visible {
  transform: translateY(-2px);
}

.ssk-st-button:focus-visible,
.ssk-st-text-link:focus-visible,
.ssk-st-faq summary:focus-visible {
  outline: 3px solid rgba(200, 157, 79, 0.52);
  outline-offset: 3px;
}

.ssk-st-button--primary {
  color: #fff !important;
  background: var(--ssk-surgical-rose-deep);
  box-shadow: 0 10px 24px rgba(116, 52, 73, 0.22);
}

.ssk-st-button--primary:hover {
  background: #63283d;
  box-shadow: 0 14px 28px rgba(116, 52, 73, 0.28);
}

.ssk-st-button--secondary {
  color: var(--ssk-surgical-rose-deep) !important;
  border-color: rgba(116, 52, 73, 0.28);
  background: rgba(255, 255, 255, 0.56);
}

.ssk-st-button--secondary:hover {
  background: #fff;
}

.ssk-st-hero__media {
  position: relative;
  min-height: 650px;
  margin-bottom: 0;
  overflow: hidden;
}

.ssk-st-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 223, 226, 0.3), transparent 34%);
  content: "";
  pointer-events: none;
}

.ssk-st-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.ssk-st-principles {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 40px));
  margin: -48px auto 0;
  overflow: hidden;
  border: 1px solid var(--ssk-surgical-line);
  border-radius: 24px;
  background: rgba(255, 250, 247, 0.97);
  box-shadow: var(--ssk-surgical-shadow);
}

.ssk-st-principles > div {
  position: relative;
  min-height: 176px;
  padding: 28px 30px;
}

.ssk-st-principles > div + div {
  border-left: 1px solid var(--ssk-surgical-line);
}

.ssk-st-principles span {
  display: block;
  margin-bottom: 13px;
  color: var(--ssk-surgical-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.ssk-st-principles strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ssk-surgical-ink);
  font-size: 1.08rem;
}

.ssk-st-principles p {
  margin-bottom: 0;
  color: var(--ssk-surgical-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.ssk-st-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(68px, 8vw, 104px) 0;
}

.ssk-st-section + .ssk-st-section {
  border-top: 1px solid var(--ssk-surgical-line);
}

.ssk-st-section__head {
  max-width: 780px;
  margin-bottom: 34px;
}

.ssk-st-section__head h2,
.ssk-st-care h2,
.ssk-st-final h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.ssk-st-section__head > p:last-child,
.ssk-st-final > div > p:last-child {
  margin-bottom: 0;
  color: var(--ssk-surgical-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.ssk-st-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ssk-st-card {
  min-height: 205px;
  padding: 24px;
  border: 1px solid var(--ssk-surgical-line);
  border-radius: 20px;
  background: #fffaf7;
  box-shadow: 0 8px 28px rgba(73, 43, 53, 0.05);
}

.ssk-st-card__number {
  display: block;
  margin-bottom: 28px;
  color: var(--ssk-surgical-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.ssk-st-card p {
  margin-bottom: 0;
  color: #55454a;
  font-size: 0.98rem;
  line-height: 1.64;
}

.ssk-st-section--soft {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 88% 15%, rgba(200, 157, 79, 0.1), transparent 25%),
    #f6e7e9;
}

.ssk-st-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssk-st-steps li {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(151, 72, 98, 0.13);
  border-radius: 22px;
  background: rgba(255, 250, 247, 0.86);
}

.ssk-st-steps span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--ssk-surgical-rose);
  font-size: 0.85rem;
  font-weight: 800;
}

.ssk-st-steps p {
  margin-bottom: 0;
  color: #55454a;
  font-size: 0.98rem;
  line-height: 1.65;
}

.ssk-st-care {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.ssk-st-care ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.ssk-st-care li {
  position: relative;
  padding: 15px 0 15px 31px;
  border-bottom: 1px solid var(--ssk-surgical-line);
  color: #55454a;
  line-height: 1.65;
}

.ssk-st-care li::before {
  position: absolute;
  top: 20px;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ssk-surgical-gold);
  border-radius: 50%;
  content: "";
}

.ssk-st-caution {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(145deg, #8f465f, #6f3045);
  box-shadow: 0 18px 46px rgba(103, 45, 66, 0.19);
}

.ssk-st-caution span {
  display: block;
  margin-bottom: 16px;
  color: #f0d29b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ssk-st-caution p {
  margin-bottom: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.72;
}

.ssk-st-faq__list {
  border-top: 1px solid var(--ssk-surgical-line);
}

.ssk-st-faq details {
  border-bottom: 1px solid var(--ssk-surgical-line);
}

.ssk-st-faq summary {
  position: relative;
  padding: 23px 52px 23px 0;
  color: var(--ssk-surgical-ink);
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 750;
  list-style: none;
}

.ssk-st-faq summary::-webkit-details-marker {
  display: none;
}

.ssk-st-faq summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ssk-surgical-line);
  border-radius: 50%;
  color: var(--ssk-surgical-rose);
  content: "+";
  font-size: 1.25rem;
  transform: translateY(-50%);
}

.ssk-st-faq details[open] summary::after {
  content: "−";
}

.ssk-st-faq details p {
  max-width: 840px;
  margin-bottom: 0;
  padding: 0 52px 25px 0;
  color: var(--ssk-surgical-muted);
  line-height: 1.7;
}

.ssk-st-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  padding: clamp(58px, 8vw, 98px) max(20px, calc((100% - 1180px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 193, 117, 0.17), transparent 28%),
    linear-gradient(125deg, #6f3045 0%, #8f465f 64%, #a95d72 100%);
}

.ssk-st-final h2,
.ssk-st-final p,
.ssk-st-final .ssk-st-kicker {
  color: #fff;
}

.ssk-st-final > div:first-child {
  max-width: 750px;
}

.ssk-st-final .ssk-st-actions {
  justify-content: flex-end;
}

.ssk-st-button--light {
  color: var(--ssk-surgical-rose-deep) !important;
  background: #fffaf7;
}

.ssk-st-text-link {
  padding: 10px 2px;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
}

@media (max-width: 980px) {
  .ssk-st-hero {
    grid-template-columns: 1fr;
  }

  .ssk-st-hero__copy {
    min-height: auto;
    padding: 62px 28px 52px;
  }

  .ssk-st-hero__media,
  .ssk-st-hero__media img {
    min-height: 480px;
  }

  .ssk-st-hero__media::after {
    background: linear-gradient(180deg, rgba(244, 223, 226, 0.35), transparent 25%);
  }

  .ssk-st-principles {
    margin-top: -32px;
  }

  .ssk-st-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ssk-st-care {
    grid-template-columns: 1fr;
  }

  .ssk-st-final {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ssk-st-final .ssk-st-actions {
    justify-content: flex-start;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .ssk-surgical-credentials-inline,
  .ssk-st-principles,
  .ssk-st-steps {
    grid-template-columns: 1fr;
  }

  .ssk-st-principles > div {
    min-height: auto;
    padding: 23px;
  }

  .ssk-st-principles > div + div {
    border-top: 1px solid var(--ssk-surgical-line);
    border-left: 0;
  }

  .ssk-st-card-grid {
    grid-template-columns: 1fr;
  }

  .ssk-st-card {
    min-height: auto;
  }

  .ssk-st-hero__media,
  .ssk-st-hero__media img {
    min-height: 360px;
  }

  .ssk-st-hero__media img {
    object-position: center;
  }

  .ssk-st-section,
  .ssk-st-principles {
    width: min(100% - 28px, 1180px);
  }

  .ssk-st-section--soft {
    width: 100%;
  }

  .ssk-st-final {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssk-st-button {
    transition: none;
  }
}

/* Recuperación 1.2.1: el plugin no modifica el header oficial existente. */

:root {
  --ssk-surgical-button-gold: #f8e6b7;
}

/* --------------------------------------------------------------------------
   Header oficial: ajuste visual no invasivo.
   Se conserva íntegramente el HTML del plugin SkySkin Header Responsive.
   Solo la superficie rosa es 90% opaca; logo, menú y textos quedan al 100%.
   -------------------------------------------------------------------------- */

body.ssk-surgical-active #ssk1111-header .ssk1111-book,
body.ssk-surgical-active #ssk1111-header .ssk1111-mobile-book {
  display: none !important;
}

@media (min-width: 961px) {
  body.ssk-surgical-active #ssk1111-header .ssk1111-art-svg > path:nth-of-type(3) {
    fill: rgba(202, 129, 148, 0.9) !important;
  }

  body.ssk-surgical-active #ssk1111-header .ssk1111-nav-layer::before {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: min(850px, 62vw);
    height: 52px;
    border: 1px solid rgba(244, 216, 157, 0.42);
    border-radius: 46% 54% 44% 56% / 55% 45% 55% 45%;
    background: linear-gradient(
      90deg,
      rgba(117, 39, 67, 0.9) 0%,
      rgba(166, 73, 101, 0.9) 50%,
      rgba(117, 39, 67, 0.9) 100%
    );
    box-shadow:
      0 8px 22px rgba(77, 27, 45, 0.16),
      inset 0 1px 0 rgba(255, 248, 242, 0.2);
    content: "";
    pointer-events: none;
    transform: translate(-56%, -50%);
  }

  body.ssk-surgical-active #ssk1111-header .ssk1111-nav {
    z-index: 1;
  }

  body.ssk-surgical-active #ssk1111-header .ssk1111-nav a,
  body.ssk-surgical-active #ssk1111-header .ssk1111-nav a:visited {
    color: #fffaf4 !important;
    -webkit-text-fill-color: #fffaf4 !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(61, 19, 36, 0.72) !important;
  }

  body.ssk-surgical-active #ssk1111-header .ssk1111-nav a:hover,
  body.ssk-surgical-active #ssk1111-header .ssk1111-nav a:focus-visible {
    color: #f8e6b7 !important;
    -webkit-text-fill-color: #f8e6b7 !important;
  }
}

@media (max-width: 960px) {
  body.ssk-surgical-active #ssk1111-header {
    background: rgba(190, 113, 135, 0.9) !important;
  }
}

/* Todo botón cuyo fondo sea rosa recibe esta clase automáticamente. La lista
   explícita evita el destello de color antes de que se ejecute JavaScript. */
.ssk-gold-on-rose,
.ssk-gold-on-rose *,
.skyskin-native-button,
.skyskin-native-button *,
.skyskin-inicio-v594-secondary-button,
.skyskin-inicio-v594-secondary-button *,
.skyskin-conoce-v590-cta,
.skyskin-conoce-v590-cta *,
.skyskin-rescue-team-link,
.skyskin-rescue-team-link *,
.ssv601-button,
.ssv601-button *,
.skyskin-tratamientos-v591-cta,
.skyskin-tratamientos-v591-cta *,
.skyskin-resultados-v593-cta,
.skyskin-resultados-v593-cta *,
.skyskin-publicaciones-cta-v551,
.skyskin-publicaciones-cta-v551 *,
.ssk-cp-btn--rose,
.ssk-cp-btn--rose *,
.ssk-cp-submit,
.ssk-cp-submit *,
.ssk-home-reels__instagram,
.ssk-home-reels__instagram *,
.ssk-st-button--primary,
.ssk-st-button--primary * {
  color: var(--ssk-surgical-button-gold) !important;
  -webkit-text-fill-color: var(--ssk-surgical-button-gold) !important;
}

.ssk-gold-on-rose:visited,
.skyskin-native-button:visited,
.skyskin-inicio-v594-secondary-button:visited,
.skyskin-rescue-team-link:visited,
.ssv601-button:visited,
.skyskin-publicaciones-cta-v551:visited,
.ssk-cp-btn--rose:visited,
.ssk-home-reels__instagram:visited,
.ssk-st-button--primary:visited {
  color: var(--ssk-surgical-button-gold) !important;
  -webkit-text-fill-color: var(--ssk-surgical-button-gold) !important;
}
