@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@700;800&display=swap");

/*************************************** DEFINIR COLORES *********************************************/
:root {
  --color-principal: #e91e63;
  --color-secundario: #f48fb1;
  --color-acento: #c2185b;
  --color-acento-soft: #ff6090;
  --color-fondo: #fafafa;
  --color-texto: #1e1e1e;
  --color-texto-suave: #5a5a5a;
  --color-texto-claro: #ffffff;
  --color-superficie: rgba(255, 255, 255, 0.97);
  --color-borde: rgba(233, 30, 99, 0.1);

  --sombra-suave: 0 2px 12px rgba(0, 0, 0, 0.06);
  --sombra-media: 0 8px 32px rgba(0, 0, 0, 0.09),
    0 1px 4px rgba(233, 30, 99, 0.06);
  --sombra-intensa: 0 16px 48px rgba(0, 0, 0, 0.13),
    0 2px 8px rgba(233, 30, 99, 0.08);
  --sombra-pink: 0 4px 20px rgba(233, 30, 99, 0.2);

  --radio-sm: 10px;
  --radio-md: 16px;
  --radio-lg: 22px;

  --transicion: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/*************************************** GENERAL *********************************************/

* {
  box-sizing: border-box;
}

html {
  background-image: url(imagenes/fondoROSA.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

html,
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: var(--color-texto);
  font-family: var(--font-body);
  text-align: center;
  overflow-x: hidden;
  padding: 40px 20px 0 20px;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 40px;
}

h1 {
  margin: 0 0 28px;
  font-size: 30px;
  font-weight: 800;
  color: var(--color-principal);
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: -0.5px;
}

/*************************************** CARD PRESENTACIÓN *********************************************/

.card_white_tailwind {
  background: var(--color-superficie);
  backdrop-filter: blur(24px) brightness(1.03);
  -webkit-backdrop-filter: blur(24px) brightness(1.03);
  max-width: 100%;
  padding: 40px 40px 34px 40px;
  border-radius: calc(var(--radio-lg) + 6px);
  box-shadow: 0 8px 32px rgba(233, 30, 99, 0.13),
    0 1px 8px rgba(100, 40, 100, 0.07);
  color: var(--color-texto);
  font-size: 16px;
  text-align: left;
  margin-bottom: 22px;
  border: 1.7px solid var(--color-borde);
  transition: transform var(--transicion), box-shadow var(--transicion),
    border-color 0.19s;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s both;
}

.card_white {
  background: var(--color-superficie);
  backdrop-filter: blur(24px) brightness(1.03);
  -webkit-backdrop-filter: blur(24px) brightness(1.03);
  max-width: 540px;
  padding: 40px 40px 34px 40px;
  border-radius: calc(var(--radio-lg) + 6px);
  box-shadow: 0 8px 32px rgba(233, 30, 99, 0.13),
    0 1px 8px rgba(100, 40, 100, 0.07);
  color: var(--color-texto);
  font-size: 16px;
  text-align: left;
  margin-bottom: 22px;
  border: 1.7px solid var(--color-borde);
  transition: transform var(--transicion), box-shadow var(--transicion),
    border-color 0.19s;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s both;
}

.card_white::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -40px;
  width: 120px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(233, 30, 99, 0.13) 70%,
    transparent 100%
  );
  filter: blur(3px);
  pointer-events: none;
  z-index: 0;
}

.card_white:hover {
  transform: translateY(-8px) scale(1.022);
  box-shadow: 0 18px 46px rgba(233, 30, 99, 0.17),
    0 2px 12px rgba(100, 40, 100, 0.09);
  border-color: var(--color-acento);
}

.card_white h1 {
  color: var(--color-principal);
  font-size: 39px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.8px;
  text-align: left;
  font-family: var(--font-display);
  line-height: 1.11;
  text-shadow: 0 4px 24px rgba(233, 30, 99, 0.09);
}

.foto-perfil {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
  margin: -24px auto 32px auto;
  box-shadow: 0 6px 36px rgba(233, 30, 99, 0.24),
    0 2px 12px rgba(233, 30, 99, 0.11);
  transition: transform var(--transicion), box-shadow var(--transicion),
    outline-color 0.16s;
  background: linear-gradient(
    135deg,
    rgba(233, 30, 99, 0.1) 0%,
    rgba(179, 53, 219, 0.05) 100%
  );
  outline: 4px solid rgba(233, 30, 99, 0.16);
  outline-offset: 5px;
  position: relative;
}

