/* ========================= */
/*           INDEX           */
/* ========================= */

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
}

/* ─── VARIABLES ─── */
:root {

    /* =========================
       COLORES OFICIALES
    ========================= */
    --primary-dark: #18223C;
    --primary-blue: #166077;
    --primary-gold: #AE7B39;
    --accent-green: #5AAA95;
    --accent-light: #B1DDF1;
    --bg-light: #F3F3F4;

    /* =========================
       COLORES ANTIGUOS (REF)
    ========================= */
    --old-dark: #1f2a37;
    --old-dark-alt: #263340;
    --old-gris-claro: #f3f4f6;

    /* =========================
       VARIABLES DEL SISTEMA 
    ========================= */
    --dark: var(--old-dark);
    --dark-alt: var(--old-dark-alt);
    --gris-medio: var(--old-gris-medio);


    --white: #ffffff;
    --black: #000000;
}
/* ─── HELPER ─── */
.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.centrar-btn {
    text-align: center;
    margin-top: 2.5rem;
}

.sec-titulo {
    font-size: 2.7rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}
.sec-titulo strong { color: var(--primary-dark); }
.sec-titulo.centrado { 
    text-align: center; 
    
}
.sec-titulo.light    { color: var(--white); }

.sec-sub {
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 2.5rem;
}
.sec-sub.centrado { text-align: center; }

/* ════════════════════════
   NAVBAR  (tu código base)
════════════════════════ */
.navbar {
    position: fixed;           
    top: 0;
    width: 100%;
    padding: 10px 50px;
    display: flex;
    align-items: center;
    background: var(--primary-dark);
    color: white;
    z-index: 100;
    transition: background 0.3s;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: 3rem; /* separación con el logo */
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.25s;
    font-weight: 600;
}
.nav-links a:hover { color: var(--white); }

.btn-contacto {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary-dark);
    padding: 5px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    white-space: nowrap;
    transition: opacity 0.25s;
    margin-left: auto;
    border: 0.14rem solid var(--white);
}
.btn-contacto:hover { 
    color: var(--white);
    background: transparent;
}
.btn-contacto svg {
    width: 1.8rem;
    height: 1.8rem;
    flex-shrink: 0;
}

/* ════════════════════════
   LOGO  (tu código base)
════════════════════════ */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 0;
    flex-shrink: 0;
}
.logo img {
    height: 58px;
    width: auto;
    object-fit: contain;
}
.logo span {
    position: relative;
    padding-left: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.logo span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 30px;
    background: rgba(255,255,255,0.5);
}

/* ════════════════════════
   HERO  (tu código base +
   ajuste de padding-top)
════════════════════════ */
.hero {
    min-height: 100vh;
    background: url('/assets/img/fotosInmobi2160_1.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 80px;
    padding-top: 72px;
    padding-bottom: 0;
    box-sizing: border-box;
    position: relative;
}
/* centramos dentro del espacio real disponible */
.hero-content {
    position: relative;
    background: white;
    padding: 3rem 3rem;
    border-radius: 1.5rem;
    max-width: 490px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    margin-top: -36px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 28px;
    font-weight: 999;
    color: var(--black);
}
.buttons {
    display: flex;
    gap: 10px;
}
.btn-outline {
    border: 0.20rem solid var(--primary-dark);
    padding: 11px 20px;
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s;
    width: 12rem;
}
.btn-outline:hover { 
    background: var(--primary-dark); 
    color: var(--white); 
}

.btn-solid {
    background: var(--primary-dark);
    color: white;
    padding: 11px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.25s;
    width: 12rem;
}
.btn-solid:hover { 
    border: 0.20rem solid var(--primary-dark); 
    background: transparent; 
    color: var(--primary-dark)
}

/* ════════════════════════
   STATS BAR
════════════════════════ */

.seccion-statsb {
    background: var(--primary-dark);
}

.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 80px;
    gap: 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 16px;
}

