/* ===============================================================
   ALTA GRACIA GROUP — HOJA DE ESTILOS ORGANIZADA

   Regla de mantenimiento: estilos agrupados por sección.
   Se conservan todas las declaraciones originales y sus media queries.
   Archivo fuente: altagracia.css (copia de seguridad recomendada).
   =============================================================== */


/* ==========================================
   ALTAGRACIA - ESTILOS PERSONALIZADOS
   ========================================== */

/* Colores corporativos */
:root {
    --ag-dark: #091721;
    --ag-orange: #ff6429;
    --ag-white: #ffffff;
    --ag-border: #e0e4e7;

    /* Oscuridad de la fotografía: 0 = clara, 1 = negra */
    --altagracia-slider-overlay: 0.35;

    /* Apariencia del nuevo buscador */
    --altagracia-search-bg: #ffffff;
    --altagracia-search-text: #202020;
    --altagracia-search-radius: 24px;

    --altagracia-navy: #091721;
    --altagracia-orange: #ec681c;
    --altagracia-sky: #009fe3;
    --ag-gris: #ededed;

    --altagracia-text-size: 18px;
}

.bg_gris{
    background-color: var(--ag-gris);
}

body {
    font-size: var(--altagracia-text-size);
}

p {
    font-size: var(--altagracia-text-size);
    line-height: 1.5;
}


/* ===============================================================
   02 · PRELOADER
   =============================================================== */

/* =====================================
   ALTA GRACIA - PRELOADER
   ===================================== */

#preloader .altagracia-preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #091721;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.altagracia-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.altagracia-loader-logo {
    width: 90px;
    max-width: 30vw;
    height: auto;
    animation: altagraciaLogoPulse 1.8s ease-in-out infinite;
}

.altagracia-loader-line {
    width: 110px;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.altagracia-loader-line::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 40%;
    background: #ec681c;
    border-radius: 10px;
    animation: altagraciaLineMove 1.4s ease-in-out infinite;
}

@keyframes altagraciaLogoPulse {
    0%, 100% {
        opacity: 0.65;
    }

    50% {
        opacity: 1;
    }
}

@keyframes altagraciaLineMove {
    0% {
        transform: translateX(-110%);
    }

    100% {
        transform: translateX(280%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .altagracia-loader-logo,
    .altagracia-loader-line::after {
        animation: none;
    }
}


/* ===============================================================
   03 · HEADER Y NAVEGACIÓN
   =============================================================== */

/* ==========================================
   ALTAGRACIA - MENÚ DE NAVEGACIÓN
   ========================================== */

/* Páginas internas */
.altagracia-header-inner {
    background-color: var(--altagracia-navy);
}

/* Portada: encabezado transparente */
.altagracia-header-home {
    background-color: transparent;
}

/* Portada: encabezado fijo al desplazarse */
.altagracia-header-home.fixed {
    background-color: var(--altagracia-navy);
    border-bottom: solid 1px var(--altagracia-orange);
}

/* Enlaces del menú */
.altagracia-header .navbar-nav .nav-link {
    color: #ffffff;
    position:relative;
    transition: color 0.3s ease;
}

/* Efecto al pasar el cursor */
.altagracia-header .navbar-nav .nav-link:hover {
    color: #ffffff;
}

/* ======================================
   ALTAGRACIA - HOVER MENÚ PORTADA
   ====================================== */

@media (min-width: 992px) {

    /* Línea inferior */
    .altagracia-header .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 50%;
        width: 0;
        height: 1px;
        background-color: #ffffff;
        border-radius: 3px;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    /* Animación al pasar el cursor */
    .altagracia-header .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

    /* Página activa */
    .altagracia-header .navbar-nav .nav-link.active::after {
        width: 100%;
    }

    /* Mantener las letras blancas en todos los estados */
    .altagracia-header .navbar-nav .nav-item .nav-link,
    .altagracia-header .navbar-nav .nav-item:hover .nav-link,
    .altagracia-header .navbar-nav .nav-item:focus-within .nav-link,
    .altagracia-header .navbar-nav .nav-link:hover,
    .altagracia-header .navbar-nav .nav-link:focus,
    .altagracia-header .navbar-nav .nav-link.active {
        color: #ffffff !important;
        font-size: 16px;
        font-weight: 400;
    }

    /* Activar la línea también al pasar por el contenedor */
    .altagracia-header .navbar-nav .nav-item:hover > .nav-link::after,
    .altagracia-header .navbar-nav .nav-item:focus-within > .nav-link::after {
        width: 100%;
    }
}

/* ======================================
   ALTAGRACIA - HOVER MENÚ PORTADA
   ====================================== */

/* ALTAGRACIA - Menú transparente al inicio de la portada */
.altagracia-header-home:not(.fixed) {
    background: transparent !important;
    border-bottom: solid 1px transparent;
}

.altagracia-header-home:not(.fixed) .inner-content,
.altagracia-header-home:not(.fixed) .top-header {
    background: transparent !important;
    border-bottom: solid 1px transparent;
}

.theme-main-menu .gap-two {
    padding: 24px 40px;
}

.theme-main-menu.fixed .gap-two {
    padding-top: 24px;
    padding-bottom: 24px;
}

/* ==========================================
   ALTAGRACIA - MENÚ DE PÁGINAS INTERNAS
   ========================================== */

/* Fondo permanente azul marino */
.altagracia-header-inner,
.altagracia-header-inner .inner-content,
.altagracia-header-inner .top-header {
    background-color: #091721 !important;
}

/* Mantener el fondo cuando se activa el menú fijo */
.altagracia-header-inner.fixed,
.altagracia-header-inner.fixed .inner-content,
.altagracia-header-inner.fixed .top-header {
    background-color: #091721 !important;
}


/* Enlaces de navegación */
.altagracia-header-inner .navbar-nav .nav-link {
    color: #ffffff;
}

/* Color de interacción */
.altagracia-header-inner .navbar-nav .nav-link:hover {
    color: #ec681c;
}

.theme-main-menu .navbar-toggler {
    background: transparent;
}

.theme-main-menu .navbar-toggler::before,
.theme-main-menu .navbar-toggler::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 32px;
    height: 2px;
    pointer-events: none;
    transition: transform .25s;
    transform-origin: 50% 50%;
    background: #ec681c;
}

.theme-main-menu .navbar-toggler span {
    background: #ec681c;
}


@media screen and (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        background-color: var(--altagracia-navy);
        left: 0;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        clear: both;
        width: 320px;
        max-width: calc(100vw - 60px);
        z-index: 9999;
        transform: translateX(-100%);
        display: block !important;
        padding: 16px 0 20px 20px;
        transition: all .3s ease-in-out;
    }
}


