/* Pagina publica de SayDoc. Identidad "Clinical Trust": verde azulado para actuar,
   gris pizarra para lo institucional y blanco clinico de fondo. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fuentes/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("/fuentes/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --teal: #0d9488;
  --acento: #0f766e;
  --acento-hover: #115e59;
  --teal-suave: #f0fdfa;
  --teal-claro: #ccfbf1;
  --tinta: #0f172a;
  --texto: #1e293b;
  --pizarra: #475569;
  --fondo: #ffffff;
  --velo: #f4f8f8;
  --borde: #e2e8f0;
  --whatsapp: #15803d;
  --whatsapp-hover: #166534;
  --destacador: #fde68a;
  --aviso: #8a4b06;
  --sombra: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 30px -12px rgba(15, 23, 42, 0.14);
  --titular: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --cuerpo: "Geist", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font: 17px/1.6 var(--cuerpo);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--acento);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--tinta);
  font-family: var(--titular);
  letter-spacing: -0.01em;
  word-spacing: 0.04em;
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
  color: var(--teal);
  font-style: normal;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.sprite {
  display: none;
}

.icono {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.marco {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

.seccion {
  margin-top: 104px;
}

.entrada {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--pizarra);
}

.saltar {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--tinta);
  color: #fff;
}

.saltar:focus {
  top: 12px;
}

/* Barra superior */
.barra {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--borde);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.barra-interior {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo,
.logo img {
  display: block;
  flex: none;
}

.menu {
  display: flex;
  gap: 26px;
}

.menu a {
  color: var(--tinta);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.menu a:hover {
  color: var(--acento);
}

.menu a:first-child {
  color: var(--acento);
  font-weight: 650;
  text-decoration: underline 2px;
  text-underline-offset: 8px;
}

.barra-acciones,
.acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Botones */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--titular);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}

.boton:hover {
  transform: translateY(-1px);
}

.boton .icono {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.boton-grande {
  min-height: 56px;
  padding: 10px 28px;
  font-size: 17px;
}

.boton-chico {
  min-height: 40px;
  padding: 6px 16px;
  font-size: 14px;
}

.boton-lleno {
  background: var(--acento);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(15, 118, 110, 0.55);
}

.boton-lleno:hover {
  background: var(--acento-hover);
}

.boton-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(21, 128, 61, 0.55);
}

.boton-whatsapp:hover {
  background: var(--whatsapp-hover);
}

.boton-claro {
  border-color: var(--borde);
  background: #fff;
  color: var(--tinta);
}

.boton-claro:hover {
  border-color: var(--pizarra);
}

.boton-borde-acento {
  border-color: var(--acento);
  background: #fff;
  color: var(--acento);
}

.boton-borde-acento:hover {
  background: var(--teal-suave);
}

.boton-blanco {
  background: #fff;
  color: var(--tinta);
}

.boton-blanco:hover {
  background: var(--teal-claro);
}

/* Portada */
.portada {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 460px at 85% 30%, var(--teal-claro) 0%, rgba(204, 251, 241, 0) 70%),
    linear-gradient(180deg, var(--teal-suave), #fff 85%);
}

.portada-interior {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-block: 64px 72px;
}

.insignia {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--acento);
  color: #fff;
  font-family: var(--titular);
  font-size: 15px;
  font-weight: 700;
}

h1 {
  max-width: 16ch;
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.bajada {
  max-width: 50ch;
  margin-top: 24px;
  color: var(--pizarra);
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
}

.portada .acciones {
  margin-top: 32px;
}

.rasgos {
  margin-top: 18px;
  color: var(--pizarra);
  font-size: 15px;
}

.rasgos span {
  margin-inline: 6px;
  color: var(--teal);
}

.portada-visual {
  position: relative;
  min-height: 520px;
}

/* Fondo de la portada: dos fotos que se alternan y se funden con la pagina por la izquierda */
.fondo-portada {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%);
  mask-image: linear-gradient(to right, transparent 0%, #000 32%);
}

.fondo-portada img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: acercar 16s ease-in-out infinite alternate;
}

