/* =================== FUENTES PERSONALIZADAS =================== */
@font-face {
  font-family: Titulo;
  src: url(../Fuentes/CHICKEN\ Pie\ Height.ttf);
}

@font-face {
  font-family: SubTItulo;
  src: url(../Fuentes/KGPerfectPenmanship.ttf);
}

@font-face {
  font-family: Texto;
  src: url(../Fuentes/Random\ Wednesday.ttf);
}

@font-face {
  font-family: Principal;
  src: url(../Fuentes/TheStudentsTeacher-Regular.ttf);
}

/* =================== COLORES =================== */
:root {
  --Princpal: rgba(146, 99, 153);
  --crema: #f5ecef;
  --morado-oscuro: rgba(117, 48, 134);
  --lavanda: rgba(175, 142, 159);
  --hover: #f0b7e8;
  --acento: #d1ad58;
}

/* =================== BASE =================== */
body, html {
    background-color: var(--acento);
  height: 100%;
  font-family: Texto;
  background-color: var(--crema);
  color: #333;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =================== LAYOUT =================== */
.contenedor {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* =================== PANEL IZQUIERDO =================== */
.izquierda {
  flex: 1;
  background: linear-gradient(135deg, #d96cbe, #9858b0);
  position: fixed;
  width: 40%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.izquierda img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* =================== PANEL DERECHO =================== */
.derecha {
  margin-left: 40%;
  width: 60%;
  overflow-y: auto;
  padding: 40px 30px;
  background: #fff;
}

/* =================== TITULARES =================== */
.contenedor h1 {
  font-size: 2.8em;
  color: var(--morado-oscuro);
  margin-bottom: 5px;
  text-align: center;
  font-family: Titulo;
}

.subtitulo {
  font-size: 2em;
  color: var(--lavanda);
  text-align: center;
  margin-bottom: 30px;
  font-family: SubTItulo;
}

/* =================== TARJETAS DE CONTACTO =================== */
.tarjeta {
    margin-left: 5%;
  background-color: #f8f2fa;
  border-left: 6px solid var(--Princpal);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tarjeta:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.tarjeta h2 {
  font-size: 1.4em;
  color: var(--morado-oscuro);
  font-family: SubTItulo;
  margin-bottom: 10px;
}

.tarjeta p, .tarjeta li {
  font-size: 1.05em;
  line-height: 1.6;
  font-family: Texto;
}

.tarjeta ul {
  padding-left: 20px;
}

/* =================== ENLACES =================== */
a {
  color: var(--morado-oscuro);
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: var(--hover);
  text-decoration: underline;
}

.mapa-link {
  display: inline-block;
  margin-top: 10px;
  background-color: var(--hover);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background-color 0.3s;
  font-family: Principal;
}

.mapa-link:hover {
  background-color: var(--morado-oscuro);
}

/* =================== TELÉFONOS DESTACADOS =================== */
.tel-destacado {
  font-family: Principal;
  font-size: 1.1rem;
  color: var(--lavanda);
  font-weight: bold;
}

/* =================== BOTÓN INFERIOR =================== */
.boton-ayuda {
  text-align: center;
  margin: 30px 0;
}

.boton-ayuda a {
  background-color: #d4145a;
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-family: Principal;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.boton-ayuda a:hover {
  background-color: #b0114c;
}

/* =================== RESPONSIVO =================== */
@media (max-width: 1024px) {
  .izquierda {
    display: none;
  }

  .derecha {
    width: 100%;
    margin-left: 0;
    padding: 30px 20px;
  }

  .contenedor {
    display: block;
    height: auto;
  }
}