/* ===============================================================
   04 · PÁGINA DE INICIO
   =============================================================== */

.hero-banner-four {
    padding: 108px 0 0 128px;
    border-bottom: none;
}

/* ======================================
   ALTAGRACIA - DEGRADADO SLIDER PORTADA
   ====================================== */

.altagracia-header ~ .hero-banner .hero-img {
    position: relative;
}

/* Degradado superior del slider */
.hero-img {
    position: relative;
}

/* Oscurecimiento gradual */
.hero-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 240px;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0) 100%
    );

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

/* ==========================================
   ALTAGRACIA - IMÁGENES DEL SLIDER
   ========================================== */

.hero-banner-four .hero-slider-one .hero-img {
    background-position: center 45%;
}


/* ==========================================
   ALTAGRACIA - ALTURA DEL BANNER PRINCIPAL
   ========================================== */

@media (min-width: 1200px) {

    .hero-banner-four .main-bg {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
}


/* ==========================================
   ALTAGRACIA - TEXTOS DEL HERO
   ========================================== */

@media (min-width: 992px) {

    /* Título principal */
    .hero-banner-four .hero-heading {
        font-size: clamp(48px, 4.5vw, 72px) !important;
        line-height: 1.08 !important;
        letter-spacing: -1.5px;
    }

    /* Descripción */
    .hero-banner-four .hero-heading + p {
        font-size: 18px !important;
        line-height: 1.6 !important;
        padding-top: 25px !important;
        padding-bottom: 15px !important;
    }
}


/* ==========================================
   ALTAGRACIA - BANNER SIN MARGEN LATERAL
   ========================================== */

.hero-banner-four {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.hero-banner-four .main-bg {
    margin-left: 0 !important;
}


/* .hero-banner-four .hero-heading {
        font-size: 90px;
        line-height: 1em;
    } */


/* ==========================================
   ALTAGRACIA - BOTÓN DEL HERO
   ========================================== */

.hero-banner-four .altagracia-hero-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 22px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

.hero-banner-four .altagracia-hero-btn span {
    font-size: inherit !important;
    line-height: inherit !important;
}

.hero-banner-four .altagracia-hero-btn i {
    position: static !important;
    display: inline-block !important;
    font-size: 16px !important;
    line-height: 1 !important;
    margin: 0 !important;
    transform: none !important;
}


/* ALTAGRACIA - Botón Ver todas las propiedades */
.altagracia-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 24px;
    border: 2px solid var(--altagracia-navy);
    color: var(--altagracia-navy);
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.altagracia-view-all-btn:hover {
    background: #222;
    color: #fff;
}

.altagracia-view-all-btn span {
    font-size: 22px;
    line-height: 1;
}

@media (max-width: 767px) {
    .altagracia-view-all-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* Solo portada: no altera galerías de propiedades ni otros carruseles. */
.hero-banner-four.altagracia-hero {
    padding: 0px;
}

.altagracia-hero .altagracia-hero-stage {
    min-height: 790px;
    padding: 165px 0 65px;
    border-radius: var(--altagracia-hero-radius);
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: stretch;
}

/* Conservamos el plugin original del slider de Homy. */
.altagracia-hero .hero-slider-one {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.altagracia-hero .hero-slider-one .item,
.altagracia-hero .hero-slider-one .hero-img {
    height: 100%;
}
.altagracia-hero .hero-slider-one .hero-img {
    background-position: center;
    background-size: cover;
}

/* Oscuridad ajustable sobre las imágenes, pero debajo del contenido. */
.altagracia-hero .altagracia-hero-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--altagracia-slider-overlay));
    z-index: -1;
    pointer-events: none;
}

.altagracia-hero .altagracia-hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 56px;
}

.altagracia-hero .altagracia-hero-copy {
    max-width: 930px;
    padding-top: 35px;
}
.altagracia-hero .altagracia-hero-title {
    font-size: clamp(42px, 5vw, 82px);
    font-weight: 500;
    line-height: 1.09;
    letter-spacing: -0.035em;
    margin: 0 0 22px;
    text-wrap: balance;
}
.altagracia-hero .altagracia-hero-description {
    font-size: clamp(17px, 1.55vw, 22px);
    line-height: 1.55;
    max-width: 670px;
    margin: 0 0 24px;
}
.altagracia-hero .altagracia-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 14px 26px;
    background: var(--altagracia-orange);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.5s ease,
                color 0.3s ease,
                border-color 0.3s ease;
}
.altagracia-hero .altagracia-hero-cta:hover {
    color: #fff;
    background: var(--altagracia-navy);

}

/* Buscador blanco: 5 campos + botón en escritorio. */
.altagracia-hero .altagracia-hero-search {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.1fr 1.1fr 1.45fr auto;
    align-items: stretch;
    gap: 0;
    width: 100%;
    background: var(--altagracia-search-bg);
    color: var(--altagracia-search-text);
    /* border-radius: 24px; */
    padding: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,.10);
}
.altagracia-hero .altagracia-hero-field {
    min-width: 0;
    padding: 9px 15px;
    border-right: 1px solid #e6e6e6;
}
.altagracia-hero .altagracia-hero-field > label,
.altagracia-hero .altagracia-hero-budget-header > label {
    display: block;
    color: #242424;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 5px;
}
.altagracia-hero .altagracia-hero-field .form-select {
    display: block;
    width: 100%;
    height: 30px;
    min-height: 30px;
    padding: 0 22px 0 0;
    border: 0;
    outline: 0;
    box-shadow: none;
    background-color: transparent;
    color: #444;
    font-size: 14px;
    line-height: 1.4;
    text-overflow: ellipsis;
    cursor: pointer;
}
.altagracia-hero .altagracia-hero-field .form-select:focus {
    box-shadow: none;
    outline: 2px solid #ddd;
    outline-offset: 2px;
}
.altagracia-hero .altagracia-hero-budget-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
}
.altagracia-hero .altagracia-hero-currencies {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    white-space: nowrap;
}
.altagracia-hero .altagracia-hero-currencies label {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    cursor: pointer;
}
.altagracia-hero .altagracia-hero-currencies input { accent-color: #222; }
.altagracia-hero .altagracia-hero-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    align-self: stretch;
    padding: 0 24px;
    min-height: 58px;
    background: var(--altagracia-navy);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s ease-in-out 0s;
}
.altagracia-hero .altagracia-hero-search-button:hover { background: #333; }
.altagracia-hero .altagracia-hero-search-button i { font-size: 20px; }

/* TABLET: filtros en dos columnas. */
@media (min-width: 768px) and (max-width: 1199px) {
    .altagracia-hero .altagracia-hero-stage {
        min-height: 790px;
        padding: 120px 0 45px;
    }
    .altagracia-hero .altagracia-hero-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }
    .altagracia-hero .altagracia-hero-field {
        border-right: 0;
        border-bottom: 1px solid #eaeaea;
        padding: 12px 16px;
    }
    .altagracia-hero .altagracia-hero-search-button {
        min-height: 52px;
        grid-column: 1 / -1;
        margin-top: 10px;
    }
}

