/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
}

.imagen-desarrolladora {
    max-width: 80px !important;
    width: 100%;
    height: 80px;
    height: 100%;
    /* margin-top: 20px; */
}

.imagen-desarrolladora img {
    max-width: 80px !important;
    width: 100%;
  
    height: 80px;
    object-fit: contain;
}

/* ----------------------
    PRIMERA SECCION
------------------------- */

.hero-section {
    width: 100%;
    min-height: 460px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: background-image 1s ease-in-out;
    /* margin-top: 70px; */
    margin-top: 70px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
    color: white;
}

.main-title {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 30px;
    /* text-align: center; */
}

.search-bar {
    display: flex;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-title-1 {
    margin-top: 40px;
}

.dropdown {
    position: relative;
    min-width: 200px;
    border-right: 1px solid #00833E;
}


.dropdown-btn select:focus {
    border: 1px solid red;
}

.dropdown-btn select.focused {
    border: 1px solid red;
}

.cont-rst {
    display: flex;
    /* justify-content:center; */
}

#telefono-error {
    color: red;
}

#nombre-error {
    color: red;
}

#email-error {
    color: red;
}

#categoria-error {
    color: red;
}

#mensaje-error {
    color: red;
}

#search-results {
    margin-top: 0px;
    display: none;
    padding: 0;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #00833E;
    max-width: 816px;
    width: 100%;
}

#search-results a {
    color: #00833E;
}

#search-results a:hover {
    color: #00833E;
    font-weight: bold;
}

.result-item {
    display: block;
    padding: 8px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

a {
    outline: none;
}

.logo {
    outline: none;
}

.result-item:hover {
    background-color: #f1f1f1;
}

.arrow-down {
    margin-left: 10px;
    color: #00833E;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 3;
    border-radius: 0 0 5px 5px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

.search-input {
    flex-grow: 1;
}

.ps3 {
    margin-bottom: 40px;
}

.search-input input {
    width: 100%;
    height: 100%;
    padding: 15px;
    border: none;
    font-size: 14px;
    outline: none;
}

.vm2:hover {
    font-weight: bold;
}

.search-btn {
    background-color: #00833E;
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #1b5e20;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #124734;
    margin-bottom: 40px;
    margin-top: 40px;
}

.image-overlay-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 66.5%;

    /* GRADIENTE VERDE: más oscuro a la derecha, más transparente a la izquierda */
    background: linear-gradient(to left,
            rgba(18, 71, 52, 0.8) 0%,
            rgba(18, 71, 52, 0) 100%);

    /* Asegúrate de usar "opacity" en 0 para luego hacer hover a 1 */
    opacity: 0;
    transition: opacity 0.3s ease;
    /* Para que se desvanezca suavemente */

    display: flex;
    justify-content: flex-end;
    /* Posicionamiento de tu icono a la derecha */
    align-items: flex-start;
    padding: 15px;
}


.property-card-3:hover .image-overlay-3 {
    /* Antes tenías "opacity: 10", 
       ponlo en 1 para que aparezca totalmente */
    opacity: 1;
}


/* === Píldora (ícono + texto) === */
.view-pill-3 {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    background-color: #fff;
    color: #2e7d32;
    /* Verde inicial (icono y texto con currentColor) */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    /* Mostramos solo el círculo (40x40) con el ícono dentro */
    width: 40px;
    height: 40px;
    overflow: hidden;
    /* Ocultará el texto fuera del círculo */
    transition: all 0.3s ease;
}

/* Ícono “ojo” (hereda color de .view-pill, es decir .view-pill { color: #2e7d32 }) */
.view-pill-3 svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    /* Aplica #2e7d32 o #ff6600 según el estado (hover/no hover) */
    fill: none;
}

/* Texto inicialmente oculto (fuera del contenedor “circular”) */
.pill-text-3 {
    margin-left: 8px;
    white-space: nowrap;
    opacity: 0;
    /* Para un fade-in suave */
    transition: opacity 0.3s ease;
}

