/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Screen reader only - for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.main-header {
    background: #fff;
    padding: 20px 0;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 60px;
    width: auto;
}

/* Banner Section */
.banner-section {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    background-image: url('../res/imgs/Banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    margin: 0;
    display: flex;
    min-height: 700px;
}

.banner-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.banner-right {
    width: 50%;
}

.banner-title {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    letter-spacing: 3px;
}

.banner-title span {
    display: block;
}

.banner-title span:first-child {
    color: #0BA14A;
}

/* Secciones Generales */
section {
    padding: 60px 0;
    background: #fff;
    margin-bottom: 0;
    width: 100%;
}

.banner-section {
    box-shadow: none;
    margin-bottom: 0;
    padding: 0;
}

.global-presence {
    width: 100%;
}

footer {
    width: 100%;
}

/* --- UTILIDADES --- */
.text-green {
    color: #009B4D;
    font-weight: 800;
}

strong {
    font-weight: 700;
    color: #222;
}

/* --- CONTENEDOR PRINCIPAL --- */
.main-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Imagen de fondo que va desde el borde inferior de bottom-section hasta la mitad de top-section */
.main-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../res/imgs/imagen_1.webp');
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    /* Clip desde la mitad de top-section (190.5px) hasta el final */
    clip-path: inset(calc(381px / 2) 0 0 0);
}

/* --- CONFIGURACIÓN GENERAL DE CONTENIDO --- */
.content-wrapper {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* --- SECCIÓN 1 (SUPERIOR) --- */
.top-section {
    width: 100%;
    background-color: transparent;
    padding-top: 80px;
    padding-bottom: 60px;
    text-align: center;
    position: relative;
}

.headline {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #333;
    padding: 0 20px;
}

.top-section .description {
    font-size: 1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* --- SECCIÓN 2 (INFERIOR - FONDO GRIS) --- */
.bottom-section {
    position: relative;
    width: 100%;
    background-color: transparent;
    padding-top: 60px;
    padding-bottom: 100px;
}

/* Ajuste para que el texto e imagen del gotero se alineen */
.bottom-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.text-column {
    flex: 1;
    padding-left: 100px;
    margin-left: 250px;
    min-width: 0;
}

.sub-headline {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.bottom-section .description {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #444;
}

/* --- IMAGEN DEL GOTERO --- */
.image-column {
    flex: 0 0 250px;
    display: flex;
    justify-content: center;
}

.bottle-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

/* Global Presence */
.global-presence {
    background-color: #fff;
    padding: 80px 0;
    width: 100%;
}

.global-presence .container {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
}

.bulk-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
    padding: 0;
    justify-content: flex-start;
    width: 100%;
}

.arrow-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 1px;
    position: relative;
    margin-bottom: 0;
}

.arrow-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid #0BA14A;
    width: 0;
    height: 0;
    display: block;
}

.bulk-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bulk-title-line {
    font-size: clamp(1.5rem, 3vw, 2em);
    font-weight: 400;
    color: #333;
    margin: 0;
    line-height: 1.2;
    text-align: left;
}

.highlight-green {
    background-color: #0BA14A;
    color: white;
    padding: 0 0.4rem;
    font-weight: 700;
}

.map-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.warehouse-map {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Logistics Section (4th Section) */
.logistics-section {
    background-color: #fff;
    padding: 80px 0;
    width: 100%;
}

.logistics-section .container {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
}

.logistics-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.logistics-text {
    flex: 1;
    max-width: 600px;
}

.logistics-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: left;
}

.logistics-text p:last-child {
    margin-bottom: 0;
}

.logistics-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
}

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

/* Contact Section (Final Section) */
.contact-section {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    background-image: url('../res/imgs/Footer.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow-x: hidden;
}

.contact-section::before {
    display: none;
}

.contact-section .container {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 80px 20px;
}

.contact-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-text-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-intro-text {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    border-style: none;
    border-width: 0px;
    border-color: rgba(0, 0, 0, 0);
    border-image: none;
    height: 135px;
    width: fit-content;
}

.contact-form-highlight {
    color: #0BA14A;
}

.catalog-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #0BA14A;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.catalog-btn:hover {
    background-color: #0a8a3f;
}

.contact-form-column {
    flex: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 476px;
}