.stat-numero {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-etiqueta {
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--white);
    text-transform: capitalize;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.stat-divisor {
    display: none;
}

/* ════════════════════════
   BUSCA TU PROPIEDAD
════════════════════════ */
.seccion-busca {
    position: relative;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0.85) 0%,
            rgba(255,255,255,0.65) 40%,
            rgba(255,255,255,0.4) 70%,
            rgba(255,255,255,0.2) 100%
        ),
        url('/assets/img/fotosInmobi1080_2.webp') center/cover no-repeat;

    padding: 80px 0 90px;
    overflow: hidden;
    min-height: 54rem;

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

/* todo el contenido encima del overlay */
.seccion-busca .inner {
    position: relative;
    z-index: 1;
}

/* título blanco centrado */
.seccion-busca .sec-titulo {
    color: var(--black);
    font-weight: 700;
    text-align: center;
    text-shadow: none;
    margin-bottom: 6px;
}
.seccion-busca .sec-sub {
    color: var(--black);
    text-align: center;
    font-weight: 300;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: none;
}

/* tarjeta blanca flotante */
.busca-card {
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    padding: 22px 26px 20px;
    max-width: 780px;
    margin: 0 auto;
}

/* tabs dentro de la tarjeta */
.busca-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    margin-bottom: 16px;
}

/* tabs */
.btab {
    background: transparent;
    border: none;
    padding: 8px 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gris-medio);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

/* separadores */
.btab:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -12px;
    color: #9ca3af;
}

/* línea dorada controlada */
.btab::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    border-radius: 2rem;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.btab.active {
    color: var(--dark);
    font-weight: 600;
}

.btab.active::before {
    width: 100%;
}
.btab:hover:not(.active) { color: var(--dark); }

/* fila de filtros en pills */
.busca-filtros {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.busca-filtros select {
    border: 1.7px solid var(--gray-border);
    border-radius: 10px;
    padding: 7px 28px 7px 14px;
    font-size: 0.8rem;
    color: var(--dark);
    background: var(--white);
    appearance: none;
    outline: none;
    cursor: pointer;
    /* flecha con SVG inline */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.2s;
    white-space: nowrap;
}
.busca-filtros select:hover { border-color: var(--dark); }

/* fila inferior: input ciudad + botón buscar */
.busca-barra {
    background: var(--white);
    display: flex;
    padding: 4px 6px 4px 4px;
    align-items: center;
    border: 1.7px solid var(--gray-border);
    border-radius: 10px;
    overflow: hidden;
    height: 44px;
}
.busca-barra input {
    flex: 1;
    border: none;
    padding: 0 16px;
    font-size: 0.85rem;
    color: var(--dark);
    outline: none;
    background: transparent;
}
.busca-barra input::placeholder { color: var(--black); }
.btn-buscar {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0 15px;
    height: 35px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.25s;
    white-space: nowrap;
}
.btn-buscar:hover { 
    border: 0.12rem solid var(--primary-blue); 
    background: transparent; 
    color: var(--primary-blue);
}
    

/* ════════════════════════
   PROPIEDADES DESTACADAS
════════════════════════ */
.seccion-props {
    background: var(--bg-light);
    padding: 70px 0;
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    margin-bottom: 0;
}

/* ── wrapper con degradado ── */
.props-grid-wrap { 
    position: relative; 
    width: 100%;
}

.props-fade {
    position: absolute;
    bottom: 0;
    left: -80px;
    width: calc(100% + 160px);
    height: 38%;

    background: linear-gradient(
        to top,
        rgba(243,243,244,0.75) 0%,
        rgba(243,243,244,0.9) 20%,
        rgba(243,243,244,0.7) 40%,
        rgba(243,243,244,0.4) 60%,
        rgba(243,243,244,0.15) 80%,
        rgba(243,243,244,0) 100%
    );

    pointer-events: none;
    z-index: 2;
}

.seccion-props .sec-titulo {
    font-weight: 700;
    margin-bottom: 4rem;
}

/* ── tarjeta ── */
.prop-card {
    border-radius: 20px;
    overflow: visible;
    background: var(--white);
    box-shadow: 0 3px 16px rgba(0,0,0,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: none;
}

.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.16);
}