/* MÓVIL: buscador vertical. */
@media (max-width: 767px) {
    
    .altagracia-hero .altagracia-hero-stage {
        min-height: 0;
        padding: 115px 0 28px;
        /* border-radius: 22px; */
    }
    .altagracia-hero .altagracia-hero-content { gap: 34px; }
    .altagracia-hero .altagracia-hero-copy { padding-top: 5px; }
    .altagracia-hero .altagracia-hero-title { font-size: clamp(34px, 8vw, 48px); }
    .altagracia-hero .altagracia-hero-description { font-size: 16px; }
    .altagracia-hero .altagracia-hero-search {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px;
    }
    .altagracia-hero .altagracia-hero-field {
        border-right: 0;
        border-bottom: 1px solid #eaeaea;
        padding: 12px 10px;
    }
    .altagracia-hero .altagracia-hero-search-button {
        min-height: 52px;
        margin-top: 12px;
    }
}


/* Eliminar los márgenes blancos creados por el padding lateral del hero. */
.hero-banner-four.altagracia-hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Mantener 'Presupuesto' y UF / CLP juntos, no en extremos opuestos. */
.altagracia-hero .altagracia-hero-budget-header {
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}
.altagracia-hero .altagracia-hero-budget-header > label {
    margin-bottom: 0;
}

/* Primer uso de la paleta, restringido a la portada. */
.altagracia-hero .altagracia-hero-cta,
.altagracia-hero .altagracia-hero-search-button {
    background-color: var(--altagracia-orange);
}

/* .altagracia-hero .altagracia-hero-cta:hover,
.altagracia-hero .altagracia-hero-search-button:hover {
    background-color: var(--altagracia-orange);
} */

.altagracia-hero .altagracia-hero-currencies input {
    accent-color: var(--altagracia-orange);
}


/* ==========================================
   ALTAGRACIA - ALTURA Y CENTRADO DEL SLIDER
   ========================================== */

@media (min-width: 1200px) {

    /* Altura del slider en escritorio */
    .altagracia-hero .altagracia-hero-stage {
        min-height: max(850px, 88svh);
    }

    /* Distribución del contenido */
    .altagracia-hero .altagracia-hero-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Centrar verticalmente título, texto y botón */
    .altagracia-hero .altagracia-hero-copy {
        margin-top: auto;
        margin-bottom: auto;
        padding-top: 0;
    }

}


/* ALTAGRACIA - Precios de Últimas propiedades */
.property-listing-five .listing-card-one .price {
    font-size: clamp(22px, 1.7vw, 30px);
    line-height: 1.2;
}


/* ALTAGRACIA - Botón de propiedades destacadas */
.property-listing-one .listing-card-four .btn-four {
    background-color: var(--altagracia-orange) !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}

.property-listing-one .listing-card-four .btn-four:hover {
    background-color: var(--altagracia-navy) !important;
    color: white !important;
}



/* Altagracia - Eliminar línea divisoria en propiedades destacadas */
.property-listing-one .listing-card-four .property-info .pl-footer {
    border-top: none !important;
}


/* ALTAGRACIA - Características de propiedades destacadas */
.property-listing-one .listing-card-four .pl-footer .feature {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.property-listing-one .listing-card-four .pl-footer .feature li {
    flex: 1;
}

.property-listing-one .listing-card-four .pl-footer .feature li:nth-child(2) {
    text-align: center;
}

.property-listing-one .listing-card-four .pl-footer .feature li:last-child {
    text-align: right;
}


/* ALTAGRACIA - Etiquetas de propiedades destacadas */

/* ALTAGRACIA - Etiquetas EN VENTA / EN ARRIENDO */
.property-listing-one .listing-card-four .tag {
    width: max-content;
    max-width: none;
    white-space: nowrap;
    padding: 8px 16px;
}

.property-listing-five .listing-card-one .tag,
.property-listing-six .listing-card-seven .tag {
    width: max-content;
    max-width: none;
    white-space: nowrap;
    padding: 8px 16px;
    margin-left: 16px;
    left: 0;
}


/* ==========================================
   SECCION SERVICIOS
   ========================================== */
.block-feature-nine.image-bg:before {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
    z-index: -1;
    background: url(../homy/images/img37.jpeg) no-repeat right center;
    background-size: cover;
    background-position: top;
}

/* ALTAGRACIA - Botones de la sección de servicios */
.block-feature-nine .card-style-six .btn-twelve {
    border-radius: 0 !important;
    border: solid 2px var(--altagracia-navy);
}

.block-feature-nine .card-style-six .btn-twelve:hover {
    background-color: var(--altagracia-orange);
    border: solid 2px var(--altagracia-orange);
    color: white;
}


.btn-four {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--altagracia-navy);
    color: white;
    font-size: 1.3em;
    transition: all .3s ease-in-out 0s;
}

.btn-four:hover, .btn-four:focus {
    background: var(--altagracia-orange);
}


/* ALTAGRACIA - Títulos de las secciones de portada */
/* .property-listing-five .title-one h3,
.property-listing-one .title-one h3,
.block-feature-nine .title-one h3 {
    font-size: 2.5rem;
    line-height: 1.2;
} */


