/* ElSecreto P24 — publishing plans + advertiser registration. */

body.tgm-site-elsecreto .tgm-es-publish {
  --es-bg: #090508;
  --es-wine: #170611;
  --es-wine-2: #220a18;
  --es-champagne: #e7c9b8;
  --es-rose: #d9a88f;
  --es-gold: #d7a86d;
  --es-text: #f7f2f4;
  --es-muted: #b9abb2;
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 70px) 0 56px;
  color: var(--es-text);
  box-sizing: border-box;
}

body.tgm-site-elsecreto:has(.tgm-es-publish) {
  background:
    radial-gradient(circle at 50% 9%, rgba(104, 28, 65, .19), transparent 35rem),
    linear-gradient(180deg, #080507 0%, #0e060b 55%, #080507 100%);
}

body.tgm-site-elsecreto .tgm-es-publish__hero {
  text-align: center;
  margin: 0 auto clamp(26px, 5vw, 42px);
}

body.tgm-site-elsecreto .tgm-es-publish__crown {
  width: 66px;
  height: 50px;
  margin: 0 auto 12px;
  color: var(--es-champagne);
  filter: drop-shadow(0 8px 16px rgba(217, 168, 143, .12));
}

body.tgm-site-elsecreto .tgm-es-publish__crown svg,
body.tgm-site-elsecreto .tgm-es-plan__icon svg {
  width: 100%;
  height: 100%;
}

body.tgm-site-elsecreto .tgm-es-publish__hero h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  color: var(--es-champagne) !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
}

body.tgm-site-elsecreto .tgm-es-publish__hero h1::before,
body.tgm-site-elsecreto .tgm-es-publish__hero h1::after {
  content: '';
  width: clamp(34px, 8vw, 92px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 201, 184, .75));
}

body.tgm-site-elsecreto .tgm-es-publish__hero h1::after {
  transform: scaleX(-1);
}

body.tgm-site-elsecreto .tgm-es-publish__currency {
  margin: 14px 0 0;
  color: #a99aa2 !important;
  font-size: 16px;
  letter-spacing: .015em;
}

body.tgm-site-elsecreto .tgm-es-publish__reference {
  margin: 8px auto 0;
  max-width: 620px;
  color: #8f8189 !important;
  font-size: 12px;
}

body.tgm-site-elsecreto .tgm-es-plan-grid {
  display: grid;
  gap: 22px;
}

body.tgm-site-elsecreto .tgm-es-plan {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) minmax(220px, 250px);
  align-items: center;
  min-height: 190px;
  padding: 26px 28px;
  border: 1px solid rgba(231, 201, 184, .66);
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 20%, rgba(217, 168, 143, .075), transparent 19rem),
    linear-gradient(135deg, rgba(40, 10, 27, .9) 0%, rgba(19, 6, 14, .95) 60%, rgba(12, 5, 9, .97) 100%);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(217, 168, 143, .035);
  overflow: hidden;
  box-sizing: border-box;
}

body.tgm-site-elsecreto .tgm-es-plan__icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(231, 201, 184, .78);
  border-radius: 999px;
  color: var(--es-champagne);
  background: linear-gradient(145deg, rgba(77, 24, 51, .42), rgba(16, 5, 11, .72));
  box-shadow: inset 0 0 24px rgba(217, 168, 143, .08);
}

body.tgm-site-elsecreto .tgm-es-plan__icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.tgm-site-elsecreto .tgm-es-plan__copy {
  padding: 0 28px 0 4px;
}

body.tgm-site-elsecreto .tgm-es-plan__copy h2 {
  margin: 0 0 10px;
  color: #fff !important;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.1;
}

body.tgm-site-elsecreto .tgm-es-plan__copy p {
  max-width: 460px;
  margin: 0;
  color: #b8aab1 !important;
  font-size: 16px;
  line-height: 1.55;
}

body.tgm-site-elsecreto .tgm-es-plan__offer {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 140px;
  padding-left: 28px;
  border-left: 1px solid rgba(217, 168, 143, .38);
  text-align: center;
}

