* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url('img/Madera.png') center/cover no-repeat fixed;
  margin: 0;            
  padding: 0;
}

.seccion-texto-grande .contenedor-expandido.bandeja-centrada {
  max-width: 1050px;
  margin: 40px auto;    
  padding: 20px 30px 40px 30px;
  background: rgba(255, 255, 255, 0.534);   
  border-radius: 45px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

@media (max-width: 992px) {
  .seccion-texto-grande .contenedor-expandido.bandeja-centrada {
    max-width: 90%;
    margin: 30px auto;   
    padding: 20px 25px 35px 25px;
  }
}

@media (max-width: 768px) {
  .seccion-texto-grande .contenedor-expandido.bandeja-centrada {
    max-width: 94%;
    margin: 20px auto;      
    padding: 15px 20px 30px 20px;
  }
}

.contenedor-expandido {
  max-width: 1100px;      
  margin: 0 auto;         
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.seccion-texto-grande .seccion-interna-centrada {
  display: flex;
  flex-direction: column;
  align-items: center;         
  justify-content: center;     
  min-height: 200px;        
  width: 100%;
  padding-top: 10px;            
  padding-bottom: 10px;        
}

.seccion-texto-grande .row {
  width: 100%;
  max-width: 980px;       
  margin: 10px auto;        
  gap: 40px;
}

.section-title {
  margin: 10px 0 15px;       
}


.section-title {
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin: 0 0 0rem;
  color: #000;
}

.section-title-divider {
  width: 140px;
  height: 5px;
  background: #c8102e;
  margin: 25px auto;
  border-radius: 3px;
}

#hero {
  position: relative;
  min-height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.68)), url('img/Fondo.jpg') center/cover no-repeat fixed;
}

#hero h1 {
  font-size: 3.6rem;
  letter-spacing: 2.2px;
  margin: 0.2em 0;
  text-shadow: 0 3px 12px rgba(0,0,0,0.7);
}

#hero h2 {
  font-size: 2.1rem;
  font-weight: 400;
  max-width: 920px;
  margin: 1.2em auto 2em;
  line-height: 1.45;
  opacity: 0.95;
}


#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(17,17,17,0.88);
  backdrop-filter: blur(6px);
}

#header .contenedor-expandido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

#header #logo img { max-height: 68px; }

#nav-menu-container ul.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  margin: 0;
}

#nav-menu-container a {
  color: white;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.6px;
}

.seccion-texto-grande .contenedor-expandido {
  background: rgba(255, 255, 255, 0.534);
  padding: 0px;
  border-radius: 45px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.seccion-texto-grande p,
.seccion-texto-grande li { font-size: 1.38rem; line-height: 1.88; }

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  background: #c8102e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.back-to-top.show { opacity: 1; visibility: visible; }



#mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2.1rem;
  cursor: pointer;
}

#mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 65%;          
  height: 100vh;
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(8px);
  z-index: 9999;
  transition: left 0.4s ease;
  padding-top: 90px;
  overflow-y: auto;
}

#mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;  
  padding-left: 30px;
  gap: 0.9rem;             
}

#mobile-nav a {
  color: white;
  font-size: 1.25rem;  
  font-weight: 500;
  padding: 8px 0;
}

#mobile-nav a:hover { color: #c8102e; }

.mobile-logo-item {
  margin-top: 3rem;
  padding: 0px 52px 20px 0px;
  text-align: center;
  width: 110%;
}

.mobile-logo {
  max-width: 190px;      
  width: 85%;
  height: auto;
}

#mobile-nav.active {
  left: 0;
}

@media (max-width: 768px) {
  #mobile-nav-toggle { display: block; }
  #nav-menu-container { display: none; }
  #header #logo img { max-height: 55px; }
}

@media (max-width: 992px) {
  #hero h1 { font-size: 3rem; }
  #hero h2 { font-size: 1.8rem; }
}