.foto-perfil::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(233, 30, 99, 0.04);
  pointer-events: none;
  z-index: 1;
}

.foto-perfil:hover {
  transform: scale(1.075) rotate(-1.2deg);
  box-shadow: 0 14px 48px rgba(233, 30, 99, 0.28),
    0 2px 10px rgba(186, 42, 158, 0.15);
  outline-color: rgba(233, 30, 99, 0.33);
}

.foto-perfil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(233, 30, 99, 0.05);
}






/*************************************** BOTONES COMUNES *********************************************/

.button-container {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  row-gap: 20px;
}

.button {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border: 1.5px solid var(--color-principal);
  border-radius: calc(var(--radio-sm) + 4px);
  background: linear-gradient(
    98deg,
    var(--color-principal) 80%,
    var(--color-acento) 130%
  );
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background var(--transicion), transform var(--transicion),
    box-shadow var(--transicion), border-color 0.22s;
  box-shadow: 0 3px 14px rgba(233, 30, 99, 0.22);
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.18s;
}

.button:hover {
  background: linear-gradient(
    98deg,
    var(--color-acento) 70%,
    var(--color-principal) 150%
  );
  border-color: var(--color-acento);
  transform: translateY(-4px) scale(1.045);
  box-shadow: 0 10px 28px rgba(233, 30, 99, 0.27);
}

.button:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.19);
  opacity: 0.96;
}

/************************************* BOTONES VOLVER AL INICIO *********************************************/

.back-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.back-button-container .button {
  background: linear-gradient(90deg, var(--color-texto) 80%, #666 150%);
  color: #fff;
  border: 1.5px solid #444;
  box-shadow: 0 3px 12px rgba(20, 20, 20, 0.17);
}

.back-button-container .button:hover {
  background: linear-gradient(90deg, #292929 70%, var(--color-texto) 150%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.23);
  border-color: #292929;
}

/*************************************** "TXT ACCESOS RÁPIDOS" *********************************************/

.quick-access {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 28px 20px 22px 20px;
  color: var(--color-texto);
  background: rgba(255, 242, 249, 0.64);
  border-radius: var(--radio-md);
  box-shadow: 0 2px 14px rgba(233, 30, 99, 0.09),
    0 1px 4px rgba(90, 60, 100, 0.07);
  border: 1.5px solid var(--color-borde);
  transition: background 0.18s, box-shadow 0.22s, border-color 0.18s;
  backdrop-filter: blur(6px);
}

.quick-access h2 {
  font-size: 30px;
  margin-bottom: 18px;
  color: var(--color-principal);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.6px;
  text-shadow: 0 4px 18px rgba(233, 30, 99, 0.08);
  line-height: 1.18;
  margin-top: 0;
}

.folder-breadcrumb {
  width: 100%;
  margin-top: 4px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 1px solid var(--color-borde);
  border-radius: var(--radio-sm);
  background: rgba(255, 255, 255, 0.65);
  color: var(--color-texto);
  box-shadow: 0 2px 10px rgba(233, 30, 99, 0.07);
}

.folder-breadcrumb strong {
  color: var(--color-acento);
}

/************************************* PÁGINAS DE INTERNACIONAL *********************************************/

.internacional-container {
  width: 90%;
  max-width: 600px;
  padding: 44px;
  background: var(--color-superficie);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sombra-media);
  border-radius: var(--radio-lg);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--color-borde);
}

.internacional-container h1 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 20px 0;
  color: var(--color-principal);
  text-align: center;
  font-family: var(--font-display);
}

.internacional-container p {
  font-size: 16px;
  margin: 0 0 16px;
  color: var(--color-texto-suave);
  line-height: 1.75;
  text-align: center;
}

/*************************************** PÁGINA ERROR *********************************************/

.error-container {
  width: 90%;
  max-width: 600px;
  padding: 56px;
  background: var(--color-superficie);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sombra-media);
  border-radius: var(--radio-lg);
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--color-borde);
  animation: fadeInUp 0.5s ease both;
}

