:root {
  --navy: #071b3d;
  --navy2: #0d2b5f;
  --blue: #174b9c;
  --gold: #d7ad52;
  --gold2: #f0d58e;
  --cream: #f7f4ed;
  --white: #fff;
  --ink: #10203c;
  --muted: #657086;
  --line: #dfe5ee;
  --danger: #b92f48;
  --shadow: 0 28px 80px rgba(7, 27, 61, 0.16);
  --soft-shadow: 0 14px 40px rgba(7, 27, 61, 0.09);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 62px);
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(247, 244, 237, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 27, 61, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold2);
  font-family: "Playfair Display";
  font-size: 1.35rem;
  font-weight: 700;
}
.brand-copy strong,
.brand-copy small {
  display: block;
}
.brand-copy strong {
  letter-spacing: 0.13em;
  font-size: 0.84rem;
}
.brand-copy small {
  font-size: 0.61rem;
  color: #6f7a8c;
  letter-spacing: 0.04em;
}
.header-line {
  height: 1px;
  background: #d9dee6;
  flex: 1;
  overflow: hidden;
}
.header-line span {
  display: block;
  width: 32%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
.header-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #8a6a29;
}
.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(15px);
  pointer-events: none;
  opacity: 0.38;
}
.ambient-one {
  width: 460px;
  height: 460px;
  left: -180px;
  top: 120px;
  background: radial-gradient(circle, rgba(215, 173, 82, 0.3), transparent 68%);
}
.ambient-two {
  width: 560px;
  height: 560px;
  right: -220px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(23, 75, 156, 0.18), transparent 68%);
}
.wrap {
  width: 100%;
  min-height: 100vh;
  padding-top: 76px;
}
.screen {
  display: none;
  min-height: calc(100vh - 76px);
  animation: screenIn 0.45s ease;
}
.screen.on {
  display: grid;
  place-items: center;
}
@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* portada */
#sc-intro {
  display: none;
  padding: 0;
}
#sc-intro.on {
  display: block;
}
.premium-intro {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  background: var(--cream);
  border-radius: 0;
  padding: 0;
  text-align: left;
}
.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 92px);
  padding-right: clamp(34px, 5vw, 72px);
}
.kicker {
  display: inline-block;
  color: #a57924;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  text-transform: uppercase;
}
.premium-intro h1 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 20px 0 24px;
  max-width: 830px;
}
.premium-intro h1 em {
  color: var(--blue);
  font-style: italic;
}
.intro-lead {
  max-width: 720px;
  color: #55637a;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.72;
}
.intro-benefits {
  display: grid;
  gap: 10px;
  margin: 28px 0 32px;
}
.intro-benefits article {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(7, 27, 61, 0.09);
}
.intro-benefits article > span {
  font-size: 0.68rem;
  font-weight: 800;
  color: #a57924;
  padding-top: 4px;
}
.intro-benefits b,
.intro-benefits small {
  display: block;
}
.intro-benefits b {
  font-size: 0.88rem;
  color: var(--navy);
}
.intro-benefits small {
  font-size: 0.78rem;
  color: #728096;
  margin-top: 2px;
}
.intro-visual {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
}
.intro-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.82);
}
.intro-visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 21, 50, 0.05),
    rgba(5, 21, 50, 0.5)
  );
}
.intro-quote {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  background: rgba(7, 27, 61, 0.72);
  backdrop-filter: blur(16px);
  color: white;
  box-shadow: var(--shadow);
}
.intro-quote small,
.intro-quote strong {
  display: block;
}
.intro-quote small {
  color: #d8e0ec;
  font-size: 0.8rem;
  margin-bottom: 7px;
}
.intro-quote strong {
  font-family: "Playfair Display";
  font-size: 1.55rem;
  line-height: 1.24;
}
.meta {
  font-size: 0.72rem;
  color: #8993a3;
  margin-top: 16px;
}
.btn {
  border: 0;
  border-radius: 999px;
  padding: 15px 25px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  transition: 0.25s ease;
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(7, 27, 61, 0.18);
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--blue);
}
.btn.sec {
  background: transparent;
  color: #67758b;
  border: 1px solid #cdd5e0;
  box-shadow: none;
}
.btn.sec:hover {
  background: #f6f8fb;
  color: var(--navy);
}
/* pantallas internas */
.screen:not(#sc-intro):not(#sc-result) {
  padding: 38px;
  background:
    radial-gradient(
      circle at 12% 16%,
      rgba(215, 173, 82, 0.18),
      transparent 28%
    ),
    linear-gradient(135deg, #f8f5ee, #eef3fa);
}
.screen:not(#sc-intro):not(#sc-result) > .card,
.screen:not(#sc-intro):not(#sc-result) > .parte,
.screen:not(#sc-intro):not(#sc-result) > .progress,
.screen:not(#sc-intro):not(#sc-result) > .ptxt {
  grid-column: 1;
  grid-row: auto;
}
.card {
  width: min(850px, 100%);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(7, 27, 61, 0.08);
  border-radius: 30px;
  padding: clamp(28px, 4.6vw, 58px);
  box-shadow: var(--shadow);
  margin: 0 auto;
}
.screen > .progress,
.screen > .ptxt,
.screen > .parte {
  width: min(850px, 100%);
}
h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
}
.card h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.35rem) !important;
  letter-spacing: -0.025em;
  margin: 12px 0 10px !important;
}
.small,
.dimsub {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}
.progress {
  height: 7px;
  background: rgba(7, 27, 61, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto 15px;
}
.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  border-radius: inherit;
  transition: width 0.45s;
}
.ptxt {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #7c8799;
  margin: 0 auto 16px;
}
.parte {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--navy);
  color: white;
  border-radius: 15px;
  padding: 13px 17px;
  margin: 0 auto 14px;
}
.parte b {
  color: var(--gold2);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.parte span {
  font-size: 0.78rem;
  color: #d5deec;
}
.dimhead {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 5px;
}
.dimhead .ic {
  width: 60px;
  height: 60px;

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #0f3c78 0%, #1c63d5 100%);

  box-shadow: 0 12px 35px rgba(23, 75, 156, 0.18);

  transition: 0.35s;
}

.ic svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.card:hover .ic {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(23, 75, 156, 0.28);
}
.dimhead h2 {
  font-family: "DM Sans" !important;
  font-size: 1.05rem !important;
  margin: 0 !important;
  letter-spacing: 0;
}
.dimsub {
  margin-bottom: 8px;
}
.q {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.q p {
  font-weight: 700;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.5;
  margin-bottom: 13px;
}
.likert {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.likert button {
  padding: 13px 5px;
  border: 1px solid var(--line);
  background: #fbfcfe;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  color: #647188;
  transition: 0.2s;
}
.likert button:hover {
  border-color: #9aaccc;
  transform: translateY(-1px);
}
.likert button.sel {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  box-shadow: 0 8px 18px rgba(7, 27, 61, 0.17);
}
.lk-lab {
  display: flex;
  justify-content: space-between;
  font-size: 0.67rem;
  color: #8b95a6;
  margin-top: 6px;
}
.opts {
  display: grid;
  gap: 10px;
  margin: 12px 0 4px;
}
.opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfcfe;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.9rem;
}
.opt:hover {
  border-color: #9aaccc;
  transform: translateY(-1px);
}
.opt:has(input:checked) {
  border-color: var(--blue);
  background: #f2f6fd;
  box-shadow: 0 0 0 3px rgba(23, 75, 156, 0.07);
}
.opt input {
  margin-top: 4px;
  accent-color: var(--blue);
}
label.f {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #33425d;
  margin: 15px 0 6px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfe;
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 75, 156, 0.09);
}
textarea {
  min-height: 92px;
  resize: vertical;
}
.err {
  display: none;
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 12px;
}
.card > div[style*="display:flex"] {
  gap: 12px;
  align-items: center;
}
.card > div[style*="display:flex"] .btn:last-child {
  margin-left: auto;
}
/* resultados */
#sc-result {
  padding: clamp(22px, 4vw, 54px);
  background: linear-gradient(125deg, #061832, #0b2b5d);
  display: none;
}
#sc-result.on {
  display: block;
}
.res-head,
.informe,
.bars,
.foot {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.res-head {
  background: linear-gradient(145deg, var(--navy), var(--navy2));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: clamp(32px, 5vw, 60px);
  text-align: center;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.28);
  margin-bottom: 16px;
}
.res-head .kicker {
  color: var(--gold2);
}
.stamp {
  display: inline-block;
  border: 2px solid var(--gold2);
  color: var(--gold2);
  padding: 8px 20px;
  border-radius: 12px;
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  margin: 15px 0 5px;
}
.stamp-sub {
  color: #ccd6e7;
  max-width: 620px;
  margin: 7px auto 0;
}
.indices {
  display: flex;
  gap: 13px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.idx {
  min-width: 170px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.07);
}
.idx .n {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--gold2);
  line-height: 1;
}
.idx .n span:last-child {
  font-size: 0.9rem;
  color: #9dadc8;
}
.idx .l {
  font-size: 0.68rem;
  color: #d4ddec;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 6px;
}
.nivel {
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 18px;
}
.arq {
  max-width: 650px;
  margin: 13px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}