.fondo-portada .foto-1 {
  object-position: 38% center;
}

.fondo-portada .foto-2 {
  object-position: 48% center;
  opacity: 0;
  animation:
    acercar 16s ease-in-out infinite alternate,
    alternar 14s ease-in-out infinite;
}

@keyframes acercar {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes alternar {
  0%,
  42% {
    opacity: 0;
  }
  50%,
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Sobre la foto, abajo y lejos de las caras */
.portada .manuscrito {
  top: auto;
  bottom: -6px;
  left: 6%;
  padding: 6px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  font-size: 21px;
  transform: rotate(-4deg);
}

.portada .manuscrito::after {
  display: none;
}

.portada .tarjeta-ejemplo {
  bottom: 84px;
}

.manuscrito {
  position: absolute;
  left: 4%;
  top: 0;
  z-index: 2;
  color: var(--tinta);
  font-family: var(--titular);
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  transform: rotate(-6deg);
}

.manuscrito::after {
  content: "";
  display: block;
  width: 46px;
  height: 34px;
  margin: 2px 0 0 150px;
  border-bottom: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  border-radius: 0 0 0 40px;
}

/* Espacios para fotos: mientras no lleguen, muestran la aplicacion sobre un fondo de marca */
.foto {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(150deg, #5eead4 0%, var(--teal) 55%, var(--acento-hover) 100%);
}


.foto-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}





.tarjeta-flotante {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--tinta);
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.35);
  text-decoration: none;
}

.tarjeta-flotante strong,
.tarjeta-flotante small {
  display: block;
  line-height: 1.3;
}

.tarjeta-flotante strong {
  font-family: var(--titular);
  font-size: 15px;
}

.tarjeta-flotante small {
  color: var(--pizarra);
  font-size: 13px;
}

.tarjeta-ejemplo {
  left: 0;
  bottom: 56px;
}

.tarjeta-ejemplo:hover {
  outline: 2px solid var(--teal);
}

.play {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tinta);
  color: #fff;
}



/* Franja de rasgos */
.franja-rasgos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: -36px;
  padding: 22px 8px;
  border: 1px solid var(--borde);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sombra);
  list-style: none;
  position: relative;
  z-index: 2;
}

.franja-rasgos li {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 6px 12px;
  color: var(--tinta);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.franja-rasgos li + li {
  border-left: 1px solid var(--borde);
}

.franja-rasgos .icono {
  width: 38px;
  height: 38px;
  color: var(--teal);
  stroke-width: 1.4;
}

/* Como te ayuda */
.ayuda {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ayuda h2 {
  font-size: clamp(28px, 2.8vw, 34px);
}

.checks {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--texto);
  font-size: 16px;
  line-height: 1.5;
}

.checks .icono {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  stroke-width: 3;
}

.checks strong {
  color: var(--tinta);
}

.checks.chicos li {
  font-size: 15px;
}

.checks.chicos .icono {
  padding: 0;
  background: none;
  color: var(--teal);
}

.foto-ayuda .foto-img {
  object-position: 28% center;
}

.foto-ayuda > :not(img) {
  position: relative;
}

.foto-ayuda {
  display: grid;
  align-content: space-between;
  min-height: 340px;
  padding: 28px;
}

.burbuja {
  justify-self: end;
  max-width: 220px;
  padding: 16px 20px;
  border-radius: 22px 22px 4px 22px;
  background: #fff;
  color: var(--tinta);
  font-family: var(--titular);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.35);
}

.onda {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.onda span {
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--teal);
}

.onda span:nth-child(3n) {
  height: 30px;
}

.onda span:nth-child(4n + 1) {
  height: 22px;
}

.onda span:nth-child(5n) {
  height: 36px;
}

.onda .icono {
  width: 36px;
  height: 36px;
  margin-left: auto;
  padding: 7px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  stroke-width: 2.5;
}






