@import url(../assets/fonts/stylesheet.css);

:root {
    --color-azul: #25447d;
    --color-dorado: #D9A74A;
    --color-dorado-hover: #F2C85B;
    --color-dorado-oscuro: #8d6d1d;
    --color-blanco: #FFFFFF;
    --color-fondo: #F8F9FA;
    --color-texto: #333333;
    --color-verde: #0b9642;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

html,
body {
    font-family: 'ibmplex-regular', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

main {
    overflow-x: hidden;
    width: 100%;
}

body {
    padding-top: 115px;
}

h1,
h2,
h4 {
    font-family: 'caveat-bold', sans-serif;
    color: var(--color-azul);
    letter-spacing: 1px;
}

h3 {
    font-family: 'ibmplex-bold', sans-serif;
    color: var(--color-fondo);
    letter-spacing: 0px;
}

p,
a,
li {
    font-family: 'ibmplex-regular', sans-serif;
}

a {
    transition: all 0.3s ease-in-out;
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

.fade-transition {
    transition: opacity 0.4s ease-in-out;
}

.fade-out {
    opacity: 0 !important;
}

.text-blanco {
    color: var(--color-blanco) !important;
}

.text-dorado-oscuro {
    color: var(--color-dorado-oscuro) !important
}

.text-dorado {
    color: var(--color-dorado) !important;
}

.text-azul {
    color: var(--color-azul) !important;
}

.bg-blanco {
    background-color: var(--color-blanco) !important;
}

.bg-fondo {
    background-color: var(--color-fondo) !important;
}

.border-bottom-dorado {
    border-bottom: 4px solid var(--color-dorado);
}

.btn-destacado,
.btn-primario {
    background-color: var(--color-dorado);
    color: var(--color-blanco) !important;
    padding: 10px 20px;
    border-radius: 0px;
    font-weight: bold;
    font-family: 'ibmplex-bold', sans-serif;
}

.btn-destacado:hover,
.btn-primario:hover {
    background-color: var(--color-azul);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-sm-verde {
    background-color: #20c997;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s;
    display: inline-block;
    white-space: nowrap;
}

.btn-sm-verde:hover {
    background-color: #17a2b8;
    color: white;
}

.promo-bar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 35px;
    background-color: var(--color-dorado);
    color: var(--color-azul) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-family: 'ibmplex-regular', sans-serif;
    z-index: 990;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.promo-bar:hover {
    background-color: var(--color-azul);
    color: var(--color-blanco) !important;
    text-decoration: none;
}

.promo-bar strong {
    font-family: 'ibmplex-bold', sans-serif;
    letter-spacing: 0.5px;
    margin-right: 5px;
}

.promo-bar i {
    font-size: 1.1rem;
    margin-left: 8px;
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 990;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.go-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-dorado);
    color: var(--color-blanco);
    border: none;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1049;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.go-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top-btn:hover {
    background-color: var(--color-azul);
    color: var(--color-blanco);
}

.main-header {
    background-color: var(--color-blanco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    max-width: 100vw;
    top: 0px;
    z-index: 1000;
    padding: 10px 0;
}

.logo-img {
    max-height: 60px;
}

.desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav li {
    display: inline-block;
    margin-left: 25px;
}

.desktop-nav a {
    color: var(--color-azul);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 5px;
    font-family: 'ibmplex-regular', sans-serif;
}

.desktop-nav a:hover {
    color: var(--color-dorado);
}

.desktop-nav a:not(.btn-destacado)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-dorado);
    transition: width 0.3s ease;
}

.desktop-nav a:not(.btn-destacado):hover::after {
    width: 100%;
}

.nav-arrow {
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--color-dorado);
}

.desktop-nav a:hover .nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    z-index: 1001;
    position: relative;
    float: right;
    display: none;
}

.hamburger-btn:focus {
    outline: none;
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-azul);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 6px;
}

.hamburger-btn span:last-child {
    margin-bottom: 0;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--color-dorado);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--color-dorado);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(248, 249, 250, 0.98);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.mobile-nav.open {
    transform: translateY(0);
}

.mobile-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-links li {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-nav.open .mobile-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.open .mobile-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.open .mobile-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav.open .mobile-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav.open .mobile-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav.open .mobile-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-links a {
    font-size: 2rem;
    font-family: 'ibmplex-regular', sans-serif;
    color: var(--color-azul);
}

.mobile-links a:hover {
    color: var(--color-dorado);
}

.btn-destacado-mobile {
    display: inline-block;
    background-color: var(--color-dorado);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.2rem !important;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'ibmplex-bold', sans-serif !important;
}

@media (max-width: 991px) {
    body {
        padding-top: 130px;
    }
    .desktop-nav {
        display: none !important;
    }

    .promo-bar {
    justify-content: center;
    font-size: 0.7rem;
    font-family: 'ibmplex-regular', sans-serif;
    height: 50px;
    }

    .hamburger-btn {
        display: flex !important;
    }
}

.hero-section,
.hero-conocenos {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section {
    min-height: 80vh;
}

.hero-conocenos {
    min-height: 50vh;
    padding: 140px 0 100px 0;
}

.video-background,
.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video,
.image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 68, 125, 0.768);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--color-blanco);
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-image {
    max-width: 90%;
    height: auto;
    position: relative;
    z-index: 2;
    animation: flotar 4s ease-in-out infinite;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.3));
}