.arq b {
  color: var(--gold2);
}
.arq span {
  color: #c8d3e5;
  font-size: 0.82rem;
}
.informe,
.bars {
  margin-bottom: 15px;
}
.informe h3,
.bars h3 {
  font-family: "Playfair Display";
  font-size: 1.5rem !important;
  border-bottom: 1px solid var(--line) !important;
  padding-bottom: 12px !important;
  margin-bottom: 16px !important;
}
.informe p {
  font-size: 0.94rem;
  margin-bottom: 13px;
  color: #46536a;
}
.informe .num {
  font-weight: 900;
  color: #a87c25;
}
.bars .row {
  margin: 13px 0;
}
.bars .lab {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.track {
  height: 10px;
  background: #e9edf3;
  border-radius: 99px;
  overflow: hidden;
}
.fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  border-radius: inherit;
  transition: width 0.8s;
}
.bars h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7e899b;
  margin: 19px 0 5px;
}
.mini {
  border-left: 3px solid var(--gold);
  background: #f7f8fb;
  border-radius: 0 12px 12px 0;
  padding: 14px 17px;
  margin: 12px 0;
}
.mini h4 {
  color: var(--navy);
  font-size: 0.92rem;
}
.mini p {
  font-size: 0.86rem;
  color: #667187;
  margin: 0;
}
.compara {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.compara .h {
  padding: 13px;
  font-weight: 800;
  text-align: center;
  font-size: 0.82rem;
}
.compara .h.no {
  background: #f1f3f6;
  color: #6f7989;
}
.compara .h.si {
  background: #fbf3dc;
  color: #876319;
}
.compara .c {
  padding: 14px;
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
}
.compara .c.no {
  background: #fafbfc;
  color: #687386;
}
.compara .c.si {
  background: #fffdf7;
}
.cierre-cta {
  background: #fbf3dc;
  border: 1px solid #e2bd6b;
  border-radius: 17px;
  padding: 23px;
  text-align: center;
  margin-top: 18px;
}
.foot {
  text-align: center;
  padding: 15px 0 34px;
}
.foot .btn {
  margin: 6px;
}
.foot + .small {
  color: #c8d2e2 !important;
}
.no-print {
}
@media (max-width: 900px) {
  .premium-intro {
    grid-template-columns: 1fr;
  }
  .intro-visual {
    display: none;
  }
  .intro-copy {
    padding: 48px 28px;
  }
  .premium-intro h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }
  .screen:not(#sc-intro):not(#sc-result) {
    padding: 22px;
  }
  .card {
    border-radius: 24px;
  }
  .compara {
    grid-template-columns: 1fr;
  }
  .compara .h.si {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 66px;
    padding: 0 15px;
  }
  .wrap {
    padding-top: 66px;
  }
  .screen {
    min-height: calc(100vh - 66px);
  }
  .header-line,
  .header-label,
  .brand-copy small {
    display: none;
  }
  .intro-copy {
    padding: 38px 22px;
  }
  .premium-intro h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }
  .screen:not(#sc-intro):not(#sc-result) {
    padding: 13px;
  }
  .card {
    padding: 27px 20px;
    border-radius: 21px;
  }
  .card h2 {
    font-size: 2rem !important;
  }
  .parte {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .likert {
    gap: 5px;
  }
  .likert button {
    padding: 11px 2px;
  }
  .card > div[style*="display:flex"] {
    flex-wrap: wrap;
  }
  .card > div[style*="display:flex"] .btn {
    padding: 13px 16px;
    font-size: 0.8rem;
  }
  .indices {
    display: grid;
  }
  .idx {
    min-width: 0;
  }
  .res-head {
    border-radius: 22px;
  }
  .result-slide {
    padding: 12px;
  }
}
@media print {
  .site-header,
  .ambient,
  .no-print {
    display: none !important;
  }
  .wrap {
    padding: 0;
  }
  .screen {
    display: none !important;
  }
  #sc-result {
    display: block !important;
    background: white;
    padding: 0;
  }
  .card,
  .res-head {
    box-shadow: none;
    break-inside: avoid;
  }
  .res-head {
    color: #111;
    background: white;
    border: 1px solid #ddd;
  }
  .res-head * {
    color: #111 !important;
  }
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .brand-logo {
    height: 44px;
    max-width: 170px;
  }
}

