:root {
  --crema: #fbf0d8;
  --vino: #770101;
  --rojo: #c1111e;
  --azul: #023048;
  --azul-claro: #659aba;
  --blanco: #fffaf0;
}

.mante,
.mante * {
  box-sizing: border-box;
}

.mante {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;

  margin: 0;
  padding: 0;

  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--azul);

  background: url("https://www.clicalcorazon.com/wp-content/uploads/2025/06/FONDO-WEB-PERFIL.png")
    center/cover fixed no-repeat;
}

.mante:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(251, 240, 216, 0.13),
      transparent 32%
    ),
    radial-gradient(circle at 12% 80%, rgba(2, 48, 72, 0.12), transparent 28%),
    radial-gradient(
      circle at 90% 70%,
      rgba(251, 240, 216, 0.08),
      transparent 30%
    );
}

.mante .page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(28px, env(safe-area-inset-top)) 18px
    max(22px, env(safe-area-inset-bottom));
}

.mante .content {
  width: min(100%, 850px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* LOGO */
.mante .logo {
  width: min(155px, 38vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
}

/* FOTO */
.mante .photo {
  width: clamp(150px, 22vw, 205px);
  height: clamp(150px, 22vw, 205px);
  border-radius: 50%;
  padding: 6px;
  background: var(--crema);
  border: 4px solid var(--azul);
  box-shadow:
    0 0 0 9px rgba(251, 240, 216, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.24);
  object-fit: cover;
  object-position: center;
  margin-bottom: 25px;
}

/* TITULO */
.mante .eyebrow {
  color: var(--crema);
  font-size: clamp(12px, 1.7vw, 15px);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.94;
}

.mante h1 {
  max-width: 800px;
  color: var(--blanco);
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -1.8px;
  font-weight: 800;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.mante .highlight {
  color: var(--crema);
}

.mante .copy {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--blanco);
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.65;
  font-weight: 500;
}

/* CORAZÓN INTERACTIVO */
.mante .heart-zone {
  margin: 31px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mante .heart-button {
  position: relative;
  width: 96px;
  height: 96px;
  border: 0;
  border-radius: 50%;
  background: var(--crema);
  color: var(--rojo);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    0 10px 0 var(--vino),
    0 18px 35px rgba(0, 0, 0, 0.23);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  animation: pulse 2s ease-in-out infinite;
}

.mante .heart-button:before,
.mante .heart-button:after {
  content: "";
  position: absolute;
  inset: -13px;
  border: 1px solid rgba(251, 240, 216, 0.34);
  border-radius: 50%;
  animation: ring 2.4s ease-out infinite;
}

.mante .heart-button:after {
  animation-delay: 1.2s;
}

.mante .heart {
  width: 43px;
  height: 43px;
  fill: currentColor;
}

.mante .heart-button:hover {
  animation: none;
  transform: translateY(-5px) scale(1.06);
  box-shadow:
    0 14px 0 var(--vino),
    0 22px 38px rgba(0, 0, 0, 0.25);
}

.mante .heart-button:active {
  transform: translateY(4px);
  box-shadow:
    0 5px 0 var(--vino),
    0 12px 25px rgba(0, 0, 0, 0.2);
}

.mante .heart-label {
  color: var(--crema);
  margin-top: 19px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  12% {
    transform: scale(1.08);
  }

  22% {
    transform: scale(1);
  }

  32% {
    transform: scale(1.06);
  }

  45% {
    transform: scale(1);
  }
}

@keyframes ring {
  0% {
    transform: scale(0.72);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* MENSAJE DESPLEGABLE */
.mante .message {
  width: min(100%, 610px);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition:
    max-height 0.55s ease,
    opacity 0.4s ease,
    transform 0.5s ease;
}

.mante .message.show {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

.mante .message-card {
  background: var(--crema);
  border: 3px solid var(--azul);
  border-radius: 30px;
  padding: 25px 27px;
  box-shadow:
    0 9px 0 var(--vino),
    0 18px 35px rgba(0, 0, 0, 0.2);
}

.mante .message-small {
  color: var(--vino);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mante .message-title {
  margin-top: 7px;
  color: var(--azul);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
}

.mante .message-text {
  margin-top: 10px;
  color: var(--azul);
  font-size: 15px;
  line-height: 1.6;
}

/* FOOTER */
.mante footer {
  margin-top: auto;
  padding-top: 42px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.mante footer img {
  width: 145px;
  max-width: 42vw;
  height: auto;
}

/* WHATSAPP */
.mante .whatsapp {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--crema);
  color: var(--vino);
  border: 2px solid rgba(119, 1, 1, 0.12);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.24);
  z-index: 20;
  animation: waPulse 2.8s ease-in-out infinite;
}

.mante .whatsapp svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

/* BOTÓN WHATSAPP DEL MENSAJE */
.mante .whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 13px 24px;

  background: var(--rojo);
  color: var(--blanco);

  border: 2px solid var(--vino);
  border-radius: 999px;

  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.3px;

  box-shadow: 0 5px 0 var(--vino);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.mante .whatsapp-button:hover {
  background: var(--vino);
  transform: translateY(-3px);
  box-shadow: 0 8px 0 var(--azul);
}

.mante .whatsapp-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--vino);
}

@keyframes waPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.055);
  }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .mante {
    background-attachment: scroll;
  }

  .mante .page {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 23px;
  }

  .mante .logo {
    width: 125px;
    margin-bottom: 17px;
  }

  .mante .photo {
    width: 142px;
    height: 142px;
    border-width: 3px;
    padding: 4px;
    margin-bottom: 20px;
  }

  .mante .eyebrow {
    font-size: 11px;
    letter-spacing: 2.2px;
  }

  .mante h1 {
    font-size: 35px;
    letter-spacing: -1px;
  }

  .mante .copy {
    margin-top: 17px;
    max-width: 390px;
    font-size: 15px;
    line-height: 1.55;
  }

  .mante .heart-zone {
    margin: 25px 0 23px;
  }

  .mante .heart-button {
    width: 82px;
    height: 82px;
    box-shadow:
      0 8px 0 var(--vino),
      0 15px 30px rgba(0, 0, 0, 0.22);
  }

  .mante .heart {
    width: 37px;
    height: 37px;
  }

  .mante .heart-label {
    font-size: 11px;
    margin-top: 16px;
    letter-spacing: 1.2px;
  }

  .mante .message-card {
    padding: 22px 19px;
    border-radius: 25px;
  }

  .mante .message-title {
    font-size: 22px;
  }

  .mante .message-text {
    font-size: 14px;
    line-height: 1.55;
  }

  .mante footer {
    padding-top: 32px;
  }

  .mante footer img {
    width: 125px;
  }
}

@media (max-width: 370px) {
  .mante .page {
    padding-top: 17px;
  }

  .mante .logo {
    width: 110px;
  }

  .mante .photo {
    width: 122px;
    height: 122px;
    margin-bottom: 16px;
  }

  .mante h1 {
    font-size: 30px;
  }

  .mante .copy {
    font-size: 14px;
    margin-top: 14px;
  }

  .mante .heart-zone {
    margin-top: 20px;
  }

  .mante .heart-button {
    width: 74px;
    height: 74px;
  }

  .mante .heart {
    width: 33px;
    height: 33px;
  }

  .mante .message-card {
    padding: 19px 16px;
  }

  .mante .message-title {
    font-size: 20px;
  }

  .mante .message-text {
    font-size: 13px;
  }

  .mante footer {
    padding-top: 27px;
  }
}
