/********** Template CSS **********/
:root {
    --primary: #ffffff;
    --light: #949494;
    --dark: #252525;
}

::-webkit-scrollbar {
    display: none;
}

/* Al inicio del archivo */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif  !important;
    scroll-padding-top: 70px;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: rgba(65, 65, 65, 0.95);
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-border {
    width: 4rem;
    height: 4rem;
    border-width: 0.25rem;
    border-color: #ffffff;
    border-right-color: transparent;
}

#spinner img {
    max-width: 80px;
    width: 20%;
    height: auto;
}

@media (max-width: 576px) {
    #spinner .spinner-border {
        width: 3rem;
        height: 3rem;
    }

    #spinner img {
        max-width: 60px;
    }
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: #707070;
    /* border-color: #777777; */
}

.btn-outline-body:hover {
    color: #070707;
    background: #fcfcfc;
    border-color: #646464;
    border-radius: 6px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: white !important;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }dropdown

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Navbar Glass */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    z-index: 2;
    transition: all 0.3s ease,
    background-color 0.3s ease;
}
.navbar-glass.menu-open {
    background: #292929 !important;
}

.navbar-glass.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-glass.navbar-dark {
    background-color: rgb(0 0 0 / 78%);
    padding: 10px 0;
}

.navbar-glass.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-shadow: -1px 1px 5px #000000a1;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #8b8b8b;
}

.logo-subtext {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Navbar Styles */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1030;
    transition: all 0.3s ease-in-out;
    /* background: rgba(0, 0, 0, 0.8); */
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.navbar-brand img {
    width: 60px;
    height: auto;
    transition: all 0.3s ease;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 24px;
    color: #8a8a8a;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-subtext {
    font-size: 12px;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-toggler {
    padding: 4px 8px;
    border: none;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: #ffffff !important;
    font-size: 15px;
    padding: 8px 15px !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50% !important;
    width: 0;
    height: 2px;
    background: #b35454;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-glass {
        padding: 10px 0;
        /* background: #292929; */
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        margin-top: 15px;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-link {
        padding: 12px !important;
        font-size: 14px;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-brand img {
        width: 50px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-subtext {
        font-size: 10px;
    }

    .navbar .nav-item.dropdown {
        width: 100%;
    }
    .navbar .nav-item.dropdown .dropdown-menu {
        min-width: 120px;
        width: 100%;
        left: 0 !important;
        right: auto !important;
        text-align: left;
    }
    .navbar .nav-item.dropdown .dropdown-toggle {
        width: 100%;
        justify-content: flex-start;
    }
    .navbar .nav-item.dropdown .dropdown-item {
        padding: 10px 20px;
        font-size: 15px;
        color: white;
    }
    .navbar .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background: #292929;
        z-index: 9999;
        box-shadow: none;
    }
    .navbar .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu { display: block !important; }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 40px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-subtext {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .navbar-collapse {
        margin-top: 10px;
        padding: 10px;
    }

    .navbar .nav-item.dropdown .dropdown-toggle {
        font-size: 14px;
        padding: 10px 0 !important;
    }
    .navbar .nav-item.dropdown .dropdown-menu {
        font-size: 14px;
    }
    .navbar .nav-item.dropdown .dropdown-item img {
        width: 18px;
        height: 14px;
        margin-right: 8px;
    }
}

/* Animated underline effect */
.navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ff0000;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 100%;
    left: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* border: 1px solid red; */
}


.hero-slider {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
}

.hero-title {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-family: 'Roboto', sans-serif;
}

/* Clase arrow-corners corregida */
.arrow-corners {
    position: relative;
    display: inline-block;
    padding: 20px 40px;
    margin: 20px;
}

.arrow-corners::before,
.arrow-corners::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #fff;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    opacity: 0;
}

/* Esquina superior izquierda */
.arrow-corners::before {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
    animation-name: drawTopLeft;
}

/* Esquina inferior derecha */
.arrow-corners::after {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
    animation-name: drawBottomRight;
}

/* Animaciones */
@keyframes drawTopLeft {
    0% {
        opacity: 1;
        width: 0;
        height: 0;
    }
    50% {
        width: 30px;
        height: 0;
    }
    100% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }
}

@keyframes drawBottomRight {
    0% {
        opacity: 1;
        width: 0;
        height: 0;
    }
    50% {
        width: 30px;
        height: 0;
    }
    100% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
}

/* RESPONSIVE SECCION DE HERO-SECTION */
/* Mejoras responsive para hero section */
@media (max-width: 767.98px) {
    .hero-section {
        height: 100vh; /* Altura más pequeña para móviles */
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .barra_lateral {
        display: none; /* Ocultar barra lateral en móviles */
    }
}

@media (max-width: 340px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-link {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid #FFFFFF;
    border-radius: 15px;
    position: relative;
}

.scroll-link span {
    display: block;
    width: 6px;
    height: 6px;
    background: #FFFFFF;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnimation 2s infinite;
}

.scroll-link span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-link span:nth-child(2) {
    top: 18px;
    animation-delay: 0.3s;
}

.scroll-link span:nth-child(3) {
    top: 26px;
    animation-delay: 0.6s;
}

@keyframes scrollAnimation {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    /* padding: 12px 30px; */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    /* position: relative; */
    overflow: hidden;
    z-index: 1;
    /* font-family: 'Montserrat', sans-serif; */
}
.barra_lateral{
    width: 100px;
    backdrop-filter: blur(10px);
    position: absolute;
    z-index: 9999;
    height: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15); */
}


.btn-primary {
    background-color: #B78D65;
    color: #FFFFFF;
    border: 2px solid #B78D65;
}

.btn-primary:hover {
    background-color: transparent;
    color: #B78D65;
}

.btn-outline-light {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: #FFFFFF;
    color: #252525;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border-radius: 10px;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #363636;
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 36px;
    }

    .logo-text {
        font-size: 24px;
    }

    .logo-subtext {
        font-size: 10px;
    }
}

.center-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px !important;
    border-radius: 20px;
    border-color: #b35454;
}
.centered-small-button {
    width: 250px;
    margin: auto;
    margin-top: 0px;
    margin-bottom: 0px;
}
/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Facts Section Styling */
.fact-item {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(179, 84, 84, 0.1);
    min-height: 450px; /* Altura fija para todos los cards */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #b35454, #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.fact-item:hover::before {
    transform: scaleX(1);
}

