/*** PROPUESTA ÍNDICO
azul: #04263a
gris azulado: #c4d5db
dorado: #e0c57b
***/

@font-face {
    font-family: "Didot Bold";
    src: url("../fonts/Didot_Bold.otf") format("opentype");
    font-weight: 700;
    font-display: swap;
}

:root {
    --azul: #04263a;
    --azul-2: #0a3550;
    --gris: #c4d5db;
    --gris-claro: #eef3f5;
    --dorado: #e0c57b;
    --blanco: #ffffff;
    --texto: #04263a;
    --serif: "Didot Bold", "Bodoni Moda", Didot, Georgia, serif;
    --sans: "Montserrat", system-ui, sans-serif;
    --radio: 14px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 1.05rem;
    color: var(--texto);
    background: var(--blanco);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.12;
}

p { line-height: 1.7; }

a { color: inherit; }

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dorado);
    margin-bottom: 1rem;
}

.seccion:not(.servicios) .eyebrow { color: #a8853a; }

.seccion { padding: 5.5rem 0; }

.titulo-seccion {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    margin-bottom: 1.25rem;
}

.texto-intro {
    font-size: 1.1rem;
    max-width: 38rem;
}

/* Botones */
.btn-dorado,
.btn-linea {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.btn-dorado {
    background: var(--dorado);
    color: var(--azul);
    border: 1px solid var(--dorado);
}

.btn-dorado:hover { background: #d4b664; color: var(--azul); transform: translateY(-2px); }

.btn-linea {
    background: transparent;
    color: var(--blanco);
    border: 1px solid rgba(255, 255, 255, .7);
}

.btn-linea:hover { background: var(--blanco); color: var(--azul); }

/* Header */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    padding: 1.1rem 0;
    transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}

.header.scrolled {
    background: var(--azul);
    padding: 0.6rem 0;
    box-shadow: 0 8px 24px rgba(4, 38, 58, .25);
}

.header .logo { height: 54px; width: auto; }
.header.scrolled .logo { height: 44px; }

.header .nav-link {
    color: var(--blanco);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
}

.header .nav-link:hover { color: var(--dorado); }

.header .navbar-toggler { border-color: rgba(255, 255, 255, .5); }
.header .navbar-toggler-icon { filter: invert(1); }

@media (max-width: 991.98px) {
    .header .navbar-collapse {
        background: var(--azul);
        margin: 0.75rem -0.75rem 0;
        padding: 1rem;
        border-radius: var(--radio);
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    color: var(--blanco);
    overflow: hidden;
    background: var(--azul);
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slides img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
}

.hero-slides img {
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.6s ease, transform 8s linear;
}

.hero-slides img.activa {
    opacity: 1;
    transform: scale(1);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(4, 38, 58, .75) 0%, rgba(4, 38, 58, .35) 55%, rgba(4, 38, 58, .2) 100%),
        linear-gradient(0deg, rgba(4, 38, 58, .55) 0%, transparent 45%),
        rgba(4, 38, 58, .3);
}

.hero .container { position: relative; z-index: 2; }

.hero .logo-indico { width: 210px; max-width: 60%; margin-bottom: 1.75rem; }

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    margin-bottom: 1.25rem;
}

.hero .bajada {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .9);
    max-width: 34rem;
}

.precio {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    margin: 1.75rem 0 2rem;
}

.precio .desde { font-size: 0.85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.precio .monto { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--dorado); line-height: 1; }
.precio .nota { font-size: 0.85rem; color: rgba(255, 255, 255, .75); }

/* Formulario */
.form-card {
    background: var(--blanco);
    color: var(--texto);
    border-radius: var(--radio);
    padding: 2.25rem 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
}

.form-card h2 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.form-card .sub { font-size: 0.95rem; margin-bottom: 1.5rem; }

.form-card .form-control,
.form-card .form-select {
    border: 1px solid var(--gris);
    border-radius: 10px;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 .2rem rgba(4, 38, 58, .12);
}

.form-card .form-floating > label { color: #5b7280; font-weight: 400; }

.form-card .campo-plazo .form-label { color: #5b7280; font-weight: 400; font-size: .95rem; margin-bottom: .35rem; }
.form-card .campo-plazo .form-select { min-height: calc(3.5rem + 2px); }

.form-card button[type="submit"] {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 1rem;
    background: var(--azul);
    color: var(--blanco);
    font-weight: 600;
    letter-spacing: .05em;
    transition: background-color .2s ease;
}

.form-card button[type="submit"]:hover { background: var(--azul-2); }
.form-card button[type="submit"]:disabled { opacity: .7; }

.form-card .legal { font-size: 0.78rem; color: #5b7280; margin: 1rem 0 0; line-height: 1.5; }
.form-card .legal a { color: var(--azul); }

.form-card .tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gris-claro);
    font-size: 0.95rem;
}

.form-card .tel a { font-weight: 600; text-decoration: none; }

/* Modal formulario */
.modal-lead {
    border: 0;
    border-radius: var(--radio);
    overflow: hidden;
}

.modal-lead .form-card {
    position: relative;
    box-shadow: none;
    border-radius: 0;
    height: 100%;
}

.modal-lead .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.modal-lead-img {
    position: relative;
    min-height: 100%;
}

.modal-lead-img img:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-lead-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 38, 58, .85) 0%, rgba(4, 38, 58, .1) 60%);
}

