/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BODY
========================= */
html,
body {
  min-height: 100vh;

  zoom: 0.85;

  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left,
      rgba(0, 140, 255, 0.35),
      transparent 25%),

    radial-gradient(circle at top center,
      rgba(140, 0, 255, 0.35),
      transparent 25%),

    radial-gradient(circle at top right,
      rgba(255, 0, 170, 0.35),
      transparent 25%),

    radial-gradient(circle at center right,
      rgba(255, 0, 0, 0.30),
      transparent 25%),

    radial-gradient(circle at bottom right,
      rgba(255, 230, 0, 0.35),
      transparent 25%),

    radial-gradient(circle at bottom center,
      rgba(0, 255, 100, 0.35),
      transparent 25%),

    radial-gradient(circle at bottom left,
      rgba(0, 140, 255, 0.35),
      transparent 25%);

  
  color: black;

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

  padding: 1rem;

  width: 100%;
  height: 100%;
  overflow: hidden;

  position: relative;
}
/* =========================
   FONDO MULTICOLOR
========================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background:
    radial-gradient(circle at top left,
      rgba(0, 140, 255, 0.35),
      transparent 25%),

    radial-gradient(circle at top center,
      rgba(140, 0, 255, 0.35),
      transparent 25%),

    radial-gradient(circle at top right,
      rgba(255, 0, 170, 0.35),
      transparent 25%),

    radial-gradient(circle at center right,
      rgba(255, 0, 0, 0.30),
      transparent 25%),

    radial-gradient(circle at bottom right,
      rgba(255, 230, 0, 0.35),
      transparent 25%),

    radial-gradient(circle at bottom center,
      rgba(0, 255, 100, 0.35),
      transparent 25%),

    radial-gradient(circle at bottom left,
      rgba(0, 140, 255, 0.35),
      transparent 25%);

  filter: blur(90px);
  z-index: -2;
}

/* =========================
   CONTENEDOR
========================= */

.container {
  width: 100%;
  max-width: 750px;

  background:
    radial-gradient(circle at top left,
      rgba(0, 140, 255, 0.35),
      transparent 25%),

    radial-gradient(circle at top center,
      rgba(140, 0, 255, 0.35),
      transparent 25%),

    radial-gradient(circle at top right,
      rgba(255, 0, 170, 0.35),
      transparent 25%),

    radial-gradient(circle at center right,
      rgba(255, 0, 0, 0.30),
      transparent 25%),

    radial-gradient(circle at bottom right,
      rgba(255, 230, 0, 0.35),
      transparent 25%),

    radial-gradient(circle at bottom center,
      rgba(0, 255, 100, 0.35),
      transparent 25%),

    radial-gradient(circle at bottom left,
      rgba(0, 140, 255, 0.35),
      transparent 25%);

  backdrop-filter: blur(12px);

  border-radius: 32px;

  padding: 2rem 1.5rem;

  text-align: center;
  transform: scale(0.9);
  transform-origin: center;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.10);

  border: 2px solid rgba(255, 255, 255, 0.5);
}


/* =========================
   LOGO
========================= */

.logo-section {
  margin-bottom: 1.5rem;
}

.logo {
  width: 500px;
  max-width: 100%;
  margin-bottom: 1.5rem;

  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.04);
}

.title {
  font-family: 'Chewy', cursive;

  font-size: clamp(2rem, 5vw, 3rem);

  color: black;

  letter-spacing: 1px;
}

/* =========================
   AGENDA
========================= */

.agenda-section {
  margin-bottom: 2rem;

}

.agenda-title {
  font-family: 'Cormorant Garamond', serif;

  font-size: 2rem;

  font-weight: 150;

  letter-spacing: 5px;

  color: black;
}

/* =========================
   DIRECCIÓN
========================= */

.address-section {
  margin-bottom: 2rem;
}

.address-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  flex-wrap: wrap;

  width: 100%;

  padding: 1.2rem 2rem;

  border: none;
  border-radius: 24px;

  cursor: pointer;

  background:
    linear-gradient(
      135deg,
      rgba(0, 140, 255, 0.18),
      rgba(140, 0, 255, 0.18),
      rgba(255, 0, 170, 0.18),
      rgba(255, 230, 0, 0.18),
      rgba(0, 255, 100, 0.18)
    );

  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.4s ease;
}