/* ALTAGRACIA - Títulos de secciones */
.alt-gra-title h3 {
    font-size: 2.5rem;
    line-height: 1.2;
}

/* IMAGEN TESTIMONIOA */
.feedback-section-five .bg-wrapper::before {
    background: url(../homy/images/img43.png) no-repeat center;
    background-size: cover;
    width: 50%;
}

/* ALTAGRACIA - Panel de testimonios */
.feedback-section-five .bg-wrapper .content-wrapper {
    background-color: #091721;
    color: #ffffff;
    padding: 50px;
    width: 50%;
    min-width: 0;
    box-sizing: border-box;
}

/* Evitar que los comentarios invadan la fotografía */
.feedback-section-five .content-wrapper blockquote {
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 991px) {
    .feedback-section-five .bg-wrapper .content-wrapper {
        width: 100%;
        padding: 35px 25px;
    }
}

/* Texto principal del testimonio */
.feedback-section-five .feedback-block-five blockquote {
    color: #ffffff;
}

/* Nombre del cliente */
.feedback-section-five .feedback-block-five h5 {
    color: #ffffff;
}

/* Ubicación del cliente */
.feedback-section-five .feedback-block-five p {
    color: #b9c8d1;
}


/* ===============================================================
   05 · LISTADO, BUSCADOR Y PAGINACIÓN
   =============================================================== */

/* ==========================================
   BUSCADOR DE PROPIEDADES
   ========================================== */

.search-wrapper-one.bg {
    background: var(--ag-white);
    padding: 0;
    border: 1px solid var(--ag-border);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(9, 23, 33, 0.07);
}

.search-wrapper-one .bg-wrapper {
    background: var(--ag-white);
}

#property-search-form .row {
    align-items: end;
}

/* Botón Limpiar */
.altagracia-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: 1px solid var(--ag-dark);
    border-radius: 4px;
    background: transparent;
    color: var(--ag-dark);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s ease,
                color .2s ease,
                border-color .2s ease;
}

.altagracia-clear-btn:hover,
.altagracia-clear-btn:focus-visible {
    background: var(--ag-dark);
    color: var(--ag-white);
    border-color: var(--ag-dark);
}

/* Altura uniforme de los controles */
#property-search-form .form-select,
#property-search-form .search-btn-four {
    height: 50px;
    min-height: 50px;
}

/* ALTA GRACIA - Hover botón Buscar del listado */

#property-search-form .search-btn-four {
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease !important;
}

#property-search-form .search-btn-four:hover {
    background-color: #091721 !important;
    color: #ffffff !important;
    border-color: #091721 !important;
}

/* ==========================================
   ALTAGRACIA - CAMPOS DEL BUSCADOR
   ========================================== */

#property-search-form .form-select {
    background-color: #f7f9fa;
    border: 1px solid #cbd3d9;
    border-radius: 6px;
    color: #091721;
    font-size: 15px;
    font-weight: 400;
    padding-left: 14px;
    transition: border-color .2s ease,
                box-shadow .2s ease,
                background-color .2s ease;
}

/* Efecto al pasar el cursor */
#property-search-form .form-select:hover {
    border-color: #697985;
    background-color: #ffffff;
}

/* Campo seleccionado mediante teclado o mouse */
#property-search-form .form-select:focus {
    border-color: #091721;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(9, 23, 33, 0.12);
    outline: none;
}

/* Etiquetas de los campos */
#property-search-form label:not(.btn) {
    color: #091721;
    font-size: 14px;
    font-weight: 600;
}


/* ==========================================
   ALTAGRACIA - LISTADO DE PROPIEDADES
   ========================================== */

/* Fondo general de la página de propiedades */
.property-listing-six {
    background: rgba(0, 0, 0, 0.03);
}

/* Tarjetas individuales de propiedades */
.property-listing-six .listing-card-seven {
    background: #ffffff;
    border: 1px solid #e0e4e7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(9, 23, 33, 0.07);
    transition: box-shadow 0.25s ease,
                transform 0.25s ease;
}

/* Efecto al pasar el cursor */
.property-listing-six .listing-card-seven:hover {
    box-shadow: 0 12px 35px rgba(9, 23, 33, 0.12);
    transform: translateY(-3px);
}



/* ==========================================
   ALTAGRACIA - ESPACIADO DEL LISTADO
   ========================================== */

/* Separación del buscador respecto a los resultados */
.property-listing-six .search-wrapper-one {
    margin-bottom: 35px !important;
}

/* Separación del contador respecto a las tarjetas */
.property-listing-six .listing-header-filter {
    margin-bottom: 30px !important;
}

/* Separación entre las tarjetas */
.property-listing-six .listing-card-seven {
    margin-bottom: 30px !important;
}

/* Ajustes para tablets y celulares */
@media (max-width: 991px) {

    .property-listing-six .search-wrapper-one {
        margin-bottom: 25px !important;
    }

    .property-listing-six .listing-header-filter {
        margin-bottom: 20px !important;
    }

    .property-listing-six .listing-card-seven {
        margin-bottom: 20px !important;
    }

}

/* Ajustes para celulares */
@media (max-width: 575px) {

    .property-listing-six .search-wrapper-one {
        margin-bottom: 20px !important;
    }

    .property-listing-six .listing-card-seven {
        border-radius: 6px;
    }

    .theme-main-menu .gap-two {
    padding: 24px 20px;
}
}



/* ==========================================
   ALTAGRACIA - TARJETAS EN CELULARES
   ========================================== */