/* Facil de usar: notebook con la nota real y el boton de copiar */
.facil {
  display: grid;
  gap: 18px;
  align-content: space-between;
  padding: 28px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--teal-suave), var(--velo));
}

.facil h3 {
  font-size: 22px;
}

.facil p {
  margin-top: 8px;
  color: var(--pizarra);
  font-size: 16px;
  line-height: 1.5;
}

.facil .boton {
  margin-top: 16px;
}

.facil .boton .icono {
  width: 16px;
  height: 16px;
}

.notebook {
  position: relative;
  margin: 6px 26px 0 0;
}

.notebook-pantalla {
  overflow: hidden;
  padding: 6px;
  border-radius: 10px 10px 2px 2px;
  background: var(--tinta);
  box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.45);
}

.notebook-pantalla img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
}

.notebook-base {
  height: 10px;
  margin-inline: -6%;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#cbd5e1, #94a3b8);
}

.copiar-flotante {
  position: absolute;
  right: -26px;
  top: 30%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid var(--teal);
  border-radius: 12px;
  background: #fff;
  color: var(--acento);
  font-family: var(--titular);
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.45);
}

.copiar-flotante .icono {
  width: 18px;
  height: 18px;
}

.cursor {
  position: absolute;
  right: -10px;
  top: calc(30% + 46px);
  width: 22px;
  height: 22px;
  fill: var(--tinta);
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

/* Ejemplo: conversacion a la izquierda, nota a la derecha */
.ejemplo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--borde);
  border-radius: 24px;
  box-shadow: var(--sombra);
}

.ejemplo-lado {
  padding: 34px 36px;
}

.conversacion {
  display: grid;
  align-content: start;
  gap: 13px;
  background: var(--velo);
  color: var(--tinta);
  line-height: 1.62;
}

.conversacion p:not(.rotulo) {
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.rotulo {
  margin-bottom: 4px;
  color: var(--pizarra);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.conversacion mark {
  padding-block: 2px;
  border-radius: 3px;
  background: linear-gradient(var(--destacador), var(--destacador)) left / 0% 100% no-repeat;
  color: inherit;
  transition: background-size 0.35s ease;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.conversacion mark.activa {
  background-size: 100% 100%;
}

.nota-ejemplo {
  background: #fff;
}

.campos {
  display: grid;
  gap: 2px;
  margin-inline: -16px;
  padding: 0;
  list-style: none;
}

.campos button {
  display: block;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--texto);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.campos button:hover {
  background: var(--velo);
}

.campos button[aria-pressed="true"] {
  background: #fff6d3;
}

.campos strong {
  display: block;
  color: var(--tinta);
  font-family: var(--titular);
  font-size: 15px;
  font-weight: 700;
}

.campos em {
  display: block;
  margin-top: 3px;
  color: var(--aviso);
  font-size: 15px;
  font-style: normal;
}

/* Pasos */
.pasos,
.empezar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 44px;
  padding: 0;
  list-style: none;
}

.captura {
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid var(--borde);
  border-radius: 20px;
  background: var(--velo);
}

.captura img {
  display: block;
  width: 100%;
  height: auto;
}

.pasos h3,
.empezar h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pasos h3 span,
.empezar h3 span {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-claro);
  color: var(--acento);
  font-size: 16px;
}

.pasos p,
.empezar p {
  margin-top: 10px;
  color: var(--pizarra);
}

.empezar li {
  padding: 28px;
  border: 1px solid var(--borde);
  border-radius: 20px;
}

/* Franja de confianza */
.franja {
  margin-top: 104px;
  padding-block: 80px;
  background: var(--tinta);
  color: #cbd5e1;
}

.franja h2 {
  color: #fff;
}

.franja-interior {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
}

.garantias {
  display: grid;
  gap: 28px;
}

.garantias dt {
  color: #5eead4;
  font-family: var(--titular);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.garantias dd {
  max-width: 58ch;
  margin-top: 6px;
}

/* Planes */
.planes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.9fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 24px 24px;
  border: 1px solid var(--borde);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sombra);
}

