        :root {
            --primary-green: #2d5a27;
            --background-green:#e0fadc;
            --earth-brown: #5d4037;
            --warm-white: #fdfbf7;
            --accent-gold: #c5a059;
            --text-dark: #333;
            --text-light: #fff;
            --shadow: 0 4px 15px rgba(0,0,0,0.1);
            --transition: all 0.3s ease;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--warm-white);
        }

        h1, h2, h3 {
            font-family: 'Playfair Display', serif;
            color: var(--primary-green);
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: var(--background-green);
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            box-shadow: var(--shadow);
            border-bottom: 2px solid var(--primary-green);
        }

        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-green);
            text-decoration: none;
        }

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

        .nav-links a {
            text-decoration: none;
            color: var(--earth-brown);
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
        }

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

       /* Hero Section */
#home {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('https://res.cloudinary.com/dasfojdby/image/upload/v1767142542/secado_voavl7.png')
                no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;

    transition: background-image 1s ease-in-out;
}

        .hero-content h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            color: var(--text-light);
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .hero-content{background-color: #2d5a2775;padding: 15px;border-radius: 20px;}

        .hero-content p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            max-width: 700px;
            margin-inline: auto;
        }

        .btn {
            display: inline-block;
            padding: 1rem 2.5rem;
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: var(--transition);
            border: 2px solid;
            background-color: transparent;
            border-color: white;
        }

        .btn:hover {
            
            background-color: var(--primary-green);
            border-color: transparent;
            transform: translateY(-3px);
        }

        /* Overview Section */
        .section {
            padding: 80px 10% 40px 10%;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .card:hover {
            transform: translateY(-10px);
        }

        .card-img {
            height: 310px;
            background-size: cover;
            background-position: center;
        }

        .card-content {
            padding: 25px;
        }

        .card-content h3 {
            margin-bottom: 15px;
        }

        .card-link {
            color: var(--accent-gold);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Details Sections */
        .property-detail {
            display: flex;
            flex-wrap: wrap;
            gap: 50px;
            align-items: center;
            margin-bottom: 100px;
        }

        .property-detail:nth-child(even) {
            flex-direction: row-reverse;
        }

        .property-info {
            flex: 1;
            min-width: 300px;
        }

        .property-gallery {
            flex: 1.2;
            min-width: 300px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .gallery-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
        }

        .specs-list {
            list-style: none;
            margin: 20px 0;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .specs-list li {
            padding-left: 25px;
            position: relative;
        }

        .specs-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--primary-green);
            font-weight: bold;
        }

        .price-block {
            background: #f0f4ef;
            padding: 20px;
            border-left: 5px solid var(--primary-green);
            border-radius: 5px;
            margin-top: 20px;
        }

        .price-main {
            font-size: 1.4rem;
            font-weight: bold;
            color: var(--primary-green);
            display: block;
        }

        .price-ref {
            font-size: 0.9rem;
            color: var(--earth-brown);
        }

        /* Contact Section */
        #contact {
            background-color: #f0f4ef;
            color: var(--primary-green);
            text-align: center;
        }

        #contact h2 { color: var(--primary-green); }

        .contact-container {
            max-width: 600px;
            margin: 0 auto;
        }

        .contact-form {
            display: grid;
            gap: 15px;
            margin-top: 30px;
        }

        .contact-form input, .contact-form textarea {
            padding: 15px;
            border-radius: 5px;
            border: none;
            font-family: inherit;
        }

        .contact-form button {
            background-color: var(--primary-green);
            color: white;
            border: none;
            padding: 15px;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
        }

        .contact-form button:hover {
            background-color: #b08d4a;
        }

        footer {
            background: #2a1b15;
            color: rgba(255,255,255,0.6);
            padding: 20px;
            text-align: center;
            font-size: 0.8rem;
        }
        .form-status {
            margin-top: 15px;
            font-weight: bold;
        }

        .form-status.success {
            color: #2d5a27; /* verde */
        }

        .form-status.error {
            color: #a94442; /* rojo */
        }
        .whatsapp-link {
            color: inherit;           /* conserva el color del texto */
            text-decoration: none;    /* quita subrayado */
            font-weight: inherit;     /* mantiene negrita del <strong> */
        }

        .whatsapp-link:hover {
            text-decoration: underline;
        }

       
        /* ===============================
        Slider Gallery
        ================================ */

        .slider {
            position: relative;
            width: 100%;
            height: 460px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);

            /* Evita comportamientos raros */
            background-color: #000;
        }

        /* Imagen del slider */
        .slider-img {
            position: absolute;
            top: 0;
            left: 0;

            width: 100%;
            height: 100%;

            object-fit: cover;
            display: block;

            /* Suavidad en cambios de imagen */
            transition: opacity 0.6s ease-in-out;
        }

        /* ===============================
        Buttons
        ================================ */

        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);

            background: rgba(45, 90, 39, 0.75); /* primary green transparent */
            color: white;
            border: none;

            width: 48px;
            height: 48px;
            border-radius: 50%;

            font-size: 1.8rem;
            cursor: pointer;

            display: flex;
            align-items: center;
            justify-content: center;

            backdrop-filter: blur(4px);
            transition: var(--transition);

            z-index: 2;
        }

        .slider-btn:hover {
            background: var(--primary-green);
            transform: translateY(-50%) scale(1.1);
        }

        .slider-btn.prev {
            left: 15px;
        }

        .slider-btn.next {
            right: 15px;
        }

        /* ===============================
        Mobile
        ================================ */

         /* Mobile Responsive */
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .section { padding: 60px 5%; }
            /*.property-detail { flex-direction: column !important; }*/
            .specs-list { grid-template-columns: 1fr; }
            .property-detail {
                
                align-items: stretch;
                gap: 30px;
            }
            /* 🔧 FIX DEL SLIDER */
            .property-info{
                min-width: 0;
                width: 100%;
                flex: unset;
            }
            .property-gallery {
                min-width: 0;
                width: 100%;
                flex: unset;
            }
            .property-gallery{
                display: block;
            }

            .specs-list {
                grid-template-columns: 1fr;
            }

            .slider {
                height: 300px; /* ajusta a gusto */
            }
        }