/* Al hover en la píldora, se expande y cambia a naranja */
.view-pill-3:hover {
    width: auto;
    /* Se ajusta al texto */
    padding: 8px 15px;
    color: #ff6600;
    /* Cambia el color a naranja */
}

/* Mostramos el texto cuando la píldora está en hover (más ancha) */
.view-pill-3:hover .pill-text-3 {
    opacity: 1;
}

/* Estilo para el enlace dentro de .view-pill */
.view-pill-3 a.pill-text-3 {
    color: #ff6600;
    /* Color verde inicial */
    text-decoration: none;
    /* Sin subrayado */
}


.property-details-3 {
    padding: 15px;
}


/* Property Grid */
.properties-grid-3 {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); */
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Property Card */
.property-card-3 {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease;
    position: relative;
    width: 100%;
    /* height: 306px; 
    max-width: 290px;*/
    /* min-width: 280px; */
    cursor: pointer;
}

.property-card-3:hover {
    transform: translateY(-5px);
}

.property-image-3 {
    position: relative;
    height: 200px;
    overflow: hidden;
    width: 100%;
    object-fit: cover;
}

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







.property-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.property-card {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    padding: 12px;
    height: 160px;
    cursor: pointer;
}

.property-image {
    width: 50%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;

}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.property-card:hover .property-image img {
    transform: scale(1.05);

}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* GRADIENTE VERDE: más oscuro a la derecha, más transparente a la izquierda */
    background: linear-gradient(to left,
            rgba(18, 71, 52, 0.8) 0%,
            rgba(18, 71, 52, 0) 100%);

    /* Asegúrate de usar "opacity" en 0 para luego hacer hover a 1 */
    opacity: 0;
    transition: opacity 0.3s ease;
    /* Para que se desvanezca suavemente */

    display: flex;
    justify-content: flex-end;
    /* Posicionamiento de tu icono a la derecha */
    align-items: flex-start;
    padding: 15px;
}

.property-card:hover .image-overlay {
    /* Antes tenías "opacity: 10", 
       ponlo en 1 para que aparezca totalmente */
    opacity: 1;
}

/* === Píldora (ícono + texto) === */
.view-pill {
    position: absolute;
    top: 15px;
    right: 15px;

    background-color: #fff;
    color: #2e7d32;
    /* Verde inicial (icono y texto con currentColor) */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    /* Mostramos solo el círculo (40x40) con el ícono dentro */
    width: 40px;
    height: 40px;
    overflow: hidden;
    /* Ocultará el texto fuera del círculo */
    transition: all 0.3s ease;
}

/* Ícono “ojo” (hereda color de .view-pill, es decir .view-pill { color: #2e7d32 }) */
.view-pill svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    /* Aplica #2e7d32 o #ff6600 según el estado (hover/no hover) */
    fill: none;
    background: white;
    color: #2e7d32;
    position: absolute;
}

/* Al hover en la píldora, el SVG ya no tiene position absolute */
.view-pill:hover svg {
    position: static;
    background: white;
    color: #ff6600;
}

/* Texto inicialmente oculto (fuera del contenedor “circular”) */
.pill-text {
    margin-left: 8px;
    white-space: nowrap;
    opacity: 0;
    /* Para un fade-in suave */
    transition: opacity 0.3s ease;
}

/* Al hover en la píldora, se expande y cambia a naranja */
.view-pill:hover {
    width: auto;
    /* Se ajusta al texto */
    padding: 8px 15px;
    color: #ff6600;
    /* Cambia el color a naranja */

}

/* Mostramos el texto cuando la píldora está en hover (más ancha) */
.view-pill:hover .pill-text {
    opacity: 1;
}

/* Estilo para el enlace dentro de .view-pill */
.view-pill a.pill-text {
    color: #ff6600;
    /* Color verde inicial */
    text-decoration: none;
    /* Sin subrayado */
}


.property-details {
    width: 50%;
    padding: 0 0 0 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 0px;
    border-radius: 3px;
    margin-bottom: 10px;
    margin-top: 40px;
}

.vivienda {
    /* background-color: #ff9800; */
    color: #F78E1E;
}

