/* Estilos globales compartidos */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&family=Poppins:wght@400;700&display=swap');

@media (max-width: 768px) {
.nav-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0 16px;
    }

.menu-superior {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 8px;
    }

.menu-superior li {
        width: 100%;
        margin: 0;
    }

.menu-superior li a {
        display: block;
        width: 100%;
        padding: 10px 14px;
    }

.button-area {
        width: 100%;
        display: flex;
        justify-content: center;
    }

.btn-contactanos {
        width: 100%;
        max-width: 320px;
        padding: 14px 0;
    }

.hero {
        min-height: auto;
    }

.hero .hero-overlay {
        padding-top: 40px;
    }

.hero-content {
        width: 100%;
        padding: 24px 16px 30px;
    }

.hero-content h1,
.titulo-seccion {
        font-size: 2.6rem;
    }

.subtitulo-seccion {
        font-size: 1rem;
        margin-bottom: 30px;
    }

.footer-principal {
    width: 100%;
}

.footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

.footer-copy {
        font-size: 0.9rem;
    }
}

@media (max-width: 540px) {
.nav-container {
        padding: 0 12px;
    }

.menu-superior li a {
        padding: 10px 12px;
    }

.hero-content {
        padding: 18px 12px 24px;
    }

.hero-content h1,
.titulo-seccion {
        font-size: 2rem;
    }

.footer-copy {
        padding: 14px 0;
    }
}

:root {
    /* Colores extraídos de tus imágenes */
    --color-fondo-oscuro: #3e3633;  /* Marrón oscuro de fondo (imagen 3) */
    --color-tarjeta-normal: #504641; /* Marrón medio de tarjetas (imagen 4) */
    --color-tarjeta-destacada: #231f1d; /* Negro/marrón muy oscuro de tarjeta central (imagen 4) */
    --color-texto-claro: #ffffff;    /* Blanco para texto */
    --color-boton: #e68a00;         /* Naranja/Oro para los botones 'Ver más' */
    --color-boton-hover: #cc7a00;   /* Naranja más oscuro para el hover */
    
    /* Fuentes y espaciados */
    --fuente-principal: 'Poppins', sans-serif;
    --espaciado-seccion: 80px;
    --max-ancho-contenedor: 1400px;
}

body { 
    font-family: var(--fuente-principal);
    background-color: #1a1513; /* Un color oscuro de base por si algo falla */
    color: var(--color-texto-claro);
    line-height: 1.6;
    overflow-x: hidden; /* Evita scrolls horizontales raros */
}

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

.contenedor {
    width: min(calc(100% - 40px), var(--max-ancho-contenedor));
    margin: 0 auto;
}

header {
    position: absolute; /* Para que flote sobre el fondo */
    top: 0;
    width: 100%;
    padding: 20px 0px;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-ancho-contenedor);
    margin: 0 auto;
    padding: 0 20px;
    height: auto;
    text-align: center;
}

.titulo-seccion {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.subtitulo-seccion {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    background-color: #1a1513 !important; /* Marrón casi negro */
    padding: 60px 0 20px 0;
    width: 100%;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-box h3 {
    font-family: 'Montserrat', sans-serif;
    color: #e68a00;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.footer-box p {
    margin: 0;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    align-items: center;
    margin-top: 6px;
}

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

.footer-social img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 0;
    transition: transform 0.2s ease;
}

.footer-social a:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
.footer-social {
        gap: 16px;
    }

.footer-social img {
        width: 32px;
        height: 32px;
    }
}

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
    text-align:center;
    
}