body.tgm-site-elsecreto .tgm-es-plan__offer strong {
  color: var(--es-champagne);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

body.tgm-site-elsecreto .tgm-es-plan__offer span {
  margin-top: 8px;
  color: #c5b7be;
  font-size: 15px;
}

body.tgm-site-elsecreto .tgm-es-plan__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  margin-top: 17px;
  padding: 11px 22px;
  border: 1px solid rgba(255, 238, 224, .6);
  border-radius: 6px;
  background: linear-gradient(180deg, #ecc4a8 0%, #d6a17e 100%);
  color: #160a0f !important;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

body.tgm-site-elsecreto .tgm-es-plan__cta:hover,
body.tgm-site-elsecreto .tgm-es-plan__cta:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28);
}

body.tgm-site-elsecreto .tgm-es-publish__compliance {
  display: grid;
  gap: 4px;
  max-width: 780px;
  margin: 34px auto 0;
  padding: 18px 22px;
  border-top: 1px solid rgba(217, 168, 143, .25);
  border-bottom: 1px solid rgba(217, 168, 143, .12);
  color: #a99ba3;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
}

body.tgm-site-elsecreto .tgm-es-publish__compliance strong {
  color: var(--es-champagne);
  font-size: 14px;
}

/* Native EscortWP registration is preserved, but visually brought into ElSecreto. */
body.tgm-site-elsecreto.page-template-register-independent,
body.tgm-site-elsecreto.page-id-40 {
  background:
    radial-gradient(circle at 50% 9%, rgba(104, 28, 65, .16), transparent 34rem),
    linear-gradient(180deg, #080507 0%, #10070d 100%);
}

body.tgm-site-elsecreto.page-template-register-independent .body,
body.tgm-site-elsecreto.page-id-40 .body {
  width: min(940px, calc(100% - 24px));
  margin-inline: auto;
}

body.tgm-site-elsecreto.page-template-register-independent .bodybox,
body.tgm-site-elsecreto.page-id-40 .bodybox {
  border: 1px solid rgba(217, 168, 143, .28) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(34, 10, 24, .96), rgba(13, 5, 10, .98)) !important;
  color: #f7f2f4 !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28) !important;
  overflow: hidden;
}

body.tgm-site-elsecreto.page-template-register-independent .bodybox h1,
body.tgm-site-elsecreto.page-template-register-independent .bodybox h2,
body.tgm-site-elsecreto.page-template-register-independent .bodybox h3,
body.tgm-site-elsecreto.page-id-40 .bodybox h1,
body.tgm-site-elsecreto.page-id-40 .bodybox h2,
body.tgm-site-elsecreto.page-id-40 .bodybox h3 {
  color: #e7c9b8 !important;
}

body.tgm-site-elsecreto.page-template-register-independent .bodybox label,
body.tgm-site-elsecreto.page-template-register-independent .bodybox p,
body.tgm-site-elsecreto.page-template-register-independent .bodybox span,
body.tgm-site-elsecreto.page-id-40 .bodybox label,
body.tgm-site-elsecreto.page-id-40 .bodybox p,
body.tgm-site-elsecreto.page-id-40 .bodybox span {
  color: #d8ccd2;
}