@keyframes flotar {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.subrayado-original,
.subrayado-onda,
.circulo-doodle,
.resaltador-doodle {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.subrayado-original::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 60%;
    left: 0;
    bottom: -16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 50' %3E%3Cpath d='M1.5,18.5c117-6,117,12,248,12s132-15,248-12' fill='none' stroke='%23D9A74A' stroke-width='8' stroke-linecap='round' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
    z-index: -1;
}

.circulo-doodle {
    padding: 0 10px;
    color: var(--color-blanco);
}

.circulo-doodle::after {
    content: '';
    position: absolute;
    width: 125%;
    height: 150%;
    left: -10%;
    top: -18%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50,5 C20,10 5,30 10,60 C15,90 40,95 70,85 C95,75 100,40 80,15' fill='none' stroke='%23D9A74A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
}

.resaltador-doodle::after {
    content: '';
    position: absolute;
    width: 105%;
    height: 40%;
    left: -2.5%;
    bottom: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0,5 Q50,3 100,5' fill='none' stroke='%23D9A74A' stroke-width='10' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: -1;
}

.subrayado-onda::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 18px;
    left: 0;
    bottom: -12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0,10 Q12.5,0 25,10 T50,10 T75,10 T100,10' fill='none' stroke='%23D9A74A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
}

.color-block {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.color-block:hover {
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.block-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(35px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.color-block:hover .block-inner {
    transform: translateY(-15px);
}

.block-title {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--color-blanco) !important;
}

.block-reveal p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--color-blanco) !important;
    opacity: 0.9;
}

.block-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    transition: transform 0.5s ease, color 0.3s ease;
}

.color-block:hover .block-icon {
    transform: scale(1.15);
}

.bg-azul {
    background-color: var(--color-azul);
}

.bg-verde {
    background-color: var(--color-verde);
}

.bg-azul .block-icon {
    color: var(--color-dorado);
}

.bg-azul:hover .block-icon {
    color: var(--color-blanco);
}

.bg-dorado {
    background-color: var(--color-dorado);
}

.bg-dorado .block-icon {
    color: var(--color-azul);
}

.bg-dorado:hover .block-icon {
    color: #FFFFFF;
}

.bg-dorado2 {
    background-color: var(--color-dorado);
}

.bg-dorado2 .block-icon {
    color: var(--color-dorado-oscuro);
}

.bg-dorado2:hover .block-icon {
    color: #FFFFFF;
}

.bg-azul-claro {
    background-color: #4A73BD;
}

.bg-azul-claro .block-icon {
    color: var(--color-azul);
}

.bg-azul-claro:hover .block-icon {
    color: var(--color-blanco);
}

.bg-azul-oscuro {
    background-color: #1A2A47;
}

.bg-azul-oscuro .block-icon {
    color: var(--color-dorado);
}

.bg-azul-oscuro:hover .block-icon {
    color: var(--color-blanco);
}

.block-reveal {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    margin-top: 15px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.color-block:hover .block-reveal {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
    transform: translateY(0);
}

.block-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--color-blanco);
    color: var(--color-blanco);
    font-weight: bold;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: 'ibmplex-bold', sans-serif;
}

.bg-azul .block-btn:hover {
    background-color: var(--color-blanco);
    color: var(--color-azul) !important;
}

.bg-dorado .block-btn:hover {
    background-color: var(--color-blanco);
    color: var(--color-dorado) !important;
}

.bg-azul-claro .block-btn:hover {
    background-color: var(--color-blanco);
    color: #4A73BD !important;
}

.bg-azul-oscuro .block-btn:hover {
    background-color: var(--color-blanco);
    color: #1A2A47 !important;
}

.z-index-2 {
    z-index: 2;
    position: relative;
}

.sticky-wrapper {
    position: sticky;
    top: 120px;
    padding-bottom: 40px;
}