.modal-lead-logo {
    position: absolute;
    left: 1.75rem;
    bottom: 1.75rem;
    z-index: 1;
    width: 150px;
}

.modal-backdrop.show { opacity: .7; }

/* Datos clave */
.datos {
    background: var(--azul);
    color: var(--blanco);
    padding: 2.5rem 0;
}

.dato { text-align: center; padding: 0.75rem 0.5rem; }
.dato .valor { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--dorado); line-height: 1.1; }
.dato .etiqueta { font-size: 0.85rem; letter-spacing: .08em; color: var(--gris); margin-top: .35rem; }

@media (min-width: 768px) {
    .dato + .dato { border-left: 1px solid rgba(196, 213, 219, .25); }
}

/* Concepto */
.concepto-img {
    position: relative;
    border-radius: var(--radio);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(4, 38, 58, .18);
}

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

.concepto-img .sello {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    background: rgba(4, 38, 58, .85);
    color: var(--blanco);
    padding: .7rem 1.1rem;
    border-radius: 10px;
    font-size: .85rem;
    backdrop-filter: blur(6px);
}

.concepto-img .sello strong { color: var(--dorado); font-weight: 600; }

/* Galería */
.galeria { background: var(--gris-claro); }

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
}

.bento a {
    position: relative;
    display: block;
    border-radius: var(--radio);
    overflow: hidden;
}

.bento img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.bento a:hover img { transform: scale(1.05); }

.bento a span {
    position: absolute;
    left: 1rem;
    bottom: 0.9rem;
    color: var(--blanco);
    font-size: 0.85rem;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

.bento .g-a { grid-column: span 2; grid-row: span 2; }
.bento .g-b { grid-column: span 2; }
.bento .g-e { grid-column: span 2; }

@media (max-width: 767.98px) {
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
    .bento .g-a { grid-column: span 2; grid-row: span 2; }
    .bento .g-b, .bento .g-e { grid-column: span 2; }
}

/* Equipamiento y servicios */
.lista-icono {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 991.98px) {
    .lista-icono { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
}



.item-icono {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radio);
    background: var(--blanco);
    border: 1px solid var(--gris);
    height: 100%;
}

.item-icono i {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gris-claro);
    color: var(--azul);
    font-size: 1.25rem;
}

.item-icono p { margin: 0; font-size: 0.98rem; line-height: 1.45; font-weight: 400; }

.servicios {
    background: var(--azul);
    color: var(--blanco);
}

.servicios .item-icono {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(196, 213, 219, .2);
}

.servicios .item-icono i { background: rgba(224, 197, 123, .15); color: var(--dorado); }

.item-icono .icono-orig {
    flex: none;
    width: 58px;
    height: 58px;
}

.servicios .item-icono { align-items: center; }
.servicios .texto-intro { color: var(--gris); }

/* Ubicación */
.ubicacion-img {
    border-radius: var(--radio);
    overflow: hidden;
}

.ubicacion-img img { width: 100%; display: block; }

.puntos { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.puntos li { display: flex; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--gris-claro); }
.puntos li i { color: var(--dorado); }

.btn-azul {
    background: var(--azul);
    border-color: var(--azul);
    color: var(--blanco);
}

.btn-azul:hover { background: var(--azul-2); color: var(--blanco); transform: translateY(-2px); }

/* CTA final */
.cta-final {
    position: relative;
    padding: 7rem 0;
    color: var(--blanco);
    text-align: center;
    overflow: hidden;
}

.cta-final > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-final::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(4, 38, 58, .72);
}

.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.cta-final p { color: rgba(255, 255, 255, .9); max-width: 34rem; margin: 1rem auto 2rem; }

/* Footer */
.footer {
    background: var(--gris-claro);
    padding: 3.5rem 0 2rem;
    font-size: 0.9rem;
}

.footer .marca { opacity: .8; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .75rem; }
.footer .logo-ralfo { width: 160px; max-width: 100%; }
.footer .logo-inmobilia { width: 190px; max-width: 100%; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer .copy {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gris);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.footer .copy nav a + a { margin-left: 1.25rem; }

@media (max-width: 767.98px) {
    .footer .copy { justify-content: center; text-align: center; }
}

/* Barra fija móvil */
.barra-movil {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1040;
    display: none;
    gap: .5rem;
    padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom));
    background: var(--blanco);
    box-shadow: 0 -8px 24px rgba(4, 38, 58, .15);
    transition: transform .3s ease;
}

.barra-movil a { flex: 1; padding: .8rem .5rem; font-size: .85rem; white-space: nowrap; }
body.modal-open .barra-movil { display: none; }
.barra-movil .btn-linea { color: var(--azul); border-color: var(--azul); }
.barra-movil.oculta { transform: translateY(110%); }