/* =====================================================
   PORTADA PREMIUM EQUILIBRADA
   Más protagonismo para el texto sin generar scroll
===================================================== */

@media (min-width: 901px) {
  #sc-intro {
    min-height: calc(100vh - 76px);
    height: auto;
    overflow: visible;
  }

  #sc-intro.on {
    display: block;
  }

  .premium-intro {
    width: 100%;
    min-height: calc(102vh - 76px);
    height: auto;

    display: grid;
    grid-template-columns: 55% 45%;

    background: var(--cream);
  }

  /* =========================
     COLUMNA DE TEXTO
  ========================= */

  .intro-copy {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    justify-content: flex-start;

    padding-top: clamp(70px, 8vh, 110px);
    padding-bottom: 60px;

    padding-right: clamp(45px, 5vw, 85px);
  }

  .intro-copy .kicker {
    margin: 0;

    font-size: clamp(0.68rem, 0.72vw, 0.78rem);
    font-weight: 800;
    line-height: 1.3;

    letter-spacing: 0.18em;
    color: #a57924;
  }

  /* Título principal */
  .premium-intro h1 {
    width: 100%;
    max-width: 880px;

    margin: clamp(16px, 2vh, 24px) 0 clamp(17px, 2.2vh, 25px);

    font-size: clamp(3.9rem, 5vw, 6rem);
    line-height: 0.94;
    letter-spacing: -0.047em;

    color: var(--navy);
  }

  .premium-intro h1 em {
    display: block;

    color: var(--blue);
    font-style: italic;

    line-height: 1;
  }

  /* Descripción principal */
  .intro-lead {
    width: 100%;
    max-width: 790px;

    margin: 0;

    font-size: clamp(1.05rem, 1.13vw, 1.22rem);
    line-height: 1.63;

    color: #55637a;
  }

  /* =========================
     BENEFICIOS
  ========================= */

  .intro-benefits {
    width: 100%;
    max-width: 790px;

    display: grid;
    gap: 0;

    margin: clamp(18px, 2.5vh, 28px) 0 clamp(20px, 2.6vh, 30px);
  }

  .intro-benefits article {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    gap: 12px;

    padding: 10px 0;

    border-bottom: 1px solid rgba(7, 27, 61, 0.1);
  }

  .intro-benefits article:first-child {
    border-top: 1px solid rgba(7, 27, 61, 0.1);
  }

  .intro-benefits article > span {
    padding: 0;

    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;

    color: #a57924;
  }

  .intro-benefits b {
    display: block;

    font-size: clamp(0.92rem, 0.95vw, 1.04rem);
    line-height: 1.3;
    color: var(--navy);
  }

  .intro-benefits small {
    display: block;

    margin-top: 3px;

    font-size: clamp(0.75rem, 0.78vw, 0.85rem);
    line-height: 1.42;

    color: #728096;
  }

  /* =========================
     BOTÓN Y NOTA
  ========================= */

  .intro-copy > .btn {
    align-self: flex-start;

    min-height: 56px;

    padding: 16px 30px;

    font-size: clamp(0.92rem, 0.96vw, 1.02rem);
    line-height: 1;

    box-shadow: 0 15px 34px rgba(7, 27, 61, 0.2);
  }

  .intro-copy > .btn:hover {
    transform: translateY(-3px);
  }

  .meta {
    max-width: 760px;

    margin-top: 13px;

    font-size: clamp(0.65rem, 0.67vw, 0.73rem);
    line-height: 1.45;

    color: #8993a3;
  }

  /* =========================
     COLUMNA DE IMAGEN
  ========================= */

  .intro-visual {
    position: relative;

    width: 100%;
    height: auto;
    min-height: calc(112vh - 76px);

    overflow: hidden;
  }

  .intro-visual img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    filter: saturate(0.88) contrast(1.02);
  }

  .intro-visual-shade {
    position: absolute;
    inset: 0;

    background:
      linear-gradient(90deg, rgba(7, 27, 61, 0.12) 0%, rgba(7, 27, 61, 0) 28%),
      linear-gradient(
        180deg,
        rgba(5, 21, 50, 0.02) 0%,
        rgba(5, 21, 50, 0.32) 100%
      );
  }

  /* Frase sobre la imagen */
  .intro-quote {
    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 28px;

    padding: 22px 25px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 21px;

    background: rgba(7, 27, 61, 0.78);
    backdrop-filter: blur(16px);

    color: white;

    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
  }

  .intro-quote small {
    display: block;

    margin-bottom: 6px;

    font-size: clamp(0.72rem, 0.72vw, 0.8rem);
    line-height: 1.3;

    color: #d8e0ec;
  }

  .intro-quote strong {
    display: block;

    font-family: "Playfair Display", serif;
    font-size: clamp(1.25rem, 1.48vw, 1.65rem);
    line-height: 1.22;

    color: #fff;
  }
}

