html, body {
  overflow-x: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  fill: #000;
  vertical-align: middle;
}



    body {
      margin: 0;
      font-family: Arial, sans-serif;
    }

    header {
      position: relative;
      height: 300px;
      overflow: hidden;
      display: flex;
      justify-content: flex-start;
      align-items: center;
    }

    .carousel img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      z-index: 0;
    }

    .carousel img.active {
      opacity: 1;
    }

    .header-content {
     position: relative;
     z-index: 2;
     display: flex;
     align-items: center;
     gap: 15px;
    }

    #logo-header {
     width: 120px;
     height: auto;
    }

    #titulo-header {
     font-family: 'Ethnocentric', sans-serif;
     color: rgba(245, 245, 245, 0.6);
     text-shadow: 
      2px 2px 4px rgba(0, 0, 0, 0.8),
      0 0 10px rgba(0, 0, 0, 0.8); 
     font-size: 2rem;
     font-weight: normal;
     margin: 0;
    }

    h2 {
      text-align: center;
      color: #1e1e1e;
      font-weight: 600;
      font-family: 'Oswald', sans-serif;
      font-size: 42px;
      margin: 10px;
    }

    h3 {
      text-align: center;
      color: #333;
      font-weight: 600;
      font-family: 'Oswald', sans-serif;
      font-size: 36px;
      margin: 10px;
    }
/* CONTENEDORES */
.cont-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.cont-multiple
.cont-contacto,
.cont-ubic,
.cont-horario {
  flex: 1 1 300px;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 15px;
  border-radius: 8px;
}

.cont-ubic {
  flex: 0 1 300px;
}

.cont-contacto {
  margin-bottom: 15px;
}

.cont-contacto span {
  display: flex;
  align-items: center; /* centra verticalmente icono y texto */
  gap: 6px;            /* espacio entre icono y texto */
}

.cont-contacto img {
  width: 20px;
  height: 20px;
  display: block;      /* elimina espacio blanco por inline-img */
}


/* INTRO */
.texto-intro {
  margin-bottom: 50px;
}

.p-intro {
  text-align: center;
}

/* SEPARACION */
.linea-negra {
  border: none;
  border-top: 3px solid #000;
  width: 1060px;
  margin: 10px auto;
}

/* FORM */
form {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

label {
  font-weight: bold;
  color: #333;
  width: 120px;
  text-align: right;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  flex: 1;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #2c2c2c;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button {
  margin-top: 10px;
  padding: 10px;
  background-color: #2c2c2c;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #050505;
}

/* FONTS */
@font-face {
  font-family: 'Ethnocentric';
  src: url('../fonts/Ethnocentric-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
