/* ---------- RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1e2a3a;
    line-height: 1.6;
    /* === IMAGEN DE FONDO EN EL BODY === */
    background-image: url('../img/Principal.jpeg'); /* <--- CAMBIA LA RUTA A TU IMAGEN */
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed; /* Efecto parallax opcional */
    background-repeat: no-repeat;
    background-color: #0a1e33; /* Color de respaldo */
}

a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- HEADER (semitransparente) ---------- */
.header {
    background: rgba(10, 30, 51, 0.65);/* Sin fondo, para que se vea la imagen detrás */
    /* O si quieres un color sólido que coincida con el fondo de la imagen, usa: */
    /* background: #f5f0e8;  (ejemplo de tono crema) */
    color: #fff; /* El texto se mantiene blanco */
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: none; /* Eliminamos sombra para que no se note */
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Asegura que esté a la izquierda */
}

.logo img {
    height: 90px !important;   /* Tamaño pequeño del logo */
    width: auto !important;    /* Para que no se deforme */
    display: block;
    max-width: none;
}
.nav-menu {
    display: flex;
    gap: 2rem;
    font-weight: 500;
}
.nav-menu a {
    transition: color 0.2s;
    font-size: 1rem;
}
.nav-menu a:hover {
    color: #f0b429;
}
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
    background: none;
    border: none;
}

/* ---------- HERO (con overlay y min-height) ---------- */
.hero {
     position: relative;
    min-height: 100svh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 80px 20px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 30, 51, 0.65);/* Ajusta opacidad */
    z-index: 1;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.5rem;
}

/* Línea superior más delgada */
.hero-light {
    display: block;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

/* Línea fuerte */
.hero-strong {
    display: block;
    font-size: 4.4rem;
    font-weight: 900;
    letter-spacing: -3px;
}
.hero p {
      font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    line-height: 1.5;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    padding: 16px 55px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;

    background: rgba(255, 255, 255, 0.15); /* Blanco transparente */
    color: #ffffff;                        /* Texto blanco */
    border: 2px solid rgba(255, 255, 255, 0.6); /* Borde blanco suave */

    backdrop-filter: blur(4px);            /* Efecto vidrio */
    transition: all 0.3s ease;
}
.btn-primary:hover {
       background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;

}

/* ---------- SERVICIOS ---------- */
.servicios {
    padding: 70px 0 60px;
    background: #fff;
}
.servicios .section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #000000;
}
.servicios .section-title span {
    color: #000000;
}
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.servicio-card {
    background: #ffffff;                 /* Fondo blanco limpio */
    border-radius: 20px;                 /* Más redondeado */
    padding: 3rem 1.5rem;                /* Más espacio interno */
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: none;                        /* Quitamos borde gris */
}
.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.servicio-card i {
    font-size: 2.8rem;        /* Un poco más grande */
    color: #8b2d2d;           /* Vino elegante */
    margin-bottom: 1.2rem;
    display: block;
}

.servicio-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
}
.servicio-card p {
    color: #4a5a6e;
    font-size: 0.95rem;
}
.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* ---------- CARACTERÍSTICAS ---------- */
.caracteristicas {
    padding: 60px 0;
    background: #f2f6fc;
}

.caracteristicas .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* 1. Título: Letra Montserrat, color negro y DELGADA (font-weight 400) */
.caracteristicas h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 400; 
}

/* 2. Parte en VINO del título: Muy NEGRITA (font-weight 800) */
.caracteristicas h2 span {
    color: #a62d2d;
    font-weight: 800;
}

/* 3. Párrafo: Letra Montserrat y color gris oscuro */
.caracteristicas .desc {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    font-weight: 400;
}

/* 4. SPB Logística dentro del párrafo: Color VINO y NEGRITA */
.resaltado-vino {
    color: #a62d2d;
    font-weight: 700; 
}