/* =====================================================
   AJUSTE DE EQUILIBRIO PORTADA
===================================================== */

@media (min-width: 901px) {
  .premium-intro {
    grid-template-columns: 56% 44%;
  }

  .intro-copy {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    /* Menos margen exterior y más espacio real para el contenido */
    padding: clamp(30px, 4vh, 54px) clamp(34px, 4.2vw, 72px);

    padding-left: clamp(52px, 6vw, 110px);
    padding-right: clamp(34px, 3.8vw, 68px);
  }

  .intro-copy .kicker,
  .premium-intro h1,
  .intro-lead,
  .intro-benefits,
  .meta {
    width: 100%;
    max-width: 860px;
  }

  .premium-intro h1 {
    font-size: clamp(3.8rem, 4.7vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.045em;

    margin: clamp(14px, 1.8vh, 22px) 0 clamp(15px, 2vh, 22px);
  }

  .premium-intro h1 em {
    display: block;
    max-width: none;
  }

  .intro-lead {
    font-size: clamp(1rem, 1.08vw, 1.17rem);
    line-height: 1.58;
  }

  .intro-benefits {
    max-width: 860px;

    margin: clamp(16px, 2.1vh, 24px) 0 clamp(18px, 2.2vh, 26px);
  }

  .intro-benefits article {
    grid-template-columns: 38px 1fr;
    padding: 9px 0;
  }

  .intro-benefits b {
    font-size: clamp(0.94rem, 1vw, 1.06rem);
  }

  .intro-benefits small {
    font-size: clamp(0.76rem, 0.8vw, 0.86rem);
  }

  .intro-copy > .btn {
    margin-top: 0;
  }
}

/* =====================================================
   CORRECCIÓN FINAL DE ALTURA Y ESPACIO SUPERIOR
===================================================== */

@media (min-width: 901px) {
  #sc-intro {
    min-height: calc(104vh - 76px);
    height: auto;
    overflow: visible;
  }

  .premium-intro {
    min-height: calc(104vh - 76px);
    height: auto;
    grid-template-columns: 56% 44%;
    align-items: stretch;
  }

  /* Mueve todo el contenido hacia arriba */
  .intro-copy {
    min-height: calc(104vh - 76px);
    height: auto;

    justify-content: flex-start;

    padding-top: 48px;
    padding-bottom: 65px;
    padding-left: clamp(52px, 6vw, 110px);
    padding-right: clamp(34px, 3.8vw, 68px);
  }

  /* La imagen debe tener la misma altura que la portada */
  .intro-visual {
    min-height: calc(104vh - 76px);
    height: auto;
  }

  .intro-visual img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
  }
}

