/* ========== COPIADO EXACTO DE all-properties.css ========== */

.tag {
    text-transform: none !important;
}
.tag:hover {
    text-transform: none !important;
}

.card-box{
    height: 90% !important;
}
/* CARRUSEL */
.carousel-item {
    height: 300px;
}

.carousel-item img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    min-height: 190px;
}

/* TARJETAS DE VIVIENDAS */
.prop-m-built{
    font-size: 10px !important;
}
.price-card-prop{
    margin-top: 10px !important;
    font-weight: 800 !important;
}
.price-card-prop-rent{
    margin-top: 10px !important;
    margin-left: 10px;
}
.prop-card-link-body{
    color: inherit !important;
    text-decoration: none !important;
}

.price-available{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 0px 15px;
}

.price-card-prop-rent{
    margin-left: 10px;
}

.link-data{
    padding: 0px 15px;
}

.c-adress-card-prop{
    display: flex !important;
    flex-direction: row !important;
    padding: 10px 0px !important;
    width: 100% !important;
    text-align:left;
    text-transform: uppercase;
}

.icon-address-card-prop{
    margin-right: 5px !important;
    width: 7% !important;
}

.address-card-prop{
    font-size: 12px !important;
    padding-top: 7px !important;
}

.features-contain-card-prop{
    margin: 20px 0px;
}

/* MODAL IMÁGENES */
.carousel-item{
    background-color: white !important;
}
.modal-dialog{
    display: flex;
    width: 100vh !important;
    flex-direction: column;
    align-items: center;
}
.modal-content{
    width: 100vh !important;
}

.carousel-item-modal {
    height: 80vh !important;
    width: 100% !important;
}

.slider-image-modal{
    width: 100% !important;
}

.carousel-item-modal img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    min-height: 80vh !important;
    width: 100% !important;
}

/* PAGINACION */
.pagination{
    margin-top: -20px;
    margin-bottom: 40px;
}
.pagination > li > a,
.pagination > li > span {
    color: black;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background-color: black;
    border-color: black;
}

/* Filtros Avanzados de búsqueda */
.collapse-button{
    background-color: black !important;
    color: white !important;
    width: fit !important;
}

.card-body{
    border: none !important;
}

/* AJUSTES TEXTOS CABECERA BUSCARDOR */
.intro-text{
    margin-top: 150px !important;
}

/* AJUSTE REDONDEO IMÁGENES PROPIEDADES */
.card-box img{
    border-radius: 0px !important;
}