.address-box:hover {
  transform: translateY(-5px) scale(1.02);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.15);

  background:
    linear-gradient(
      135deg,
      rgba(0, 140, 255, 0.28),
      rgba(140, 0, 255, 0.28),
      rgba(255, 0, 170, 0.28),
      rgba(255, 230, 0, 0.28),
      rgba(0, 255, 100, 0.28)
    );
}

.address-box:active {
  transform: scale(0.98);
}

.location-icon {
  width: 52px;
  height: 52px;

  color: black;

  transition: transform 0.3s ease;
}

.address-box:hover .location-icon {
  transform: rotate(-8deg) scale(1.1);
}

.address {
  font-size: clamp(1.8rem, 6vw, 3rem);

  font-weight: 900;

  font-family: Georgia, serif;

  color: black;

  letter-spacing: 2px;
}

/* =========================
   CONTACTOS
========================= */

.contacts-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  width: 100%;

  border: none;

  padding: 1.4rem;

  border-radius: 24px;

  cursor: pointer;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.75),
      rgba(255, 255, 255, 0.45)
    );

  backdrop-filter: blur(12px);

  position: relative;

  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border 0.3s ease;

  position: relative;
  isolation: isolate;
}

/* BRILLO SUPERIOR */

.contact-card::before {
  content: "";

  position: absolute;

  top: -50%;
  left: -50%;

  width: 200%;
  height: 200%;

  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255, 255, 255, 0.5),
      transparent
    );

  transform: rotate(25deg);

  transition: 0.8s;
}

.contact-card:hover::before {
  left: 100%;
}

/* BORDE ARCOIRIS */

.contact-card {
  position: relative;
  width: 100%;
  padding: 0.8rem;

  border-radius: 18px;

  cursor: pointer;

  background:
    linear-gradient(
      135deg,
      rgba(0, 140, 255, 0.18),
      rgba(140, 0, 255, 0.18),
      rgba(255, 0, 170, 0.18),
      rgba(255, 230, 0, 0.18),
      rgba(0, 255, 100, 0.18)
    );

  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.4s ease;

  overflow: hidden;
}

.contact-card:hover {
  transform: translateY(-6px) scale(1.02);

  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.12);
}

.contact-card:active {
  transform: scale(0.98);
}

.phone {
  font-family: 'Chewy', cursive;

  font-size: clamp(1.5rem, 4vw, 2.2rem);

  color: black;

  margin-bottom: 0.5rem;

  position: relative;
  z-index: 2;
}

.name {
  font-family: 'Chewy', cursive;

  font-size: clamp(1.4rem, 4vw, 2.1rem);

  color: black;

  position: relative;
  z-index: 2;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  body {
    padding: 0.8rem;
  }

  .container {
    padding: 2rem 1.2rem;

    border-radius: 24px;

    transform: scale(0.92);
    transform-origin: center;
  }

  .logo-section {
    margin-bottom: 1.5rem;
  }

  .agenda-section {
    margin-bottom: 2rem;
  }

  .address-section {
    margin-bottom: 2rem;
  }

  .contacts-section {
    gap: 1.2rem;
  }

  .logo {
    width: 170px;
  }

  .agenda-title {
    letter-spacing: 3px;
  }

  .location-icon {
    width: 40px;
    height: 40px;
  }

  .contact-card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {

  body {
    padding: 0.5rem;
  }

  .container {
    padding: 1.5rem 0.9rem;

    border-radius: 20px;

    transform: scale(0.82);
    transform-origin: center;
  }

  .logo {
    width: 135px;
  }

  .logo-section {
    margin-bottom: 1rem;
  }

  .agenda-section {
    margin-bottom: 1.5rem;
  }

  .address-section {
    margin-bottom: 1.5rem;
  }

  .address-box {
    flex-direction: column;

    gap: 0.5rem;

    padding: 1rem;
  }

  .agenda-title {
    letter-spacing: 2px;
  }

  .contact-card {
    padding: 0.8rem;
  }

  .contacts-section {
    gap: 1rem;
  }

  .phone {
    font-size: 1.5rem;
  }

  .name {
    font-size: 1.2rem;
  }
}

/* =========================
   PANTALLAS BAJITAS
========================= */

@media (max-height: 850px) {

  .container {
    transform: scale(0.85);
  }
}

@media (max-height: 700px) {

  .container {
    transform: scale(0.72);
  }
}