@media (max-width: 575px) {

    /* Reducir espacios internos */
    .property-listing-six .listing-card-seven .property-info {
        padding: 24px 20px !important;
    }

    /* Título más compacto */
    .property-listing-six .listing-card-seven .property-info .title {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 10px !important;
    }

    /* Ubicación */
    .property-listing-six .listing-card-seven .address {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Reducir separación de características */
    .property-listing-six .listing-card-seven .feature {
        margin-top: 22px !important;
        margin-bottom: 22px !important;
    }

    /* Distribuir características en dos columnas */
    .property-listing-six .listing-card-seven .feature ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .property-listing-six .listing-card-seven .feature ul li {
        width: auto !important;
        margin: 0 !important;
        font-size: 14px;
        line-height: 1.4;
    }

    .property-listing-six .listing-card-seven .feature ul li strong {
        font-size: 17px;
    }

    .property-listing-six .listing-card-seven .pl-footer {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 16px;
        padding-bottom: 0 !important;
    }

    /* Precio más equilibrado */
    .property-listing-six .listing-card-seven .pl-footer .price {
        font-size: clamp(20px, 5.5vw, 25px);
        line-height: 1.2;
        margin: 0 !important;
        flex: 0 1 auto;
        min-width: 0;
    }

    /* Precio */
    .property-listing-six .listing-card-seven .pl-footer .price {
        font-size: 25px;
        line-height: 1.2;
        min-width: 0;
        margin-right: 0 !important;
    }

    /* Botón para abrir la propiedad */
    .property-listing-six .listing-card-seven .pl-footer .btn-four {
        flex-shrink: 0;
    }

    /* Espacios internos del buscador */
    #property-search-form .row {
        row-gap: 14px !important;
        padding-top: 10px !important;
        padding-bottom: 18px !important;
    }

    /* Etiquetas de los campos */
    #property-search-form label:not(.btn) {
        font-size: 14px;
        margin-bottom: 6px !important;
        line-height: 1.4;
    }

    /* Selectores más compactos */
    #property-search-form .form-select {
        height: 44px;
        min-height: 44px;
        font-size: 14px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    /* Botón Limpiar */
    .altagracia-clear-btn {
        padding: 7px 13px;
        font-size: 13px;
    }

    /* Botón Buscar */
    #property-search-form .search-btn-four {
        height: 48px !important;
        min-height: 48px !important;
        margin-top: 4px;
        font-size: 14px;
        transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease !important;
    }

}


/* ==========================================
   ALTAGRACIA - BUSCADOR MÓVIL
   ========================================== */

@media (max-width: 575px) {

}

/* =====================================
   ALTA GRACIA - PAGINACIÓN
   ===================================== */

/* Paginación centrada */
.altagracia-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.altagracia-pagination .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}

.altagracia-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    background: #091721;
    color: #ffffff;
    border: 1px solid #091721;
    border-radius: 0 !important;

    font-size: 16px;
    font-weight: 500;
    box-shadow: none;

    transition: background-color 0.25s ease,
                border-color 0.25s ease;
}

/* Hover naranja */
.altagracia-pagination .page-item:not(.disabled) .page-link:hover {
    background: #ec681c;
    border-color: #ec681c;
    color: #ffffff;
}

/* Página seleccionada */
.altagracia-pagination .page-item.active .page-link {
    background: #ec681c;
    border-color: #ec681c;
    color: #ffffff;
}

/* Botones deshabilitados */
.altagracia-pagination .page-item.disabled .page-link {
    background: #091721;
    border-color: #091721;
    color: #829098;
    opacity: 0.5;
}

/* Navegación por teclado */
.altagracia-pagination .page-item .page-link:focus-visible {
    outline: 2px solid #ec681c;
    outline-offset: 3px;
}

/* Botones anterior y siguiente */
.altagracia-pagination .page-item:first-child .page-link,
.altagracia-pagination .page-item:last-child .page-link {
    background: transparent;
    color: #000000;
    border: 2px solid #091721;
    border-radius: 0 !important;

    font-size: 46px;
    font-weight: 300;
    line-height: 1;
}

/* Flechas más grandes */
.altagracia-pagination .page-item:first-child .page-link svg,
.altagracia-pagination .page-item:last-child .page-link svg {
    width: 24px;
    height: 24px;
}

/* Hover naranja */
.altagracia-pagination .page-item:first-child:not(.disabled) .page-link:hover,
.altagracia-pagination .page-item:last-child:not(.disabled) .page-link:hover {
    background: #ec681c;
    color: #ffffff;
    border-color: #ec681c;
}

/* Flecha blanca al pasar el mouse */
.altagracia-pagination .page-item:first-child .page-link:hover svg,
.altagracia-pagination .page-item:last-child .page-link:hover svg {
    color: #ffffff;
}

/* Flechas deshabilitadas */
.altagracia-pagination .page-item:first-child.disabled .page-link,
.altagracia-pagination .page-item:last-child.disabled .page-link {
    background: transparent;
    color: #777777;
    border: 2px solid #091721;
    opacity: 0.5;
}

/* Ocultar texto "Showing X to X of X results" */
.altagracia-pagination .small.text-muted {
    display: none !important;
}


/* ===============================================================
   06 · FICHA DE PROPIEDAD: GALERÍA, DATOS Y CONSULTA
   =============================================================== */

/* Galería Altagracia: mostrar máximo 5 miniaturas */
#propertyMediaSlider .carousel-indicators > button:nth-child(n+7) {
    display: none !important;
}


/* ========================================
   ALTAGRACIA - MINIATURAS RESPONSIVE
   ======================================== */


#propertyMediaSlider .carousel-indicators {
    display: grid !important;  
    grid-template-columns: repeat(6, minmax(0, 170px));
    gap: 20px !important;
    justify-content: space-between;
    width: 100%;
    height: auto;
    margin: 0;
}

#propertyMediaSlider .carousel-indicators > button {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    border-radius: 0px;
}

#propertyMediaSlider .carousel-indicators .altagracia-gallery-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
}

/* Conservar ocultas las miniaturas desde la sexta */
#propertyMediaSlider .carousel-indicators > button:nth-child(n+7) {
    display: none !important;
}

@media (max-width: 767px) {
    #propertyMediaSlider .carousel-indicators {
        gap: 6px;
    }

    #propertyMediaSlider .carousel-indicators > button,
    #propertyMediaSlider .carousel-indicators .altagracia-gallery-thumb {
        border-radius: 7px;
    }
}


/* Espacio independiente para miniaturas y flechas */
@media (min-width: 1200px) {
    #propertyMediaSlider .altagracia-gallery-controls {
        display: flex;
        align-items: flex-center;
        gap: 40px;
    }

    #propertyMediaSlider .altagracia-gallery-controls .carousel-indicators {
        position: relative;
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        margin: 0;
    }

    #propertyMediaSlider .altagracia-gallery-controls .carousel-arrow {
        position: relative;
        inset: auto;
        transform: none;
        flex: 0 0 auto;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 30px;
        padding-right: 50px;
    }

    #propertyMediaSlider .altagracia-gallery-controls .carousel-arrow button {
        position: relative;
        inset: auto;
        transform: none;
        margin: 0;
    }

    .carousel-control-prev, .carousel-control-next{
        border: solid 2px black!important;
    }

    .theme-details-one .media-gallery .carousel .carousel-control-next:hover, .theme-details-one .media-gallery .carousel .carousel-control-prev:hover {
    background: var(--altagracia-orange);
    color: #fff;
    border: solid 2px var(--altagracia-orange)!important;
    }
}


