/* ─── Página Inmobiliaria — estilos propios ─── */
:root {
    --inmo-gold: #4a3a08;
    --inmo-gold-light: #c9a227;
    --inmo-gold-bright: #e3c14f;
    --inmo-dark: #14110a;

    --theme-accent: var(--inmo-gold-light);
    --theme-accent-rgb: 201, 162, 39;
}

/* HERO */
.inmo-hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 150px 60px 80px;
    position: relative;
    overflow: hidden;
    background: url('../img/inmobiliaria.png') center/cover no-repeat;
}
.inmo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,7,2,0.55) 0%,
        rgba(10,7,2,0.4) 40%,
        rgba(10,7,2,0.9) 85%,
        rgba(10,7,2,1) 100%
    );
}
.inmo-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.inmo-tag {
    display: inline-block;
    background: var(--inmo-gold-light);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
    text-transform: uppercase;
}
.inmo-hero h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 20px;
}
.inmo-hero h1 span {
    color: var(--inmo-gold-light);
}
.inmo-hero p.lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 400;
}
.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.btn-inmo-primary {
    background: var(--inmo-gold-light);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-inmo-primary:hover {
    background: var(--inmo-gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,162,39,0.4);
}
.btn-inmo-ghost {
    color: rgba(255,255,255,0.8);
    border: 2px solid rgba(255,255,255,0.35);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-inmo-ghost:hover {
    border-color: white;
    color: white;
}

/* Botones "Contáctanos" (header) y "Enviar mensaje" (formulario) en el amarillo mostaza de esta página */
.btn-solid {
    background-color: var(--inmo-gold-light);
    color: #fff;
}

.btn-solid:hover {
    background-color: var(--inmo-gold-bright);
}

/* INTRO STRIP */
.inmo-intro {
    background: #0a0e17;
    border-top: 1px solid rgba(74,58,8,0.25);
    border-bottom: 1px solid rgba(74,58,8,0.25);
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.inmo-intro-text {
    flex: 1;
    min-width: 280px;
}
.inmo-intro-text h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.inmo-intro-text h2 span {
    color: var(--inmo-gold-light);
}
.inmo-intro-text p {
    color: #a0aab2;
    font-size: 1rem;
    line-height: 1.7;
}
.inmo-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}
.inmo-stat {
    text-align: center;
}
.inmo-stat .num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--inmo-gold-light);
    line-height: 1;
}
.inmo-stat .label {
    font-size: 0.78rem;
    color: #a0aab2;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* LINEAS DE NEGOCIO */
.lineas-section {
    background: #06080d;
    padding: 90px 60px;
    position: relative;
}
.lineas-logo {
    position: absolute;
    top: 30px;
    left: 60px;
    z-index: 2;
}
.lineas-logo img {
    height: 50px;
    width: auto;
}
.lineas-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}
.lineas-header .overtitle {
    color: var(--inmo-gold-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 14px;
    display: block;
}
.lineas-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
}
.lineas-header p {
    color: #a0aab2;
    font-size: 1rem;
}

/* Cards de líneas */
.lineas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .lineas-grid { grid-template-columns: 1fr; }
}
.linea-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.linea-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* Header sólido encima de la foto (fuera de la imagen) */
.linea-card-header {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    padding: 22px 28px 20px;
    background: linear-gradient(135deg, #120e07 0%, #1c1608 100%);
    border-bottom: 1px solid rgba(201,162,39,0.3);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.linea-card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

/* Zona de la foto (limpia) + texto al lado derecho */
.linea-card-media {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}
.linea-card-img {
    position: relative;
    flex: 0 0 42%;
    overflow: hidden;
}
.linea-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.linea-card:hover .linea-card-img img {
    transform: scale(1.05);
}
.linea-card-content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 30px 32px;
    background: var(--inmo-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.linea-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    width: fit-content;
}
.linea-a .linea-badge { background: rgba(201,162,39,0.15); border-color: rgba(201,162,39,0.4); color: var(--inmo-gold-light); }
.linea-b .linea-badge { background: rgba(201,162,39,0.15); border-color: rgba(201,162,39,0.4); color: var(--inmo-gold-light); }
.linea-card-content p {
    font-size: 0.9rem;
    color: #c7cdd3;
    line-height: 1.6;
    font-weight: 500;
}
.linea-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.linea-items li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: #fff;
    font-weight: 600;
}
.linea-items li i {
    color: var(--inmo-gold-light);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.8rem;
}
.linea-b .linea-items li i { color: var(--inmo-gold-light); }
.linea-divider {
    width: 40px;
    height: 3px;
    background: var(--inmo-gold-light);
    border-radius: 2px;
    opacity: 0.7;
}

/* CARRUSEL POR TIPO DE PROPIEDAD */
.tipos-section {
    background: #0a0e17;
    padding: 90px 60px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.tipos-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}
.tipos-header .overtitle {
    color: var(--inmo-gold-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 14px;
    display: block;
}
.tipos-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
}
.tipos-header p {
    color: #a0aab2;
    font-size: 1rem;
}

.tipos-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .tipos-grid { grid-template-columns: minmax(0, 1fr); }
}
.tipos-col-label {
    display: block;
    text-align: center;
    color: var(--inmo-gold-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.tipos-carousel {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.tipos-track-wrapper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
}
.tipos-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.tipo-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.tipo-slide-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.tipo-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tipo-slide-img.tipo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #14110a 0%, #2e2408 60%, var(--inmo-gold) 140%);
}
.tipo-slide-img.tipo-placeholder i {
    font-size: 6.5rem;
    color: rgba(201,162,39,0.18);
}
.tipo-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(6,8,13,0.96) 0%, rgba(6,8,13,0.75) 35%, rgba(6,8,13,0.15) 75%, transparent 100%);
}
.tipo-slide-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tipo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--inmo-gold-light);
    border: 1px solid var(--inmo-gold-light);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    width: fit-content;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.tipo-slide-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}