@media (max-width: 991.98px) {
    .barra-movil { display: flex; }
    body { padding-bottom: 72px; }
    .seccion { padding: 4rem 0; }
    .hero { padding-top: 7rem; }
    .hero::after {
        background: linear-gradient(180deg, rgba(4, 38, 58, .55) 0%, rgba(4, 38, 58, .85) 60%, rgba(4, 38, 58, .95) 100%);
    }
}

/* Responsivo: tablet y móvil */
@media (max-width: 991.98px) {
    .header .logo { height: 46px; }
    .header.scrolled .logo { height: 40px; }

    .hero { padding-bottom: 3rem; }
    .hero > .container > .row { --bs-gutter-y: 2.5rem; }
    .hero .col-lg-7 { padding-right: calc(var(--bs-gutter-x) * .5); }
    .hero .form-card { max-width: 560px; }

    .concepto-img,
    .ubicacion-img { aspect-ratio: 16 / 10; }
    .ubicacion-img img { height: 100%; object-fit: cover; }

    .dato .valor { font-size: 1.45rem; }
    .dato .etiqueta { font-size: .78rem; }

    .titulo-seccion br { display: none; }
}

@media (max-width: 575.98px) {
    body { font-size: 1rem; }
    .container { padding-left: 20px; padding-right: 20px; }
    .seccion { padding: 3.5rem 0; }
    .eyebrow { font-size: .7rem; letter-spacing: .18em; }
    .titulo-seccion { font-size: 1.85rem; }
    .texto-intro { font-size: 1rem; }

    /* Hero */
    .hero { padding-top: 6.25rem; align-items: flex-start; }
    .hero .logo-indico { width: 150px; margin-bottom: 1.25rem; }
    .hero h1 { font-size: 2.05rem; margin-bottom: 1rem; }
    .hero .bajada { font-size: 1rem; line-height: 1.6; }
    .precio { margin: 1.25rem 0 1.5rem; row-gap: .4rem; }
    .precio .monto { font-size: 2rem; }
    .precio .nota { flex-basis: 100%; font-size: .8rem; }
    .hero .d-flex.gap-3 { display: grid !important; grid-template-columns: 1fr; gap: .75rem !important; }
    .hero .btn-linea,
    .hero .btn-dorado { width: 100%; }

    .form-card { padding: 1.75rem 1.25rem; }
    .form-card h2 { font-size: 1.5rem; }
    .form-card .sub { font-size: .9rem; margin-bottom: 1.25rem; }

    /* Datos clave */
    .datos { padding: 1.75rem 0; }
    .datos .row { row-gap: .5rem; }
    .dato { padding: .6rem .25rem; }
    .dato .valor { font-size: 1.3rem; }
    .dato .etiqueta { font-size: .72rem; letter-spacing: .04em; }

    /* Imágenes */
    .concepto-img,
    .ubicacion-img { aspect-ratio: 4 / 3; }
    .concepto-img .sello { left: .75rem; bottom: .75rem; font-size: .78rem; padding: .5rem .8rem; }

    /* Galería */
    .bento { grid-auto-rows: 120px; gap: 8px; }
    .bento a { border-radius: 10px; }
    .bento a span { left: .7rem; bottom: .55rem; font-size: .75rem; }

    /* Botones de sección a todo el ancho */
    .seccion .btn-dorado,
    .cta-final .btn-dorado,
    .cta-final .btn-linea { width: 100%; padding: .9rem 1.25rem; text-align: center; }
    .cta-final .d-flex { flex-direction: column; }

    /* Equipamiento: lista compacta de una columna */
    #departamentos .lista-icono { grid-template-columns: 1fr; gap: .6rem; }
    #departamentos .item-icono { align-items: center; padding: .85rem 1rem; gap: .9rem; }
    #departamentos .item-icono i { width: 38px; height: 38px; font-size: 1.05rem; }
    #departamentos .item-icono p { font-size: .92rem; }

    /* Servicios: dos columnas centradas con íconos originales */
    .servicios .lista-icono { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
    .servicios .item-icono { flex-direction: column; align-items: center; text-align: center; padding: 1.1rem .6rem; gap: .65rem; }
    .servicios .item-icono .icono-orig { width: 48px; height: 48px; }
    .servicios .item-icono p { font-size: .85rem; }

    /* Ubicación */
    .puntos { margin: 1.25rem 0 1.5rem; }
    .puntos li { font-size: .92rem; }

    /* CTA final */
    .cta-final { padding: 4.5rem 0; }
    .cta-final h2 { font-size: 2rem; }

    /* Footer */
    .footer { padding: 2.75rem 0 1.5rem; }
    .footer .copy { margin-top: 2rem; font-size: .82rem; }

    /* Modal */
    .modal-dialog { margin: .75rem; }
    .modal-lead .form-card { padding: 2rem 1.25rem 1.5rem; }
}

/* Animación de entrada */
.revelar {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
}

.revelar.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .revelar { opacity: 1; transform: none; transition: none; }
    .hero-slides img { transition: opacity .01s; transform: none; }
}
