/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES */
:root {
    --black: #0A0A0A;
    --gold: #C5A46D;
    --white: #FFFFFF;
    --gray: #1A1A1A;
}

/* BODY */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    min-height: 80px;
    background-color: var(--black);
    border-bottom: 1px solid var(--gray);
}

.navbar h1 {
    font-size: 1.5rem;
    color: var(--gold);
}

.btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: var(--gold);
    color: var(--black);
}

/* HERO */
.hero {
    position: relative;
    height: 55vh;
    padding: 70px 20px;
    background: url("https://images.openai.com/static-rsc-4/kX9I8Z35IcsJGlnaxsF-AgSEwm-PjszYMZn1sJoaCHC_99a_A92zT6MQhu1XpJTkm2G8yu93HZr6MrEoqo9iPf4kyUQ4P40kzyLF5m643qGl1euetWevjcL3STBdlbXW6ytN62SQdkp6ApnSsjJT48TGnpTmS7G0zTeksZAQR4jo0ofvmyDxmAbb8RWVAwVY?purpose=fullsize") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Oscurecer imagen */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 30px;
    color: #ccc;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    opacity: 0.8;
}

/* SECTIONS */
section {
    padding: 60px 20px;
    text-align: center;
}

h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

/* SERVICES */
.cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
}


.card:hover {
    transform: translateY(-10px) scale(1.02);
    border: 1px solid var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}


.card .btn-primary {
    margin-top: auto;
}

/* BENEFITS */
.benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.benefit-list div {
    background: var(--gray);
    padding: 20px;
    border-radius: 8px;
}

/* CTA */
.cta {
    background: var(--gold);
    color: var(--black);
}

.cta h2 {
    margin-bottom: 20px;
}

/* FOOTER */
footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--gray);
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        padding: 10px 20px;
        gap: 10px;
    }

    .navbar nav {
        display: flex;
        gap: 15px;
    }

    .logo img {
        height: 45px;
    }
   .hero {
        height: auto;
        padding: 100px 20px 60px;
        text-align: center;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.95rem;
    }    
    
    .card {
        width: 90%;
    }

        .btn,
    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

        .benefit-list {
        grid-template-columns: 1fr;
    }

        .whatsapp-float {
        width: 55px;
        height: 55px;
    }

        body {
        padding-top: 110px;
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    z-index: 1000;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ANIMACIÓN BASE */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* NAVBAR BASE */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
}

/* LOGO */
.logo {
    font-weight: 700;
    color: var(--gold);
    font-size: 1.3rem;
}

/* LINKS */
.navbar nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--white);
    transition: 0.3s;
}

.navbar nav a:hover {
    color: var(--gold);
}

/* SCROLL EFFECT */
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray);
}

/* PRECIO */
.card h4 {
    font-size: 1.5rem;
    color: var(--gold);
    margin: 15px 0;
    font-weight: 700;
}


.trust-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    background: var(--gray);
    padding: 25px;
    width: 250px;
    border-radius: 10px;
}
/* BLOQUE PRECIO */
.price {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.desde {
    font-size: 0.8rem;
    color: #aaa;
}

.valor {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;

    width: 280px;
    min-height: 340px;

    display: flex;

    background-size: cover;
    background-position: center;

    transition: all 0.3s ease;
}


.card-content {
    position: relative;
    z-index: 2;
    flex-direction: column;
    display: flex;
    padding: 25px;
    width: 100%;
}

.card-content h3 {
    margin-bottom: 10px;
}

.card-content p {
    margin-bottom: 10px;
    color: #ccc;
}

.logo img {
    height: 60px;
    transition: 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* IMÁGENES DE FONDO PARA CADA CARD */
.card.hogar {
    background-image: url("img/hogar.png");
}

.card.negocio {
    background-image: url("img/negocio.png");
}

.card.conjunto {
    background-image: url("img/conjunto.png");
}

/* OVERLAY MEJORADO (más pro) */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

/* EFECTO HOVER SUAVE */
.card:hover {
    transform: translateY(-8px) scale(1.02);
}

.card .btn {
    margin-top: auto;
    position: relative;
    z-index: 3;
}

.card-content {
    justify-content: flex-start;
}

.card-content p {
    min-height: 60px;
}

.price {
    margin: 10px 0;
}