/* Estilo de la lista de características */
.caracteristicas ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;            /* Un poco más de espacio entre líneas */
    margin-top: 1.5rem;
}

.caracteristicas ul li {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;     /* Negrita para el texto como en tu imagen */
    font-size: 1.1rem;
    color: #222;          /* Texto casi negro */
}

.caracteristicas ul li i {
    color: #a62d2d;       /* La palomita en color VINO */
    font-size: 1.2rem;    /* Tamaño de la palomita */
    width: 1.5rem;
    text-align: center;
}
.extra-info {
    font-family: 'Montserrat', sans-serif;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #b94a4a;
}
/* ---------- SECCIÓN CARACTERÍSTICAS REFORMADA ---------- */
/* 1. Mantenemos el texto a la derecha */
.caracteristicas .container > div:first-child {
    order: 2; 
}

/* 2. Ajustamos tu imagen directamente con su clase */
.img-caracteristica {
    order: 1;               /* La manda a la izquierda */
    width: 100%;
    max-width: 500px;       /* Ajusta este tamaño si la quieres más chica o grande */
    height: 550px;
    border-radius: 40px !important;   /* <--- ESTO LE DA LAS CURVAS */
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: block;
    margin: 0 auto;
}

/* 3. Ajuste para celulares */
@media (max-width: 992px) {
    .caracteristicas .container {
        grid-template-columns: 1fr;
    }
    .caracteristicas .container > div:first-child {
        order: 1;
    }
    .img-caracteristica {
        order: 2;
        margin-top: 2rem;
    }
}

/* ---------- TESTIMONIOS NUEVO DISEÑO ---------- */

.testimonios {
    padding: 100px 0;
    background: #f7f7f7;
    text-align: center;
}

.testimonios-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.testimonios-title span {
    color: #8b2d2d; /* Vino */
    font-weight: 800;
}

.testimonios-subtitle {
    color: #666;
    margin-bottom: 3rem;
    font-size: 1rem;
}

.testimonio-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.testimonio-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 750px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
}

.testimonio-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.2rem;
}

.testimonio-header h4 {
    margin: 0;
    font-weight: 700;
}

.testimonio-header span {
    font-size: 0.9rem;
    color: #777;
}

.testimonio-text {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.stars {
    color: #f4b400; /* Amarillo estrellas */
    font-size: 1.1rem;
}

/* Flechas */
.arrow {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #8b2d2d;
    cursor: pointer;
}

/* Dots */
.dots {
    margin-top: 2rem;
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
}

.dots span.active {
    background: #8b2d2d;
}

/* ---------- CTA (CON IMAGEN DE FONDO) ---------- */
.cta {
    /* 1. Ponemos la ruta de tu imagen y una capa oscura (linear-gradient) */
    background: linear-gradient(rgba(6, 17, 30, 0.8), rgba(6, 17, 30, 0.8)), 
                url('../img/Final.jpeg'); /* <--- CAMBIA EL NOMBRE DE TU IMAGEN AQUÍ */
    
    /* 2. Ajustes para que la imagen cubra todo el espacio y no se mueva */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Esto da un efecto elegante al hacer scroll */
    
    color: #fff;
    padding: 100px 0; /* Aumentamos el espacio para que la foto luzca más */
    text-align: center;
}



.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}
/* ---------- CTA FORM PREMIUM ---------- */

.cta {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: #ffffff;
}

/* Título */
.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8rem;              /* Grande como la imagen */
    font-weight: 300;               /* Delgado arriba */
    line-height: 1.1;
    letter-spacing: -1px;           /* Más elegante y compacto */
    margin-bottom: 1.5rem;

    color: rgba(255,255,255,0.92);  /* Blanco suave */
}