.tipo-slide-content p {
    font-size: 0.88rem;
    color: #c7cdd3;
    line-height: 1.55;
    max-width: 420px;
}
.tipo-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.btn-tipo {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}
.btn-tipo-venta {
    background: var(--inmo-gold-light);
    color: #fff;
}
.btn-tipo-venta:hover {
    background: var(--inmo-gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,162,39,0.35);
}
.btn-tipo-arriendo {
    color: #fff;
    border: 2px solid rgba(255,255,255,0.35);
}
.btn-tipo-arriendo:hover {
    border-color: var(--inmo-gold-light);
    color: var(--inmo-gold-light);
}

.tipos-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tipos-nav:hover {
    background: var(--inmo-gold-light);
    border-color: var(--inmo-gold-light);
    color: #fff;
}

.tipos-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.tipo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.tipo-dot.active {
    background: var(--inmo-gold-light);
    width: 28px;
    border-radius: 5px;
}

/* PROCESO */
.proceso-section {
    background: #0a0e17;
    padding: 90px 60px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.proceso-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.proceso-header {
    text-align: center;
    margin-bottom: 60px;
}
.proceso-header span {
    color: var(--inmo-gold-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 12px;
}
.proceso-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}
.proceso-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 800px) {
    .proceso-steps { grid-template-columns: 1fr 1fr; }
}
.proceso-step {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.proceso-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74,58,8,0.08), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.proceso-step:hover::before { opacity: 1; }
.proceso-step:hover {
    border-color: rgba(74,58,8,0.4);
    transform: translateY(-4px);
}
.paso-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(74,58,8,0.2);
    line-height: 1;
    margin-bottom: 16px;
}
.paso-icon {
    width: 54px;
    height: 54px;
    border: 2px solid rgba(74,58,8,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.3rem;
    color: var(--inmo-gold-light);
    transition: all 0.3s ease;
}
.proceso-step:hover .paso-icon {
    background: var(--inmo-gold-light);
    color: #fff;
    border-color: var(--inmo-gold-light);
}
.proceso-step h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.proceso-step p {
    font-size: 0.82rem;
    color: #a0aab2;
    line-height: 1.5;
}

/* CTA FINAL */
.inmo-cta {
    background: linear-gradient(135deg, var(--inmo-gold) 0%, #6b530f 100%);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.inmo-cta::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.inmo-cta::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
}
.inmo-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}
.inmo-cta h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}
.inmo-cta p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    font-weight: 500;
}
.btn-cta-dark {
    background: var(--inmo-dark);
    color: var(--inmo-gold-light);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}
.btn-cta-dark:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Scroll-reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .lineas-header h2 {
        font-size: 2rem;
    }
    .proceso-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .inmo-hero {
        padding: 130px 24px 60px;
        align-items: center;
        text-align: center;
    }
    .inmo-hero-content {
        max-width: 100%;
    }
    .inmo-hero h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }
    .inmo-hero p.lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-group {
        justify-content: center;
    }

    .inmo-intro {
        padding: 40px 24px;
        text-align: center;
        justify-content: center;
    }
    .inmo-stats {
        justify-content: center;
        gap: 30px;
    }

    .lineas-section {
        padding: 70px 24px;
    }
    .lineas-logo {
        top: 20px;
        left: 24px;
    }
    .lineas-logo img {
        height: 36px;
    }
    .lineas-header h2 {
        font-size: 1.8rem;
    }
    .linea-card-media {
        flex-direction: column;
    }
    .linea-card-img {
        flex: 0 0 200px;
    }
    .linea-card-content {
        padding: 26px 28px;
    }

    .proceso-section {
        padding: 70px 24px;
    }
    .proceso-header h2 {
        font-size: 1.7rem;
    }

    .tipos-section {
        padding: 70px 24px;
    }
    .tipos-header h2 {
        font-size: 1.8rem;
    }
    .tipos-grid {
        gap: 50px;
    }
    .tipo-slide {
        min-height: 340px;
    }
    .tipo-slide-content {
        padding: 22px 20px;
    }
    .tipo-slide-content h3 {
        font-size: 1.3rem;
    }
    .tipo-slide-content p {
        font-size: 0.85rem;
    }
    .tipo-slide-img.tipo-placeholder i {
        font-size: 6rem;
    }
    .tipos-carousel {
        gap: 0;
    }
    .tipos-nav {
        display: none;
    }
    .tipo-actions {
        gap: 10px;
    }
    .btn-tipo {
        padding: 9px 18px;
        font-size: 0.78rem;
    }

    .inmo-cta {
        padding: 60px 24px;
    }
    .inmo-cta h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .proceso-steps {
        grid-template-columns: 1fr;
    }
    .inmo-stat .num {
        font-size: 2rem;
    }
    .lineas-header h2 {
        font-size: 1.6rem;
    }
}