/* Altagracia - Precio en la ficha de propiedad */
.altagracia-detail-price {
    font-size: clamp(32px, 3vw, 52px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* =========================================
   ALTAGRACIA - FORMULARIO DE PROPIEDADES
   ========================================= */

/* Contenedor del formulario */
#consulta-propiedad {
    background-color: #091721;
    border-radius: 0;
    color: #FFFFFF;
    padding: 2rem;
}

/* Título y descripción */
#consulta-propiedad h4,
#consulta-propiedad > p {
    color: #FFFFFF;
}

/* Mayor separación entre los campos */
#consulta-propiedad .form-floating {
    margin-bottom: 50px !important;
}

/* Campos: solamente línea inferior */
#consulta-propiedad .form-floating > .form-control {
    display: block;
    width: 100%;
    height: 68px;
    padding: 1.6rem 0.75rem 0.4rem;
    background: transparent;
    color: #FFFFFF;
    border: 0;
    border-bottom: 1px solid #009FE3;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
    transition: border-color 0.25s ease;
}

/* Línea naranja al seleccionar un campo */
#consulta-propiedad .form-floating > .form-control:focus {
    background: transparent;
    color: var(--altagracia-orange);
    border-bottom-color: var(--altagracia-orange);
    outline: none;
    box-shadow: none;
}

/* Etiquetas dentro de los campos */
#consulta-propiedad .form-floating > label {
    padding: 1.1rem 0.75rem;
    color: #FFFFFF;
    opacity: 0.85;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.06rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Etiqueta pequeña al seleccionar o escribir */
#consulta-propiedad .form-floating > .form-control:focus ~ label,
#consulta-propiedad .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #FFFFFF;
    opacity: 0.7;
    transform: scale(0.8) translateY(-0.55rem) translateX(0);
}

/* Eliminar el fondo que Bootstrap agrega a las etiquetas */
#consulta-propiedad .form-floating > label::after {
    background: transparent;
}

/* Campo Mensaje */
#consulta-propiedad .form-floating > textarea.form-control {
    height: 165px;
    padding: 2.2rem 0.75rem 0.75rem;
    text-align: left;
    text-indent: 0;
    resize: vertical;
}

/* Texto explicativo inferior */
#consulta-propiedad form > p {
    color: #FFFFFF;
    opacity: 0.8;
}

/* Mensajes de validación */
#consulta-propiedad .text-danger {
    color: #FFB1A8 !important;
}

/* ======================================
   ALTAGRACIA - CARACTERÍSTICAS PROPIEDAD
   ====================================== */

.altagracia-property-features .altagracia-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.altagracia-property-features .altagracia-feature-item i {
    color: #091721;
    font-size: 20px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.altagracia-property-features .altagracia-feature-item div {
    min-width: 0;
    line-height: 1.5;
}

/* Icono de estacionamiento con E */
.altagracia-property-features .altagracia-parking-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;

    border: 1.5px solid #091721;
    border-radius: 3px;

    color: #091721;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;

    margin-top: 3px;
}


/* ===============================================================
   07 · NOSOTROS Y AGENTES
   =============================================================== */

/* ======================================
   NOSOTROS
   ====================================== */
.inner-banner-three {
    margin: 85px 0 0 0;
}

.bg-nos{
    background-image: url(../homy/images/img51.png); 
    border-radius: 0!important;
    height: 480px;
    align-items: center;
    display: flex;
    width: 100%;
}

.block-feature-fifteen .media-block .bg-img {
    min-height: 700px;
}

@media (max-width: 1200px) {
    .block-feature-fifteen .media-block .bg-img {
        min-height: 480px;
    }
}

/* =========================================
   ALTAGRACIA - SERVICIOS PÁGINA NOSOTROS
   ========================================= */

/* Tarjetas azules, sin bordes redondeados */
.altagracia-about-services .card-style-five,
.altagracia-about-services .card-style-five:hover {
    background: #091721;
    border: 1px solid #091721;
    border-radius: 0;
}

/* Títulos y descripciones */
.altagracia-about-services .card-style-five h5 {
    color: #ffffff;
}

.altagracia-about-services .card-style-five p {
    color: #ffffff;
}

/* Iconos minimalistas */
.altagracia-about-services .card-style-five > i {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.altagracia-about-services .card-style-five:hover > i {
    color: #EC681C !important;
}

/* Botones naranjas rectangulares */
.altagracia-about-services .card-style-five .btn-twelve {
    background: #EC681C;
    border: 1px solid #EC681C;
    border-radius: 0;
    color: #ffffff;
}

/* Hover de botones */
.altagracia-about-services .card-style-five .btn-twelve:hover,
.altagracia-about-services .card-style-five .btn-twelve:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: #091721;
}


/* ALTAGRACIA - Nuestra forma de trabajar */
.altagracia-work-section {
    background-color: #F5EDE8;
}

.altagracia-work-section h3,
.altagracia-work-section h5 {
    color: #091721;
}

.altagracia-work-section .fa-light {
    color: #EC681C;
}


/* ALTAGRACIA - Iconos de nuestra forma de trabajar */
.altagracia-work-icon {
    width: 65px;
    height: 65px;
    object-fit: contain;
    flex-shrink: 0;
}


/* ALTAGRACIA - Texto destacado de nuestra forma de trabajar */

/* ALTAGRACIA - Texto destacado */
.altagracia-work-intro {
    background-color: #FFFFFF;
    border: none;
    border-left: 4px solid #EC681C;
    padding: 14px;
    border-radius: 0;
}



/* =========================================
   ALTAGRACIA - NUESTRO EQUIPO
   ========================================= */

.altagracia-team-section {
    background-color: #FFFFFF;
}

