﻿
    /* --- Refined & Elegant CSS (Color Scheme Updated) --- */

    :root {
        --color-primario: #001f3f; /* NEW: Midnight Blue (Very Dark Blue/Navy) */

        --color-secundario: #c5b358; /* Gold (Luxury Accent) */

        --color-fondo: #f9f9f9; /* Soft Off-White */

        --color-texto-claro: #eceff1;
        --color-texto-oscuro: #263238;
        --font-serif: 'Playfair Display', serif;
        --font-sans: 'Lato', sans-serif;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: var(--font-sans);
        margin: 0;
        padding: 0;
        background-color: var(--color-fondo);
        color: var(--color-texto-oscuro);
        line-height: 1.7;
        font-size: 16px;
    }


    .display-mobile {display:none;}

    /* Typography */

    h1, h2, h3 {
        font-family: var(--font-serif);
        color: var(--color-primario);
        font-weight: 700;
    }



    /* Header (Fixed and Subtle) */

    header {
        background-color: rgba(0, 31, 63, 0.95); /* Adjusted opacity for new primary color */

        color: var(--color-texto-claro);
        padding: 15px 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }



    .logo {
        font-size: 1.8em;
        font-family: var(--font-sans);
        letter-spacing: 2px;
    }

    .header-nav {
        text-align: center;
    }



        .header-nav a {
            color: white;
            text-decoration: none;
            margin-right: 20px;
            font-weight: 300;
        }


