html {
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    color: #555;
    background-color: #ffffff;
}

@media (min-width: 1200px) {
    .services-section .col-xl {
        flex: 1 0 0%;
        max-width: none;
    }
    .services-section .row {
        justify-content: center;
    }
}

.astrea-col{
    color: #5a8294;
}
/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.animate-on-scroll.animate__animated {
    opacity: 1;
}
.navbar {
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.home-page .navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.inner-page .navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.home-page .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.inner-page .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.inner-page #main-content {
    padding-top: 80px;
}
@media (max-width: 575.98px) {
    .service-card {
        min-height: 260px !important;
    }
}
.navbar .container {
    position: relative;
}
.navbar-brand img {
    transition: all 0.3s ease;
}
.navbar-nav .nav-link {
    color: #9caab9 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: #1f4066 !important;
}
.hero-banner {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../images/banner-img-i.jpg') center center / cover no-repeat;
    position: relative;
}
.dm-font{
    font-family: 'DM Serif Text', serif !important;
}
#main-content {
    scroll-margin-top: 110px;
}
.modern-burger {
    width: 32px;
    height: 32px;
    position: relative;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    margin-right: 0 !important;
}
.burger-line {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #9caab9;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}
.burger-line:nth-child(1) {
    top: 6px;
}
.burger-line:nth-child(2) {
    top: 14px;
}
.burger-line:nth-child(3) {
    top: 22px;
}
.modern-burger.active .burger-line:nth-child(1) {
    top: 14px;
    transform: rotate(135deg);
}
.modern-burger.active .burger-line:nth-child(2) {
    opacity: 0;
    left: -60px;
}
.modern-burger.active .burger-line:nth-child(3) {
    top: 14px;
    transform: rotate(-135deg);
}

@media (min-width: 992px) {
    .modern-burger {
        display: none !important;
    }
    .navbar-nav .nav-link:hover {
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-3px);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    .navbar-nav .nav-link.active {
        color: #5a8294 !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand {
        position: relative;
        z-index: 1060;
    }   
    .navbar-collapse {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        z-index: 1040;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        border-radius: 0;
        padding: 2rem 1rem;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.8);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
    .navbar-nav {
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        max-width: 400px;
        gap: 2rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .navbar-nav .nav-item {
        width: 100%;
        max-width: 280px;
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s ease-out forwards;
    }
    
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(2) { animation-delay: 0.35s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(3) { animation-delay: 0.6s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(4) { animation-delay: 0.85s; }
    
    .navbar-nav .nav-link {
        padding: 1.2rem 2rem;
        text-align: center;
        font-size: 1.4rem;
        font-weight: 400;
        letter-spacing: 1px;
        width: 100%;
        color: #fff !important;
        border: 2px solid transparent;
        border-radius: 50px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        display: block;
    }
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-3px);
        color: #5a8294 !important;
    }    
    .modern-burger {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        z-index: 1050;
        background: transparent !important;
        border-radius: 0;
        padding: 0;
        backdrop-filter: none;
    }
    .navbar-collapse.show .modern-burger {
        position: fixed !important;
        top: 24px;
        right: 24px;
        background: rgba(0, 0, 0, 0.2) !important;
        border-radius: 50%;
        padding: 8px;
        backdrop-filter: blur(10px);
    }
    .navbar-collapse.show .burger-line {
        background: #fff;
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-btn-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.btn-scroll-down {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: subtleBounce 1.5s infinite;
    outline: none;
}
.btn-scroll-down:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation-play-state: paused;
}
.btn-scroll-down:active {
    transform: translateY(-1px);
}
.btn-scroll-down i {
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* ===== BACK TO TOP BTN ===== */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: 2px solid #6d95a5;
    border-radius: 12px;
    background: #6d95a5;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.btn-back-to-top:hover {
    background: #5a8294;
    border-color: #5a8294;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(109, 149, 165, 0.4);
}
.btn-back-to-top:active {
    transform: translateY(-1px);
}
.btn-back-to-top i {
    line-height: 1;
    margin: 0;
    padding: 0;
}

@keyframes subtleBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 2.5rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}
.home-page .services-section {
    padding: 2rem 0;
}

/* Espaciado lateral para cards en móvil */
@media (max-width: 575.98px) {
    .services-section .row{
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* INNER PAGE STYLES */
.inner-page main {
    padding: 3rem 0 4rem 0;
    background-color: #fafbfc;
}
.inner-page main .container {
    background-color: transparent;
    border-radius: 0;
}
.inner-page .section-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #2969b0;
    margin-bottom: 2.5rem;
    position: relative;
}
.inner-page .section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #2969b0;
    border-radius: 2px;
}
.inner-page .section-subtitle {
    color: #5a8294;
}
.inner-page .section-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.inner-page .section-paragraph strong {
    color: #2c3e50;
    font-weight: 600;
}
@media screen and (min-width: 1200px) {
    .inner-page .section-paragraph {
        text-align: justify;
    }
}
.inner-page .section-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.inner-page .section-image.image-1 {
    background-image: url('../images/servicios-page-1.jpg');
}
.inner-page .section-image.image-2 {
    background-image: url('../images/servicios-2.jpg');
}
.inner-page .section-image.image-3 {
    background-image: url('../images/servicios-3.jpg');
}
.inner-page .section-image.image-3 {
    background-image: url('../images/servicios-3.jpg');
}
.inner-page .section-image.image-4 {
    background-image: url('../images/servicios-page-4.jpg');
}
.inner-page .section-image.image-5 {
    background-image: url('../images/servicios-5.jpg');
}
.inner-page .section-image.image-6 {
    background-image: url('../images/nosotros-page-1.jpg');
}
.inner-page .section-with-image {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.inner-page .section-with-image .section-content,
.inner-page .section-with-image .section-image-col {
    display: flex;
    flex-direction: column;
}
.inner-page .section-with-image .section-content {
    justify-content: center;
}
.inner-page .section-with-image .section-image {
    flex: 1;
    min-height: 300px;
}

@media (max-width: 767.98px) {
    .inner-page .section-title {
        font-size: 2.5rem;
    }
    .inner-page .section-image {
        min-height: 250px;
        margin-top: 2rem;
    }
    .inner-page .section-with-image {
        display: block;
    }
    .inner-page .section-with-image .section-content,
    .inner-page .section-with-image .section-image-col {
        display: block;
        margin-bottom: 2rem;
    }
}

.section-list {
    list-style: none;
    padding-left: 0;
}
.section-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}
.section-list li::before {
    content: "";
    position: absolute;
    left: 0;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%232969b0' d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}
.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #213344 0%, #a7ecf5 100%);
    flex-shrink: 0;
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
    display: block;
    opacity: 0;
}
.service-card-image img.loaded {
    opacity: 1;
}
.service-card-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.service-card-image img.loaded + .service-card-image::before,
.service-card-image:has(img.loaded)::before {
    opacity: 0;
}
@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.service-card:hover .service-card-image img {
    transform: scale(1.1);
}
.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 51, 68, 0.8) 0%, rgba(167, 236, 245, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover .service-card-overlay {
    opacity: 1;
}
.service-card-overlay i {
    font-size: 3rem;
    color: white;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}
.service-card:hover .service-card-overlay i {
    transform: scale(1);
}
.service-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}
.service-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.1;
}
.service-card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.3;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }    
    .service-card-image {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
    }   
    .service-card-image {
        height: 160px;
    }
    .service-card-content {
        padding: 1.2rem;
    }
    .service-card-title {
        font-size: 1.2rem;
    }
}

