/* DIN Next W1G Font Faces */
@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-UltraLight.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-UltraLightIt.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-HeavyItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'DIN Next W1G';
    src: url('fonts/DINNextW1G-BlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

:root {
    --primary-color: #4a3b2a;
    --secondary-color: #4d5032;
    --accent-color: #4d5032;
    --text-color: #4a3b2a;
    --brown: #4a3b2a;
    --light-bg: #f2f2f2;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DIN Next W1G', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* Carrusel Hero */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    color: var(--white);
    width: 90%;
    max-width: 800px;
}

.slider-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease forwards;
}

.slider-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    font-size: 1rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.slider-prev {
    left: 1.2rem;
}

.slider-next {
    right: 1.2rem;
}

.slider-nav:hover {
    background-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.cta-button:hover {
    background-color: #3a3d23;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Secciones generales */
.section {
    padding: 80px 20px;
    scroll-margin-top: 70px;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 1rem auto 0;
}

/* Sección About */
.about {
    background-color: #4d5032;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    scroll-margin-top: 70px;
}

.about-image {
    overflow: hidden;
    background-color: #4d5032;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.about-text {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: rgba(255,255,255,0.9);
}

.about-text h2 {
    color: #4a3b2a;
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-text h2::after {
    display: none;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

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

.about-intro {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 1.2rem;
}

.about-sub {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.about-list li {
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
    opacity: 0.9;
}

.about-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
}

.about-footer {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    margin-top: 0.4rem;
    margin-bottom: 0 !important;
}

/* Sección Cómo lo Hacemos */
.process {
    background-color: var(--secondary-color);
    color: rgba(255,255,255,0.9);
}

.process h2 {
    color: var(--brown);
}

.process h2::after {
    background-color: var(--brown);
}

.process .container {
    max-width: 1440px;
    padding: 0 40px;
}

.process-intro {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.process-intro strong {
    color: #fff;
}

.process-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
}

.process-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.process-img-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--brown);
    aspect-ratio: 2/3;
}

.process-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding-left: 1rem;
}

.process-step {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--brown);
    line-height: 1;
    min-width: 2.5rem;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.85;
}

/* Grid de 4 videos dentro de process */
.process-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    margin-top: 4rem;
    background: #000;
}

.process-video-grid video {
    width: 100%;
    aspect-ratio: 9/16;
    display: block;
    object-fit: cover;
}

/* Sección Productos */
.products {
    background-color: var(--white);
}