.cta-header p {
    text-align: right;
    margin: 0px 0px 10px 0px;

}
.cta-header a {
    color: #fff;
    text-decoration: none;
}
    .boton {
        background-color: var(--color-secundario);
        color: var(--color-primario);
        padding: 10px 25px;
       
        border-radius: 2px;
        font-weight: 700;
        transition: background-color 0.3s, transform 0.2s;
        text-transform: uppercase;
        letter-spacing: 1px;
        float: right;
    }

        .boton:hover {
            background-color: #f0e68c;
            transform: translateY(-2px);
        }



    .column {
        flex: 1;
    }

    /* Hero Section */

    #hero {
        background: url('hero.jpg') no-repeat center center/cover;
        height: 95vh;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        padding-top: 80px;
    }



        #hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
        }



    .hero-content {
        z-index: 1;
        padding: 40px;
        max-width: 900px;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }



        .hero-content h1 {
            font-size: 3.5em;
            margin-bottom: 0.2em;
            color: var(--color-secundario);
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        }



        .hero-content h2 {
            font-size: 1.8em;
            margin-top: 0;
            color: var(--color-texto-claro);
            font-weight: 300;
        }


    .photo-grid {
        display: grid;
        /* 4 columnas de igual ancho: (1fr 1fr) para la izquierda y (1fr 1fr) para la derecha */

        grid-template-columns: 1fr 1fr 1fr 1fr;
        /* 2 filas de igual alto */

        grid-template-rows: 1fr 1fr;
        width: 90vw;
        height: 90vh;
        margin: 5vh auto;
        gap: 10px;
    }



    /* Estilos de imagen como antes */

    .grid-item {
        overflow: hidden;
    }



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



    /* 1. Posicionamiento de la FOTO GRANDE (Mitad Izquierda) */

    .big-photo {
        /* Ocupa las columnas 1 y 2, y ambas filas. Esto es el 50% del ancho. */

        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }



    /* 2. Posicionamiento de las 4 FOTOS PEQUEÑAS (Mitad Derecha, 2x2) */



    /* Foto Superior Izquierda de la Derecha */

    .small-photo-1 {
        grid-column: 3 / 4; /* Tercera columna */

        grid-row: 1 / 2; /* Primera fila */
    }



    /* Foto Superior Derecha de la Derecha */

    .small-photo-2 {
        grid-column: 4 / 5; /* Cuarta columna */

        grid-row: 1 / 2; /* Primera fila */
    }



    /* Foto Inferior Izquierda de la Derecha */

    .small-photo-3 {
        grid-column: 3 / 4; /* Tercera columna */

        grid-row: 2 / 3; /* Segunda fila */
    }



    /* Foto Inferior Derecha de la Derecha */

    .small-photo-4 {
        grid-column: 4 / 5; /* Cuarta columna */

        grid-row: 2 / 3; /* Segunda fila */
    }















    /* Lead Form */

    .lead-form {
        background-color: var(--color-fondo);
        padding: 30px;
        border-radius: 5px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        margin-top: 30px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

        .lead-form p {
            color: var(--color-primario);
            font-family: var(--font-serif);
            font-size: 1.1em;
        }

        .lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"], .lead-form select {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 0;
            box-sizing: border-box;
            font-family: var(--font-sans);
        }

        .lead-form button {
            width: 100%;
            background-color: var(--color-primario); /* Uses new dark color */

            color: var(--color-secundario);
            padding: 15px;
            border: none;
            border-radius: 2px;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            text-transform: uppercase;
            transition: background-color 0.3s;
        }

            .lead-form button:hover {
                background-color: #002e5c; /* Darker hover effect */

                color: white;
            }



    /* General Sections */

    .section {
        padding: 80px 5%;
        margin: 0 auto;
        max-width: 1100px;
        text-align: center;
    }



        .section h3 {
            font-size: 2.5em;
            color: var(--color-primario);
            margin-bottom: 20px;
            position: relative;
        }

            .section h3::after {
                content: '';
                width: 50px;
                height: 2px;
                background-color: var(--color-secundario);
                position: absolute;
                bottom: -10px;
                left: 50%;
                transform: translateX(-50%);
            }



    /* Benefits Grid */

    .benefits-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: center;
        margin-top: 40px;
    }

    .benefit-item {
        width: 44%;
        margin-bottom: 30px;
        padding: 30px;
        background-color: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        transition: box-shadow 0.3s;
    }

        .benefit-item:hover {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .benefit-item strong {
            color: var(--color-secundario);
            display: block;
            margin-bottom: 10px;
            font-size: 1.3em;
            font-family: var(--font-serif);
        }



    /* Requirements Section */

    #requirements {
        background-color: var(--color-primario); /* Uses new dark color */

        color: var(--color-texto-claro);
    }

        #requirements h3 {
            color: var(--color-secundario);
        }

            #requirements h3::after {
                background-color: var(--color-secundario);
            }

    .requirements-list {
        list-style: none;
        padding: 0;
        max-width: 900px;
        margin: 30px auto;
    }

        .requirements-list li {
            background-color: rgba(255, 255, 255, 0.1);
            padding: 20px;
            margin-bottom: 15px;
            border-left: 3px solid var(--color-secundario);
            border-radius: 2px;
            font-size: 1.05em;
            text-align: left;
        }

            .requirements-list li strong {
                color: var(--color-secundario);
                font-family: var(--font-serif);
            }



    /* Comparison Table */

    .comparison-table {
        width: 100%;
        border-collapse: collapse;
        margin: 40px 0;
        text-align: left;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

        .comparison-table th, .comparison-table td {
            border: 1px solid #ddd;
            padding: 15px;
        }

        .comparison-table th {
            background-color: var(--color-primario); /* Uses new dark color */

            color: var(--color-secundario);
            font-family: var(--font-serif);
            text-transform: uppercase;
        }

        .comparison-table tr:nth-child(even) {
            background-color: #f0f0f0;
        }

        .comparison-table td:last-child {
            font-weight: 700;
            color: #b71c1c;
        }



    /* Scarcity Alert */

    .scarcity-alert {
        background-color: var(--color-secundario);
        color: var(--color-primario);
        padding: 20px;
        border-radius: 4px;
        font-weight: bold;
        font-size: 1.2em;
        margin-top: -5vh;
        letter-spacing: 1px;
        text-transform: uppercase;
    }



    /* Footer */

    footer {
        background-color: var(--color-primario); /* Uses new dark color */

        color: #aaa;
        padding: 40px 5%;
        text-align: center;
        font-size: 0.9em;
        margin-top: 70px;
    }

        footer a {
            color: var(--color-secundario);
            margin: 0 15px;
            text-decoration: none;
            transition: color 0.3s;
        }

            footer a:hover {
                color: white;
            }

        footer p {
            margin: 10px 0;
        }



    /* Responsiveness */

    @media (max-width: 768px) {

        .display-desktop {display:none;}
        .display-mobile {display: block;}
        .logo {line-height:2rem;}

        #hero {
            height: auto;
            min-height: 80vh;
        }

        .hero-content {border:none;}

        .hero-content h1 {
            font-size: 2.5em;
            line-height:3.5rem;
        }

        .hero-content h2 {
            font-size: 1.3em;
        }

        .benefit-item {
            width: 100%;
            margin-bottom:20px;
        }
        .section {padding:20px;}
        .section h3 {font-size:1.5rem;}
        .scarcity-alert {
            font-size: 1rem;
        }

        .comparison-table td {
                display: block;
                text-align: right;
                padding-left: 50%;
                position: relative;
            }

                .comparison-table td::before {
                    content: attr(data-label);
                    position: absolute;
                    left: 10px;
                    width: 45%;
                    padding-right: 10px;
                    white-space: nowrap;
                    font-weight: bold;
                    color: var(--color-primario);
                }
        /* Contenedor principal */

        .photo-grid {
            height: auto;
        }

            /* Foto grande: En móvil ocupa las 2 columnas arriba */
            .big-photo {
                grid-column: span 2;
            }
            /* Estilo general para las imágenes */
            .grid-item img {
                width: 100%;
                height: 100%;
                object-fit: cover; /* Evita que las fotos se deformen */
                display: block;
                border-radius: 4px;
            }
            /* Alturas fijas para mantener el orden */

            .small-photo img {
                height: 150px;
            }
        }
