:root {
    --primary-color: #283618;
    --secondary-color: #606c38;
    --accent-color: #bc6c25;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #a55a1f;
    border-color: #a55a1f;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Hero Section con Bootstrap Carousel */
.hero-section {
    margin-top: 65px;
    /* Altura del navbar fijo */
    position: relative;
    z-index: 5;
}

#heroCarousel {
    height: calc(100vh - 76px);
    min-height: 600px;
    position: relative;
    z-index: 5;
}

.hero-slide {
    height: calc(100vh - 76px);
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Personalización de controles del carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Personalización de indicadores */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: white;
    transform: scale(1.2);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {

    /* Hero Carousel */
    .hero-section {
        margin-top: 56px;
        /* Altura del navbar en móviles */
    }

    #heroCarousel {
        height: calc(100vh - 56px);
        min-height: 500px;
    }

    .hero-slide {
        height: calc(100vh - 56px);
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }

    /* Secciones generales */
    .section-title {
        font-size: 2rem;
    }

    .quote-text {
        font-size: 1.5rem;
    }

    #about .col-lg-6 img {
        margin-top: 2rem;
    }
}

/* Interactive Properties Section */
.interactive-properties-section {
    background-color: white;
    padding: 0;
    margin: 0;
    margin-top: 90px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    clear: both;
}

.properties-container {
    height: 436px;
    display: flex;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* Left Content Section */
.properties-content-section {
    flex: 0.5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 40px;
    position: relative;
    background-color: white;
    z-index: 2;
}

.properties-brand-section {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}


.properties-text-content {
    flex: 1;
    max-width: 500px;
}

/* Bottom Section with Text Content */
.properties-bottom-section {
    margin-top: auto;
    padding-top: 20px;
}

.properties-main-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.4rem;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 20px;
    line-height: 1.2;
    transition: all 0.4s ease;
}

.properties-description {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem;
    font-weight: 400 !important;
    color: var(--secondary-color) !important;
    line-height: 1.6;
    transition: all 0.4s ease;
}


.properties-slide-number {
    font-size: 4rem;
    font-weight: 100;
    color: var(--accent-color);
    line-height: 1;
    transition: all 0.4s ease;
}

.properties-slide-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 400;
    margin-bottom: 10px;
    transition: all 0.4s ease;
}

/* Image Section - Enhanced for Parallax */
.properties-image-section {
    flex: 1.5;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    perspective: 1200px;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #f8f9fa;
}

.properties-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-100%) scale(1.1) rotateY(-5deg);
    border-radius: 15px;
    will-change: transform, opacity;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.properties-slide-image.active {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0deg);
}

.properties-slide-image.slide-out-left {
    transform: translateX(-100%) scale(0.9) rotateY(-5deg);
    opacity: 0;
}

/* Moved columns container positioned over image */
.moved-columns-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 25;
    border-radius: 15px;
    overflow: hidden;
}

.moved-columns-container .properties-nav-column {
    pointer-events: all;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    height: 100%;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    transform-origin: center center;
    will-change: transform;
    border-radius: 0;
    margin: 0;
    min-height: 100%;
}

/* Vertical Navigation Columns - Parallax Effect */
.properties-vertical-nav-container {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    z-index: 15;
    width: 480px;
    /* Aumentado para acomodar 6 columnas (6 * 80px) */
    perspective: 1000px;
}

.properties-nav-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    width: 80px;
    height: 100%;
    flex-shrink: 0;
    transform-origin: center center;
    will-change: transform;
    right: 0;
    top: 0;
    margin: 0;
}

/* Parallax movement classes - positioned relative to image */
.moved-columns-container .properties-nav-column[data-slide="1"].parallax-move {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    transform: translateZ(0px);
    z-index: 25;
    width: 80px !important;
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 25px !important;
}

.moved-columns-container .properties-nav-column[data-slide="2"].parallax-move {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    transform: translateZ(0px);
    z-index: 24;
    width: 80px !important;
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 25px !important;
}

.moved-columns-container .properties-nav-column[data-slide="1"].parallax-move-2 {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    transform: translateZ(0px);
    z-index: 26;
    width: 80px !important;
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 25px !important;
}

.moved-columns-container .properties-nav-column[data-slide="2"].parallax-move-2 {
    left: 80px;
    right: auto;
    top: 0;
    bottom: 0;
    transform: translateZ(0px);
    z-index: 25;
    width: 80px !important;
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 25px !important;
}

.moved-columns-container .properties-nav-column[data-slide="3"].parallax-move-2 {
    left: 160px;
    right: auto;
    top: 0;
    bottom: 0;
    transform: translateZ(0px);
    z-index: 24;
    width: 80px !important;
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 25px !important;
}

.moved-columns-container .properties-nav-column[data-slide="4"].parallax-move-2 {
    left: 240px;
    right: auto;
    top: 0;
    bottom: 0;
    transform: translateZ(0px);
    z-index: 23;
    width: 80px !important;
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 25px !important;
}