.products-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.product-box {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-box h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.product-measure {
    color: #aaa;
    font-size: 0.85rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.product-carousel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Carrusel — ventana que recorta + track que desliza */
.carousel-window {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    height: 480px;
    background: var(--white);
    border: 3px solid var(--brown);
}

.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    height: 100%;
    transition: transform 0.4s ease;
    will-change: transform;
}

.carousel-slide {
    overflow: hidden;
    height: 100%;
    position: relative;
}

.carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-nav {
    flex-shrink: 0;
    align-self: center;
    width: 36px;
    height: 36px;
    border: none;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.carousel-nav:active {
    opacity: 0.8;
}

.line-images img:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Galería Deslizable */
.gallery-section {
    background-color: var(--white);
}

.horizontal-gallery {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-track-container {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 540px;
    border: 3px solid var(--brown);
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-nav {
    flex-shrink: 0;
    align-self: center;
    width: 36px;
    height: 36px;
    border: none;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.gallery-nav:active {
    opacity: 0.8;
}

/* Sección FAQ */
.faq-section {
    background-color: var(--light-bg);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(74, 59, 42, 0.15);
    padding: 1.5rem 0;
}

.faq-item:first-child {
    border-top: 1px solid rgba(74, 59, 42, 0.15);
}

.faq-question {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.faq-answer {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #444;
    margin: 0;
}

/* Sección Ubicación */
.location {
    background-color: var(--light-bg);
}

.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
}

.location-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.location-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

.location-info strong {
    color: var(--primary-color);
}

.location-info ul {
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.location-info li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Formulario de Contacto */
.contact {
    background-color: var(--white);
}

.contact-info-box {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--brown);
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--brown);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(77, 80, 50, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #3a3d23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Barra de Stats */
.stats-bar {
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 1.2rem 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 2.5rem;
    color: var(--white);
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    color: #f2f2f2;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.65);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* ============================================
   RESPONSIVE — MÓVIL PRIMERO
   ============================================ */

@media (max-width: 768px) {

    /* --- Navbar --- */
    .navbar .container {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: -20px;
        right: -20px;
        background-color: var(--primary-color);
        padding: 0.5rem 0 1rem;
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
        z-index: 999;
    }

    .nav-links li {
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a {
        display: block;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .logo-img {
        height: 38px;
    }

    /* --- Stats bar --- */
    .stats-bar {
        gap: 0;
        padding: 1rem;
    }

    .stat-item {
        padding: 0.4rem 1rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-divider {
        height: 30px;
    }

    /* --- WhatsApp --- */
    .whatsapp-float {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    /* --- Hero --- */
    .hero-slider {
        height: 80vh;
    }

    .slider-title {
        font-size: clamp(1.4rem, 7vw, 2.2rem);
        letter-spacing: 1px;
    }

    .slider-subtitle {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        margin-bottom: 1.2rem;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .slider-nav {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .slider-prev { left: 0.5rem; }
    .slider-next { right: 0.5rem; }

    /* --- Secciones generales --- */
    .section {
        padding: 50px 0;
    }

    .section h2 {
        font-size: 1.7rem;
        margin-bottom: 2rem;
    }

    /* --- Quiénes Somos --- */
    .about {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 260px;
    }

    .about-text {
        padding: 2rem 1.5rem;
    }

    .about-text h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    /* --- Cómo lo Hacemos --- */
    .process .container {
        padding: 0 1.5rem;
    }

    .process-intro {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .process-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-images {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .process-img-wrap {
        aspect-ratio: 3/4;
    }

    .process-steps {
        padding-left: 0;
        gap: 1.2rem;
    }

    .step-number {
        font-size: 1.5rem;
        min-width: 2rem;
    }

    .step-content h4 {
        font-size: 0.9rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    /* Videos 2x2 en móvil */
    .process-video-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 2.5rem;
    }

    /* --- Productos --- */
    .products-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-box {
        padding: 1.2rem;
    }

    .product-box h3 {
        font-size: 1.1rem;
    }

    .product-carousel {
        position: relative;
        gap: 0;
    }

    .carousel-window {
        height: 320px;
        flex: 1;
    }

    .carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        width: 36px;
        height: 36px;
        background: rgba(77, 80, 50, 0.65);
    }

    .product-carousel .carousel-nav:first-child { left: 0.5rem; }
    .product-carousel .carousel-nav:last-child  { right: 0.5rem; }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    /* --- Galería --- */
    .horizontal-gallery {
        position: relative;
        gap: 0;
    }

    .gallery-track-container {
        height: 260px;
        flex: 1;
        width: 100%;
    }

    .gallery-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        width: 40px;
        height: 40px;
        background: rgba(77, 80, 50, 0.65);
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .gallery-prev { left: 0.5rem; }
    .gallery-next { right: 0.5rem; }

    /* --- Ubicación --- */
    .location-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .location-info h3 {
        font-size: 1.2rem;
    }

    /* --- Contacto --- */
    .contact-info-box {
        padding: 1.5rem 1.2rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-method {
        padding: 1.5rem;
    }

    .contact-link {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 1.5rem 1.2rem;
    }

    /* --- Footer --- */
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {

    /* Hero */
    .hero-slider {
        height: 75vh;
    }

    .slider-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }

    /* Secciones */
    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    /* Process */
    .process .container {
        padding: 0 1rem;
    }

    /* Videos: columna única en pantallas muy chicas */
    .process-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Productos */
    .carousel-window {
        height: 280px;
    }

    /* Galería */
    .gallery-track-container {
        height: 220px;
    }

    /* Contacto */
    .contact-link {
        font-size: 1rem;
        word-break: break-all;
    }
}

/* ============================================================
   POSICIONES DE IMÁGENES — DESKTOP vs MÓVIL
   Formato: horizontal vertical  (ej: center 40%)
   horizontal: left / center / right / 20%
   vertical:   0% = arriba  |  50% = centro  |  100% = abajo
   ============================================================ */

/* — DESKTOP — */

/* Hero (background-position) */
.op-h1 { background-position: center center; }
.op-h2 { background-position: center 40%; }
.op-h3 { background-position: center center; }
.op-h4 { background-position: center 40%; }
.op-h5 { background-position: center center; }

/* Quiénes Somos */
.op-about  { object-position: center center; }

/* Cómo lo Hacemos */
.op-proc-1 { object-position: center 20%; }
.op-proc-2 { object-position: center 30%; }

/* Agrícola y Viñedos */
.op-c0-1   { object-position: center 70%; }
.op-c0-2   { object-position: center 70%; }

/* Estructural y Rural */
.op-c1-1   { object-position: 50% 70%; }
.op-c1-2   { object-position: center 50%; }
.op-c1-3   { object-position: center 50%; }

/* Malla Antigranizo */
.op-c2-1   { object-position: center 60%; }
.op-c2-2   { object-position: center 50%; }
.op-c2-3   { object-position: center 55%; }
.op-c2-4   { object-position: right center; }

/* Línea Aérea */
.op-c3-1   { object-position: center 10%; }
.op-c3-2   { object-position: right 20%; }
.op-c3-3   { object-position: center 50%; }
.op-c3-4   { object-position: center 50%; }
.op-c3-5   { object-position: center 50%; }

/* Galería */
.op-g1     { object-position: center center; }
.op-g2     { object-position: center center; }
.op-g3     { object-position: center center; }
.op-g4     { object-position: center center; }
.op-g5     { object-position: center 40%; }
.op-g6     { object-position: center 35%; }
.op-g7     { object-position: center center; }
.op-g8     { object-position: center 45%; }
.op-g9     { object-position: center center; }
.op-g10    { object-position: left 35%; }
.op-g11    { object-position: left center; }
.op-g12    { object-position: center center; }
.op-g13    { object-position: center center; }


/* — MÓVIL (max-width: 768px) — */
@media (max-width: 768px) {

    /* Hero */
    .op-h1 { background-position: 33% center; }
    .op-h2 { background-position: center 45%; }
    .op-h3 { background-position: center center; }
    .op-h4 { background-position: center 40%; }
    .op-h5 { background-position: center center; }

    /* Quiénes Somos */
    .op-about  { object-position: center center; }

    /* Cómo lo Hacemos */
    .op-proc-1 { object-position: center 20%; }
    .op-proc-2 { object-position: center 30%; }

    /* Agrícola y Viñedos */
    .op-c0-1   { object-position: center 70%; }
    .op-c0-2   { object-position: center 70%; }

    /* Estructural y Rural */
    .op-c1-1   { object-position: 50% 70%; }
    .op-c1-2   { object-position: center 50%; }
    .op-c1-3   { object-position: center 50%; }

    /* Malla Antigranizo */
    .op-c2-1   { object-position: center 60%; }
    .op-c2-2   { object-position: center 50%; }
    .op-c2-3   { object-position: center 55%; }
    .op-c2-4   { object-position: right center; }

    /* Línea Aérea */
    .op-c3-1   { object-position: center 10%; }
    .op-c3-2   { object-position: right 20%; }
    .op-c3-3   { object-position: center 50%; }
    .op-c3-4   { object-position: center 50%; }
    .op-c3-5   { object-position: center 50%; }

    /* Galería */
    .op-g1     { object-position: center center; }
    .op-g2     { object-position: center center; }
    .op-g3     { object-position: center center; }
    .op-g4     { object-position: center center; }
    .op-g5     { object-position: center 40%; }
    .op-g6     { object-position: center 35%; }
    .op-g7     { object-position: center center; }
    .op-g8     { object-position: center 45%; }
    .op-g9     { object-position: center center; }
    .op-g10    { object-position: right 35%; }
    .op-g11    { object-position: center center; }
    .op-g12    { object-position: center center; }
    .op-g13    { object-position: center center; }
}