.error-container h1 {
  font-size: 88px;
  font-weight: 800;
  margin: 0 0 24px 0;
  color: var(--color-principal);
  font-family: var(--font-display);
  line-height: 1;
  /* Gradiente sutil en el texto del error */
  background: linear-gradient(
    135deg,
    var(--color-principal),
    var(--color-acento-soft)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-container p {
  font-size: 18px;
  margin: 8px 0;
  line-height: 1.65;
  text-align: center;
  color: var(--color-texto-suave);
}

.diamante-img {
  width: 80px;
  height: 80px;
  margin-top: 16px;
  filter: drop-shadow(0 4px 8px rgba(233, 30, 99, 0.2));
}

/*************************************** PÁGINA OPERACIÓN BIKINI *********************************************/

.card-new {
  width: 100%;
  max-width: 500px;
  padding: 40px;
  border-radius: var(--radio-lg);
  background: var(--color-superficie);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sombra-media);
  margin: 40px auto;
  border: 1px solid var(--color-borde);
  transition: box-shadow var(--transicion);
}

.card-new:hover {
  box-shadow: var(--sombra-intensa);
}

.card-info-new {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-texto);
}

.card-new .title {
  font-weight: 800;
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--color-principal);
  font-family: var(--font-display);
  letter-spacing: -0.3px;
}

.ul_m8 {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}

.li_m8 {
  font-size: 15px;
  color: var(--color-texto-suave);
  text-align: left;
  line-height: 1.6;
}

._m8 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  text-align: center;
  padding: 16px;
  background: linear-gradient(
    135deg,
    var(--color-principal),
    var(--color-acento)
  );
  border-radius: var(--radio-sm);
  width: 100%;
  margin: 18px 0;
  box-shadow: var(--sombra-pink);
  letter-spacing: 0.01em;
}

.error_m8 {
  color: #c62828;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  background: rgba(255, 235, 238, 0.9);
  padding: 14px 18px;
  border-radius: var(--radio-sm);
  border: 1px solid rgba(211, 47, 47, 0.18);
  line-height: 1.5;
}

/*************************************** NUBES *********************************************/

html .nubes-info {
  background: linear-gradient(180deg, #64b5f6 0%, #1565c0 100%);
  height: 100%;
  position: relative;
  overflow: hidden;
}

body.nubes {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: white;
}

.nubes-info {
  position: relative;
  z-index: 20;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radio-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nubes-info h1 {
  margin: 0 0 18px;
  font-size: 34px;
  font-weight: 700;
  font-family: var(--font-display);
}

.nubes-info p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.cielo {
  position: relative;
  min-height: calc(100vh - 40px);
  margin-top: 30px;
  padding-bottom: 80px;
}

.instrucciones {
  position: relative;
  z-index: 15;
  max-width: 600px;
  margin: 0 auto 20px;
  padding: 18px 24px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radio-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nubol {
  top: 120%;
  position: absolute;
  background-image: url(imagenes/nube.png);
  background-size: cover;
}

.nubol1 {
  top: 250px;
  left: 0;
  width: 600px;
  height: 600px;
  z-index: 1;
  animation: nubol1 25s infinite linear;
}
.nubol2 {
  top: 70px;
  left: 0;
  width: 400px;
  height: 400px;
  z-index: 2;
  animation: nubol2 32s infinite linear;
}
.nubol3 {
  top: 70px;
  left: 0;
  width: 100px;
  height: 100px;
  z-index: 3;
  animation: nubol3 17s infinite linear;
}
.nubol4 {
  top: 90px;
  left: 0;
  width: 200px;
  height: 200px;
  z-index: 4;
  animation: nubol4 19s infinite linear;
}
.nubol5 {
  top: 70px;
  left: 0;
  width: 100px;
  height: 100px;
  z-index: 5;
  animation: nubol5 23s infinite linear;
}
.nubol6 {
  top: 320px;
  left: 0;
  width: 180px;
  height: 180px;
  z-index: 2;
  animation: nubol6 20s infinite linear;
}
.nubol7 {
  top: 400px;
  left: 0;
  width: 370px;
  height: 220px;
  z-index: 3;
  animation: nubol7 28s infinite linear;
}
.nubol8 {
  top: 150px;
  left: 0;
  width: 250px;
  height: 150px;
  z-index: 1;
  animation: nubol8 15s infinite linear;
}
.nubol9 {
  top: 40px;
  left: 0;
  width: 120px;
  height: 80px;
  z-index: 4;
  animation: nubol9 21s infinite linear;
}
.nubol10 {
  top: 360px;
  left: 0;
  width: 90px;
  height: 90px;
  z-index: 5;
  animation: nubol10 26s infinite linear;
}

.pajaros {
  position: absolute;
  width: 900px;
  height: 900px;
  top: 200px;
  left: 0;
  z-index: 10;
  background-image: url("imagenes/pajaros.png");
  background-size: contain;
  background-repeat: no-repeat;
  animation: pajaros-volar 25s infinite linear;
}

@keyframes pajaros-volar {
  0% {
    left: -1000px;
  }
  100% {
    left: 100%;
  }
}
@keyframes nubol1 {
  0% {
    left: -600px;
  }
  100% {
    left: 100%;
  }
}
@keyframes nubol2 {
  0% {
    left: -400px;
  }
  100% {
    left: 100%;
  }
}
@keyframes nubol3 {
  0% {
    left: -100px;
  }
  100% {
    left: 100%;
  }
}
@keyframes nubol4 {
  0% {
    left: -200px;
  }
  100% {
    left: 100%;
  }
}
@keyframes nubol5 {
  0% {
    left: -100px;
  }
  100% {
    left: 100%;
  }
}
@keyframes nubol6 {
  0% {
    left: -180px;
  }
  100% {
    left: 100%;
  }
}
@keyframes nubol7 {
  0% {
    left: -370px;
  }
  100% {
    left: 100%;
  }
}
@keyframes nubol8 {
  0% {
    left: -250px;
  }
  100% {
    left: 100%;
  }
}
@keyframes nubol9 {
  0% {
    left: -120px;
  }
  100% {
    left: 100%;
  }
}
@keyframes nubol10 {
  0% {
    left: -90px;
  }
  100% {
    left: 100%;
  }
}

/*************************************** PÁGINA ENVIAR EMAIL *********************************************/

.page-email div {
  background: var(--color-superficie);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 500px;
  width: 100%;
  margin: 40px auto;
  padding: 44px;
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra-media);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--color-borde);
}

.page-email h1 {
  margin: 0 0 28px;
  font-size: 30px;
  font-weight: 800;
  color: var(--color-principal);
  text-align: center;
  font-family: var(--font-display);
}

.page-email form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.page-email label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-texto);
  text-align: left;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-email input[type="text"],