.plan h3 {
  text-align: center;
}

.plan-para {
  margin-top: -12px;
  color: var(--pizarra);
  font-size: 14.5px;
  text-align: center;
}

.plan .checks {
  margin-top: 4px;
}

.plan .boton {
  margin-top: auto;
}

.plan.destacado {
  border: 2px solid var(--teal);
}

.cinta {
  position: absolute;
  top: -15px;
  left: 50%;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--acento);
  color: #fff;
  font-family: var(--titular);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
}

.pagos {
  padding: 28px 24px;
  border-radius: 22px;
  background: var(--velo);
}

.pagos h3 {
  color: var(--acento);
  font-size: 22px;
  text-align: center;
}

.pagos ul {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.pagos li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--tinta);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.pagos .icono {
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  color: var(--teal);
}

/* Tres tarjetas */
.tres {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tarjeta-info {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--teal-suave), var(--velo));
}

.tarjeta-info h3 {
  font-size: 22px;
}

.tarjeta-info p {
  color: var(--pizarra);
  font-size: 16px;
}

.tarjeta-info .boton {
  justify-self: start;
}







.foto-tarjeta {
  aspect-ratio: 16 / 9;
  margin-top: 8px;
  border-radius: 16px;
}



.dispositivos {
  position: relative;
  height: 130px;
  margin-top: 8px;
}

.d-pc {
  position: absolute;
  left: 8%;
  right: 22%;
  top: 0;
  bottom: 18px;
  display: grid;
  place-items: center;
  border: 8px solid var(--tinta);
  border-radius: 12px;
  background: #fff;
}

.d-pc::after {
  content: "";
  position: absolute;
  left: 38%;
  right: 38%;
  bottom: -26px;
  height: 18px;
  background: var(--tinta);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.d-cel {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 56px;
  height: 100px;
  border: 6px solid var(--tinta);
  border-radius: 12px;
  background: var(--teal-claro);
}

.aviso-ejemplo {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--sombra);
}

.aviso-ejemplo .icono {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: var(--teal-suave);
  color: var(--teal);
}

.aviso-ejemplo strong {
  display: block;
  color: var(--tinta);
  font-family: var(--titular);
}

.aviso-ejemplo span {
  color: var(--pizarra);
  font-size: 14.5px;
  line-height: 1.4;
}

/* Tabla de privacidad */
.tabla-marco {
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid var(--borde);
  border-radius: 20px;
}

.tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.tabla th,
.tabla td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--borde);
  text-align: left;
  vertical-align: top;
}

.tabla tbody tr:last-child > * {
  border-bottom: 0;
}

.tabla thead th {
  background: var(--velo);
  color: var(--pizarra);
  font-size: 14px;
  font-weight: 600;
}

.tabla tbody th {
  color: var(--tinta);
  font-weight: 600;
  white-space: nowrap;
}

.tabla td:last-child {
  color: var(--pizarra);
}

.estado {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.estado.no {
  background: var(--teal-claro);
  color: var(--acento-hover);
}

.estado.si {
  background: #f1f5f9;
  color: var(--pizarra);
}

.nota-tabla {
  max-width: 80ch;
  margin-top: 16px;
  color: var(--pizarra);
  font-size: 15px;
}

/* Especialidades */
.especialidades {
  padding: 40px;
  border-radius: 24px;
  background: var(--velo);
  text-align: center;
}

.especialidades h2 {
  font-size: clamp(24px, 2.6vw, 30px);
}

.especialidades .entrada {
  margin-inline: auto;
}

.especialidades ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.especialidades li {
  padding: 8px 18px;
  border: 1px solid var(--borde);
  border-radius: 999px;
  background: #fff;
  color: var(--tinta);
  font-size: 15px;
  font-weight: 500;
}

.especialidades p {
  margin-top: 18px;
  color: var(--pizarra);
  font-size: 15px;
}

/* Preguntas */
.preguntas {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
}

.preguntas details {
  border-bottom: 1px solid var(--borde);
}

.preguntas summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--tinta);
  font-family: var(--titular);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.preguntas summary::-webkit-details-marker {
  display: none;
}