.apartamentos {
    /* background-color: #ff9800; */
    color: #F78E1E;
}

.property-description {
    color: #4D4D4D;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    /* flex-grow: 1; */
}

.property-price {
    color: #00833E;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
}

.rec-property-price {
    color: #00833E;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
}


.view_here {
    align-items: flex-start;
    background: linear-gradient(270deg, rgba(18, 71, 52, .8) 0, rgba(18, 71, 52, 0));
    display: flex;
    height: 100%;
    justify-content: flex-end;
    left: 0;
    opacity: 0;
    padding: 15px;
    position: absolute;
    top: 0;
    transition: opacity .3s ease;
    width: 100%;
}

@media (max-width: 992px) {
    .property-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .property-cards {
        grid-template-columns: 1fr;
    }

    .property-card {
        height: auto;
        flex-direction: column;
    }

    .property-image {
        width: 100%;
        height: 200px;
    }

    .property-details {
        width: 100%;
        /* padding: 15px 0 0 0; */
    }

    .property-type {
        margin-top: 20px;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-btn {
        padding: 10px !important;
    }

    .cont-rst {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

}

/* ----------------------
    SEGUNDA SECCION
------------------------- */

.categories-section {
    padding: 40px 20px;
    max-width: 90%;
    margin: 0 auto;
}

.categories-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #124734;
    margin-bottom: 40px;
}

.categories-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.categories-wrapper {
    overflow-x: hidden;
    /* Recorta el contenido horizontalmente */
    overflow-y: visible;
    /* Permite que se vean las sombras verticalmente */
    height: 200px;
}

.categories-container {
    display: flex;
    gap: 20px;
    /* overflow-x: hidden; */
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-top: 10px;
}

.categories-container::-webkit-scrollbar {
    display: none;
}

.category-card {
    min-width: 200px;
    padding: 20px;
    background: white;
    box-shadow: 0px 0px 10px #0000004D;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 180px;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg {
    stroke: #2e7d32;
    stroke-width: 1.2;
}

.category-card span {
    color: #124734;
    font-size: 16px;
    font-weight: 900;
}

.project-cardv2 {
    max-height: 85px;
    height: 100%;
    margin: 10px auto;
}

.project-cardv2  {
    text-decoration: none;
    font: normal normal 800 16px/19px Raleway;
    letter-spacing: 0px;
    color: #124734;
}

.projects-containerv2 {
    max-height: 85px;
    height: 100%;
}

.slick-track {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
}

.slick-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.nav-button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #666;
    flex-shrink: 0;
}

.nav-button.prev {
    left: 15px;
}

.nav-button.next {
    right: 15px;
}

.projects-container ul,
.projects-containerv2 ul{
    list-style: none;
}

.projects-container li button,
.projects-containerv2 li button{
    outline: none;
    border: none;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    height: 8px;
    transition: all .3s;
    width: 8px;
    color: transparent;
}

.project-cardv2 li:focus-within{
    width: 24px;
}

.projects-container li.slick-active button,
.projects-containerv2 li.slick-active button{
    background-color: #F78E1E;
    width: 24px;
    border-radius: 4px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #F78E1E;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dot.active {
    background-color: #F78E1E;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .categories-carousel {
        gap: 12px;
    }

    .category-card {
        min-width: 140px;
        padding: 16px;
    }

    .nav-button {
        width: 36px;
        height: 36px;
    }
}

/* ----------------------
    TERCERA SECCION
------------------------- */
.most-viewed-section {
    background-color: #f5f5f5;
    padding: 40px 20px !important;
}

.rec-most-viewed-section {
    background-color: #f5f5f5;
    padding: 40px 20px !important;
}

.container-2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rec-container-2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title-2 {
    font-size: 24px;
    font-weight: 600;
    color: #124734;
    margin-bottom: 24px;
}

.rec-section-title-2 {
    font-size: 24px;
    font-weight: 600;
    color: #124734;
    margin-bottom: 24px;
}

.tabs {
    position: relative;
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #e0e0e0;
}

.rec-tabs {
    position: relative;
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #e0e0e0;
}