/* ===== PARALLAX SECTION ===== */
.parallax-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.parallax-bg {
    position: absolute;
    top: -70%;
    left: 0;
    width: 100%;
    height: 200%;
    background: url('../images/parallax-home.jpg') center center / cover no-repeat;
    will-change: transform;
    transition: transform 0.1s ease-out;
}
.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(37, 37, 41, 0.8) 100%);
    z-index: 1;
}
.parallax-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
}
.parallax-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}
.parallax-handwritten {
    font-family: 'DM Serif Text', serif !important;
    text-align: left !important;
    font-weight: 400 !important;
    font-size: 2.4rem !important;
    line-height: 1.5 !important;
}

@media (max-width: 991.98px) {
    .parallax-section {
        height: 350px;
    }
    .parallax-content h2,
    .parallax-handwritten {
        font-size: 1.9rem !important;
    }
}

@media (max-width: 767.98px) {
    .parallax-section {
        height: 300px;
    }
    .parallax-content h2,
    .parallax-handwritten {
        font-size: 1.6rem !important;
        line-height: 1.4 !important;
    }
    .parallax-content .container {
        padding: 0 1rem;
    }
    .parallax-bg {
        transform: none !important;
        background-attachment: scroll;
    }
}

/* ===== FOOTER SUPERIOR ===== */
.footer-top {
    background-color: #213344;
    box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.15);
    padding-top: 80px;
    padding-bottom: 60px;
}
.footer-logo img {
    max-height: 80px;
    width: auto;
}
.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}
.footer-content p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.95rem;
}
.footer-link {
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: #5a8294 !important;
}
.footer-top .footer-title{
    color: #6d95a5;
}
.footer-top .footer-link{
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .footer-top {
        text-align: center;
    }    
    .footer-logo {
        margin-bottom: 2rem;
    }
    .footer-content {
        margin-bottom: 2rem;
    }
    .footer-title {
        font-size: 1.1rem;
    }
    .footer-content p,
    .footer-link {
        font-size: 0.9rem;
    }
}