.page-email input[type="email"],
.page-email input[type="password"],
.page-email textarea {
  font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: var(--radio-sm);
  width: 100%;
  font-weight: 400;
  resize: vertical;
  background: #fafafa;
  color: var(--color-texto);
  font-family: var(--font-body);
  transition: border-color var(--transicion), box-shadow var(--transicion),
    background var(--transicion);
}

.page-email input[type="text"]:focus,
.page-email input[type="email"]:focus,
.page-email input[type="password"]:focus,
.page-email textarea:focus {
  outline: none;
  border-color: var(--color-principal);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
  background: white;
}

.page-email textarea {
  min-height: 130px;
  max-height: 300px;
  line-height: 1.65;
}

.page-email input[type="submit"] {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px;
  background: linear-gradient(
    135deg,
    var(--color-principal),
    var(--color-acento)
  );
  color: white;
  border: none;
  border-radius: var(--radio-sm);
  cursor: pointer;
  transition: opacity var(--transicion), transform var(--transicion),
    box-shadow var(--transicion);
  margin-top: 10px;
  box-shadow: var(--sombra-pink);
  font-family: var(--font-body);
  width: 100%;
}

.page-email input[type="submit"]:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.32);
}

.page-email input[type="submit"]:active {
  transform: translateY(0);
  opacity: 1;
}

.page-email a,
.page-email p {
  font-size: 15px;
  color: var(--color-texto-suave);
  text-align: center;
  margin: 8px 0;
  line-height: 1.65;
}

.page-email a {
  color: white;
  background: var(--color-principal);
  padding: 13px 28px;
  border-radius: var(--radio-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-top: 18px;
  display: inline-block;
  transition: background var(--transicion), transform var(--transicion),
    box-shadow var(--transicion);
  box-shadow: var(--sombra-pink);
}

.page-email a:hover {
  background: var(--color-acento);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.32);
}

.page-email .error,
.page-email .error-message,
.page-email p.error {
  color: #c62828;
  font-weight: 600;
  background: rgba(255, 235, 238, 0.9);
  padding: 14px 18px;
  border-radius: var(--radio-sm);
  margin-top: 10px;
  font-size: 14px;
  border: 1px solid rgba(211, 47, 47, 0.18);
  line-height: 1.5;
  width: 100%;
}

