@font-face {
    font-family: 'Ambit_Bold';
    src:
        url('../fonts/Ambit_Bold.woff2') format('woff2');    
}
@font-face {
    font-family: 'Ambit_SemiBold';
    src:
        url('../fonts/Ambit_SemiBold.woff2') format('woff2');    
}
@font-face {
    font-family: 'Ambit_Regular';
    src:
        url('../fonts/Ambit_Regular.woff2') format('woff2');    
}

/* --- RESET & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ambit_Bold', Arial, sans-serif; 
    background-color: #000;
    color: #fff;
}

.landing-container {
    max-width: 100%; /* Centrado y acotado como en la imagen de referencia */
    margin: 0 auto;
    position: relative;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- HEADER --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-image: url('../img/bg-header.jpg'); /* Tu fondo del header */
    background-size: cover;
    background-position: center;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-left img { min-height: 60px; max-height: 60px; }
.header-logo-center img { min-height: 80px; max-height: 80px; }
.header-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    margin-left: 15px;
}

/* --- HERO SECTION --- */
.hero-section {    
    position: relative;
    font-family: 'Ambit_SemiBold', Arial, sans-serif;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0px;
}

.hero-main-legal-logo {
    width: 730px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.hero-main-legal-text {
    width: 90%;
    margin-top: 0px;
    margin-bottom: 0px;
}

.hero-main-legal-bottom {
    width: 200px;
    margin-top: 0px;
    margin-bottom: 40px;
}

.hero-section::before {
  content: "";
    position: absolute;
    width: 1080px;
    height: 2000px;
    background-image: url('../img/FAQrecurso_7.svg'); 
    background-repeat: no-repeat;  
    background-size: contain; /* Asegura que el SVG se adapte al tamaño sin cortarse */
}

.hero-section::after {
  content: "";
    position: absolute;
    width: 520px;
    height: 1030px;    
    background-image: url('../img/FAQrecurso_6.svg'); 
    background-repeat: no-repeat;  
    background-size: contain; /* Asegura que el SVG se adapte al tamaño sin cortarse */
}

.hero-section::before {
  right: -150px;
  top: 30px;
}

.hero-section::after {
  left: -150px;
  bottom: 20px;
}

/* --- FOOTER --- */
.main-footer {  
    background-image: url('../img/bg-fondo-rosa-footer.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 20px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
}

.footer-logo img {     
    max-width: 350px; /* Ajusta el tamaño del logo en el footer */
    display: block;
    margin: 0 auto;
}


/* --- RESPONSIVE DESIGN (Celulares) --- */
@media (max-width: 1080px) {
    .hero-main-legal-logo {
    width: 70%;
    margin-top: 40px;
    margin-bottom: 40px;
}

.hero-main-legal-text {
    width: 90%;
    margin-top: 0px;
    margin-bottom: 0px;
}

.hero-main-legal-bottom {
    width: 20%;
    margin-top: 0px;
    margin-bottom: 40px;
}

.hero-section::before {
  content: "";
    position: absolute;
    width: 70%;
    background-image: url('../img/FAQrecurso_7.svg'); 
    background-repeat: no-repeat;  
    background-size: contain; /* Asegura que el SVG se adapte al tamaño sin cortarse */
}

.hero-section::after {
  content: "";
    position: absolute; 
    width: 70%;
    background-image: url('../img/FAQrecurso_6.svg'); 
    background-repeat: no-repeat;  
    background-size: contain; /* Asegura que el SVG se adapte al tamaño sin cortarse */
}

.hero-section::before {
  right: -20px;
  top: 0px;
}

.hero-section::after {
  left: -20px;
  top: 0px;
}
}

@media (max-width: 600px) {
    .hero-section::before {
  content: "";
    position: absolute;
    background-image: url('../img/FAQrecurso_7.svg'); 
    background-repeat: no-repeat;  
    background-size: contain; /* Asegura que el SVG se adapte al tamaño sin cortarse */
}

.hero-section::after {
  content: "";
    position: absolute;
    background-image: url('../img/FAQrecurso_6.svg'); 
    background-repeat: no-repeat;  
    background-size: contain; /* Asegura que el SVG se adapte al tamaño sin cortarse */
}    
    .main-header, .main-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}