/* ── imagen ── */
.prop-img {
    height: 210px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.prop-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top, 
        rgba(0,0,0,0.5) 0%, 
        rgba(0,0,0,0.1) 50%, 
        transparent 100%
    );
}

/* ── badge ── */
.badge {
    position: absolute;
    top: 12px; 
    left: 12px;

    z-index: 2;
    font-size: 0.90rem;
    font-weight: 500;

    padding: 6px 18px;
    border-radius: 25px;

    background: rgba(255,255,255,0.92);
    color: var(--dark);
    backdrop-filter: blur(4px);
}

.badge-renta, 
.badge-venta, 
.badge-preventa {
    background: rgba(255,255,255,0.92);
    color: var(--dark);
}

/* ── botón copiar ── */
.prop-btn-copiar {
    position: absolute;
    top: 12px; 
    right: 12px;

    z-index: 2;
    width: 40px; 
    height: 40px;

    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.4);

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

    cursor: pointer;
    transition: background 0.2s;

    position: absolute;
}

.prop-btn-copiar::after {
    content: "Copiar";

    position: absolute;
    bottom: -28px;
    right: 50%;
    transform: translateX(50%);

    background: #fff;
    color: #111;

    font-size: 0.7rem;
    font-weight: 500;

    padding: 4px 10px;
    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.prop-btn-copiar:hover { 
    background: rgba(255,255,255,0.45); 
}

.prop-btn-copiar:hover::after {
    opacity: 1;
    transform: translateX(50%) translateY(4px);
}

/* icono copiar */
.prop-btn-copiar img {
    width: 23px;
    height: 23px;
}

/* ── cuerpo ── */
.prop-info {
    padding: 25px 18px 18px;
    background: var(--white);
    border-radius: 20px;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

/* título */
.prop-titulo {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* precio */
.prop-precio-fila {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.prop-precio {
    font-size: 0.9rem;
    font-weight: 400;
    color: #111;
}

/* m² */
.prop-area-txt {
    font-size: 0.85rem;
    color: var(--black);
    font-weight: 400;

    display: flex;
    align-items: center;
    gap: 6px;
}

/* divisor */
.prop-divisor {
    height: 1.2px;
    background: #111;
    margin: 10px 0;
}

/* ubicación */
.prop-lugar {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--black);
    margin-bottom: 8px;
}

/* specs */
.prop-specs {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 0.71rem;
    color: var(--black);
}

.prop-spec {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* iconos generales */
.prop-card img {
    object-fit: contain;
}

.prop-spec img {
    width: 35px;
    height: 35px;
}

.prop-lugar img {
    width: 14px;
    height: 14px;
}

.prop-area-txt img {
    width: 15px;
    height: 15px;
}

.prop-btn-copiar img {
    width: 16px;
    height: 16px;
}

/* estilo visual de iconos */
.prop-spec img,
.prop-lugar img,
.prop-area-txt img {
    opacity: 0.75;
}

/* botón Ver más */
.btn-ver-mas {
    background: var(--primary-dark);
    color: var(--white);
    border: 2px solid var(--primary-dark);
    padding: 15px 55px;
    border-radius: 35px;
    font-size: 1.50rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    z-index: 3;
}

.btn-ver-mas:hover {
    background: var(--white);
    color: var(--dark);
}

/* ════════════════════════
   VENDER - 6 PASOS
════════════════════════ */

.seccion-vender {
    background: var(--primary-dark);
    padding: 70px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.seccion-vender .inner {
    max-width: 85rem;
    width: 100%;
}

/* título */
.vender-titulo {
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

/* subtítulo */
.vender-subtitulo {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 300;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* grid */
.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* tarjeta */
.paso {
    background: var(--white);
    padding: 28px 24px 28px;
    border-radius: 12px;
    border: none;
    transition: transform 0.25s, box-shadow 0.25s;
    text-align: center;
}

.paso:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

/* número */
.paso-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    line-height: 1;
}

/* título tarjeta */
.paso h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.4;
}

/* texto tarjeta */
.paso p {
    font-size: 0.84rem;
    font-weight: 300;
    color: var(--black);
    line-height: 1.75;
}

/* botón */
.btn-vender-cta {
    background: var(--white);
    color: var(--black);
    border: 0.13rem solid transparent;
    padding: 15px 85px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-vender-cta:hover {
    border: 0.13rem solid var(--white);
    background: transparent;
    color: var(--white);
}

/* texto inferior */
.vender-pie {
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 300;
    text-align: center;
    line-height: 1.7;
    margin-top: 1rem;
}

/* ════════════════════════
   VENDER - CONTADORES
════════════════════════ */

.seccion-vender-stats {
    background: var(--white);
}

.vender-stats {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.2rem 0;
}

.vender-stat {
    flex: 1;
    text-align: center;
    padding: 0 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.vender-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.vender-stat-label {
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--black);
    text-transform: capitalize;
    letter-spacing: 0.05em;
    line-height: 1.4;
    min-height: 1rem;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vender-stat-div {
    width: 1px;
    height: 48px;
    background: transparent;
    flex-shrink: 0;
}
/* ════════════════════════
   SOBRE UDAI
════════════════════════ */
.seccion-about {
    position: relative;
    min-height: 55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5rem;
    /* imagen de fondo */
    background: url('/assets/img/fotosInmobi1080_3.webp') center/cover no-repeat;
    overflow: hidden;
}
/* overlay oscuro sobre la foto */
.seccion-busca::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.15) 40%,
        rgba(0,0,0,0.35) 100%
    );
}

/* tarjeta traslúcida con bordes redondeados */
.about-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 75rem;
    min-height: 40rem;

    background: rgba(24, 34, 60, 0.82);
    backdrop-filter: blur(8px);
    border-radius: 1.25rem;

    padding: 3rem 5rem;

    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;

    align-items: center;
}

/* ── columna izquierda ── */
.about-col-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* logo + separador + texto */
.about-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}
.about-logo-img {
    height: 5rem;
    width: auto;
    object-fit: contain;
}

/* párrafos */
.about-cuerpo {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 15px;
}

/* botón blanco texto oscuro con flecha */
.btn-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 0.8rem 1.75rem;
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    align-self: flex-start;
}

.btn-about-cta:hover { 
    opacity: 0.92; 
}

.btn-about-cta:hover .icono-flecha {
    transform: translateX(0.3rem);
}

.icono-flecha {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
    display: block;
    transition: transform 0.25s ease;
}

/* ── columna derecha: contadores ── */
.about-col-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}
.about-counter {
    padding: 14px 0;
    text-align: center;
    width: 100%;
}
.about-counter-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}
.about-counter-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}
.about-counter-sep {
    display: none;
}