/* ETIQUETA "CON VÍDEOS" DE LAS TARJETAS DE PROPIEDADES */
.card-box{
    position: relative;
}
.tag {
    position: absolute;
    top: 7;
    left: 7;
    background-color: f8f800;
    color: black;
    font-weight: 600;
    padding: 6px;
    z-index: 1;
    border-radius: 5px;
    outline: none !important;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

/* COPIA DEL HOME */
/* CARRUSEL */
.carousel-item {
    height: 300px;
}

.carousel-item img {
    position: absolute;
    object-fit: contain;
    top: 0;
    left: 0;
    min-height: 190px !important;
}

.active {
    border-radius: 0px !important;
}

/* BORDE AÑADIDO SOLO EN PRIMER BANNER */
.hero-heading-center{
    border: none !important;
}

/* PROMOCION OBRA NUEVA */
.azohia{
    margin-bottom: 100px;
}

.azohia .main-text{
    color: white;
    font-weight: 900;
    font-size: 100px;
    margin-left: 40px;
}

.azohia .sub-text{
    color: white;
    margin-top: -30px;
    font-size: 52px;
    margin-left: 40px;
}

/* TESTIMONIO/OPINIONES */
.op-avatar{
    width: 60px;
  height: 60px;
  -webkit-border-radius: 60px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 60px;
  -moz-background-clip: padding;
  border-radius: 60px;
  background-clip: padding-box;
  margin-right: 20px;
  float: left;
  background-size: cover;
  background-position: center center;
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.f-testimonial-section{
    height: 600px;
}

.op-name{
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.f-testimonial-author{
    margin-bottom: 10px;
}

.f-icon-regular-3 > svg{
    color: #F8B704 !important;
}

.created-at{
    font-weight: 200;
    font-style: italic;
    font-size: 12px;
    margin-bottom: 10px;
}
.created-at:first-letter{
    text-transform: uppercase;
}

/* TARJETAS DE VIVIENDAS */
.prop-cards-container-propieades-home{
    margin: 0px 50px !important;
}
.prop-m-built{
    font-size: 10px !important;
}
.price-card-prop{
    margin-top: 10px !important;
    font-weight: 800 !important;
}
.price-card-prop-rent{
    margin-top: 10px !important;
    margin-left: 10px;
}
.prop-card-link-body{
    color: inherit !important;
    text-decoration: none !important;
}

.price-available{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 0px 15px;
}

.price-card-prop-rent{
    margin-left: 10px;
}

.link-data{
    padding: 0px 15px;
}

.c-adress-card-prop{
    display: flex !important;
    flex-direction: row !important;
    padding: 10px 0px !important;
    width: 100% !important;
    text-align:left;
    text-transform: uppercase;
}

.icon-address-card-prop{
    margin-right: 5px !important;
    width: 7% !important;
}

.address-card-prop{
    font-size: 12px !important;
    padding-top: 7px !important;
}

.features-contain-card-prop{
    margin: 20px 0px;
}

/* MODAL IMÁGENES */
.carousel-item{
    background-color: white !important;
}
.modal-dialog{
    display: flex;
    width: 100vh !important;
    flex-direction: column;
    align-items: center;
}
.modal-content{
    width: 100vh !important;
}

.carousel-item-modal {
    height: 80vh !important;
    width: 100% !important;
}

.slider-image-modal{
    width: 100% !important;
}

.carousel-item-modal img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    min-height: 80vh !important;
    width: 100% !important;
}

/* AJUSTES TEXTOS CABECERA BUSCARDOR */
.intro-text{
    margin-top: 150px !important;
}

/* HERO AÑOS */
.container-7{
    margin-top: 60px;
}

/* AJUSTE REDONDEO IMÁGENES PROPIEDADES */
.card-box, .card-box img{
    border-radius: 0px !important;
}

/* ETIQUETA "CON VÍDEOS" DE LAS TARJETAS DE PROPIEDADES */
.card-box{
    position: relative;
}
.tag {
    position: absolute;
    top: 7;
    left: 7;
    background-color: f8f800;
    color: black;
    font-weight: 600;
    padding: 6px;
    z-index: 1;
    border-radius: 5px;
    outline: none !important;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

/* OBRA NUEVA */
.heading-7{
    font-size: 32px !important;
    letter-spacing: 5px;
}

.hero-wrapper-two-2 h1{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* FOOTER */
.hero-wrapper{
    justify-content: space-around !important;
    margin-bottom: -80px !important;
}
.hero-heading-left .heading-jumbo-small{
    margin-left: 17px !important;
    color: #f8f800 !important;
}
.hero-heading-left{
    margin-top: 80px !important;
    padding: 0px !important;
    padding-bottom: 80px !important;
    color: white !important;
    background-color: black !important;
    font-size: 18px !important;
    border-bottom: none !important;
}

.hero-heading-left p{
    margin-left: 17px !important;
    color: white !important;
    margin-right: 100px;
}

.footer-img{
    height: 550px !important;
}

.logo-love{
    height: 180px;
    margin-bottom: 50px;
}

.b-b-container{
    display: flex;
    width: 100%;
    justify-content: center;
    background-color: black;
}
.b-b{
    width: 75%;
    border-bottom: 10px solid white !important;
}

.form-search-small{
    display: none;
}
.form-search-big {
    display: -ms-grid;
    display: grid;
    width: auto;
    height: auto;
    justify-content: center;
    align-items: center;
    grid-auto-columns: 1fr;
    grid-auto-rows: 79px;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    -ms-grid-rows: auto auto auto;
    grid-template-rows: auto auto auto;
}

.f-testimonial-right-a, .f-testimonial-left-a{
    display: flex !important;
}

.footer-img{
    object-fit: contain !important;
    margin-bottom: -2px;
}

.new-card-prop {
    padding-right: 10px !important;
    padding-left: 10px !important;
    font-size: 14px !important;
    margin-left: 10px;
}

.icons-wrapper{
    display:flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-content: center;
    align-items: center;
    vertical-align: middle;
}

.prop-cards-container-propieades{
    margin-top: -450px !important;
}

@media(max-width: 1535px){
    .footer-img{
        margin-bottom: -48px;
    }
    .logo-love{
        margin-bottom: 10px;
    }
    .property-cards {
        -ms-grid-columns: 1fr 1fr 1fr !important;
        grid-template-columns: 1fr 1fr 1fr !important;
    }
}

@media(max-width: 1279px){
    .footer-img{
        margin-bottom: -164px;
    }
    .logo-love{
        margin-top: 20px !important;
    }
}

@media(max-width: 1260px){
    .property-cards {
        -ms-grid-columns: 1fr 1fr !important;
        grid-template-columns: 1fr 1fr !important;
    }
    .carousel-item {
        height: 370px;
    }
}

@media(max-width: 1210px){
    .form-search-big{
        -ms-grid-column: 1;
        grid-column-start: 1;
        -ms-grid-column-span: 5;
        grid-column-end: 6;
        -ms-grid-row: 1;
        grid-row-start: 1;
        -ms-grid-row-span: 1;
        grid-row-end: 2;
        -ms-grid-column-align: center;
        justify-self: center;
        -ms-grid-row-align: center;
        align-self: center;
    }
    .form-search-button{
        grid-row-start: 4 !important;
        grid-column-start: 1 !important;
        background-color: #f8f800 !important;
    }
    .carousel-item {
        height: 350px;
    }
}

@media(max-width: 1070px){
    .carousel-item {
        height: 300px;
    }
    .prop-cards-container-propieades{
        margin-top: -300px !important;
    }
}

@media(max-width: 991px){
    .hero-heading-left p {
        margin-right: 0px;
    }
    .footer-img{
        margin-bottom: -40px;
    }
    .form-search-big{
        display: none;
    }
    .grid-fixed{
        display: grid !important;
        grid-template-columns: auto auto !important;
        width: 100%;
        margin: 10px;
        row-gap: 10px;
        column-gap: 10px;
        margin-bottom: 15px;
    }
    .form-search-small{
        display: block;
        width: 90%;
        margin-left: -40px;
    }
    .form-block{
        flex-direction: column !important;
        height: fit-content !important;
    }
    .intro-text {
        margin-top: 0px !important;
    }

    .heading-jumbo-propiedades {
        font-size: 35px !important;
    }
    .form-search-button{
        margin-left: 20px !important;
    }

    .property-cards{
        margin-top: 130px !important;
    }
    .carousel-item {
        height: 280px;
    }
}

@media(max-width: 800px){
    .heading-jumbo-propiedades {
        font-size: 28px !important;
    }
    .property-cards {
        -ms-grid-columns: 1fr !important;
        grid-template-columns: 1fr !important;
    }
    .carousel-item {
        height: 280px;
    }
    .property-cards{
        margin-left: 0px !important;
        margin-right: 0px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .prop-cards-container-propieades{
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
}

@media(max-width: 767px){
    .footer-img{
        margin-bottom: -73px;
        margin-top: -50px;
    }
}

@media(max-width: 639px){
    .footer-img{
        margin-bottom: -113px;
        margin-top: -100px;
    }
}

@media(max-width: 560px){
    .prop-cards-container-propieades{
        padding: 0px !important;
        margin-top: -250px !important;
    }
    .heading-jumbo-propiedades {
        font-size: 20px !important;
    }
    .intro-content{
        margin-top: 200px !important;
        width: 95% !important;
    }
    .grid-fixed{
        display: grid !important;
        grid-template-columns: auto !important;
        width: 100%;
        margin: 10px;
        row-gap: 10px;
        column-gap: 10px;
        margin-bottom: 15px;
    }
    .text-field-2{
        margin-left: 10px !important;
    }
    .opinions-title h3{
        font-size: 28px !important;
    }

    .f-testimonial-right-a, .f-testimonial-left-a{
        margin-top: 45px !important;
    }
    .property-head{
        margin-top: 60px;
    }
    .footer-img{
        margin-bottom: -104px;
        margin-top: -100px;
    }
    .carousel-item {
        height: 250px;
    }
}

@media(max-width:460px){
    .footer-img{
        margin-bottom: -144px;
        margin-top: -140px;
    }
}

@media(max-width:393px){
    .footer-img{
        margin-bottom: -170px;
        margin-top: -180px;
    }
}

@media(max-width:375px){
    .footer-img{
        margin-bottom: -177px;
    }
}

/* ========== FIN DE COPIA DE all-properties.css ========== */

/* ========== ESTILOS ESPECÍFICOS DEL AGENTE ========== */

/* HERO SECTION DEL AGENTE */
.agent-header-section {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 100px 0 80px 0;
    color: white;
}

.agent-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.agent-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.agent-hero-content-no-video {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Modificaciones responsive para la nueva clase */
@media (max-width: 1200px) {
    .agent-hero-content-no-video {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .agent-hero-content-no-video {
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .agent-hero-content-no-video {
        gap: 25px;
    }
}

@media (max-width: 560px) {
    .agent-hero-content-no-video {
        gap: 20px;
    }
}

.agent-info-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    align-items: center;
    gap: 40px;
}

.agent-photo-container {
    flex-shrink: 0;
}

.agent-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid #f8f800;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.agent-photo-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid #f8f800;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.agent-photo-placeholder i {
    font-size: 80px;
    color: #ccc;
}

.agent-info-container {
    flex: 1;
}

.agent-name {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.agent-name-properties {
    font-size: 28px;
    font-weight: 800;
    margin: 40px 0px;
    color: black;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.agent-title {
    font-size: 24px;
    color: #f8f800;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agent-contact-info {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-item i {
    width: 25px;
    margin-right: 15px;
    color: #f8f800;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #f8f800;
}

.agent-biography {
    margin-bottom: 40px;
}

.agent-biography h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f8f800;
}

.agent-biography p {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
}

.agent-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background-color: #f8f800;
    color: black;
    border: none;
}

.btn-primary:hover {
    background-color: white;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(248, 184, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid #f8f800;
}

.btn-secondary:hover {
    background-color: #f8f800;
    color: black;
    transform: translateY(-2px);
}

/* SECCIÓN DEL VÍDEO DEL AGENTE */
.agent-video-column {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.agent-video-container {
    width: 100%;
    max-width: 600px;
}

.video-header {
    margin-bottom: 20px;
    text-align: center;
}

.video-title {
    font-size: 24px;
    font-weight: 700;
    color: #f8f800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-description {
    font-size: 16px;
    color: #ddd;
    line-height: 1.4;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid #f8f800;
}

.agent-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* AJUSTES PARA LA SECCIÓN DE BÚSQUEDA EN AGENTES */
.agent-search-section {
    background-color: #f9f9f9;
    padding: 80px 0;
    margin-top: 0;
}

.agent-search-section .intro-header-sales {
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    padding: 0;
    margin-bottom: 0 !important;
}

/* RESPONSIVE PARA AGENTES */
@media (max-width: 1200px) {
    .agent-hero-content {
        gap: 40px;
    }

    .agent-info-column {
        gap: 30px;
    }

    .agent-name {
        font-size: 40px;
    }

    .video-title {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .agent-hero-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    .agent-info-column {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .agent-photo, .agent-photo-placeholder {
        width: 250px;
        height: 250px;
    }

    .agent-name {
        font-size: 36px;
    }

    .agent-video-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .video-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .agent-header-section {
        padding: 80px 0 60px 0;
        min-height: auto;
    }

    .agent-hero-content {
        gap: 30px;
    }

    .agent-info-column {
        gap: 25px;
    }

    .agent-photo, .agent-photo-placeholder {
        width: 200px;
        height: 200px;
    }

    .agent-photo-placeholder i {
        font-size: 60px;
    }

    .agent-name {
        font-size: 28px;
    }

    .agent-title {
        font-size: 20px;
    }

    .contact-item {
        font-size: 16px;
    }

    .agent-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .agent-video-container {
        max-width: 100%;
    }

    .video-title {
        font-size: 16px;
    }

    .video-description {
        font-size: 14px;
    }

    .video-wrapper {
        border-radius: 10px;
        border-width: 2px;
    }
}

@media (max-width: 560px) {
    .agent-hero-container {
        padding: 0 15px;
    }

    .agent-hero-content {
        gap: 25px;
    }

    .agent-info-column {
        gap: 20px;
    }

    .agent-name, .agent-name-properties {
        font-size: 24px;
    }

    .agent-title {
        font-size: 18px;
    }

    .agent-biography h3 {
        font-size: 20px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }

    .video-title {
        font-size: 14px;
    }

    .video-description {
        font-size: 13px;
    }

    .video-wrapper {
        border-radius: 8px;
    }
}