/* ===== FORMULARIO DE CONTACTO ===== */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}
.contact-form .form-label {
    font-weight: 400;
    color: #707070;
    margin-bottom: 0px;
    margin-left: 8px;
}
.contact-form .form-control {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.50rem;
    transition: all 0.3s ease;
}
.contact-form .form-control:focus {
    border-color: #2969b0;
    box-shadow: 0 0 0 0.2rem rgba(41, 105, 176, 0.25);
}
.contact-form .btn-primary {
    background-color: #2969b0;
    border-color: #2969b0;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.contact-form .btn-primary:hover {
    background-color: #1e5496;
    border-color: #1e5496;
    transform: translateY(-2px);
}

/* ===== SECCIÓN DESPACHO ===== */
.despacho-section {
    background-color: #213344;
    margin: 4rem 0;
    width: 100%;
}
.despacho-section .row {
    align-items: stretch;
    min-height: 500px;
}
.despacho-info {
    background-color: #213344;
    color: white;
    display: flex;
    align-items: center;
}
.despacho-content {
    padding: 4rem 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.despacho-section .section-title {
    color: white;
    margin-bottom: 4rem;
}
.despacho-section .section-title::after {
    background-color: #5a8294;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-item i {
    font-size: 1.5rem;
    color: #6d95a5;
    margin-top: 0.2rem;
    min-width: 1.5rem;
}
.contact-item h5 {
    color: #6d95a5;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.contact-item p {
    margin: 0;
    line-height: 1.5;
}
.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-item a:hover {
    color: #6d95a5;
}
.map-container {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}
.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;   
    border-radius: 10px;
}
@media (max-width: 991.98px) {
    .despacho-content {
        padding: 3rem 2rem;
    }    
    .map-container {
        height: 400px;
        /* margin-bottom: 80px; */
        margin: 0 20px 60px 20px;
    }
}

