/* assets/css/style.css - VERSIÓN 8.0 (WHATSAPP ESCRITORIO + MÓVIL APP) */

:root {
    --gold: #C5A059;
    --gold-hover: #b08d48;
    --dark: #111111;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-body: #555555;
    --text-heading: #222222;
    --whatsapp: #25D366;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-body);
    margin: 0;
    line-height: 1.8;
    background-color: var(--white);
    padding-top: 85px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text-heading);
    margin-top: 0;
    font-weight: 700;
}

/* --- NAVEGACIÓN --- */
.top-nav {
    background: rgba(255, 255, 255, 0.98);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    box-sizing: border-box;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.brand-logo {
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

/* ESCRITORIO */
.desktop-only {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-icons {
    display: none;
}

/* NUEVO ESTILO WHATSAPP ESCRITORIO */
.desktop-whatsapp {
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.desktop-whatsapp i {
    color: var(--whatsapp);
    font-size: 1.2rem;
}

/* Icono siempre verde */
.desktop-whatsapp:hover {
    color: var(--whatsapp);
}

/* Texto verde al hover */
.divider {
    color: #ddd;
}

/* Separador vertical */

.phone-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

.btn-nav {
    background: var(--dark);
    color: white;
    padding: 10px 25px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-nav:hover {
    background: var(--gold);
}

/* --- HERO SECTION --- */
header {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%),
        url('../img/imagen2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white !important;
    padding: 140px 5%;
    display: flex;
    align-items: center;
    min-height: 70vh;
    position: relative;
    border-bottom: 5px solid var(--gold);
}

header h1,
header p {
    color: white !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.hero-text {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-sub {
    font-size: 1.3rem;
    margin-bottom: 40px;
    border-left: 4px solid var(--gold);
    padding-left: 25px;
}

/* --- SECCIONES --- */
.section-padding {
    padding: 100px 5%;
}

.bg-light {
    background-color: var(--light-bg);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.text-block h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.text-block h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
}

.text-block p {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 40px;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-text {
    flex: 1;
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--gold);
}

.calc-wrapper {
    background: white;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
}

.form-flex {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-flex .group {
    flex: 1;
}

input,
select {
    width: 100%;
    padding: 18px;
    border: 1px solid #ddd;
    background: #fdfdfd;
    font-size: 1rem;
    box-sizing: border-box;
}

.btn-gold-big {
    background: var(--gold);
    color: white;
    width: 100%;
    padding: 20px;
    font-weight: 700;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-gold-big:hover {
    background: var(--gold-hover);
}

#result {
    margin-top: 30px;
    padding: 30px;
    background: #fdfcf5;
    border: 1px solid #e0d8b0;
    text-align: center;
    display: none;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 80px;
}

.process-step {
    background: white;
    padding: 50px 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border-top: 5px solid var(--gold);
    transition: transform 0.3s;
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto 0;
}

.faq-item {
    background: white;
    padding: 30px;
    border-left: 3px solid #eee;
}

.faq-item h4 {
    margin-bottom: 15px;
    color: var(--gold-hover);
}

.faq-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

footer {
    background: var(--dark);
    color: #888;
    text-align: center;
    padding: 60px 20px;
    border-top: 5px solid var(--gold);
    margin-bottom: 0;
}

/* OCULTAMOS ELEMENTOS FLOTANTES ANTIGUOS */
.whatsapp-float {
    display: none !important;
}

.mobile-sticky-btn {
    display: none !important;
}

/* --- MÓVIL (HEADER APP) --- */
@media (max-width: 768px) {
    body {
        padding-top: 75px;
        padding-bottom: 0;
    }

    .top-nav {
        padding: 0 20px !important;
        height: 75px;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .brand-logo {
        font-size: 1.2rem;
        margin: 0;
        flex: 1;
        text-align: left;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-icons {
        display: flex !important;
        gap: 12px;
        align-items: center;
        justify-content: flex-end;
    }

    .icon-link {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: white !important;
        font-size: 1.1rem;
        text-decoration: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .whatsapp-header {
        background-color: #25D366 !important;
    }

    .phone-header {
        background-color: #C5A059 !important;
    }

    h1 {
        font-size: 2.2rem !important;
        margin-bottom: 15px;
    }

    header {
        padding: 50px 20px;
        text-align: center;
        background-attachment: scroll;
    }

    .hero-text {
        margin-top: 10px;
        width: 100%;
    }

    .hero-sub {
        border: none;
        padding: 0;
        border-bottom: 3px solid var(--gold);
        padding-bottom: 20px;
        font-size: 1.1rem;
    }

    .split-section {
        flex-direction: column;
    }

    .split-image {
        order: -1;
        margin-bottom: 25px;
    }

    .form-flex {
        flex-direction: column;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}