/* ════════════════════════
   TESTIMONIOS
════════════════════════ */
.seccion-testi {
    background: var(--accent-light);  
    padding: 60px 0 70px;
    overflow: hidden;
}

/* label superior */
.testi-label {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

/* título grande oscuro */
.testi-titulo {
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.15;
}

/* contenedor de cada fila */
.testi-row-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* fila principal */
.testi-row {
    display: flex;
    gap: 2rem; 
    width: max-content;
    animation: rowDerecha 35s linear infinite;
}

/* fila invertida (FIX IMPORTANTE) */
.testi-row-rev {
    animation: rowIzquierda 35s linear infinite;
    transform: translateX(-50%);
}

/* animaciones */
@keyframes rowDerecha {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes rowIzquierda {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* tarjeta */
.testi-card {
    width: 36rem;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 1.2rem;
    padding: 1.8rem 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0.8rem;
}

/* header */
.testi-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* avatar */
.testi-avatar {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: #8a9bb0;
    flex-shrink: 0;
}

/* info */
.testi-head-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* nombre */
.testi-nombre {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--black);
}

/* estrellas */
.testi-stars {
    color: var(--primary-gold);
    font-size: 1.95rem; 
    letter-spacing: 0.15rem;
}

/* texto */
.testi-texto {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--black);
    line-height: 1.8;
}

/* footer */
.testi-footer {
    text-align: center;
    margin-top: 48px;
    padding: 0 80px;
}

/* botón */
.btn-testi-cta {
    background: var(--primary-dark);
    color: var(--white);
    border: 0.13rem solid var(--primary-dark); 
    padding: 15px 85px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-testi-cta:hover { 
    background: transparent;
    color: var(--primary-dark);
}

/* texto final */
.testi-pie {
    font-size: 0.85rem;
    color: var(--black);
    font-weight: 300;
    text-align: center;
    line-height: 1.7;
    margin-top: 1rem;
}

/* ════════════════════════
   EQUIPO
════════════════════════ */
.seccion-equipo {
    background: var(--white);
    padding: 100px 0;
    min-height: 600px;
}
/* título negro grande mayúsculas */
.equipo-titulo {
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    margin-bottom: 1.2rem;
}

/* descripción centrada con parte bold */
.equipo-desc {
    font-size: 1.1rem;
    color: var(--black);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}
.equipo-desc strong { color: var(--dark); }

/* wrapper relativo para el degradado */
.equipo-wrap {
    position: relative;
}

/* cada fila de 5 personas */
.equipo-fila {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}

/* fila 2 — completamente visible */
.equipo-fila-fade {
    opacity: 1;
}

/* filas extra ocultas por defecto */
.equipo-filas-extra {
    display: none;
}
.equipo-filas-extra.visible {
    display: block;
}

/* degradado fino al fondo — solo cubre desde el botón hacia arriba unos pocos px */
.equipo-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(
        to top,
        #ffffff 0%,
        #ffffff 25%,
        rgba(255,255,255,0.7) 55%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.35s;
}
.equipo-fade.hidden {
    opacity: 0;
    pointer-events: none;
}

/* tarjeta de asesor */
.asesor {
    text-align: center;
    width: 190px;
    flex-shrink: 0;
}

/* avatar grande gris oscuro (fila 1) */
.asesor-foto {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #6b7280;
    margin: 0 auto 14px;
    overflow: hidden;
    /* ícono de persona con CSS */
    position: relative;
}
/* cabeza */
.asesor-foto::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
}
/* cuerpo */
.asesor-foto::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 30px;
    border-radius: 24px 24px 0 0;
    background: rgba(255,255,255,0.85);
}