.altagracia-agents-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Cada agente: foto izquierda, datos derecha */
.altagracia-agent-card {
    display: grid;
    grid-template-columns: 35% 65%;
    background-color: transparent;
    overflow: hidden;
    box-shadow: 10px 10px 35px rgba(0, 0, 0, .15);
}

/* Fotografía */
.altagracia-agent-photo {
    min-height: 200px;
    background-color: #E5E5E5;
}

.altagracia-agent-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

/* Información */
.altagracia-agent-info {
    padding: 25px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.altagracia-agent-info h4 {
    color: #091721;
    font-size: 24px;
    margin-bottom: 0px;
}

.altagracia-agent-position {
    color: var(--altagracia-orange);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1rem;
}

.altagracia-agent-info p {
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.altagracia-agent-info p i {
    color: var(--altagracia-orange);
    margin-right: 8px;
}

.altagracia-agent-info p a {
    color: #091721;
    text-decoration: none;
}

.altagracia-agent-info p a:hover {
    color: var(--altagracia-orange);
}

/* WhatsApp: icono y nombre, sin botón de fondo */
.altagracia-agent-whatsapp {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 0;
    background: transparent;
    color: #091721;
    font-size: 18px;
    text-decoration: none;
    border: 0;
    border-radius: 0;
}

.altagracia-agent-whatsapp i {
    color: var(--altagracia-orange);
    font-size: 23px;
}

.altagracia-agent-whatsapp:hover {
    background: transparent;
    color: var(--altagracia-orange);
}

/* Tablets */
@media (max-width: 1199px) {
    .altagracia-agent-info {
        padding: 20px 20px 20px 30px;
    }
}

/* Móviles */
@media (max-width: 767px) {

    .altagracia-agent-card {
        grid-template-columns: 1fr;
    }

    .altagracia-agent-photo {
        width: 100%;
        max-width: 280px;
        height: 280px;
        min-height: 0;
        margin: 25px auto 0;
        overflow: hidden;
    }

    .altagracia-agent-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: auto;
    }

    .altagracia-agent-info {
        padding: 25px;
        text-align: center;
        align-items: center;
    }
}


/* ===============================================================
   08 · PÁGINA CONTACTO
   =============================================================== */

/* ======================================
   ALTAGRACIA - CONTACTO
   ====================================== */

.altagracia-contact-section {
    background: #ededed;
    padding-top: 180px!important;
}

.altagracia-contact-title {
    color: #091721;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 0;
}

.altagracia-contact-top {
    align-items: stretch;
}

.altagracia-contact-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    padding: 10px 5px;
}

.altagracia-contact-icon {
    width: 30px;
    height: 30px;
    min-width: 58px;
    
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 24px;
}

.altagracia-contact-box-text h5 {
    color: #091721;
    font-size: 20px;
    margin-bottom: 0px;
}

.altagracia-contact-box-text p {
    color: black;
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 16px;
}

.altagracia-contact-main {
    overflow: hidden;
}

.altagracia-contact-image {
    min-height: 100%;
}

.altagracia-contact-image img {
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
    display: block;
}

.altagracia-contact-form-wrap {
    background: white;
    height: 100%;
    padding: 50px;
}

/* ======================================
   CONTACTO - ENLACES INTERACTIVOS
   ====================================== */