.form-group {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0BA14A;
    background-color: rgba(255, 255, 255, 1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 0.8rem 2rem;
    background-color: #0BA14A;
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    width: fit-content;
}

.submit-btn:hover {
    background-color: #0a8a3f;
}

/* Footer */
footer {
    background-color: #fff;
    color: #333;
    padding: 0px 0;
    font-size: 1rem;
    position: relative;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-left {
    text-align: left;
}

.footer-left p {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.footer-left a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-left a:hover {
    color: #0BA14A;
    text-decoration: underline;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.social-icon {
    display: inline-block;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(106deg) brightness(99%) contrast(101%);
    transform: scale(1.1);
}

.social-icon img {
    width: 32px;
    height: 32px;
    display: block;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.social-icon:hover img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(106deg) brightness(99%) contrast(101%);
}

.footer-right {
    text-align: right;
}

.footer-right address {
    font-style: normal;
}

.footer-right p {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    font-style: normal;
}

.address-label {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Responsive - Desktop Large (1920px+) */
@media (min-width: 1921px) {
    .banner-section,
    .main-container,
    .container,
    .header-container,
    .contact-section {
        max-width: 1920px;
    }
}

/* Responsive - Desktop (1440px to 1920px) */
@media (max-width: 1920px) {
    .banner-section,
    .main-container,
    .container,
    .header-container,
    .contact-section {
        width: 90%;
    }
}

/* Responsive - Laptop Large (1280px to 1440px) */
@media (max-width: 1440px) {
    .banner-title {
        font-size: 3.5rem;
    }
    
    .headline {
        font-size: 1.3rem;
    }
    
    .sub-headline {
        font-size: 1.15rem;
    }
    
    .global-presence h2 {
        font-size: 1.8rem;
    }
    
    .text-column {
        margin-left: 200px;
    }
}

/* Responsive - Laptop (1024px to 1280px) */
@media (max-width: 1280px) {
    .banner-section,
    .main-container,
    .container,
    .header-container,
    .contact-section {
        width: 95%;
    }
    
    .banner-title {
        font-size: 3rem;
    }
    
    .headline {
        font-size: 1.25rem;
    }
    
    .content-wrapper {
        padding: 35px 30px;
    }
    
    .text-column {
        margin-left: 180px;
        padding-left: 80px;
    }
}

/* Responsive - Tablet Large (1024px) */
@media (max-width: 1024px) {
    .banner-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
    
    .banner-container {
        min-height: 600px;
    }
    
    .banner-section {
        min-height: 600px;
    }
    
    .banner-left {
        padding: 30px;
    }
    
    .content-wrapper {
        padding: 30px 25px;
    }
    
    .headline {
        font-size: 1.2rem;
    }
    
    .sub-headline {
        font-size: 1.1rem;
    }
    
    .top-section {
        padding-top: 60px;
        padding-bottom: 50px;
    }
    
    .bottom-section {
        padding-top: 50px;
        padding-bottom: 80px;
    }
    
    .global-presence {
        padding: 60px 0;
    }
    
    .global-presence h2 {
        font-size: 1.6rem;
    }
    
    .text-column {
        margin-left: 120px;
        padding-left: 60px;
    }
}

/* Responsive - Tablet (768px to 1024px) */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
    }
    
    .banner-container {
        min-height: 500px;
        flex-direction: column;
    }
    
    .banner-section {
        min-height: 500px;
    }
    
    .banner-left {
        width: 100%;
        padding: 30px 20px;
    }
    
    .banner-right {
        display: none;
    }
    
    .content-wrapper {
        padding: 25px 20px;
    }
    
    .headline {
        font-size: 1.15rem;
        padding: 0 15px;
        margin-bottom: 25px;
    }
    
    .top-section {
        padding-top: 50px;
        padding-bottom: 40px;
    }
    
    .top-section .description {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .bottom-section {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
    .bottom-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .text-column {
        padding-left: 20px;
        margin-left: 0;
    }
    
    .image-column {
        order: -1;
        margin-bottom: 20px;
        flex: 1 1 auto;
        width: 100%;
    }
    
    .bottle-img {
        max-width: 180px;
    }
    
    .sub-headline {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }
    
    .bottom-section .description {
        font-size: 0.9rem;
    }
    
    .global-presence {
        padding: 50px 0;
    }
    
    .global-presence h2 {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    
    .bulk-header {
        justify-content: center;
        text-align: center;
    }
    
    .bulk-title-line {
        text-align: center;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-intro-text {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .catalog-btn {
        width: 100%;
        text-align: center;
    }
    
    footer {
        padding: 50px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Responsive - Mobile Large (600px to 768px) */
@media (max-width: 600px) {
    .container,
    .header-container {
        width: 95%;
        padding: 15px;
    }
    
    .banner-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .banner-container {
        min-height: 400px;
    }
    
    .banner-section {
        min-height: 400px;
    }
    
    .banner-left {
        padding: 20px 15px;
    }
    
    .logo {
        height: 50px;
    }
    
    .main-header {
        padding: 15px 0;
    }
    
    .content-wrapper {
        padding: 20px 15px;
        width: 95%;
    }
    
    .headline {
        font-size: 1rem;
        padding: 0 10px;
        line-height: 1.4;
    }
    
    .top-section {
        padding-top: 40px;
        padding-bottom: 30px;
    }
    
    .top-section .description {
        font-size: 0.9rem;
    }
    
    .bottom-section {
        padding-top: 30px;
        padding-bottom: 50px;
    }
    
    .text-column {
        padding-left: 30px;
        margin-left: 50px;
    }
    
    .sub-headline {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .bottom-section .description {
        font-size: 0.85rem;
    }
    
    .bottle-img {
        max-width: 150px;
    }
    
    .global-presence {
        padding: 40px 0;
    }
    
    .global-presence h2 {
        font-size: 1.2rem;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .bulk-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .arrow-icon {
        transform: rotate(90deg);
    }
    
    .bulk-title-line {
        text-align: center;
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
    
    .logistics-section {
        padding: 60px 0;
    }
    
    .logistics-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .logistics-text p {
        font-size: 0.95rem;
        text-align: center;
        padding: 0 10px;
    }
    
    .contact-section .container {
        padding: 60px 20px;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-intro-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .catalog-btn {
        width: 100%;
    }
    
    footer {
        padding: 40px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        text-align: center;
    }
    
    .footer-left p,
    .footer-right p {
        font-size: 0.95rem;
    }
    
    .social-icon img {
        width: 28px;
        height: 28px;
    }
}

/* Responsive - Mobile (480px and below) */
@media (max-width: 480px) {
    .container,
    .header-container {
        width: 100%;
        padding: 10px;
    }
    
    .banner-title {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }
    
    .banner-title span {
        font-size: 0.9em;
    }
    
    .banner-container {
        min-height: 350px;
    }
    
    .banner-section {
        min-height: 350px;
    }
    
    .banner-left {
        padding: 15px 10px;
    }
    
    .logo {
        height: 40px;
    }
    
    .content-wrapper {
        padding: 15px 10px;
        width: 100%;
    }
    
    .headline {
        font-size: 0.9rem;
        padding: 0 5px;
        margin-bottom: 20px;
    }
    
    .top-section {
        padding-top: 30px;
        padding-bottom: 25px;
    }
    
    .top-section .description {
        font-size: 0.85rem;
        padding: 0 5px;
    }
    
    .bottom-section {
        padding-top: 25px;
        padding-bottom: 40px;
    }
    
    .text-column {
        padding-left: 20px;
        margin-left: 30px;
    }
    
    .sub-headline {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .bottom-section .description {
        font-size: 0.8rem;
    }
    
    .bottle-img {
        max-width: 120px;
    }
    
    .image-column {
        margin-bottom: 15px;
    }
    
    .bottom-layout {
        gap: 20px;
    }
    
    .text-column {
        padding-left: 15px;
        margin-left: 20px;
    }
    
    .global-presence {
        padding: 30px 0;
    }
    
    .global-presence h2 {
        font-size: 1.1rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    footer {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        text-align: center;
    }
    
    .footer-left p,
    .footer-right p {
        font-size: 0.9rem;
    }
    
    .address-label {
        font-size: 1rem;
    }
    
    .social-icon img {
        width: 24px;
        height: 24px;
    }
    
    .social-icons {
        gap: 15px;
    }
}