/* avatar más claro para fila 2 (tenue) */
.asesor-foto-tenue {
    background: #d1d5db;
}
.asesor-foto-tenue::before,
.asesor-foto-tenue::after {
    background: rgba(255,255,255,0.7);
}

.asesor-nombre {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}
.asesor-puesto {
    font-size: 0.78rem;
    color: var(--gris-medio);
}

/* asesor tenue — texto difuminado */
.asesor-tenue .asesor-nombre,
.asesor-tenue .asesor-puesto {
    color: #c0c8d0;
}

/* botón Ver más — azul fuerte letra blanca */
.btn-equipo-ver {
    background: var(--primary-dark);
    color: var(--white);
    border: 0.13rem solid var(--primary-dark); 
    padding: 16px 60px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s;
    position: relative;
    z-index: 3;
}
.btn-equipo-ver:hover { 
    background: transparent; 
    color: var(--primary-dark);
}

/* ════════════════════════
   FAQ
════════════════════════ */
.seccion-faq {
    background: var(--primary-dark);
    padding: 70px 0 60px;
}

/* título blanco centrado */
.faq-titulo {
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

/* lista sin borde superior */
.faq-lista {
    margin-top: 0;
}

/* cada ítem separado por línea sutil blanca */
.faq-item {
    border-bottom: 1.5px solid rgba(255,255,255,1);
    padding: 1.8rem 0;
}
.faq-item:first-child {
    margin-top: 0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* botón de pregunta */
.faq-pregunta {
    width: 100%;
    background: transparent;
    border: none;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    text-align: left;
    gap: 24px;
    transition: opacity 0.2s;
}
.faq-pregunta:hover { opacity: 0.8; }

/* círculo con efecto glass */
.faq-circulo {
    width: 36px;
    height: 36px;
    border-radius: 50%;

    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(6px); 
    -webkit-backdrop-filter: blur(6px);

    border: 1px solid rgba(255,255,255,0.4);

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

    cursor: pointer;

    transition: all 0.25s ease;
}

.faq-circulo:hover {
    background: rgba(255,255,255,0.45);
}

.faq-item--open .faq-circulo {
    background: rgba(255,255,255,0.35);
}
.faq-signo {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1;
    user-select: none;
}

/* respuesta */
.faq-respuesta {
    display: none;
    padding-bottom: 22px;
    font-size: 1.5rem;
}
.faq-respuesta p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1.85;
}
.faq-respuesta strong {
    color: var(--white);
    font-weight: 600;
}

/* botón blanco texto negro */
.btn-faq-cta {
    background: var(--white);
    color: var(--primary-dark);
    border: 0.13rem solid var(--white); 
    padding: 15px 85px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-faq-cta:hover { 
    background: transparent;
    color: var(--white);
}

.faq-pie {
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 300;
    text-align: center;
    line-height: 1.7;
    margin-top: 1rem;
}
/* ════════════════════════
   DESARROLLOS
════════════════════════ */
.seccion-desarrollos {
    background: var(--bg-light);
    padding: 70px 0;
}

.dev-titulo {
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
}

/* acordeón */
.dev-acordeon {
}

/* separador */
.dev-item + .dev-item {
    border-top: 2.5px solid var(--primary-gold);
}

/* cabecera */
.dev-cabecera {
    width: 100%;
    background: transparent;
    border: none;
    padding: 28px 0;

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

    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);

    cursor: pointer;
    text-align: left;
    transition: opacity 0.2s;
}

.dev-cabecera:hover {
    opacity: 0.75;
}

/* círculo glass */
.dev-circulo {
    width: 38px;
    height: 38px;
    border-radius: 50%;

    background: rgba(107,114,128,0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border: 1px solid rgba(255,255,255,0.35);

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

    transition: all 0.25s ease;
}

.dev-circulo:hover {
    background: rgba(107,114,128,0.4);
}

.dev-item--open .dev-circulo {
    background: rgba(107,114,128,0.3);
}

.dev-signo {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1;
    user-select: none;
}

/* cuerpo */
.dev-cuerpo {
    display: flex;
    gap: 24px;
    padding-bottom: 32px;
    align-items: stretch;
}

/* ── SLIDER ── */
.dev-slider {
    position: relative;
    z-index: 2;

    width: 420px;
    height: 360px;

    flex-shrink: 0;

    border-radius: 14px;
    overflow: hidden;

    background: #ccc;
}

.dev-slides-wrap {
    overflow: hidden;
    border-radius: 14px;
    width: 100%;
    height: 100%;
}

.dev-slides {
    display: flex;
    height: 100%;
    transition: transform 0.45s ease;
}

.dev-slide {
    width: 420px;
    height: 360px;

    flex-shrink: 0;

    border-radius: 14px;

    background-size: cover !important;
    background-position: center !important;
}

/* flechas */
.dev-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);

    z-index: 4;

    width: 42px;
    height: 42px;

    border-radius: 50%;
    border: none;

    background: transparent;
    color: var(--white);

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

    font-size: 3.5rem;
    cursor: pointer;

    transition: background 0.2s;
}