.tabs.tabs-list {
  overflow-x: auto;
  scrollbar-width: thin; /* Para Firefox */
  scrollbar-color: #00833e gray; /* Para Firefox: thumb color y track color */
  overflow-y: hidden;
}

/* Estilos para navegadores WebKit (Chrome, Edge, Safari) */
.tabs.tabs-list::-webkit-scrollbar {
  height: 8px; /* Altura de la barra de scroll horizontal */
}

.tabs.tabs-list::-webkit-scrollbar-track {
  background: gray; /* Color de fondo de la barra (track) */
}

.tabs.tabs-list::-webkit-scrollbar-thumb {
  background-color: #00833e; /* Color del botón (thumb) */
  border-radius: 4px;
}

.tabs.has-scroll .tab-indicator {
  display: none !important;
}

.tab-button {
    background: none;
    border: none;
    padding: 8px 0;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
      min-width: 150px;
}

.tab-button.active {
    color: #2e7d32;
    font-weight: 500;
}
.tabs.has-scroll .tab-button {
  position: relative;
  padding-bottom: 7px;
}

.tabs.has-scroll .tab-button.active {
  border-bottom: .5px solid #2e7d32;
  transform 0.3s;
}

.tabs.has-scroll .tab-button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #2e7d32;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.tabs.has-scroll .tab-button.active::after {
  transform: scaleX(1);
}

.rec-tab-button {
    background: none;
    border: none;
    padding: 8px 0;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.rec-tab-button.active {
    color: #2e7d32;
    font-weight: 500;
}

.tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 48px;
    background-color: #2e7d32;
    transition: transform 0.3s;
}

.rec-tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 48px;
    background-color: #2e7d32;
    transition: transform 0.3s;
}

.properties-carousel {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
    overflow: hidden;
}

.rec-properties-carousel {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
    overflow: hidden;
}

