* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SoehneKraeftig', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
}

/* Hero Section */
.hero-section {
    padding: 0 25px 25px 25px;
    height: calc(100vh - 80px);
    display: flex;
    align-items: flex-end;
}

.hero-container {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.hero-image-wrapper {
    width: 100%;
    height: calc(100vh - 105px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: box-shadow 0.4s ease;
}

.hero-image-wrapper:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   /* background: linear-gradient(to top, rgba(31, 38, 78, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 80%);*/
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 151%;
    display: block;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    text-align: left;
    z-index: 2;
    color: white;
    max-width: 930px;
    padding: 0 40px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-40%);
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.hero-title {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 36px;
    max-width: 650px;
}

/* BOTÓN CON FLECHA SVG */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 44px;
    background: white;
    color: #1f264e;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.3px;
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-btn-icon {
    width: 26px;
    height: 26px;
    background: #1f264e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-btn:hover .hero-btn-icon {
    background: #2d64ad;
    transform: translateX(4px);
}

.hero-btn-icon svg {
    width: 16px;
    height: 16px;
}


/* Regulations Carousel */
.regulations-carousel {
    position: relative;
    padding: 45px 0;
    margin: 0 0;
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.regulations-fixed-label {
    font-size: 15px;
    font-weight: 700;
    color: #1f264e;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    white-space: nowrap;
    padding-left: 50px;
    flex-shrink: 0;
    z-index: 3;
    opacity: 0.9;
    position: relative;
    line-height: 1.4;
}

.regulations-fixed-label::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 45px;
    background: linear-gradient(180deg, transparent 0%, #2d64ad 50%, transparent 100%);
    opacity: 0.8;
}

.regulations-scroll-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.regulations-track {
    display: flex;
    gap: 25px;
    animation: scroll-regulations 35s linear infinite;
    padding: 0;
}

.regulation-card {
    min-width: 150px;
    height: 100px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 22px;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.regulation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2d64ad, #1f264e);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.regulation-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 35px rgba(45, 100, 173, 0.2);
    border-color: rgba(45, 100, 173, 0.15);
}

.regulation-card:hover::before {
    transform: scaleX(1);
}

.regulation-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(0) saturate(100%) invert(15%) sepia(25%) saturate(1800%) hue-rotate(201deg) brightness(92%) contrast(95%);
    opacity: 0.75;
}

.regulation-card:hover .regulation-logo {
    filter: brightness(0) saturate(100%) invert(42%) sepia(73%) saturate(1142%) hue-rotate(191deg) brightness(92%) contrast(88%);
    transform: scale(1.1);
    opacity: 1;
}

.regulations-gradient-left,
.regulations-gradient-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    pointer-events: none;
    z-index: 2;
}

.regulations-gradient-left {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
}

.regulations-gradient-right {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

@keyframes scroll-regulations {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-175px * 6));
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-section {
        padding: 0 20px 20px 20px;
        height: calc(100vh - 75px);
    }
    
    .hero-image-wrapper {
        height: calc(100vh - 95px);
        border-radius: 20px;
    }

    .hero-title {
        font-size: 42px;
        margin-bottom: 20px;
    }

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

    .hero-content {
        right: 30px;
        padding: 0 30px;
        max-width: 500px;
    }

    .hero-btn {
        padding: 16px 36px;
        font-size: 17px;
        gap: 12px;
    }

    .hero-btn-icon {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }

    .regulations-carousel {
        gap: 25px;
        padding: 38px 0;
        margin: 0 0;
    }

    .regulations-fixed-label {
        font-size: 13px;
        padding-left: 30px;
        letter-spacing: 2.5px;
    }

    .regulation-card {
        min-width: 120px;
        height: 85px;
        padding: 18px;
    }

    .regulations-gradient-left {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0 15px 15px 15px;
        height: calc(100vh - 70px);
    }
    
    .hero-image-wrapper {
        height: calc(100vh - 85px);
        border-radius: 18px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 16px;
        letter-spacing: -0.3px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 28px;
        line-height: 1.5;
    }

    .hero-content {
        right: 20px;
        left: 20px;
        text-align: left;
        transform: translate(0, -50%);
        padding: 0 20px;
        max-width: 100%;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translate(0, -45%);
        }
        to {
            opacity: 1;
            transform: translate(0, -50%);
        }
    }

    .hero-btn {
        padding: 14px 32px;
        font-size: 16px;
        gap: 10px;
    }

    .hero-btn-icon {
        width: 22px;
        height: 22px;
        font-size: 15px;
    }

    .regulations-carousel {
        gap: 20px;
        padding: 32px 0;
        margin: 0 0;
    }

    .regulations-fixed-label {
        font-size: 10px;
        padding-left: 20px;
        letter-spacing: 2px;
    }

    .regulation-card {
        min-width: 100px;
        height: 72px;
        padding: 15px;
        border-radius: 14px;
    }

    .regulations-gradient-left {
        width: 70px;
    }

    .regulations-gradient-right {
        width: 80px;
    }

    @keyframes scroll-regulations {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-125px * 6));
        }
    }
}

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

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

    .hero-btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .regulations-fixed-label {
        font-size: 9px;
        padding-left: 15px;
        letter-spacing: 1.5px;
    }

    .regulation-card {
        min-width: 90px;
        height: 65px;
    }

    .regulations-gradient-left {
        width: 60px;
    }
}