.altagracia-contact-box-text a {
    display: inline-block;
    color: #091721;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--altagracia-navy);
    padding-bottom: 0px;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

/* Hover */
.altagracia-contact-box-text a:hover {
    color: #EC681C;
    border-bottom-color: #EC681C;
    transform: translateY(-2px);
    font-weight: 500;
}

/* Accesibilidad con teclado */
.altagracia-contact-box-text a:focus-visible {
    color: #EC681C;
    border-bottom-color: #EC681C;
    outline: 2px solid #EC681C;
    outline-offset: 4px;
}

/* Teléfonos uno al lado del otro */
.altagracia-contact-phones {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.altagracia-contact-phones a {
    white-space: nowrap;
}

/* .altagracia-contact-form input::placeholder,
.altagracia-contact-form textarea::placeholder {
    color: #8a8f95;
}

.altagracia-contact-form textarea {
    resize: vertical;
    min-height: 130px;
}*/

.altagracia-contact-btn {
    display: inline-block;
    border: none;
    background: #ec681c;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 28px;
    transition: 0.3s ease;
    cursor: pointer;
}

.altagracia-contact-btn:hover {
    background: #091721;
    color: #ffffff;
} 

/* ==========================================
   ALTAGRACIA - FORMULARIO PÁGINA CONTACTO
   Estilos exclusivos
   ========================================== */

/* Campos */
/* .altagracia-contact-page-form .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--altagracia-navy);
    border-radius: 0;
    box-shadow: none;
    color: var(--altagracia-navy);
    font-size: 16px;
    padding-left: 0;
    padding-right: 0;
} */

/* Campo seleccionado */
/* .altagracia-contact-page-form .form-control:focus {
    background: transparent;
    border-bottom-color: var(--altagracia-orange);
    box-shadow: none;
    outline: none;
    color: var(--altagracia-navy);
} */

/* Etiquetas flotantes */
/* .altagracia-contact-page-form .form-floating > label {
    padding: 1.1rem 0.75rem;
    color: var(--altagracia-navy);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.06rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
} */

/* Etiquetas al escribir */
/* .altagracia-contact-page-form .form-floating > .form-control:focus ~ label,
.altagracia-contact-page-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #091721;
    opacity: .75;
} */

/* Quitar fondo de etiquetas flotantes */
/* .altagracia-contact-page-form .form-floating > label::after {
    background: transparent !important;
}
 */
/* Área del mensaje */
/* .altagracia-contact-page-form textarea.form-control {
    height: 165px;
    min-height: 165px;
    resize: vertical;
} */
.altagracia-contact-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Fotografía */
.altagracia-contact-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
    object-position: center;
}

/* Capa oscura como la imagen de Nosotros */
.altagracia-contact-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

/* Tablets y pantallas menores a 1200px */
@media (min-width: 768px) and (max-width: 1199px) {

    .altagracia-contact-top .altagracia-contact-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .altagracia-contact-top .altagracia-contact-box-text {
        text-align: center;
        width: 100%;
    }

    .altagracia-contact-top .altagracia-contact-phones {
        justify-content: center;
    }
}

/* Tablet y menores */
@media (max-width: 991px) {

    .altagracia-contact-title {
        font-size: 36px;
    }

    .altagracia-contact-form-wrap {
        padding: 50px 35px;
    }

    .altagracia-contact-form-wrap h3 {
        font-size: 40px;
    }

    .altagracia-contact-image {
        height: 290px;
    }

    .altagracia-contact-image img {
        min-height: 0;
        height: 100%;
    }
}

/* Móvil */
@media (max-width: 767px) {

    .altagracia-contact-title {
        font-size: 30px;
    }

    .altagracia-contact-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .altagracia-contact-form-wrap {
        padding: 40px 25px;
    }

    .altagracia-contact-form-wrap h3 {
        font-size: 32px;
    }

    .altagracia-contact-image{
        min-height: 260px;
    }

    .altagracia-contact-top .altagracia-contact-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .altagracia-contact-top .altagracia-contact-phones {
        justify-content: center;
    }
}




/* Mayor separación entre los campos */
.altagracia-contact-page-form .form-floating {
    margin-bottom: 50px !important;
}

/* Campos: solamente línea inferior */
.altagracia-contact-page-form .form-floating > .form-control {
    display: block;
    width: 100%;
    height: 68px;
    padding: 1.6rem 0.75rem 0.4rem;
    background: transparent;
    color: var(--altagracia-navy);
    border: 0;
    border-bottom: 1px solid var(--altagracia-navy);
    border-radius: 0;
    box-shadow: none;
    font-size: 18px;
    transition: border-color 0.25s ease;
    font-weight: 500;
}

/* Línea naranja al seleccionar un campo */
.altagracia-contact-page-form .form-floating > .form-control:focus {
    background: transparent;
    color: var(--altagracia-orange);
    border-bottom-color: var(--altagracia-orange);
    outline: none;
    box-shadow: none;
    font-weight: 500;
}

/* Etiquetas dentro de los campos */
.altagracia-contact-page-form .form-floating > label {
    padding: 1.1rem 0.75rem;
    color: black;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Etiqueta pequeña al seleccionar o escribir */
.altagracia-contact-page-form .form-floating > .form-control:focus ~ label,
.altagracia-contact-page-form.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: black;
    opacity: 0.7;
    transform: scale(0.8) translateY(-0.55rem) translateX(0);
}

/* Eliminar el fondo que Bootstrap agrega a las etiquetas */
.altagracia-contact-page-form .form-floating > label::after {
    background: transparent!important;
}

/* Campo Mensaje */
.altagracia-contact-page-form .form-floating > textarea.form-control {
    height: 165px;
    padding: 2.2rem 0.75rem 0.75rem;
    text-align: left;
    text-indent: 0;
    resize: vertical;
}

/* Texto explicativo inferior */
.altagracia-contact-page-form form > p {
    color: black;
    opacity: 0.8;
}

/* Mensajes de validación */
.altagracia-contact-page-form .text-danger {
    color: #FFB1A8 !important;
}


/* ===============================================================
   09 · FOOTER CORPORATIVO
   =============================================================== */

/* ======================================
   ALTAGRACIA - FOOTER CORPORATIVO
   ====================================== */

.altagracia-footer {
    background: #091721;
    color: #d6e0e5;
}

.altagracia-footer .footer-title {
    color: #ffffff;
    font-size: 1.2rem;
}

.altagracia-footer .footer-intro p,
.altagracia-footer .footer-nav-link a,
.altagracia-footer .footer-nav-link span,
.altagracia-footer .bottom-footer p {
    color: #d6e0e5;
}

.altagracia-footer .footer-nav-link a:hover {
    color: #ec681c;
}

/* Datos de contacto */
.altagracia-footer-contact {
    margin-top: 25px;
}


/* Navegación y propiedades: enlaces y textos iguales */
.altagracia-footer .footer-nav-link li > a,
.altagracia-footer .footer-nav-link li > span {
    display: block;
    line-height: 44px;
}

/* Contacto: misma altura que los enlaces */
.altagracia-footer .altagracia-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    margin-bottom: 0;
    color: #d6e0e5;
    font-size: .9rem;
}

/* Mantener el efecto hover */
.altagracia-footer a.altagracia-contact-item:hover,
.altagracia-footer a.altagracia-contact-item:focus-visible {
    color: #EC681C;
}



/* Enlaces del contacto */
.altagracia-footer a.altagracia-contact-item {
    width: fit-content;
    text-decoration: none;
    transition: color 0.3s ease;
}

.altagracia-footer a.altagracia-contact-item:hover,
.altagracia-footer a.altagracia-contact-item:focus-visible {
    color: #EC681C;
}


.altagracia-contact-item i {
    color: #009fe3;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

/* Redes sociales */

/* ALTAGRACIA - Enlaces de redes sociales */
.altagracia-footer-social a {
    color: #009FE3;
    font-size: 23px;
    transition: color 0.3s ease;
}

.altagracia-footer-social a:hover,
.altagracia-footer-social a:focus-visible {
    color: #EC681C;
}


/* Separador inferior */
.altagracia-footer .bottom-footer {
    border-top: 1px solid #3a505d;
}

.footer-nav-link{
    font-size: .9rem;
}

.footer-nav-link i {
    color: var(--ag-orange);
    margin-right: 2px;
}

/* ======================================
   FOOTER - RESPONSIVE
   ====================================== */

/* Móviles y tablets */
@media (max-width: 991px) {

    /* Centrar enlaces de contacto */
    .altagracia-footer a.altagracia-contact-item {
        margin-left: auto;
        margin-right: auto;
    }

    /* Centrar redes sociales */
    .altagracia-footer .altagracia-footer-social {
        display: flex;
        justify-content: center;
        gap: 40px;
    }

    /* Centrar navegación */
    .altagracia-footer .footer-nav-link {
        text-align: center;
    }
}

/* Computadores */
@media (min-width: 992px) {

    /* Contactos a la izquierda */
    .altagracia-footer a.altagracia-contact-item {
        margin-left: 0;
        margin-right: 0;
    }

    /* Redes sociales a la izquierda */
    .altagracia-footer .altagracia-footer-social {
        display: flex;
        justify-content: flex-start;
        gap: 40px;
    }

    /* Navegación a la izquierda */
    .altagracia-footer .footer-nav-link {
        text-align: left;
    }
}