.dev-arrow:hover {
    background: #fff;
}

.dev-arrow-prev {
    left: 10px;
}

.dev-arrow-next {
    right: 10px;
}

/* dots */
.dev-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 6px;

    z-index: 4;
}

.dev-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: rgba(255,255,255,0.55);

    cursor: pointer;
    transition: background 0.25s;
}

.dev-dot.active {
    background: #fff;
}

/* ── INFO ── */
.dev-info {
    flex: 1;
    background: var(--white);
    border-radius: 14px;

    padding: 28px 28px 24px;

    display: flex;
    flex-direction: column;

    margin-left: 0;
}

/* header */
.dev-header {
    margin-bottom: 16px;
}

.dev-loc {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 0.90rem;
    color: var(--gris-medio);

    margin-bottom: 12px;
}

.dev-loc svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.dev-descripcion {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);

    line-height: 1.5;
    font-style: italic;
    margin-bottom: 16px;
}

/* datos */
.dev-datos {
    margin-bottom: 16px;
}

.dev-dato {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 0.98rem;
    color: #374151;

    margin-bottom: 10px;
    line-height: 1.4;
}

.dev-dato svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;

    color: var(--gris-medio);
}

.dev-loc img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.dev-dato img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

/* separador */
.dev-separador {
    height: 1px;
    background: var(--black);

    margin: 40px 0;
}

