
:root {
    --mardi-red: #E31E24;
    --mardi-red-dark: #b5151a;
    --mardi-yellow: #FFDE00;
    --mardi-dark: #1A1A1A;
    --mardi-gray: #F4F4F4;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--mardi-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, .archivo {
    font-family: 'Archivo Black', sans-serif;
}

/* NAVBAR MEJORADA */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.circle-logo {
    width: 58px;
    height: 58px;
    background-color: var(--mardi-yellow);
    border: 3px solid var(--mardi-red);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 8px rgba(227, 30, 36, 0.2);
}

.mountains-svg {
    width: 38px;
    height: 22px;
    fill: var(--mardi-red);
}

.logo-text-main {
    font-size: 24px;
    color: var(--mardi-red);
    line-height: 0.9;
    font-family: 'Archivo Black', sans-serif;
}

.logo-text-sub {
    font-size: 10px;
    font-weight: 800;
    color: #555;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* HERO SECTION MODERNIZADA */
.hero-section {
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(30%) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(75deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.badge-mardi {
    background: var(--mardi-red);
    color: white;
    padding: 6px 16px;
    font-weight: 800;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.hero-title {
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-style: italic;
    line-height: 1;
    margin-bottom: 25px;
}

.highlight-yellow {
    color: var(--mardi-yellow);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

/* CARDS DE SUCURSALES */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 6px;
    background: var(--mardi-yellow);
}

.card-location {
    background: #fff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-location:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-location .img-wrapper {
    height: 500px;
    overflow: hidden;
    position: relative;
}

.card-location img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card-location:hover img {
    transform: scale(1.1);
}

.card-location .content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.btn-custom {
    padding: 14px 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-mardi-primary {
    background: var(--mardi-red);
    color: white;
}

.btn-mardi-primary:hover {
    background: var(--mardi-red-dark);
    color: white;
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.3);
}

.btn-outline-mardi {
    background: transparent;
    border: 2px solid var(--mardi-red);
    color: var(--mardi-red);
}

.btn-outline-mardi:hover {
    background: var(--mardi-red);
    color: white;
}

/* WHATSAPP FLOAT */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    color: white;
}

/* MOBILE MENU OVERRIDE */
.offcanvas {
    background-color: var(--mardi-dark);
    color: white;
}

.offcanvas .nav-link {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.offcanvas .btn-close {
    filter: invert(1);
}

/* FOOTER */
footer {
    background: var(--mardi-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--mardi-yellow);
    padding-left: 5px;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 70vh;
        padding: 60px 0;
    }
    .card-location .img-wrapper {
        height: 200px;
    }
}

.carousel-item {
    transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    padding: 20px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--mardi-red);
}
.carousel-control-prev,
.carousel-control-next {
    z-index: 20;
}

.hero-overlay {
    z-index: 1;
}

.hero-content {
    z-index: 10;
    position: relative;
}