.fact-item.hover-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(179, 84, 84, 0.2);
}

.fact-icon {
    width: 120px;
    height: 120px;
    margin: -60px auto 30px;
    position: relative;
    background: #ffffff;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(179, 84, 84, 0.1);
}

.icon-image {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.fact-item:hover .icon-image {
    transform: scale(1.1);
}

.icon-border {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #b35454;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.fact-title {
    color: #252525;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.fact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #b35454;
}

.fact-description {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1; /* Permite que la descripción ocupe el espacio disponible */
    display: -webkit-box;
    /* -webkit-line-clamp: 4; */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 100px;
}

.fact-stats {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(179, 84, 84, 0.1);
}

.counter {
    font-size: 36px;
    font-weight: 700;
    color: #b35454;
    display: block;
    margin-bottom: 5px;
}

.stats-label {
    font-size: 14px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .fact-item {
        margin-bottom: 60px;
        min-height: 400px
    }

    .fact-description {
        padding: 0 10px;
        height: 80px;
    }
}
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: 20px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}

/* Ajustes generales responsive */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    h1.display-5 {
        font-size: 28px;
    }

    .fact-item {
        margin-bottom: 30px;
        min-height: auto;
    }
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid #dc3545;
    z-index: -1;
}


/* Service Section Styling */
.service-item {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-img {
    position: relative;
    overflow: hidden;
}

.service-img .bg-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-item:hover .bg-img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(179, 84, 84, 0.1), rgb(179 84 84 / 9%));
    transition: all 0.3s ease;
}

.service-item:hover .service-overlay {
    background: linear-gradient(rgba(179, 84, 84, 0.4), rgba(179, 84, 84, 0.7));
}