.preguntas summary::after {
  content: "+";
  color: var(--teal);
  font-size: 24px;
  line-height: 1;
}

.preguntas details[open] summary::after {
  content: "−";
}

.preguntas details p {
  max-width: 68ch;
  padding-bottom: 20px;
  color: var(--pizarra);
}

/* Cierre */
.cierre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  margin-top: 104px;
  padding: 36px 40px;
  border-radius: 24px;
  background: var(--tinta);
  color: #cbd5e1;
}

.cierre-icono {
  width: 64px;
  height: 64px;
  color: #5eead4;
  stroke-width: 1.4;
}

.cierre-texto {
  flex: 1 1 320px;
}

.cierre h2 {
  color: #fff;
  font-size: clamp(24px, 2.6vw, 30px);
}

.cierre p {
  margin-top: 6px;
}

/* Pie */
.pie {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
  margin-top: 64px;
  padding-block: 40px;
  border-top: 1px solid var(--borde);
  color: var(--pizarra);
  font-size: 15px;
}

.pie img {
  display: block;
  margin-bottom: 12px;
}

.pie nav {
  display: grid;
  gap: 6px;
}

.pie nav a {
  color: var(--pizarra);
}

.pie nav a:hover {
  color: var(--acento);
}

/* Tableta */
@media (max-width: 1100px) {
  .menu {
    display: none;
  }

  .franja-rasgos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 20px;
  }

  .franja-rasgos li:nth-child(4) {
    border-left: 0;
  }

  .ayuda {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .facil {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
  }


  .planes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pagos {
    grid-column: 1 / -1;
  }

  .pagos ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .portada-interior {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 48px 72px;
  }

  .portada {
    display: flex;
    flex-direction: column;
  }

  .portada-interior {
    padding-block: 48px 20px;
  }

  .portada-visual {
    min-height: 0;
  }

  .manuscrito {
    display: none;
  }

  .tarjeta-ejemplo {
    position: static;
    display: inline-flex;
  }

  .fondo-portada {
    order: 2;
    position: relative;
    width: auto;
    height: clamp(260px, 60vw, 420px);
    margin: 0 16px 72px;
    border-radius: 24px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ejemplo,
  .franja-interior,
  .preguntas,
  .tres,
  .pasos,
  .empezar,
  .planes {
    grid-template-columns: minmax(0, 1fr);
  }

  .planes {
    gap: 28px;
  }

  .pasos {
    max-width: 460px;
  }


  .pie {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Celular */
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .seccion,
  .franja,
  .cierre {
    margin-top: 72px;
  }

  .solo-ancho {
    display: none;
  }

  .logo img {
    width: 120px;
    height: auto;
  }

  .portada .acciones .boton {
    flex: 1 1 100%;
  }



  .manuscrito {
    display: none;
  }

  .foto-ayuda {
    min-height: 300px;
    align-content: end;
    gap: 10px;
    padding: 18px;
  }

  .foto-ayuda .foto-img {
    object-position: 100% center;
  }

  .burbuja {
    justify-self: end;
    max-width: 180px;
    font-size: 15px;
  }

  .franja-rasgos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .franja-rasgos li:nth-child(n) {
    border-left: 0;
  }

  .ayuda {
    grid-template-columns: minmax(0, 1fr);
  }

  .facil {
    grid-template-columns: minmax(0, 1fr);
  }

  .pagos ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .ejemplo-lado {
    padding: 26px 22px;
  }

  .especialidades,
  .cierre {
    padding: 28px 22px;
  }

  .especialidades ul {
    gap: 6px;
  }

  .especialidades li {
    padding: 5px 12px;
    font-size: 13.5px;
  }

  .tabla th,
  .tabla td {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .boton,
  .conversacion mark {
    transition: none;
  }

  .fondo-portada img {
    animation: none !important;
  }

  .boton:hover {
    transform: none;
  }
}
