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

/* Header */
.header {
    background: rgba(30, 30, 30, 0.55);
    color: #fff;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 70px;
    box-shadow: 0 2px 8px #223;
    backdrop-filter: blur(6px);
    transition: background 0.3s;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    position: relative;
}

.header.scrolled {
    background: rgba(30, 30, 30, 0.75);
}

.icono {
    height: 50px;
    width: auto;
    z-index: 2;
    transition: height 0.3s;
    margin-right: 24px;
}

.menu-alt {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: #fff;
    text-shadow: 0 2px 8px #000;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #aa8c65;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.header h1 {
    text-align: center;
    font-size: 2.2rem;
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin: 0;
    padding: 8px 0 16px 0;
    letter-spacing: 1px;
}

/* ===== Contacto ===== */
#contacto {
  padding: 90px 20px;
  background-color: #fff;
  background: radial-gradient(circle, #eee0cd, #c0ad93 );
  animation: fadeIn 1.2s ease-in;
}

#contacto h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #333;
}

.contacto-contenedor {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1050px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* Formulario */
.formulario {
  flex: 1;
  min-width: 340px;
  background:  rgb(243, 233, 214);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding-right: 40px;
  padding-left: 20px;
}

.formulario label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #8A4A3C;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}

.formulario input:focus,
.formulario textarea:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 8px rgba(46, 125, 50, 0.4);
  transform: scale(1.02);
  transition: 0.2s ease;
}


.formulario button {
  width: 100%;
  background: #8A4A3C;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.formulario button:hover {
  background: #532e25;
}

/* Información de contacto */
.info-contacto {
  flex: 1;
  min-width: 300px;
  background: rgb(243, 233, 214);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding-left: 20px;
  padding-right: 40px;
}

.info-contacto .icono {
    z-index: 10;
    transform: translateX(270px) translateY(-50px);
    width: 10px;
    height: 10px;
}

.info-contacto h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #8A4A3C;
}

.info-contacto p {
  margin: 10px 0;
  color: #555;
  font-size: 1.05em;
}

.mapa {
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
  transform: translateY(15px);
  width: auto;
}


/* FOOTER */
.footer {
    background-color: #8A4A3C; 
    color: #ffffff;
    padding: 1rem 0.5rem;
    width: auto;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
.footer-marcas {
    text-align: center;
    margin-bottom: 1rem;
    justify-content: center;
    align-items: center;
}

 .footer-marcas img {
    height: 80px;
    width: auto;
    margin: 0;
    z-index: 2;
}

.footer-rrss {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.social-rrss-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1rem;
    align-items: center;
}

.legal-info p {
    margin: 0 0 0.5rem 0; 
    text-align: center;
}

.social-rrss-links a {
    color: #ffffff;
    font-size: 2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-rrss-links a:hover {
    color: #e0e0e0;
    transform: scale(1.2);
}

.legal-info {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.legal-info a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-info a:hover {
    color: #e0e0e0;
}

/* Menú desplegable */
#menu_bar {
    display: none;
}

.menu-alt {
    display: none;
    cursor: pointer;
    padding: 10px;
    color: #fff;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .menu-alt {
        display: block;
    }
    .header-container {
        justify-content: space-between;
    }
    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(95, 95, 95, 0.7);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    #menu_bar:checked ~ .header .main-nav {
        transform: translateX(0);
    }
}

@media (min-width: 769px) {
    .header-container {
        justify-content: center;
    }
    .menu-alt {
        display: none;
    }
    .main-nav {
        margin-left: auto;
        transform: none;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
    }
    .main-nav ul {
        flex-direction: row;
        gap: 30px;
        padding: 0;
        align-items: center;
    }
    .main-nav a {
        padding: 10px 15px;
        text-align: center;
        border-radius: 5px;
    }
}