.moved-columns-container .properties-nav-column[data-slide="5"].parallax-move-2 {
    left: 320px;
    right: auto;
    top: 0;
    bottom: 0;
    transform: translateZ(0px);
    z-index: 22;
    width: 80px !important;
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 25px !important;
}

/* Keep original parallax classes for columns in original container */
.properties-nav-column[data-slide="1"].parallax-move {
    left: 0;
    right: auto;
    transform: translateZ(20px) scale(0.95);
    z-index: 25;
}

.properties-nav-column[data-slide="2"].parallax-move {
    left: 0;
    right: auto;
    transform: translateZ(10px) scale(0.97);
    z-index: 24;
}

.properties-nav-column[data-slide="1"].parallax-move-2 {
    left: 0;
    right: auto;
    transform: translateZ(30px) scale(0.9);
    z-index: 26;
}

.properties-nav-column[data-slide="2"].parallax-move-2 {
    left: 80px;
    right: auto;
    transform: translateZ(20px) scale(0.93);
    z-index: 25;
}

.properties-nav-column[data-slide="3"].parallax-move-2 {
    left: 160px;
    right: auto;
    transform: translateZ(10px) scale(0.95);
    z-index: 24;
}

.properties-nav-column[data-slide="4"].parallax-move-2 {
    left: 240px;
    right: auto;
    transform: translateZ(5px) scale(0.97);
    z-index: 23;
}

.properties-nav-column[data-slide="5"].parallax-move-2 {
    left: 320px;
    right: auto;
    transform: translateZ(0px) scale(0.98);
    z-index: 22;
}

.properties-nav-column:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px) !important;
}

.moved-columns-container .properties-nav-column:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px) !important;
    width: 80px !important;
    height: 100% !important;
    padding: 0 25px !important;
}

.properties-nav-column.active {
    background-color: rgba(188, 108, 37, 0.1);
    border-left-color: var(--primary-color);
    z-index: 15 !important;
}

.moved-columns-container .properties-nav-column.active {
    background-color: rgba(188, 108, 37, 0.1);
    border-left-color: var(--primary-color);
    z-index: 30 !important;
    width: 80px !important;
    height: 100% !important;
    padding: 0 25px !important;
}

.properties-nav-text {
    font-family: 'Montserrat', sans-serif;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.85rem;
    color: #000000;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 900;
    white-space: nowrap;
}

.properties-nav-column:hover .properties-nav-text,
.properties-nav-column.active .properties-nav-text {
    color: var(--primary-color);
    font-weight: 900;
    letter-spacing: 5px;
}

.moved-columns-container .properties-nav-text {
    font-family: 'Montserrat', sans-serif;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.85rem;
    color: #999;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 300;
    white-space: nowrap;
}

.moved-columns-container .properties-nav-column:hover .properties-nav-text,
.moved-columns-container .properties-nav-column.active .properties-nav-text {
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 5px;
}