/* =====================================================
   ICONOS EN LAS BARRAS DEL RESULTADO
===================================================== */

.bars .lab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.bars .bar-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--navy);
}

.bars .bar-label svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--blue);
  stroke-width: 2;
}

.bars .bar-label span {
  font-weight: 700;
  line-height: 1.3;
}

.bars .lab strong {
  flex-shrink: 0;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 560px) {
  .bars .bar-label {
    gap: 8px;
  }

  .bars .bar-label svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .bars .bar-label span {
    font-size: 0.82rem;
  }

  .bars .lab strong {
    font-size: 0.74rem;
  }
}

.btn-share-result {
  background: linear-gradient(135deg, #d7ad52, #b68124);

  color: #071b3d;

  box-shadow: 0 14px 32px rgba(215, 173, 82, 0.25);
}

.btn-share-result:hover {
  background: linear-gradient(135deg, #f0d58e, #d7ad52);

  color: #071b3d;
}

.btn-share-result:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* =====================================================
   ACCIONES DE RESULTADO: COMPARTIR Y DESCARGAR IMAGEN
===================================================== */

.result-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-share-result {
  background: linear-gradient(135deg, #d7ad52, #b68124);
  color: #071b3d;
  box-shadow: 0 14px 32px rgba(215, 173, 82, 0.25);
}

.btn-share-result:hover {
  background: linear-gradient(135deg, #f0d58e, #d7ad52);
  color: #071b3d;
}

.result-actions .btn:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

@media (max-width: 560px) {
  .result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .result-actions .btn {
    width: 100%;
    margin: 0;
  }
}


/* =========================================================
   TELÉFONO INTERNACIONAL
========================================================= */
.phone-help {
  margin: -2px 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.phone-field,
.phone-field .iti {
  width: 100%;
}

.phone-field .iti {
  display: block;
}

.phone-field #d_tel {
  min-height: 54px;
  padding-left: 104px !important;
}

.phone-field .iti__selected-country {
  padding: 0 13px;
  border-radius: 14px 0 0 14px;
  background: rgba(7, 27, 61, 0.035);
}

.phone-field .iti__country-container {
  z-index: 12;
}

.phone-field .iti__dropdown-content {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-field .iti__search-input {
  margin: 10px;
  width: calc(100% - 20px);
  border-radius: 10px;
}

.phone-preview {
  min-height: 21px;
  margin-top: 7px;
  font-size: 0.75rem;
  color: var(--muted);
}

.phone-preview.is-valid {
  color: #1f7a4d;
}

.phone-preview.is-invalid {
  color: var(--danger);
}

@media (max-width: 560px) {
  .phone-field #d_tel {
    padding-left: 98px !important;
  }
}


/* =========================================================
   TELÉFONO NATIVO POR PAÍS · SIN LIBRERÍAS EXTERNAS
========================================================= */

.phone-help {
  margin: -1px 0 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.phone-native-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.95fr) minmax(280px, 1.25fr);
  gap: 12px;
  align-items: end;
}

.phone-country-control,
.phone-number-control {
  min-width: 0;
}

.phone-mini-label {
  display: block;
  margin-bottom: 6px;
  color: #657086;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#d_pais {
  width: 100%;
  min-height: 56px;
  padding: 14px 42px 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfe;
  color: var(--ink);
  cursor: pointer;
}

.phone-number-box {
  display: flex;
  align-items: stretch;
  min-height: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfe;
  transition: 0.2s ease;
}

.phone-number-box:focus-within,
#d_pais:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 75, 156, 0.09);
}

.phone-dial-code {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 0 14px;
  border-right: 1px solid var(--line);
  background: #f1f5fb;
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

#d_tel {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.phone-preview {
  min-height: 22px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.phone-preview.is-valid {
  color: #177245;
}

.phone-preview.is-invalid {
  color: var(--danger);
}

@media (max-width: 700px) {
  .phone-native-grid {
    grid-template-columns: 1fr;
  }
}