.page-email .success,
.page-email .success-message {
  color: #1b5e20;
  font-weight: 600;
  background: rgba(232, 245, 233, 0.9);
  padding: 14px 18px;
  border-radius: var(--radio-sm);
  margin-top: 10px;
  font-size: 14px;
  border: 1px solid rgba(46, 125, 50, 0.18);
  line-height: 1.5;
  width: 100%;
}

/*************************************** ESTILOS FOOTER *********************************************/

footer {
  text-align: center;
  padding: 32px 40px 22px 40px;
  background: linear-gradient(
    110deg,
    rgba(255, 242, 249, 0.99) 0%,
    rgba(253, 233, 252, 0.97) 42%,
    rgba(240, 225, 255, 0.94) 100%
  );
  backdrop-filter: blur(24px) brightness(1.08);
  -webkit-backdrop-filter: blur(24px) brightness(1.08);
  color: var(--color-texto);
  border-radius: 28px 28px 16px 16px;
  box-shadow: 0 8px 32px rgba(233, 30, 99, 0.13),
    0 2px 8px rgba(233, 30, 99, 0.09);
  width: 100%;
  max-width: 980px;
  font-size: 16px;
  margin: 38px auto 28px auto;
  border: 1.5px solid rgba(233, 30, 99, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s 0.1s both;
}

footer::before {
  content: "";
  position: absolute;
  top: -65px;
  left: -46px;
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle,
    rgba(233, 30, 99, 0.12) 67%,
    transparent 100%
  );
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

footer::after {
  content: "";
  position: absolute;
  bottom: -52px;
  right: -38px;
  width: 110px;
  height: 110px;
  background: radial-gradient(
    circle,
    rgba(233, 30, 99, 0.11) 60%,
    transparent 100%
  );
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 0;
}

footer p {
  margin: 8px 0 0 0;
  font-weight: 400;
  line-height: 1.68;
  color: var(--color-texto);
  word-break: break-word;
  letter-spacing: 0.025em;
  font-size: 1em;
  position: relative;
  z-index: 2;
  transition: color var(--transicion);
  padding: 0 2px;
}

footer a {
  color: var(--color-principal);
  background: linear-gradient(
    85deg,
    rgba(233, 30, 99, 0.12) 0%,
    rgba(233, 30, 99, 0.08) 100%
  );
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  padding: 6px 17px;
  margin: 0 3px;
  transition: color var(--transicion), background var(--transicion),
    box-shadow var(--transicion), transform var(--transicion),
    filter 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 7px rgba(233, 30, 99, 0.1);
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2;
  font-size: 1em;
  filter: grayscale(0.04);
}

footer a:hover,
footer a:focus {
  color: #fff;
  background: linear-gradient(
    102deg,
    var(--color-principal) 47%,
    var(--color-acento-soft) 100%
  );
  box-shadow: 0 4px 16px rgba(233, 30, 99, 0.28),
    0 1.5px 7px rgba(233, 30, 99, 0.13);
  outline: none;
  transform: scale(1.045) translateY(-1.5px) rotate(-2deg);
  filter: brightness(1.2) grayscale(0);
}

footer img {
  margin-top: 8px;
  margin-bottom: 4px;
  border-radius: 6px;
  transition: box-shadow var(--transicion), filter 0.25s;
  box-shadow: 0 1px 8px 0 rgba(233, 30, 99, 0.07);
  filter: grayscale(0.23) brightness(1.07);
}

footer img:hover,
footer img:focus {
  box-shadow: 0 3px 14px 0 rgba(233, 30, 99, 0.16);
  filter: grayscale(0) brightness(1.1) drop-shadow(0 0 6px #e91e632a);
}

/*************************************** ANIMACIONES GLOBALES *********************************************/

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*************************************** RESPONSIVE *********************************************/

@media (max-width: 767px) {
  html,
  body {
    padding: 20px 16px 0 16px;
  }

  .card_white {
    padding: 28px 22px;
  }

  .card_white h1 {
    font-size: 28px;
  }

  .foto-perfil {
    width: 150px;
    height: 150px;
  }

  .button-container,
  .back-button-container {
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .card-new {
    padding: 28px 20px;
    margin: 28px auto;
  }

  .quick-access h2 {
    font-size: 22px;
  }

  footer {
    font-size: 13px;
    padding: 22px 16px;
    border-radius: 18px 18px 12px 12px;
  }

  .page-email div {
    padding: 28px 20px;
  }

  .error-container {
    padding: 40px 28px;
  }

  .error-container h1 {
    font-size: 64px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  html,
  body {
    padding: 30px 24px 0 24px;
  }
}
