/* =========================================
   Variables y Configuración Base
   ========================================= */
   :root {
    --verde-palma: #2E7D32;
    --verde-claro: #E8F5E9;
    --dorado: #F9A825;
    --texto-oscuro: #F77A3D;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    overflow-x: hidden;
}

h1, .section-title {
    font-family: 'Playfair Display', serif;
    color: var(--verde-claro);
}


 h2, h3, .section-title {
    font-family: 'Playfair Display', serif;
    color: var(--texto-oscuro);
}

/* =========================================
   Hero Section (Banner Video) - SIN FILTROS Y AJUSTADO
   ========================================= */
.hero-banner {
    position: relative;
    height: 85vh; /* Altura del banner */
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-color: #000; /* Fondo negro de carga */
}

.hero-banner iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* LÓGICA MATEMÁTICA PARA CUBRIR PANTALLA (16:9) */
    /* El video siempre será al menos tan ancho o alto como la pantalla */
    width: 100vw; 
    height: 56.25vw; /* 100 * 9 / 16 */
    
    /* Restricciones para que nunca queden bordes negros */
    min-height: 100vh; 
    min-width: 177.77vh; /* 100 * 16 / 9 */
    
    z-index: 1;
    pointer-events: none; /* Evita que el usuario pause el video */
    opacity: 1;
    border: none;
}

.hero-banner .content {
    position: relative;
    z-index: 3; /* Texto siempre encima del video */
    max-width: 800px;
    padding: 20px;
    /* Opcional: una sombra muy sutil solo al texto para legibilidad sin oscurecer el video */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-banner h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-hero {
    background-color: var(--dorado);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-decoration: none;
}

.btn-hero:hover {
    background-color: #f57f17;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    color: white;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}


/* Ajustes Responsive */
@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2.5rem;
    }
    .hero-banner h3 {
        font-size: 1.2rem;
    }
}

/* =========================================
   Elementos Gráficos
   ========================================= */
.circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--verde-claro);
    border-radius: 50%;
    z-index: -1;
}

.drop-shadow {
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.drop-shadow-lg {
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

/* =========================================
   Cards y Sectores
   ========================================= */
.hover-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--verde-palma);
}

.hover-card i {
    font-size: 2.5rem;
    color: var(--verde-palma);
    margin-bottom: 1rem;
    display: inline-block;
}

/* =========================================
   Tablas Técnicas
   ========================================= */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.table-custom thead th {
    background-color: var(--verde-palma);
    color: white;
    padding: 15px;
    font-weight: 500;
    border: none;
}

.table-custom tbody tr:nth-of-type(even) {
    background-color: var(--verde-claro);
}

.table-custom td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

/* =========================================
   Call to Action (CTA)
   ========================================= */
.cta-section {
    background: linear-gradient(rgba(30, 60, 30, 0.9), rgba(30, 60, 30, 0.9)), url('../../assets/images/fondo-palma.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--verde-palma);
    color: white;
    padding: 80px 0;
    text-align: center;
}

/* =========================================
   Botón Flotante WhatsApp
   ========================================= */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-wa:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}