.cta-title span {
    font-weight: 800;               /* Parte gruesa */
    color: #ffffff;                 /* Blanco puro */
}
/* Subtítulo */
.cta-subtitle {
    max-width: 750px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Formulario */
.form-cta {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Inputs estilo EXACTO de la imagen */
.form-cta input,
.form-cta textarea {
    width: 100%;
    padding: 16px 25px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

/* Textarea ligeramente menos redondo */
.form-cta textarea {
    border-radius: 25px;
    resize: none;
}

/* Placeholder blanco */
.form-cta input::placeholder,
.form-cta textarea::placeholder {
    color: rgba(255,255,255,0.85);
}

/* Focus elegante */
.form-cta input:focus,
.form-cta textarea:focus {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
}

/* Botón EXACTO */
.btn-cta-form {
    margin-top: 1.5rem;
    padding: 14px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-form:hover {
    background: rgba(255,255,255,0.3);
}
/* ---------- FOOTER ---------- */
.footer {
    background: #06111e;
    color: #cbd5e1;
    padding: 50px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer p,
.footer li {
    font-size: 0.95rem;
    line-height: 1.7;
}
.contacto-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}
.contacto-item i {
    width: 1.4rem;
    color: #a62d2d;
}
.footer a:hover {
    color: #f0b429;
}
.bottom {
    border-top: 1px solid #1e2f40;
    padding-top: 1.8rem;
    text-align: center;
    font-size: 0.9rem;
    color: #8a9cb0;
}
.bottom span {
    color:#a62d2d;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .caracteristicas .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .caracteristicas ul li {
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
}
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
        padding: 1.2rem 0 0.4rem;
        border-top: 1px solid #2a3f57;
        margin-top: 1rem;
    }
    .nav-menu.open {
        display: flex;
    }
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.3rem 0;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .servicios-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .testimonios-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .servicios-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .btn-primary {
        padding: 12px 28px;
        font-size: 1rem;
    }
}
.slider-container {
    overflow: hidden;
    max-width: 750px;
    width: 100%;
}

.slider {
    display: flex;
    transition: transform 0.4s ease;
}

.testimonio-card {
    min-width: 100%;
    flex-shrink: 0;
}
.dots {
    margin-top: 2rem;
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dots span.active {
    background: #8b2d2d;
    transform: scale(1.2);
}
/* ---------- BOTÓN FLOTANTE WHATSAPP ---------- */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}
/* ============================= */
/* RESPONSIVE MEJORADO CELULAR  */
/* ============================= */

@media (max-width: 768px) {

    /* HERO */
    .hero {
        position: relative;
    min-height: 100vh;
    height: 100dvh; /* ✅ solución moderna real para móvil */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;

    }

    .hero-light {
        font-size: 1.4rem;
    }

    .hero-strong {
        font-size: 2.3rem;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .btn-primary {
        padding: 14px 30px;
        font-size: 1rem;
    }

    /* SERVICIOS */
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* CARACTERÍSTICAS */
    .caracteristicas .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .img-caracteristica {
        height: auto;
        max-width: 100%;
    }

    /* TESTIMONIOS */
    .testimonio-wrapper {
        gap: 1rem;
    }

    .testimonio-card {
        padding: 1.5rem;
    }

    .arrow {
        font-size: 1.4rem;
    }

    /* CTA */
    .cta {
        padding: 80px 0;
    }

    .cta-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .cta-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .form-cta input,
    .form-cta textarea {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .btn-cta-form {
        font-size: 1rem;
        padding: 12px;
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* WHATSAPP */
    .whatsapp-float {
         position: fixed;
    bottom: 90px; /* ✅ más arriba para que no lo tape la barra */
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 9999;
    }
}
/* ============================= */
/* HEADER AJUSTE SOLO MÓVIL */
/* ============================= */

@media (max-width: 768px) {

    .header {
        padding: 10px 0;
    }

    .logo img {
        height: 50px !important;  /* ✅ más pequeño */
        width: auto;
    }

    .nav-menu {
        margin-top: 0.5rem;
    }

    .hamburger {
        font-size: 1.6rem;
    }

}