.service-content {
    position: relative;
    padding: 30px;
    text-align: center;
    background: #ffffff;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: -70px auto 20px;
    position: relative;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.service-icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon img {
    transform: scale(1.2);
}

.icon-border {
    position: absolute;
    width: 60%;
    height: 60%;
    border: 2px solid #b35454;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.service-title {
    color: #252525;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #b35454;
}

.service-description {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    /* height: 80px; */
    overflow: hidden;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    color: #b35454;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.service-btn:hover {
    color: #ff6b6b;
}

.service-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .service-item {
        margin-bottom: 30px;
        height: auto;
    }

    .service-description {
        height: auto;
        max-height: none;
    }

    .project-carousel {
        padding: 0 15px;
    }

    .project-item .position-relative {
        height: 300px;
    }
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/* Contact Section */
        #contact {
            background: #000000;
            position: relative;
            overflow: hidden;
            padding: 6rem 0;
        }

        /* Animated Background */
        .background-animation {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }

        .circle {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            animation: float-around 20s infinite ease-in-out;
            opacity: 0.15;
        }

        .circle-1 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, #cacaca, transparent);
            top: 70px;
            left: -100px;
            animation-delay: 0s;
        }

        .circle-2 {
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, #a89074, transparent);
            top: 50%;
            right: -50px;
            animation-delay: 3s;
        }

        .circle-3 {
            width: 350px;
            height: 350px;
            background: radial-gradient(circle, #666666, transparent);
            bottom: -100px;
            left: 30%;
            animation-delay: 6s;
        }

        @keyframes float-around {
            0%, 100% { transform: translate(0, 0) scale(1); }
            25% { transform: translate(50px, -50px) scale(1.1); }
            50% { transform: translate(-30px, 30px) scale(0.9); }
            75% { transform: translate(30px, 50px) scale(1.05); }
        }

        /* Grid Pattern Overlay */
        .grid-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                linear-gradient(rgba(139, 115, 85, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(139, 115, 85, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
            z-index: 1;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
        }

        /* Section Header */
        .section-header {
            text-align: center;
            margin-bottom: 5rem;
            position: relative;
        }

        .section-badge {
            display: inline-block;
            padding: 0.6rem 1.5rem;
            background: linear-gradient(135deg, rgb(78 78 78 / 63%), rgb(234 234 234 / 15%));
            border: 1px solid rgb(167 167 167 / 30%);
            border-radius: 50px;
            color: #ffffff;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 1.5rem;
            backdrop-filter: blur(10px);
        }

        .main-title {
            font-size: 4.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 50%, #8B7355 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1.5rem;
            line-height: 1.1;
            letter-spacing: -2px;
        }

        .subtitle {
            font-size: 1.25rem;
            color: #b8b8b8;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.8;
        }

        /* Main Grid Layout */
        .contact-wrapper {
            display: grid;
            grid-template-columns: 0.9fr 1.1fr;
            gap: 3rem;
            align-items: start;
        }

        /* Contact Info Side */
        .contact-info-section {
            position: sticky;
            top: 2rem;
        }

        .info-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(139, 115, 85, 0.05) 100%);
            backdrop-filter: blur(20px);
            border: 1px solid rgb(255 255 255 / 20%);
            border-right: 0;
            border-top-left-radius: 24px;
            border-bottom-left-radius: 24px;
            border-top-right-radius: 15px;
            border-bottom-right-radius: 15px;
            padding: 2.5rem;
            position: relative;
            overflow: hidden;
        }

        .info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #ffffff, transparent);
        }

        .info-header {
            margin-bottom: 2rem;
        }

        .info-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 0.8rem;
        }

        .info-desc {
            color: #b8b8b8;
            line-height: 1.6;
        }

        .contact-item {
            display: flex;
            align-items: center;
            padding: 1.3rem;
            margin-bottom: 1rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 16px;
            border: 1px solid rgba(139, 115, 85, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .contact-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(139, 115, 85, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .contact-item:hover::before {
            left: 100%;
        }

        .contact-item:hover {
            background: rgba(139, 115, 85, 0.08);
            border-color: rgba(139, 115, 85, 0.3);
            transform: translateX(10px);
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            min-width: 50px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: #ffffff;
            margin-right: 1.2rem;
            position: relative;
            transition: all 0.4s ease;
        }

        .contact-icon.location { background: linear-gradient(135deg, #ffffff, #929292); }
        .contact-icon.phone { background: linear-gradient(135deg, #5a5a5a, #3a3a3a); }
        .contact-icon.email { background: linear-gradient(135deg, #ffffff, #929292); }
        .contact-icon.time { background: linear-gradient(135deg, #707070, #4a4a4a); }

        .contact-item:hover .contact-icon {
            transform: scale(1.15) rotate(10deg);
        }

        .contact-details h5 {
            color: #ffffff;
            font-weight: 600;
            margin-bottom: 0.3rem;
            font-size: 0.95rem;
        }

        .contact-details p {
            color: #b8b8b8;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .contact-details a {
            color: #d4d4d4;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-details a:hover {
            color: #8B7355;
        }

        /* Form Section */
        .form-section {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0% 0%, rgba(139, 115, 85, 0.05) 100%);
            backdrop-filter: blur(20px);
            border: 1px solid rgb(255 255 255 / 20%);
            border-left: 0;
            border-top-right-radius: 24px;
            border-bottom-right-radius: 24px;
            border-top-left-radius: 15px;
            border-bottom-left-radius: 15px;
            padding:1rem;
            position: relative;
            overflow: hidden;
        }

        .form-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #ffffff, transparent);
        }

        .form-header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .form-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 0.8rem;
        }

        .form-subtitle {
            color: #ffffff;
            font-size: 1.05rem;
        }

        /* Custom Select with Cards */
        .service-selector {
            margin-bottom: 2rem;
        }

        .service-label {
            display: block;
            font-size: 0.95rem;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 1rem;
        }

        .service-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .service-card {
            position: relative;
            cursor: pointer;
        }

        .service-card input[type="radio"] {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .service-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1.5rem 1rem;
            background: #fafafa;
            border: 2px solid #e0e0e0;
            border-radius: 16px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .service-option::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(139, 115, 85, 0.1), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-card input:checked + .service-option {
            background: linear-gradient(135deg, #6c6c6c, #3c3b39);
            border-color: #ffffff6b;
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgb(255 255 255 / 40%);
        }

        .service-card:hover .service-option {
            border-color: #8B7355;
            transform: translateY(-2px);
        }

        .service-card input:checked + .service-option::before {
            opacity: 1;
        }

        .service-icon {
            font-size: 2rem;
            margin-bottom: 0.8rem;
            transition: all 0.3s ease;
        }

        .service-card input:checked + .service-option .service-icon {
            transform: scale(1.2);
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        }

        .service-name {
            font-size: 0.9rem;
            font-weight: 600;
            color: #1a1a1a;
            transition: color 0.3s ease;
        }

        .service-card input:checked + .service-option .service-name {
            color: #ffffff;
        }

        /* Form Fields */
        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.2rem;
            margin-bottom: 1.2rem;
        }

        .form-grid.full {
            grid-template-columns: 1fr;
        }

        .form-group {
            position: relative;
        }

        .form-input {
            width: 100%;
            padding: 1.2rem 1.5rem;
            border: 2px solid #e0e0e0;
            border-radius: 14px;
            font-size: 1rem;
            background: #fafafa;
            color: #1a1a1a;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-input:focus {
            border-color: #8B7355;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(139, 115, 85, 0.1);
        }

        .form-label {
            position: absolute;
            left: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            color: #888888;
            font-size: 1rem;
            font-weight: 500;
            pointer-events: none;
            transition: all 0.3s ease;
            background: #fafafa;
            padding: 0 0.5rem;
        }

        .form-input:focus + .form-label,
        .form-input:not(:placeholder-shown) + .form-label {
            top: -0.5rem;
            font-size: 0.75rem;
            color: #8B7355;
            background: #ffffff;
        }

        textarea.form-input {
            min-height: 140px;
            resize: vertical;
            padding-top: 1.5rem;
        }

        textarea.form-input + .form-label {
            top: 1.5rem;
            transform: translateY(0);
        }

        textarea.form-input:focus + .form-label,
        textarea.form-input:not(:placeholder-shown) + .form-label {
            top: -0.5rem;
        }

        /* Submit Button */
        .submit-button {
            width: 100%;
            padding: 1.4rem;
            background: linear-gradient(135deg, #565656 0%, #777 100%);
            border: none;
            border-radius: 14px;
            color: white;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
            margin-top: 1rem;
        }

        .submit-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }

        .submit-button:hover::before {
            width: 400px;
            height: 400px;
        }

        .submit-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgb(255 255 255 / 35%);
        }

        .submit-button:active {
            transform: translateY(-1px);
        }

        .submit-button span {
            position: relative;
            z-index: 1;
        }

        .submit-button i {
            position: relative;
            z-index: 1;
            font-size: 1.4rem;
        }

        /* Map Section */
        .map-section {
            margin-top: 2rem;
            border-radius: 16px;
            overflow: hidden;
            border: 3px solid #e0e0e0;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        .map-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #8B7355, #a89074, #8B7355);
            z-index: 1;
        }

        .map-section iframe {
            display: block;
            width: 100%;
            filter: grayscale(0.2) contrast(1.1);
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .contact-wrapper {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .contact-info-section {
                position: relative;
                top: 0;
            }

            .service-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            #contact {
                padding: 4rem 0;
            }

            .main-title {
                font-size: 2.8rem;
            }

            .form-section,
            .info-card {
                padding: 2rem;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .service-grid {
                grid-template-columns: 1fr;
            }

            .service-option {
                padding: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .main-title {
                font-size: 2rem;
            }

            .form-section {
                padding: 1.5rem;
            }
        }

        /* Fade In Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
        }

        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }
/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
/* Footer Styles */
.footer-section {
    position: relative;
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
    color: #ffffff;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

/* Footer Top */
.footer-top {
    padding: 80px 0 50px;
    position: relative;
}

/* Company Info Widget */
.company-info {
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: center;
}

.footer-logo img {
    filter: drop-shadow(0 0 8px rgba(255, 77, 77, 0.3));
}

/* .logo-text {
    margin-left: 15px;
} */

.logo-text h3 {
    color: #ff4d4d;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.logo-text span {
    font-size: 12px;
    color: #ffffff;
    letter-spacing: 2px;
}

.company-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff4d4d, #ff8080);
    opacity: 0;
    transition: all 0.3s ease;
}

.social-link i {
    position: relative;
    z-index: 2;
}

.social-link:hover {
    transform: translateY(-5px);
    color: #ffffff;
}

.social-link:hover::before {
    opacity: 1;
}

/* Widget Styles */
.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #ff4d4d;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    font-size: 12px;
    margin-right: 10px;
    color: #ff4d4d;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ff4d4d;
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: rotate(90deg);
}

/* Contact Info */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    color: #ff4d4d;
    font-size: 18px;
}

.contact-text {
    /* display: flex; */
    flex-direction: column;
}

.contact-text span,
.contact-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #ff4d4d;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ff4d4d;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff4d4d, #ff8080);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .footer-top {
        padding: 60px 0 30px;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .copyright {
        text-align: center;
    }
}

/* Mejoras footer responsive */
@media (max-width: 767.98px) {
    .footer-widget {
        margin-bottom: 40px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .social-links {
        justify-content: center;
    }
}

/* Banner Section Styles */
.banner-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.banner-image-overlay {
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.banner-content {
    padding-right: 20%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.highlight-text {
    background: #fb6060;
    color: #ffffff;
    padding: 0 10px;
    margin-left: 5px;
    box-shadow: 1px 1px 14px 0px #dc3545;
    border-radius: 4px;
}

.banner-icons {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-icons img {
    filter: invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.banner-icons img:hover {
    transform: translateY(-5px);
    filter: invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@media (max-width: 991.98px) {
    .banner-section {
        min-height: auto;
        padding: 60px 0;
    }

    .banner-image-overlay {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        margin-top: 30px;
        clip-path: none;
    }

    .banner-content {
        padding: 30px;
        margin: 15px;
        text-align: center;
    }
}


/* Project Section Styles */
.project-section {
    background: #f8f9fa;
    padding: 100px 0;
    position: relative;
}

.project-carousel {
    position: relative;
    padding: 0 50px;
}

.project-item {
    margin: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.project-item .position-relative {
    height: 450px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-info {
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-info h5 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.project-info span {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* Hover Effects */
.project-item:hover img {
    transform: scale(1.08);
}

.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-item:hover .project-info {
    transform: translateY(0);
}


/* Para pantallas más pequeñas */
@media (max-width: 768px) {
    .project-carousel .owl-nav {
        padding: 0 10px;
    }

    .project-carousel .owl-nav button {
        width: 45px;
        height: 45px;
    }

    .project-carousel .owl-nav button i {
        font-size: 20px;
    }
}

.project-item:hover {
    transform: scale(1.03);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    padding: 10px;
    transition: all 0.3s ease-in-out;
}

/* ===== MODAL DE PROYECTOS - ESTILOS CORREGIDOS ===== */

/* Modal content base */
.modal-content {
    background: linear-gradient(135deg, #5f2323 0%, #5f2323 50%, #e95e5e 100%) !important;
    border: none !important;
    border-radius: 5px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px);
    overflow: hidden; /* Evita desbordamientos */
}

/* Header del modal */
.modal-header {
    background: linear-gradient(90deg, #5f2323, #a73d3d) !important;
    padding: 25px 30px !important;
    position: relative;
    overflow: hidden;
    border: none !important;
    z-index: 5;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="white" stop-opacity="0.1"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><rect width="100" height="20" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.modal-title {
    font-size: 20px !important;
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 6;
    position: relative;
    display: flex;
    align-items: center;
}

.modal-title .project-icon {
    margin-right: 10px;
    font-size: 1.2rem;
    color: #fff;
}

.btn-close-white {
    filter: brightness(0) invert(1) !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
    z-index: 6;
    position: relative;
}

.btn-close-white:hover {
    opacity: 1 !important;
    transform: rotate(90deg) !important;
}

/* Body del modal - SIN PADDING PARA EVITAR ESPACIOS */
.modal-body {
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

/* ===== GALERÍA DE IMÁGENES ===== */

.gallery-container {
    position: relative;
    width: 100%;
    background: #000; /* Fondo negro para contraste */
}

/* IMAGEN PRINCIPAL - CORREGIDA */
.gallery-main-image {
    width: 100%;
    height: 60vh; /* Altura más manejable */
    max-height: 500px; /* Límite máximo */
    min-height: 300px; /* Mínimo para móviles */
    object-fit: cover;
    display: block; /* Evita espacios en blanco */
    transition: transform 0.3s ease;
    border-radius: 0; /* Sin bordes redondeados que causen problemas */
}

.gallery-main-image:hover {
    transform: scale(1.02); /* Zoom más sutil */
}

/* NAVEGACIÓN DE GALERÍA - Z-INDEX CORREGIDO */
.gallery-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15; /* Z-index más alto */
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.gallery-navigation:hover {
    background: rgba(0, 0, 0, 0.9);
    color: #B78D65;
    border-color: #d4c5b6;
    transform: translateY(-50%) scale(1.1);
}

.gallery-navigation.prev {
    left: 20px;
}

.gallery-navigation.next {
    right: 20px;
}

/* CONTADOR DE IMÁGENES */
.gallery-counter {
    position: absolute;
    top: 20px; /* Movido arriba para no interferir */
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 15;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* MINIATURAS - MEJORADAS */
.gallery-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden; /* Previene scroll vertical en iOS */
    padding: 15px 20px;
    scrollbar-width: thin;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);

    /* ===== FIXES ESPECÍFICOS PARA iOS ===== */
    -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
    scroll-behavior: smooth;
    white-space: nowrap; /* Previene wrap en iOS */

    /* Fuerza el ancho del contenedor */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    /* Asegura que el flex funcione en iOS Safari */
    min-height: 100px; /* Altura mínima explícita */
    align-items: center;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 8px;
    background: transparent;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 20px; /* Margen para que no toque los bordes */
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #B78D65;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.thumbnail-item {
    /* ===== DIMENSIONES FIJAS PARA iOS ===== */
    width: 90px !important; /* Ancho fijo obligatorio */
    min-width: 90px !important; /* Min-width igual al width */
    max-width: 90px !important; /* Max-width para evitar extensión */
    height: 70px !important; /* Altura fija */

    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;

    /* ===== FIXES PARA FLEXBOX EN iOS ===== */
    flex-shrink: 0 !important; /* CRÍTICO: Evita que se encoja */
    flex-grow: 0 !important; /* CRÍTICO: Evita que crezca */
    flex-basis: 90px !important; /* Base fija */

    /* Posicionamiento y display */
    display: inline-block; /* Cambiado a inline-block para iOS */
    vertical-align: top;
    position: relative;

    /* Box model específico */
    box-sizing: border-box;
    margin: 0; /* Sin márgenes que causen problemas */
}


.thumbnail-item.active {
    border-color: #B78D65;
    box-shadow: 0 0 15px rgba(124, 96, 55, 0.5);
}

.thumbnail-item:hover {
    border-color: #6c757d;
    transform: translateY(-2px);
}

.thumbnail-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;

    /* ===== FIXES PARA IMÁGENES EN iOS ===== */
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px; /* Coincide con el contenedor */

    /* Previene distorsión en iOS */
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none; /* Evita interferencias táctiles */
}

/* ===== OVERLAY DE DETALLES - CORREGIDO ===== */
.project-details-overlay {
     background: linear-gradient(90deg, #200202, #6e2121) !important;
    padding: 25px;
    color: white;
    position: relative; /* Cambiado de absolute a relative */
    z-index: 10;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.meta-item i {
    color: #B78D65;
    font-size: 1rem;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
    margin: 0;
}
::view-transition-old(panel-image),
::view-transition-new(panel-image) {
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
}

/* ===== FALLBACK PARA IMÁGENES SIN CARGAR ===== */
.gallery-main-image[src=""],
.gallery-main-image:not([src]) {
    background: linear-gradient(45deg, #2d3748, #4a5568);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-image[src=""]:before,
.gallery-main-image:not([src]):before {
    /* content: "🖼️ Imagen no disponible"; */
    color: #a0aec0;
    font-size: 1.2rem;
}

/* ===== RESPONSIVE ESPECÍFICO PARA iOS ===== */

/* Previene el zoom táctil en iOS */
.gallery-thumbnails,
.thumbnail-item,
.thumbnail-item img {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Fix para el contenedor padre en iOS */
.gallery-container {
    position: relative;
    width: 100%;
    background: #000;

    /* ===== iOS SPECIFIC ===== */
    -webkit-transform: translateZ(0); /* Activa aceleración hardware */
    transform: translateZ(0);
    overflow: hidden; /* Previene scroll accidental */
}

/* Alternativa con CSS Grid para casos extremos */
@supports not (flex-shrink: 0) {
    .gallery-thumbnails {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 90px;
        gap: 12px;
        overflow-x: auto;
        padding: 15px 20px;
    }

    @media (max-width: 768px) {
        .gallery-thumbnails {
            grid-auto-columns: 70px;
            gap: 8px;
        }
    }

    @media (max-width: 576px) {
        .gallery-thumbnails {
            grid-auto-columns: 60px;
            gap: 6px;
        }
    }
}

/* ===== RESPONSIVE - MEJORADO ===== */
@media (max-width: 992px) {
    .gallery-main-image {
        height: 50vh;
        max-height: 400px;
    }

    .gallery-navigation {
        width: 40px;
        height: 40px;
    }

    .gallery-navigation.prev {
        left: 15px;
    }

    .gallery-navigation.next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
    }

    .gallery-main-image {
        height: 45vh !important;
        min-height: 250px;
    }

    .project-details-overlay {
        padding: 20px;
    }

    .project-meta {
        gap: 10px;
    }

    .meta-item {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .modal-title {
        font-size: 16px !important;
    }

    .gallery-navigation {
        width: 35px;
        height: 35px;
    }

    .gallery-counter {
        top: 15px;
        right: 15px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .thumbnail-item {
        min-width: 70px;
        height: 55px;
    }

    .gallery-thumbnails {
        padding: 12px 15px;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .gallery-main-image {
        height: 40vh !important;
        min-height: 200px;
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }



    .project-description {
        font-size: 1rem;
    }
}

/* ===== ELIMINACIÓN DE ESTILOS CONFLICTIVOS ===== */
/* Remover estas clases si existen en tu CSS original: */
/*
.modal-image { ... } - ELIMINAR (causa conflictos de altura)
.image-container { ... } - SIMPLIFICAR (solo background si es necesario)
*/

/* Animaciones para el modal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.show .modal-content {
    animation: fadeInUp 0.5s ease-out;
}

/* Responsive styles for navigation buttons */
@media (max-width: 1200px) {
    .project-carousel .owl-nav button.owl-prev {
        left: 10px;
    }

    .project-carousel .owl-nav button.owl-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .project-carousel .owl-nav button.owl-prev,
    .project-carousel .owl-nav button.owl-next {
        width: 48px;
        height: 48px;
    }

    .project-carousel .owl-nav button i {
        font-size: 20px;
    }
}

/* Estilos para los iconos de contacto lateral */
.barra_lateral .contact-icon-link {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    overflow: hidden;
}

.barra_lateral .contact-icon-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #918f8f, #313131);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.barra_lateral .contact-icon-link i {
    font-size: 0.8rem;
    color: #9b9b9b;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.barra_lateral .contact-icon-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(128, 128, 128, 0.3);
}

.barra_lateral .contact-icon-link:hover::before {
    opacity: 1;
}

.barra_lateral .contact-icon-link:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

/* Tooltip personalizado */
.barra_lateral .contact-icon-link {
    position: relative;
}

.barra_lateral .contact-icon-link::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.barra_lateral .contact-icon-link:hover::after {
    opacity: 1;
    visibility: visible;
    right: 50px;
}


/* Estilos de la sección mapa*/
.ubicaciones-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}

.ubicaciones-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f7f6f6 0%, #757474 50%, #ffffff 50%, #ffffff 100%);
}

/* Estilos del mapa */
.map-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.baja-map {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.baja-map:hover {
    transform: translateY(-5px);
}

#baja-map {
    width: 100%;
    height: auto;
}

.state-outline {
    fill: #f8f8f8;
    stroke: #e63946;
    stroke-width: 2;
    transition: fill 0.3s ease;
}

.location-point {
    fill: #e63946;
    stroke: white;
    stroke-width: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.location-point:hover {
    fill: #c1121f;
    transform: scale(1.5);
    opacity: 1;
}

.location-point.active {
    fill: #c1121f;
    transform: scale(1.5);
    opacity: 1;
    animation: pulse 1.5s infinite;
}

/* Información de ubicación */
.location-info {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-info h3 {
    color: #e63946;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.location-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.location-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.highlight-card {
    flex: 1;
    min-width: 120px;
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 3px solid #e63946;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
}

.highlight-card i {
    font-size: 1.5rem;
    color: #e63946;
    margin-bottom: 10px;
}

.highlight-card h4 {
    margin: 0;
    color: #333;
    font-size: 1rem;
}

.highlight-card p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    color: #666;
}

/* Lista de ubicaciones */
.locations-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.location-item {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-top: 3px solid #e63946;
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(110, 110, 110, 0.2);
}

.location-item i {
    font-size: 2rem;
    color: #a8a8a8;
    margin-bottom: 15px;
}

.location-item h4 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.location-item p {
    margin: 10px 0 0;
    color: #666;
    font-size: 0.9rem;
}

.hero-section-single {
    min-height: 100vh;
    background: #000;
    position: relative;
    overflow: hidden;
}

/* ===== Layout base ===== */
.hero-layout {
    /* display: flex; */
    min-height: 100vh;
    /* padding-left: 90px; */
}

/* Imagen izquierda */
.hero-left {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-left img {
    max-width: 75%;
    max-height: 70vh;
    opacity: 0.85;
}

/* Botones derecha */
.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
}

/* Botones */
.hero-btn {
    position: relative;
    padding: 26px 46px;
    border-radius: 10px;
    color: #e0e0e0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.03),
        rgba(255,255,255,0.01)
    );
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
}

/* Borde animado superior-izquierdo */
.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Borde animado inferior-derecho */
.hero-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn:hover {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.03)
    );
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Activar animación de bordes en hover */
.hero-btn:hover::before,
.hero-btn:hover::after {
    width: 100%;
}

/* Brillo adicional en los laterales */
.hero-btn:hover {
    box-shadow:
        0 8px 24px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2),
        -8px 0 16px rgba(255,255,255,0.05),
        8px 0 16px rgba(255,255,255,0.05);
}

/* Efecto de escaneo (opcional - muy arquitectónico) */
.hero-btn:hover::before {
    animation: scan 1.5s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% {
        transform: translateX(-10px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}
.container-navbar {
    width: 100%;
    padding-right: var(--bs-gutter-x, 1.5rem);
    padding-left: var(--bs-gutter-x, 1.5rem);
    margin-right: auto;
    margin-left: auto;
    max-width: 1920px;
}

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

    .hero-layout {
        flex-direction: column;
        padding-left: 0; /* elimina espacio fantasma */
        padding-top: 120px; /* espacio para navbar */
        min-height: auto;
    }

    .hero-left img {
        max-width: 90%;
        max-height: 40vh;
    }

    .hero-right {
        margin-top: 30px;
        justify-content: center;
    }
}

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

    .hero-btn {
        width: 100%;
        text-align: center;
        max-width: 280px;
    }
}

/* sm */
@media (min-width: 576px) {
    .container-navbar { max-width: 540px; }
}

/* md */
@media (min-width: 768px) {
    .container-navbar { max-width: 720px; }
}

/* lg */
@media (min-width: 992px) {
    .container-navbar { max-width: 960px; }
}

/* xl */
@media (min-width: 1200px) {
    .container-navbar { max-width: 1140px; }
}

/* xxl (custom) */
@media (min-width: 1400px) {
    .container-navbar { max-width: 1920px; }
}

/* Animaciones */
@keyframes pulse {
    0% {
        transform: scale(1.5);
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
    }
    70% {
        transform: scale(1.5);
        box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
    }
    100% {
        transform: scale(1.5);
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .map-container {
        flex-direction: column;
    }

    .baja-map, .location-info {
        max-width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}