/* Number indicators */
.properties-nav-column::before {
    content: attr(data-number);
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    font-weight: 100;
    color: var(--primary-color);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.properties-nav-column:hover::before,
.properties-nav-column.active::before {
    color: var(--primary-color);
    font-weight: 200;
}

.moved-columns-container .properties-nav-column::before {
    content: attr(data-number);
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    font-weight: 100;
    color: #f0f0f0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.moved-columns-container .properties-nav-column:hover::before,
.moved-columns-container .properties-nav-column.active::before {
    color: var(--accent-color);
    font-weight: 200;
}

/* Placeholders invisibles para columnas movidas */
.properties-nav-column-placeholder {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth transitions for content changes - Enhanced */
.properties-content-transition {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.properties-main-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.4rem;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 20px;
    line-height: 1.2;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.properties-description {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem;
    font-weight: 400 !important;
    color: var(--secondary-color) !important;
    line-height: 1.6;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* Responsive Design for Properties Section */
@media (max-width: 1200px) {
    .properties-nav-column {
        min-width: 65px;
        padding: 0 18px;
    }

    .properties-nav-text {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    .properties-main-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .properties-container {
        height: 60vh;
        min-height: 500px;
    }

    .properties-content-section {
        padding: 40px 30px;
    }

    .properties-nav-column {
        min-width: 60px;
        padding: 0 15px;
    }

    .properties-nav-text {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .properties-main-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .properties-description {
        font-size: 1rem;
    }

    .properties-slide-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .interactive-properties-section {
        padding: 40px 0;
        overflow: visible;
    }

    .properties-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    /* Ocultar la navegación vertical en móviles */
    .properties-vertical-nav-container,
    .moved-columns-container {
        display: none !important;
    }

    .properties-content-section {
        padding: 0;
        min-height: auto;
        display: block;
        background-color: transparent;
    }

    .properties-image-section {
        display: none;
    }

    /* Crear filas para cada proyecto */
    .mobile-properties-rows {
        display: block;
    }

    .mobile-property-row {
        background: white;
        margin-bottom: 30px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .mobile-property-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .mobile-property-content {
        padding: 30px 20px;
        text-align: center;
    }

    .mobile-property-number {
        font-size: 1.5rem;
        font-weight: 100;
        color: var(--accent-color);
        margin-bottom: 15px;
        display: block;
    }

    .mobile-property-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .mobile-property-description {
        font-family: 'Montserrat', sans-serif;
        font-size: 1rem;
        font-weight: 400;
        color: var(--secondary-color);
        line-height: 1.6;
        margin-bottom: 0;
    }

    /* Responsive adjustments for image sizing */
    .properties-image-section {
        background: transparent;
    }
}

@media (max-width: 576px) {
    .properties-content-section {
        padding: 30px 15px;
        min-height: 350px;
    }

    .properties-image-section {
        height: 320px;
        margin-bottom: 15px;
        border-radius: 15px;
        overflow: hidden;
        background: transparent;
    }
    
    .properties-slide-image {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .properties-main-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .properties-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .properties-slide-number {
        font-size: 2rem;
    }

    .properties-slide-title {
        font-size: 0.9rem;
    }

    .properties-nav-column {
        padding: 12px 8px;
    }

    .properties-nav-text {
        font-size: 0.65rem;
    }

    .properties-nav-column::before {
        font-size: 1rem;
    }

    .properties-brand-section {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }


}

@media (max-width: 400px) {
    .properties-main-title {
        font-size: 1.6rem;
    }

    .properties-description {
        font-size: 0.85rem;
    }

    .properties-slide-number {
        font-size: 1.8rem;
    }

    .properties-image-section {
        height: 280px;
        margin-bottom: 15px;
        border-radius: 15px;
        overflow: hidden;
    }

    .properties-content-section {
        padding: 25px 12px;
        min-height: 320px;
    }
}

/* Navigation */
.navbar {
    background-color: rgba(40, 54, 24, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 15px;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border: none;
    font-size: 2.5rem;
    transition: background 0.2s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #1ebe57;
    color: #fff;
    text-decoration: none;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Subrayado específico para el título de Casos de Éxito */
.services-main-section .section-title {
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features */
/* .feature-card {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    border-left: 4px solid var(--accent-color);
    height: 220px;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    margin-bottom: 0;
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.5;
} */

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.quote-text {
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Project Cards
.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.project-description {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    flex-grow: 1;
} */

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(188, 108, 37, 0.25);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 30px;
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent-color);
}

/* Properties View More Button */
.properties-view-more-btn {
    margin-top: 25px;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.4s ease;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
}

.properties-view-more-btn:hover {
    background-color: #a55a1f;
    border-color: #a55a1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 108, 37, 0.3);
    color: white;
}

.properties-view-more-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(188, 108, 37, 0.25);
    color: white;
}

/* Mobile View More Button */
.mobile-view-more-btn {
    margin-top: 15px;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.mobile-view-more-btn:hover {
    background-color: #a55a1f;
    border-color: #a55a1f;
    transform: translateY(-1px);
}

/* partners section */
.partner-section {
    background-color: #ffffff;
    padding: 100px 0;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
    text-align: center;
}

.partners-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.partners-wrapper {
    display: inline-flex;
    animation: slideInfinite 25s linear infinite;
    will-change: transform;
}

.partners-wrapper:hover {
    animation-play-state: paused;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    min-width: 200px;
    height: 100px;
    flex-shrink: 0;
}

.partner-logo {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Animación infinita */
@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-logo {
        max-height: 45px;
        max-width: 120px;
    }

    .partner-item {
        min-width: 160px;
        padding: 0 30px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .partner-section {
        padding: 60px 0;
    }

    .partners-wrapper {
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .partner-item {
        min-width: 140px;
        padding: 0 25px;
    }

    .partner-logo {
        max-height: 40px;
        max-width: 100px;
    }
}

/* Fade effect at edges */
.partners-container::before,
.partners-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-container::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.partners-container::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

/* Services Section Styles */
.services-sidebar-nav {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.services-nav-item {
    margin-bottom: 0.5rem;
}

.services-nav-link {
    color: #6c757d;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
}

.services-nav-link:hover {
    background-color: #e9ecef;
    color: #495057;
}

.services-nav-link.active {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.services-content-section {
    background-color: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.services-btn-specialist {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.services-btn-specialist:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.services-btn-video {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    margin-bottom: 1rem;
}

.services-btn-video:hover {
    background-color: #e9ecef;
    color: #495057;
}

.services-image-container {
    background-color: #fff;
    border-radius: 20px;
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Imagen de caso de éxito - tamaño fijo y contorno decorativo */
.services-image-container img#successCaseImage {
    width: 100%;
    max-width: 496px;
    height: 340px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(40,54,24,0.13), 0 1.5px 0.5px rgba(188,108,37,0.08);
    background: #e9ecef;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.services-image-container img#successCaseImage:hover {
    box-shadow: 0 12px 36px rgba(40,54,24,0.18), 0 2px 1px rgba(188,108,37,0.12);
    border-color: var(--secondary-color);
}

.services-main-container {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.services-main-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.services-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.services-section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.services-service-item {
    margin-bottom: 1.5rem;
}

.services-service-title {
    font-weight: 600;
    color: #212529;
}

.services-service-description {
    color: #6c757d;
    margin-top: 0.5rem;
}