.social-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin: 0;
}
.social-title {
    font-family: 'DM Serif Text', serif;
    font-size: 2.5rem;
    color: #5a8294;
    margin-bottom: 4rem;
    position: relative;
}
.social-title::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #5a8294;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.social-icon:hover::before {
    opacity: 1;
}
.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    cursor: pointer;
}
.social-icon.facebook {
    background: linear-gradient(135deg, #3b5998, #4c70ba);
}
.social-icon.twitter {
    background: linear-gradient(135deg, #000000, #1a1a1a);
}
.social-icon.google {
    background: linear-gradient(135deg, #dd4b39, #c23321);
    position: relative;
}
.social-icon.facebook:hover {
    background: linear-gradient(135deg, #4c70ba, #3b5998);
}
.social-icon.twitter:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}
.social-icon.google:hover {
    background: linear-gradient(135deg, #c23321, #dd4b39);
}
.social-icon.google .plus-sign {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .social-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }    
    .social-icons {
        gap: 1.5rem;
        margin-top: 4rem;
    }
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .container-fluid .d-flex.align-items-center {
        flex-direction: column !important;
    }
    .container-fluid .d-flex.align-items-center .flex-shrink-0 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
    .container-fluid .d-flex.align-items-center i {
        margin-right: 0 !important;
    }
}

@media (max-width: 992px) {
  .d-none-mobile{
    display: none !important;
  }
}

/* ===== CAROUSEL DE CITAS ===== */
.quotes-section {
    background-color: #efefef;
    padding: 4rem 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quotes-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.container-quotes{
    max-width: 650px;
}

@media (max-width: 992px) {
    .container-quotes{
        max-width: 500px;
    }
}
@media (min-width: 1200px) {
    .container-quotes{
        max-width: 1000px;
    }
}

.quotes-item {
    padding: 2rem;
}
.quote-title {
    font-size: 2.4rem;
    color: #213344;
    margin-bottom: 2rem;
    font-weight: 400;
    color: #5a8294;
}
.quote-subtitle {
    font-size: 1.8rem;
    color: #213344;
    line-height: 1.3;
    margin-bottom: 2.0rem;
    font-style: italic;
}
.quote-author {
    font-size: 1.1rem;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 0;
}
.quotes-carousel .carousel-control-prev,
.quotes-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(33, 51, 68, 0.8);
    border-radius: 50%;
    border: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: absolute;
}
.quotes-carousel .carousel-control-prev {
    left: -70px;
}
.quotes-carousel .carousel-control-next {
    right: -70px;
}
.quotes-carousel .carousel-control-prev:hover,
.quotes-carousel .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(33, 51, 68, 1);
    transform: translateY(-50%) scale(1.1);
}
.quotes-carousel .carousel-control-prev-icon,
.quotes-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}
.custom-indicators {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    display: flex;
    justify-content: center;
}
.custom-indicators button {
    border-radius: 0;
    margin: 0 6px;
    background-color: #b4b4b4 !important;
    border: none;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.custom-indicators button.active,
.custom-indicators button:hover {
    background-color: #5a8294 !important;
    opacity: 1;
    transform: scaleY(1.4);
}

@media (max-width: 768px) {
    .quotes-carousel .carousel-control-prev,
    .quotes-carousel .carousel-control-next {
        display: none;
    }
    .quote-title {
        font-size: 2rem;
    }
    .quote-subtitle {
        font-size: 1.3rem;
    }
    .quotes-item {
        padding: 1.5rem;
    }
    .br-quotes{
        display: none;
    }
}

@media (max-width: 576px) {
    .quote-title {
        font-size: 1.8rem;
    }
    .quote-subtitle {
        font-size: 1.2rem;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    padding: 1.5rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid #5a8294;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-banner-text h5 i {
    color: #5a8294;
    font-size: 1.4rem;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner-text a {
    color: #5a8294;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-banner-text a:hover {
    color: #7ba5b5;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #5a8294 0%, #4a7284 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(90, 130, 148, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #4a7284 0%, #3a6274 100%);
    box-shadow: 0 6px 20px rgba(90, 130, 148, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 0;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    .cookie-banner-text {
        min-width: 100%;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        justify-content: center;
        min-width: 150px;
    }
}