.card-superpuesta {
    padding: 40px;
    border-radius: 8px;
    position: relative;
    transform: scale(1.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-superpuesta:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.border-dorado-sutil {
    border-top: 1px solid rgba(217, 167, 74, 0.4);
    margin: 20px 0;
}

.border-azul-sutil {
    border-top: 1px solid rgba(37, 68, 125, 0.4);
    margin: 20px 0;
}

.border-blanco-sutil {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 20px 0;
}

.accordion-cies .card {
    border: none;
    background-color: transparent;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    margin-bottom: 2px;
}

.accordion-cies .card-header {
    background-color: transparent;
    padding: 0;
    border-bottom: none;
}

.accordion-cies .btn-link {
    color: var(--color-azul);
    font-family: 'ibmplex-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none !important;
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px 10px;
    transition: all 0.3s ease;
}

.accordion-cies .btn-link:hover,
.accordion-cies .btn-link:focus {
    color: var(--color-dorado);
    background-color: rgba(0, 0, 0, 0.02);
}

.icon-rotator {
    transition: transform 0.3s ease;
    color: var(--color-dorado);
}

.accordion-cies .btn-link.collapsed .icon-rotator {
    transform: rotate(-90deg);
    color: #ccc;
}

.accordion-cies .card-body {
    background-color: var(--color-blanco);
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.accordion-cies .card-body ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.accordion-cies .card-body ul li {
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
    color: #555;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
}

.accordion-cies .card-body ul li:last-child {
    border-bottom: none;
}

.accordion-cies .card-body ul li::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-dorado);
}

@media (min-width: 768px) {
    .dos-columnas-lista {
        column-count: 2;
        column-gap: 30px;
    }
}

.lista-instalaciones {
    list-style: none;
    padding: 0;
}

.lista-instalaciones li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lista-instalaciones li i {
    color: transparent;
    transition: color 0.3s ease;
}

.lista-instalaciones li:hover,
.lista-instalaciones li.active {
    color: var(--color-azul);
    font-weight: bold;
    background-color: #f1f4f8;
}

.lista-instalaciones li:hover i,
.lista-instalaciones li.active i {
    color: var(--color-dorado);
}

.imagen-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: visible;
}

.imagen-wrapper img {
    height: 450px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-card-float {
    position: absolute;
    bottom: -30px;
    left: 5%;
    width: 90%;
    background-color: var(--color-blanco);
    padding: 20px 30px;
    border-radius: 5px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 2;
    box-sizing: border-box;
}

.icon-location {
    font-size: 2rem;
    color: var(--color-azul);
}

.text-location strong {
    font-size: 1.1rem;
    color: var(--color-azul);
}

.text-location p {
    font-size: 0.85rem;
    margin: 5px 0 0 0;
}

#carouselInstalaciones {
    border-radius: 10px;
    overflow: hidden;
}

#carouselInstalaciones .carousel-item img {
    height: 600px;
    object-fit: cover;
}

.custom-caption {
    background: rgba(26, 42, 71, 0.8);
    padding: 15px 30px;
    bottom: 30px;
    border-radius: 5px;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
}

.custom-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-blanco);
    opacity: 0.5;
    margin: 0 5px;
}

.custom-indicators .active {
    opacity: 1;
    background-color: var(--color-dorado);
}

.custom-control {
    opacity: 1;
    width: 15%;
    z-index: 10;
}

.control-circle {
    width: 50px;
    height: 50px;
    background-color: var(--color-dorado);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-blanco);
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.custom-control:hover .control-circle {
    background-color: var(--color-azul);
    transform: scale(1.1);
}

.galeria-desfasada {
    position: relative;
    min-height: 450px;
    width: 100%;
}

.galeria-desfasada .bg-shape {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 70%;
    height: 80%;
    border-radius: 0 !important;
    z-index: 1;
}

.galeria-desfasada .img-historia {
    position: absolute;
    border-radius: 0 !important;
    border: none !important;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.galeria-desfasada .img-1 {
    top: 0;
    left: 0;
    width: 60%;
    height: 250px;
    z-index: 2;
}

.galeria-desfasada .img-2 {
    bottom: 0;
    right: 0;
    width: 60%;
    height: 300px;
    z-index: 3;
}

.galeria-desfasada .img-historia:hover {
    transform: scale(1.05);
    z-index: 4;
}

.info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.info-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.card-valor {
    background-color: var(--color-blanco);
    padding: 30px;
    border-radius: 8px;
    height: 100%;
    border-bottom: 4px solid var(--color-dorado);
    transition: transform 0.3s ease;
}

.card-valor:hover {
    transform: translateY(-5px);
}

.calendar-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.month-card {
    background-color: var(--color-blanco);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-azul);
    transition: transform 0.3s ease;
}

.month-card:hover {
    transform: translateY(-5px);
}

.month-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-family: 'ibmplex-bold', sans-serif;
    color: #999;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 5px;
    color: #555;
    background-color: #f4f6f8;
    cursor: default;
    transition: transform 0.2s ease;
    font-family: 'ibmplex-bold', sans-serif;
}