@media (max-width: 768px) {
.footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
:root {
        --espaciado-seccion: 50px;
    }

.titulo-seccion {
        font-size: 2rem;
        margin-bottom: 20px;
    }

.subtitulo-seccion {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.logo-link {
    margin-right: auto;
}

.logo-img {
    height: 80px; /* Ajustá según el tamaño de tu archivo */
    transition: transform 0.3s;
    display: block;
}

.logo-img:hover { transform: scale(1.05); }

.menu-superior {
    list-style: none;
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

.menu-superior li a {
    color: #fede4c; /* Color ocre/dorado similar al logo */
    text-decoration: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 4px;
    text-transform:uppercase;
    transition: all 0.3s ease;
}

.menu-superior li a:hover {
    background-color: #fede4c; /* Color al pasar el mouse */
    color: #000;
}

.btn-contactanos {
    background-color: #da7d01; /* Naranja oscuro */
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
}

.btn-contactanos:hover { background-color: #c77100; }

.hero {
    min-height: 100vh;
    height: auto;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
        url('Imagenes/Fondo-troncos.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-left: 0;
}

.hero-content {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    padding: 100px 0px 0px 0px;
    max-width: 1000px;
    width: 100%;
}

.hero-content h1 {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    
}

.hero-content p {
    color: #f1f1f1;
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 400;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 15%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

header {
    backdrop-filter: blur(6px);
}

.nav-container {
    background: rgba(35, 31, 29, 0.18);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.logo-img {
    transition: transform 0.25s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.04);
}

.menu-superior li a,
.btn-contactanos {
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.menu-superior li a:hover,
.btn-contactanos:hover {
    transform: translateY(-1px);
}

.whatsapp-float {
    box-shadow: 0 10px 32px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
.nav-container {
        border-radius: 0;
        background: rgba(35, 31, 29, 0.72);
    }
}

html { scroll-behavior: smooth; }

body { overflow-x: hidden; }

.hero {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 2528px auto;
    background-color: #1c130a;
}

.menu-superior li a.activo {
    color: #fff;
    background: rgba(230, 138, 0, 0.22);
}

@media (max-width: 1024px) {
header {
        padding: 14px 0;
    }

.nav-container {
        width: calc(100% - 24px);
        max-width: 980px;
        gap: 12px;
        padding: 10px 14px;
        flex-wrap: wrap;
    }

.logo-link { margin-right: 0; }

.logo-img { height: 64px; }

.menu-superior {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0;
        gap: 8px;
    }

.menu-superior li a {
        padding: 10px 14px;
        font-size: 0.92rem;
    }

.button-area { margin-left: auto; }

.btn-contactanos { padding: 12px 22px; }
}

@media (max-width: 640px) {
header {
        position: absolute;
        padding-top: 10px;
    }

.nav-container {
        width: calc(100% - 18px);
        border-radius: 14px;
        padding: 10px;
        gap: 10px;
    }

.logo-img { height: 54px; }

.button-area {
        width: auto;
        margin-left: auto;
    }

.btn-contactanos {
        max-width: none;
        width: auto;
        padding: 11px 14px;
        font-size: 0.9rem;
    }

.menu-superior {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

.menu-superior li a {
        text-align: center;
        padding: 9px 6px;
        font-size: 0.76rem;
        border-radius: 8px;
    }

.hero {
        background-size: auto 100%;
        background-position: center top;
    }

.whatsapp-float {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 390px) {
.menu-superior {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
header,
.nav-container,
.menu-superior,
.button-area,
.btn-contactanos {
        box-sizing: border-box;
    }

.nav-container {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        margin-left: auto;
        margin-right: auto;
        padding: 12px;
        overflow: hidden;
        text-align: center;
    }

.logo-link {
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
    }

.button-area {
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        order: 2;
    }

.btn-contactanos {
        width: 100%;
        max-width: 260px;
        padding: 11px 14px;
        text-align: center;
        white-space: nowrap;
    }

.menu-superior {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

.menu-superior li {
        width: 100%;
        min-width: 0;
    }

.menu-superior li a {
        width: 100%;
        max-width: 100%;
        display: block;
        padding: 10px 6px;
        font-size: 0.78rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 360px) {
.btn-contactanos {
        max-width: 230px;
        font-size: 0.84rem;
    }

.menu-superior li a {
        font-size: 0.72rem;
    }
}

.menu-toggle {
    display: none;
    border: 0;
    background: #da7d01;
    color: #fff;
    font-family: var(--fuente-principal);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 8px;
    padding: 12px 18px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

@media (max-width: 640px) {
header {
        padding: 8px 0 0;
    }

.nav-container {
        display: grid !important;
        grid-template-columns: 1fr;
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        margin: 0 auto;
        padding: 12px !important;
        gap: 10px;
        justify-items: center;
        overflow: visible !important;
    }

.logo-link {
        order: 1;
        width: 100%;
        margin: 0 !important;
        display: flex;
        justify-content: center;
    }

.logo-img {
        height: 58px;
    }

.button-area {
        order: 2;
        width: 100%;
        margin: 0 !important;
        display: flex;
        justify-content: center;
    }

.btn-contactanos {
        width: min(100%, 260px) !important;
        max-width: 260px !important;
        padding: 12px 14px !important;
        text-align: center;
        white-space: nowrap;
    }

.menu-toggle {
        display: block;
        order: 3;
        width: min(100%, 260px);
    }

.menu-superior {
        order: 4;
        display: none !important;
        width: min(100%, 260px) !important;
        max-width: 260px !important;
        margin: 0 !important;
        padding: 8px !important;
        list-style: none;
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        gap: 6px !important;
        background: rgba(35, 31, 29, 0.94);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 12px;
        box-shadow: 0 14px 32px rgba(0,0,0,0.35);
    }

.menu-superior.menu-abierto {
        display: grid !important;
    }

.menu-superior li,
.menu-superior li a {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

.menu-superior li a {
        display: block;
        padding: 11px 12px !important;
        font-size: 0.84rem !important;
        text-align: center;
        border-radius: 8px;
    }

.hero .hero-overlay {
        padding-top: 190px !important;
    }

.hero-content h1 {
        font-size: clamp(2.35rem, 13vw, 3.6rem) !important;
        line-height: 1.08;
        max-width: 100%;
        overflow-wrap: break-word;
    }
}

header {
    padding: 18px 0;
}

.nav-container {
    width: min(calc(100% - 48px), var(--max-ancho-contenedor));
    min-height: 98px;
    padding: 8px 22px;
    box-sizing: border-box;
}

.logo-img {
    width: auto;
    height: 80px;
}

.menu-superior {
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.menu-superior li a {
    display: block;
    min-width: 104px;
    padding: 10px 16px;
    text-align: center;
    box-sizing: border-box;
}

.btn-contactanos {
    min-width: 156px;
    padding: 14px 24px;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
.nav-container {
        width: min(calc(100% - 24px), 980px);
        min-height: 88px;
        padding: 10px 14px;
    }
}

@media (max-width: 640px) {
.nav-container {
        min-height: 0;
    }
}