.properties-container {
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.properties-container::-webkit-scrollbar {
    display: none;
}

.rec-properties-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.rec-properties-container::-webkit-scrollbar {
    display: none;
}

.property-card-2 {
    /* min-width: 280px; */
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.rec-property-card-2 {
    /* min-width: 280px; */
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.property-image-2 {
    width: 100%;
    height: 200px;
    background: linear-gradient(to left, rgba(18, 71, 52, 0.8) 0%, rgba(18, 71, 52, 0) 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
}


.property-image-2 img {
    width: 100%;
    height: 200px;
    object-fit: cover;

}

.rec-property-image-2 {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-card-2:hover .property-image-2 {
    /* Antes tenías "opacity: 10", 
       ponlo en 1 para que aparezca totalmente */
    opacity: 1;
}


/* === Píldora (ícono + texto) === */
.view-pill-3 {
    position: absolute;
    top: 15px;
    right: 15px;

    background-color: #fff;
    color: #2e7d32;
    /* Verde inicial (icono y texto con currentColor) */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    /* Mostramos solo el círculo (40x40) con el ícono dentro */
    width: 40px;
    height: 40px;
    overflow: hidden;
    /* Ocultará el texto fuera del círculo */
    transition: all 0.3s ease;
}


/* Ícono “ojo” (hereda color de .view-pill, es decir .view-pill { color: #2e7d32 }) */
.view-pill-3 svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    /* Aplica #2e7d32 o #ff6600 según el estado (hover/no hover) */
    fill: none;
    background: white;
    color: #2e7d32;
    position: absolute;
}

/* Al hover en la píldora, el SVG ya no tiene position absolute */
.view-pill-3:hover svg {
    position: static;
    background: white;
    color: #ff6600;
}


/* Texto inicialmente oculto (fuera del contenedor “circular”) */
.pill-text-3 {
    margin-left: 8px;
    white-space: nowrap;
    opacity: 0;
    /* Para un fade-in suave */
    transition: opacity 0.3s ease;
}

/* Al hover en la píldora, se expande y cambia a naranja */
.view-pill-3:hover {
    width: auto;
    /* Se ajusta al texto */
    padding: 8px 15px;
    color: #ff6600;
    /* Cambia el color a naranja */
}

/* Mostramos el texto cuando la píldora está en hover (más ancha) */
.view-pill-3:hover .pill-text-3 {
    opacity: 1;
}

/* Estilo para el enlace dentro de .view-pill */
.view-pill-3 a.pill-text-3 {
    color: #ff6600;
    /* Color verde inicial */
    text-decoration: none;
    /* Sin subrayado */
}

.rec-most-viewed-section .slick-slide,
.most-viewed-section .slick-slide{
    flex-direction: column;
    align-items: flex-start !important;
    margin: 10px;
}



.property-details-2 {
    padding: 16px;
}

.rec-property-details-2 {
    padding: 16px;
}

.category-label {
    display: inline-block;
    font-size: 12px;
    color: #F78E1E;
    margin-bottom: 8px;
}

.rec-category-label {
    display: inline-block;
    font-size: 12px;
    color: #F78E1E;
    margin-bottom: 8px;
}

.property-description-2 {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.rec-property-description-2 {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.carousel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rec-carousel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.view-all {
    color: #00833E;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.rec-view-all {
    color: #00833E;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.rec-view-all:hover {
    text-decoration: underline;
}

.navigation-buttons {
    display: flex;
    gap: 8px;
}

.rec-navigation-buttons {
    display: flex;
    gap: 8px;
}

.nav-button-2 {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #00833E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}

.nav-button-2:hover {
    background-color: #00833e60;
}

.rec-nav-button-2 {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #00833E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}

.rec-nav-button-2:hover {
    background-color: #00833e60;
}


@media (max-width: 768px) {
    .properties-container {
        gap: 16px;
    }

    .property-card {
        min-width: 260px;
    }

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

/* ----------------------
    CUARTA SECCION
------------------------- */
.contact-projects-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.container-3 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Contact Form Styles */
.contact-form-wrapper {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.section-description {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2e7d32;
}

.submit-button {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

.submit-button:hover {
    background-color: #f57c00;
}

/* Projects Carousel Styles 
.projects-section {
    margin-top: 60px;
}
*/
/*CLASES PARA EL CAROUSEL DE CATEGORIAS*/
 .projects-carousel {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
} 

.projects-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px;
    margin: -4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: center;
}
/*
.projects-containerv2 {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px;
    margin: -4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: center;

} */



.projects-container::-webkit-scrollbar {
    display: none;
}

.project-card {
    max-width: 220px;
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.project-icon {
    color: #1a1a1a;
    margin-bottom: 8px;
}

.project-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.project-card p {

      color: #666;
    font-size: 14px;
    margin: 0;
    height: 50px;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: normal;
}

.view-more {
    color: #2e7d32;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-more span {
    font-size: 18px;
}

.buttons-carrousel {
    margin-top: 15px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: #F78E1E !important;
    font-size: 2rem;
    cursor: pointer;
    transform: translateY(-60%);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #ff9800;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .project-card {
        min-width: 200px !important;
    }
}

/* ----------------------
    BANNER SECCION
------------------------- */
/**********************************************
 *   ESTILOS PRIMER BANNER 
 **********************************************/
.banner-section {
    width: 100%;
    padding: 20px;
    /* background-color: #FFFFFF; */
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f2f2f2;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.image-side {
    width: 40%;
}

.house-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
}

.text-side {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.banner-title {
    font-size: 42px;
    font-weight: 700;
    color: #124734;
    line-height: 1.2;
    text-align: right;
    margin: 0;
}

.info-button {
    background-color: #FF8300;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.info-button:hover {
    background-color: #f57c00;
}

@media (max-width: 768px) {
    .banner-container {
        padding: 20px;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .image-side {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .house-image {
        max-width: 200px;
    }

    .text-side {
        width: 100%;
        align-items: center;
    }

    .banner-title {
        font-size: 32px;
        text-align: center;
    }
}


/**********************************************
 *   ESTILOS SEGUNDO BANNER (CORPORATIVO)
 **********************************************/
.dos-banners {
    background-color: #FFFFFF;
}

.banner-section-corporativo {
    width: 100%;
    padding: 20px;
    /* background-color: #FFFFFF; */
}

.banner-container-corporativo {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.banner-container-corporativo2 {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.banner-content-corporativo2 {
    background-image: url('https://21994660.fs1.hubspotusercontent-na1.net/hubfs/21994660/Banrural%20vivienda%20test/Grupo%202855.png');
    background-size: cover;
    background-position: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px;
}

.banner-content-corporativo {
    background-image: url('https://21994660.fs1.hubspotusercontent-na1.net/hubfs/21994660/Banrural%20vivienda%20test/BANNER-BANRURAL.png');
    background-size: cover;
    background-position: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px;
}

.text-side-corporativo {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.banner-title-corporativo {
    font-size: 42px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    text-align: right;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.title-corporativo {
  color: #00833e !important;
  font-weight: 700;
}

.info-button-corporativo {
    background-color: #FF8300;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.info-button-corporativo:hover {
    background-color: #f57c00;
}

@media (max-width: 768px) {
    .banner-content-corporativo {
        background-image: none;
        background-color: #007D33;
        padding: 30px 20px;        
        justify-content: center;
        min-height: 200px;
    }

    .banner-content-corporativo2 {
        background-image: none;
        background-color: #EFEFEB;
        padding: 30px 20px;
        justify-content: center;
        min-height: 200px;
    }

    .text-side-corporativo {
        width: 100%;
        align-items: center;
    }

    .banner-title-corporativo {
        font-size: 32px;
        text-align: center;
    }
}


/* ----------------------
    FORM SECCION
------------------------- */



.container-form {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.form-section {
    width: 70%;
    background: white;
    padding: 20px;
    /* border-radius: 8px; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-right: -10%;
    z-index: 2;
}

.images-section {
    width: 65%;
    position: relative;
}

.main-image {
    width: 80%;
    height: auto;
    display: block;
    /* border-radius: 8px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: -50px;
    margin-left: 50px;
}

@media (max-width: 1068px) {
  .main-image {
    margin-left: 100px; 
  }  
}

.secondary-image {
    position: absolute;
    top: calc(100% - 55px);
    left: calc(100% - 370px);
    width: 60%;
    max-width: 500px;
    height: auto;
    /* border: 4px solid white; */
    /* border-radius: 8px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.h1-form {
    color: #124734;
    font-size: 28px;
    margin-bottom: 20px;
}

.description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: justify;
}

.form-row {
    display: flex;
    /* Para colocar los hijos en línea */
    gap: 1rem;
    /* Espacio horizontal entre inputs */
    flex-wrap: wrap;
    /* Por si en pantallas pequeñas quieres que salte a otra línea */
    margin-bottom: -10px;
}

.form-group {
    flex: 1;
    /* Permite que cada form-group ocupe el mismo ancho */
    margin-bottom: 20px;
}

.form label {
    display: block;
    color: #124734;
    font-weight: 500;
    font-size: 14px;
}

.form input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form input::placeholder,
textarea::placeholder {
    color: #999;
}

.form textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    background-color: #FF8300;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin-left: auto;
    margin-top: 30px;
}

.submit-button:hover {
    background-color: #e67600;
}

@media (max-width: 968px) {
    .container-form {
        flex-direction: column;
    }

    .form-section {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        order: 2;
    }

    .images-section {
        display: none;
    }
}

@media (max-width: 810px) {
    .dots-cat,
    .next-cat,
    .prev-cat
    {
    display: flex !important;
}

}

@media (max-width: 500px) {
    .form label {
        display: block;
        color: #124734;
        font-weight: 500;
        font-size: 13px;
    }

    .project-card {
        min-width: 300px;
    }

}

.bg-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.new-bg-image{
    opacity: 1;
}

.bg-image-1 {
    background-image: url('https://banrural.niu.marketing/hubfs/Vivienda%20-%20Archivos/image-bg-home1.avif');
}

.bg-image-2 {
    background-image: url('https://banrural.niu.marketing/hubfs/Vivienda%20-%20Archivos/image-bg-home2.avif');
}

.bg-image-3 {
    background-image: url('https://banrural.niu.marketing/hubfs/Vivienda%20-%20Archivos/image-bg-home3.avif');
}

.bg-image-4 {
    background-image: url('https://banrural.niu.marketing/hubfs/Vivienda%20-%20Archivos/image-bg-home4.avif');
}

.project .project-card, .dev .project-card {
    height: max-content !important;
    margin: 10px auto !important;
    height: 100%;
}

#bg-container {
    background: rgba(255, 255, 255, 0.21);
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(4.5px);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
}

.content-card{
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    width: 100%;
    background-color: white;
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-card:active{
    cursor: grabbing;
}

.relative{
    position: relative;
}

.image-card {
    width: 100%;
    height: 100%;
}

.image-card img {
    border-radius: 10px;
}

.img-overlay{
    align-items: flex-start;
    background: linear-gradient(270deg, rgba(18, 71, 52, .8) 0, rgba(18, 71, 52, 0));
    height: 100%;
    border: 0 solid transparent;
    border-radius: 10px;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity .3s ease;
    width: 100%;
}

.content-card:hover .img-overlay {
    opacity: 1;
}

.content-card .view-pill-3{
    outline: none;
    border: none;
    z-index: 0;
}

.content-card:hover .view-pill-3{
    z-index: 1;
}

.phone-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-input-fields {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

#countryCodeSelect {
    flex-shrink: 0;
    width: auto;
    max-width: 100px;
}

#telefono {
    flex-grow: 1;
    min-width: 120px;
}

.phone-input-wrapper label.error {
    display: block;
    width: 100%;
    margin-top: 5px;
    color: red;
    font-size: 0.9em;
}

@media (max-width: 600px) {
    .phone-input-fields {
        flex-direction: column;
        gap: 5px;
    }
    #countryCodeSelect,
    #telefono {
        width: 100%;
        max-width: 100%;
    }
  .form-row {
    flex-direction: column;
  }
}



/* Eventos y promociones Slider Styles */

.eventos-promos-section {
    background-color: #f5f5f5;
    padding: 40px 20px !important;
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap; 
}

.event-slider {
    position: relative;
}

.eventos-promos-section .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #124734;
    margin-bottom: 40px;
    margin-top: 0px;
}

.event-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 85%;
    object-fit: contain;
    position: absolute;
    top: 0;            
    left: 0;
    opacity: 1;        
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
}
.slider-navigationE {
    position: absolute;
    bottom: 20px;
    left: 0px;
    right: 0px;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    justify-content: center;
}


.nav-buttonsE {
    display: flex;
    gap: 8px;
}

.nav-buttonE {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background-color: #00833E;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-buttonE:hover {
    background-color: #1b5e20;
}

.slider-eventos {
  width: 45%;
}

.nav-buttonE.prevE {
    left: 15px;
}

.nav-buttonE.nextE {
    right: 15px;
}

.promocion-slider {
    position: relative;
}

.promocion-image {
    width: 100%;
    height: 400px;    
    overflow: hidden;
}

.promocion-image img {
    width: 100%;
    height: 85%;
    object-fit: contain;
}

.slider-navigationP {
    position: absolute;
    bottom: 20px;
    left: 0px;
    right: 0px;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    justify-content: center;
}


.nav-buttonsP {
    display: flex;
    gap: 8px;
}

.nav-buttonP {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background-color: #00833E;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-buttonP:hover {
    background-color: #1b5e20;
}

.slider-promociones {
  width: 45%;
}

.container-anuncio{
  width: 100%;
  display: flex;
  padding-bottom: 40px;
  justify-content: center;
}

.estilo-anuncio-letras{
  text-align: center;
  color: #124734;
  font: normal normal 700 24px / 29px Raleway;
  letter-spacing: 0;
  opacity: 1;
  padding: 10px 20px;
  border-radius: 25px;
}

.nav-buttonP.prevP {
    left: 15px;
}

.nav-buttonP.nextP {
    right: 15px;
}

@media (max-width: 768px) {
  .slider-eventos {
    width: 100%;
  }
  .slider-promociones {
    width: 100%;
  }
}