body.tgm-site-elsecreto.page-template-register-independent input[type='text'],
body.tgm-site-elsecreto.page-template-register-independent input[type='email'],
body.tgm-site-elsecreto.page-template-register-independent input[type='password'],
body.tgm-site-elsecreto.page-template-register-independent input[type='tel'],
body.tgm-site-elsecreto.page-template-register-independent input[type='number'],
body.tgm-site-elsecreto.page-template-register-independent select,
body.tgm-site-elsecreto.page-template-register-independent textarea,
body.tgm-site-elsecreto.page-id-40 input[type='text'],
body.tgm-site-elsecreto.page-id-40 input[type='email'],
body.tgm-site-elsecreto.page-id-40 input[type='password'],
body.tgm-site-elsecreto.page-id-40 input[type='tel'],
body.tgm-site-elsecreto.page-id-40 input[type='number'],
body.tgm-site-elsecreto.page-id-40 select,
body.tgm-site-elsecreto.page-id-40 textarea {
  border: 1px solid rgba(217, 168, 143, .42) !important;
  border-radius: 9px !important;
  background: rgba(8, 5, 7, .68) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.tgm-site-elsecreto.page-template-register-independent input:focus,
body.tgm-site-elsecreto.page-template-register-independent select:focus,
body.tgm-site-elsecreto.page-template-register-independent textarea:focus,
body.tgm-site-elsecreto.page-id-40 input:focus,
body.tgm-site-elsecreto.page-id-40 select:focus,
body.tgm-site-elsecreto.page-id-40 textarea:focus {
  border-color: #e7c9b8 !important;
  outline: 2px solid rgba(231, 201, 184, .12) !important;
}

body.tgm-site-elsecreto.page-template-register-independent input[type='submit'],
body.tgm-site-elsecreto.page-template-register-independent button[type='submit'],
body.tgm-site-elsecreto.page-id-40 input[type='submit'],
body.tgm-site-elsecreto.page-id-40 button[type='submit'] {
  border: 1px solid rgba(255, 239, 226, .52) !important;
  border-radius: 9px !important;
  background: linear-gradient(180deg, #e7c9b8 0%, #d9a88f 100%) !important;
  color: #170611 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

body.tgm-site-elsecreto .tgm-es-registration-selected {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: center;
  margin: 0 auto 18px;
  padding: 17px 19px;
  border: 1px solid rgba(231, 201, 184, .42);
  border-radius: 14px;
  background: rgba(217, 168, 143, .07);
  color: #f7f2f4;
}

body.tgm-site-elsecreto .tgm-es-registration-selected strong {
  color: #e7c9b8;
  font-size: 18px;
}

body.tgm-site-elsecreto .tgm-es-registration-selected__price {
  color: #e7c9b8;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  white-space: nowrap;
}

body.tgm-site-elsecreto .tgm-es-registration-selected small {
  grid-column: 1 / -1;
  color: #a99aa2;
}

body.tgm-site-elsecreto .tgm-es-registration-selected a {
  color: #e7c9b8 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.tgm-site-elsecreto .tgm-es-registration-age-note {
  margin: 16px 0 4px;
  padding: 13px 15px;
  border-left: 2px solid #d9a88f;
  background: rgba(217, 168, 143, .06);
  color: #b9abb2;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  body.tgm-site-elsecreto .tgm-es-publish {
    width: min(100% - 18px, 620px);
    padding-top: 28px;
  }

  body.tgm-site-elsecreto .tgm-es-publish__hero h1 {
    gap: 9px;
    font-size: clamp(35px, 10vw, 48px);
  }

  body.tgm-site-elsecreto .tgm-es-publish__hero h1::before,
  body.tgm-site-elsecreto .tgm-es-publish__hero h1::after {
    width: 30px;
  }

  body.tgm-site-elsecreto .tgm-es-plan {
    grid-template-columns: 66px minmax(0, 1fr);
    min-height: 0;
    padding: 20px 17px 18px;
    border-radius: 18px;
  }

  body.tgm-site-elsecreto .tgm-es-plan__icon {
    width: 54px;
    height: 54px;
  }

  body.tgm-site-elsecreto .tgm-es-plan__icon svg {
    width: 32px;
    height: 32px;
  }

  body.tgm-site-elsecreto .tgm-es-plan__copy {
    padding: 0 0 0 3px;
  }

  body.tgm-site-elsecreto .tgm-es-plan__copy h2 {
    margin-bottom: 6px;
    font-size: 23px;
  }

  body.tgm-site-elsecreto .tgm-es-plan__copy p {
    font-size: 13px;
    line-height: 1.45;
  }

  body.tgm-site-elsecreto .tgm-es-plan__offer {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: start;
    min-height: 0;
    margin-top: 18px;
    padding: 17px 0 0;
    border-top: 1px solid rgba(217, 168, 143, .28);
    border-left: 0;
    text-align: left;
  }

  body.tgm-site-elsecreto .tgm-es-plan__offer strong {
    font-size: 36px;
  }

  body.tgm-site-elsecreto .tgm-es-plan__offer span {
    grid-column: 1;
    margin-top: 5px;
  }

  body.tgm-site-elsecreto .tgm-es-plan__cta {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    min-width: 118px;
    margin: 0;
    padding: 11px 15px;
  }

  body.tgm-site-elsecreto .tgm-es-registration-selected {
    grid-template-columns: 1fr;
  }

  body.tgm-site-elsecreto .tgm-es-registration-selected small {
    grid-column: 1;
  }
}

@media (max-width: 390px) {
  body.tgm-site-elsecreto .tgm-es-plan__offer strong {
    font-size: 31px;
  }
  body.tgm-site-elsecreto .tgm-es-plan__cta {
    min-width: 105px;
    font-size: 15px;
  }
}