/* botón */
.btn-dev-cta {
    display: inline-block;

    background: var(--primary-dark);
    color: var(--white);
    border: 0.13rem solid var(--primary-dark);

    padding: 10px 28px;
    border-radius: 3rem;

    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;

    cursor: pointer;
    transition: all 0.25s;

    align-self: center;
}

.btn-dev-cta:hover {
    background: transparent;
    color: var(--primary-dark);
}

/* ════════════════════════
   CONTACTO
════════════════════════ */
.seccion-contacto {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    background:
        url('/assets/img/fotosInmobi1080_4.webp') center/cover no-repeat;
    overflow: hidden;
}

/* overlay oscuro sobre la foto */
.seccion-contacto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 0;
}

/* tarjeta traslúcida azul oscuro */
.contacto-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 650px;
    background: rgba(24, 34, 60, 0.70);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 52px 48px 48px;
}

.contacto-titulo {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--white);
    text-align: center;
    margin-bottom: 25px;
}

.contacto-sub {
    font-size: 0.95rem;
    color: var(--white);
    text-align: left;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* form: grid 2 columnas */
.contacto-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* grupo label + input */
.cf-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cf-full {
    grid-column: 1 / -1;
}

.cf-group label {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
}

/* inputs y selects */
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
    background: var(--white);
    border: none;
    color: var(--primary-dark);
    font-family: inherit;
    font-size: 0.85rem;
    padding: 14px 16px;
    outline: none;
    border-radius: 6px;
    width: 100%;
    appearance: none;
    transition: box-shadow 0.2s;
}

.contacto-form select {
    padding-right: 40px; /* espacio para la flecha */

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 23px;
}

/* focus */
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

/* textarea */
.contacto-form textarea {
    resize: none;
    height: 120px;
}

/* botón */
.btn-contacto-submit {
    grid-column: 1 / -1;
    display: block;

    width: fit-content;
    min-width: 260px;

    background: var(--white);
    color: var(--black);
    border: 0.13rem solid var(--white);

    padding: 13px 32px;
    border-radius: 8px;

    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.25s;

    margin: 6px auto 0;
    letter-spacing: 0.02em;

    white-space: nowrap;
}

.btn-contacto-submit:hover { 
    background: transparent;
    color: var(--white);
}