.day-cell:not(.day-empty):hover {
    transform: scale(1.15);
    z-index: 2;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.day-empty {
    background-color: transparent !important;
}

.bg-ciclos {
    background-color: #0ea779 !important;
}

.bg-extraordinario {
    background-color: var(--color-azul) !important;
}

.bg-final {
    background-color: #17a2b8;
}

.bg-asueto {
    background-color: #e74c3c !important;
}

.bg-reinscripcion {
    background-color: var(--color-dorado) !important;
}

.bg-vacaciones {
    background-color: #f5226c !important;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    margin: 5px 15px;
    font-size: 0.95rem;
    font-family: 'ibmplex-bold', sans-serif;
    color: #555;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 8px;
}

.tooltip-inner {
    background-color: var(--color-azul);
    font-family: 'ibmplex-regular', sans-serif;
    font-size: 0.85rem;
    padding: 5px 10px;
}

.tooltip.bs-tooltip-top .arrow::before {
    border-top-color: var(--color-azul);
}

.main-footer {
    background-color: #F8F9FA;
    position: relative;
}

.footer-line {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.footer-line img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.footer-content {
    padding: 60px 15px;
}

.footer-logo {
    max-width: 150px;
    mix-blend-mode: multiply;
}

.address-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.address-text a {
    color: var(--color-azul);
    font-weight: 600;
}

.address-text a:hover {
    color: var(--color-dorado);
}

.link-privacidad {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--color-azul);
    text-decoration: underline;
}

.footer-heading {
    font-family: 'caveat-bold', sans-serif;
    color: var(--color-azul);
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--color-dorado);
    bottom: -6px;
    left: 0;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-azul);
}

.footer-links a:hover::after {
    width: 100%;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 2px solid var(--color-azul);
    border-radius: 50%;
    color: var(--color-azul);
    font-size: 1.2rem;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--color-dorado);
    border-color: var(--color-dorado);
    color: var(--color-blanco);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: var(--color-azul);
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 0;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 991px) {
    .galeria-desfasada {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 30px;
    }

    .galeria-desfasada .bg-shape {
        display: none;
    }

    .galeria-desfasada .img-historia {
        position: relative;
        width: 100%;
        height: auto;
    }

    .galeria-desfasada .img-2 {
        margin-top: -10px;
    }

    /* AJUSTES MÓVIL: EDGE-TO-EDGE Y SEPARACIÓN SUPERIOR */
    .hero-conocenos {
        padding-bottom: 100px !important;
    }

    section[id="derecho"],
    section[id="contaduria"],
    section[id="educacion"],
    section[id="administracion"],
    section[id="maestria"],
    section[id="portal-reglamento"] {
        padding-top: 5px !important;
        padding-bottom: 0 !important;
    }

    section[id] .container.py-4 {
        padding-top: 0 !important;
        padding-bottom: 2rem !important;
    }

    .sticky-wrapper {
        position: relative !important;
        top: auto !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .card-superpuesta {
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
        border-radius: 0 !important;
        padding: 40px 20px !important;
        transform: scale(1) !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    .card-superpuesta:hover {
        transform: translateY(0) !important;
    }

    .col-12.col-lg-7.pl-lg-5.mt-5.mt-lg-0,
    .col-12.col-lg-7.pr-lg-5.order-2.order-lg-1.mt-5.mt-lg-0 {
        margin-top: 2rem !important;
    }

    /* WHATSAPP MÁS GRANDE EN MÓVIL */
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
        font-size: 2.2rem;
    }

    .go-top-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .color-block {
        height: auto;
        padding: 50px 30px;
    }

    .block-inner {
        transform: translateY(0);
    }

    .block-reveal {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        transform: translateY(0);
    }

    .video-background {
        position: absolute;
        top: -50%;
        left: 0;
        width: 100%;
        height: 200%;
        z-index: 0;
    }

    .footer-line img {
        height: 15px;
    }

    .footer-content {
        padding: 50px 20px 30px;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 25px auto;
        display: block;
        max-width: 180px;
    }

    .info-col,
    .links-col,
    .social-col {
        margin-bottom: 45px !important;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .social-icons a {
        margin-right: 0;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .instalaciones-section {
        padding-bottom: 120px !important;
    }

    .info-card-float {
        width: 95%;
        left: 2.5%;
        padding: 15px;
        bottom: -40px;
    }

    .info-card-float .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .info-card-float .mx-3 {
        margin: 0 !important;
    }

    #carouselInstalaciones .carousel-item img {
        height: 350px;
    }

    .custom-control {
        width: 25%;
        margin-left: -6%;
    }

    .control-circle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}