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

html,
body {
    width: 100%;
    overflow-x: hidden;
    font-family: var(--font-identa-gray);
    color: #6d6d6d;
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: sticky;
    top: var(--site-header-offset);
    background: var(--azul-oscuro);
    height: 850px;
    z-index: 3;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-decoration {
    position: absolute;
    height: 100%;
    top: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-decoration.left {
    left: -25%;
}

.hero-decoration.right {
    right: -25%;
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-identa-black);
    color: var(--blanco);
    z-index: 4;
    max-width: 900px;
    left: 20%;
}

.hero-content h1 {
    font-family: var(--font-identa-black);
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-highlight {
    font-family: var(--font-identa-darkgray);
    background-color: var(--celeste-pastel);
    color: var(--blanco);
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 18px;
    margin-bottom: 25px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-highlight:hover {
    background-color: var(--cian);
    transform: scale(1.05);
}

.description {
    font-family: var(--font-identa-darkgray);
    font-size: 20px;
    line-height: 1.5;
}

.btn-certificate {
    font-family: var(--font-identa-darkgray);
    background: var(--celeste-pastel);
    color: var(--blanco);
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    margin-top: 25px;
    transition: background 0.3s;
}

.btn-certificate:hover {
    background: var(--cian);
}

.hero-logo-overflow {
    position: absolute;
    height: 340px;
    width: auto;
    bottom: -120px;
    right: 5%;
    z-index: 20;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

.hero-slide.active .hero-logo-overflow.animate-zoom {
    animation: zoomInLogo 1.2s cubic-bezier(0.17, 0.67, 0.83, 0.67) forwards;
}

.hero-content.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-center {
    height: 120px;
    margin-bottom: 5px;
    filter: brightness(0) invert(1);
}

.text-center {
    font-family: var(--font-identa-black);
    font-size: 32px;
    color: var(--blanco);
    text-transform: none;
    margin: 10px 0;
}

.logo-caarem {
    height: 55px;
    width: auto;
    margin-top: 5px;
}

.hero-waves-bg {
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: auto;
    opacity: 0.3;
    z-index: 4;
    pointer-events: none;
}

.hero-slide:nth-child(3) .hero-content.center-left {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.hero-slide:nth-child(3) .logo-center {
    filter: brightness(0) invert(1);
    height: 110px;
    margin-bottom: 10px;
}

.hero-slide:nth-child(3) .text-center {
    font-family: var(--font-alt-extrabold);
    font-size: 34px;
    color: var(--blanco);
    margin: 5px 0;
}

.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--blanco);
    background: transparent;
    cursor: pointer;
}

.slider-dot.active {
    background: var(--cian);
}

/* ================= ANIMACIONES ================= */
@keyframes mareaInLeft {
    0% {
        opacity: 0;
        transform: translateX(-300px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes mareaInRight {
    0% {
        opacity: 0;
        transform: translateX(300px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomInLogo {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-5deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.hero-slide.active .animate-marea-left {
    animation: mareaInLeft 8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.hero-slide.active .animate-marea-right {
    animation: mareaInRight 8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.hero-slide.active .animate-zoom {
    animation: zoomInLogo 3s ease-out forwards;
}

/* ================= BIENVENIDOS ================= */
.welcome-section {
    position: relative;
    z-index: 2;
    background-color: var(--blanco);
    background-image: url('../assets/png/Fondo_Ondulado_Mid.png');
    background-position: center -100px;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0 140px 0;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.15);
}

.welcome-header {
    text-align: center;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-header h2 {
    font-family: var(--font-black);
    color: var(--azul-oscuro);
    font-size: 40px;
    text-transform: capitalize;
    font-weight: 800;
}

.onda-grafica {
    width: 108px;
    margin-top: 10px;
    filter: invert(81%) sepia(21%) saturate(830%) hue-rotate(167deg) brightness(91%) contrast(88%);
}

.welcome-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 80px;
    padding: 0 40px;
}

.welcome-images {
    flex: 1.4;
}

.image-composite {
    position: relative;
    width: 100%;
}

.bg-block {
    width: 100%;
    display: block;
    position: relative;
}

.team-photo {
    position: relative;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transform: none;
    top: 0;
    left: 0;
    border-radius: 5px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0);
}

.badge-100 {
    position: absolute;
    bottom: -60px;
    left: 40px;
    height: 100px;
    z-index: 10;
}

.welcome-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.iso-logo {
    height: 130px;
    margin-bottom: 20px;
    align-self: center;
    filter: brightness(0) saturate(100%) invert(13%) sepia(85%) saturate(3061%) hue-rotate(211deg) brightness(94%) contrast(105%);
}

.welcome-text h3 {
    font-family: var(--font-identa-semiblack);
    color: var(--azul-oscuro);
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 800;
}

.welcome-text p {
    font-family: var(--font-identa-gray);
    color: var(--gris-suave);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 35px;
    text-align: justify;
}

.signature {
    height: 90px;
    align-self: center;
    margin-top: 20px;
}

.scroll-fade-down {
    opacity: 0;
    transform: translateY(-80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-down.is-visible,
.scroll-fade-right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ================= SECCIÓN SERVICIOS ================= */
.services-section {
    position: relative;
    z-index: 2;
    background-color: transparent;
    width: 100%;
}

.services-top {
    background-image: url('../assets/png/Ondas_Circulares_Blancas.png'), url('../assets/png/Fondo_Azul.png');
    background-position: 125% 75%, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: auto 135%, cover;
    padding: 80px 5% 350px 5%;
    color: var(--blanco);
}

.services-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
}

.services-title-left {
    position: absolute;
    left: 0;
    top: 0;
}

.services-title-left h2 {
    font-family: var(--font-alt-bold);
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--celeste-pastel);
}

.services-title-left h2 img {
    height: 10px;
    filter: brightness(0) saturate(100%) invert(80%) sepia(20%) saturate(1000%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.services-title-center {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-title-center h2 {
    font-family: var(--font-identa-semiblack);
    font-size: 36px;
    color: var(--celeste-pastel);
    margin-bottom: 15px;
}

.services-title-center p {
    font-family: var(--font-identa-gray);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: var(--blanco);
}

.btn-brochure {
    font-family: var(--font-identa-semiblack);
    background-color: var(--blanco);
    color: var(--azul-oscuro);
    padding: 8px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn-brochure:hover {
    background-color: var(--celeste-pastel);
    color: var(--blanco);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    font-family: var(--font-identa-darkgray);
    position: relative;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    margin-top: 40px;
    height: 110px;
    padding: 5px 10px 0px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(0, 45, 106, 0.4);
}

.service-card:hover {
    transform: none;
    background: rgba(0, 45, 106, 0.8);
}

.service-card.card-admin {
    --service-card-corner-color: var(--color-admin);
}

.service-card.card-admin:hover {
    border-color: var(--color-admin);
}

.service-card.card-rh {
    --service-card-corner-color: var(--color-rh);
}

.service-card.card-rh:hover {
    border-color: var(--color-rh);
}

.service-card.card-info {
    --service-card-corner-color: var(--color-info);
}

.service-card.card-info:hover {
    border-color: var(--color-info);
}

.service-card.card-juridico {
    --service-card-corner-color: var(--color-juridico);
}

.service-card.card-juridico:hover {
    border-color: var(--color-juridico);
}

.service-card.card-op {
    --service-card-corner-color: var(--color-op);
}

.service-card.card-op:hover {
    border-color: var(--color-op);
}

.service-card.card-os {
    --service-card-corner-color: var(--color-os);
}

.service-card.card-os:hover {
    border-color: var(--color-os);
}

.service-card .corner {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    width: 35px;
    height: 35px;
    background: var(--service-card-corner-color, var(--color-admin));
    pointer-events: none;
}

.service-card .corner.bottom-left {
    bottom: -2px;
    left: -2px;
    border-bottom-left-radius: 12px;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.service-card .corner.top-right {
    top: -2px;
    right: -2px;
    border-top-right-radius: 12px;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.service-card:hover .corner {
    opacity: 1;
}

.service-card>img:not(.corner),
.service-card>p {
    position: relative;
    z-index: 1;
}

.service-card .icon-off,
.service-card .icon-on {
    position: absolute;
    top: -35px;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 56px;
    width: 56px;
    z-index: 2;
    transition: 0.3s;
}

.service-card .icon-on {
    display: none;
}

.service-card:hover .icon-off {
    display: none;
}

.service-card:hover .icon-on {
    display: block;
    margin: 0 auto;
}

.service-card p {
    font-family: var(--font-identa-darkgray);
    font-size: 13px;
    line-height: 1.2;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ================= CREDENCIAL ================= */
.services-middle-wrapper {
    background: transparent;
    padding: 0 5%;
    display: flex;
    justify-content: flex-start;
    margin-top: -335px;
    margin-left: 0%;
    margin-bottom: 150px;
    position: relative;
    z-index: 10;
}

.quote-action-box {
    background-color: var(--blanco);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    max-width: 800px;
    width: 100%;
    padding: 120px 0px 120px 50px;
    gap: 30px;
    align-items: stretch;
}

.action-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding-left: 20px;
    margin-right: -130px;
    position: relative;
    z-index: 5;
}

.quote-content {
    flex: 1.5;
    position: relative;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: none;
}

.decor-corner {
    position: absolute;
    height: auto;
    width: 100px;
    z-index: 1;
}

.decor-corner.left {
    bottom: 0px;
    left: 20px;
    top: auto
}

.decor-corner.right {
    bottom: 150px;
    right: 20px;
    top: auto;
}

.quote-mark {
    position: absolute;
    height: 45px;
    opacity: 1;
    z-index: 2;
}

.quote-mark.top-left {
    top: 15px;
    left: 25px;
}

.quote-mark.bottom-right {
    bottom: 15px;
    right: 25px;
}

.quote-text {
    position: relative;
    z-index: 3;
    font-size: 24px;
    line-height: 1.4;
    color: var(--gris-texto);
}

.quote-p1 {
    font-family: var(--font-identa-gray);
    color: var(--gris-texto);
}

.quote-p2 {
    font-family: var(--font-identa-blackitalic);
    color: var(--celeste-pastel);
    font-style: italic;
}

.quote-p3 {
    font-family: var(--font-identa-grayitalic);
    color: var(--gris-texto);
    font-style: italic;
}

.btn-stack {
    background-color: var(--celeste-pastel);
    color: var(--blanco);
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-identa-darkgray);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: block;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-stack:hover {
    background-color: var(--cian);
    color: var(--blanco);
    transform: translateX(8px);
}

.home-fade-left {
    opacity: 0;
    transform: translateX(-90px);
    transition: opacity 1s ease, transform 1s ease;
}

.home-fade-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.home-rise {
    opacity: 0;
    transform: translateY(90px);
    transition: opacity 1s ease, transform 1s ease;
}

.home-rise.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.video-container.home-video-rise {
    opacity: 0;
    transform: translateY(calc(-20% + 90px));
    transition: opacity 1s ease, transform 1s ease;
}

.video-container.home-video-rise.is-visible {
    opacity: 1;
    transform: translateY(-20%);
}

.credencial-section {
    position: relative;
    z-index: 5;
    background-image: url('../assets/png/Fondo_Barco_Gris.png');
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 120px 5% 100px 5%;
    text-align: center;
}

.credencial-header {
    position: relative;
    z-index: 2;
}

.credencial-header h3 {
    font-family: var(--font-bold);
    color: var(--azul-oscuro);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.credencial-header h3 img {
    height: 7px;
    filter: brightness(0) saturate(100%) invert(72%) sepia(18%) saturate(996%) hue-rotate(174deg) brightness(89%) contrast(90%);
}

.credencial-header h2 {
    font-family: var(--font-alt-extrabold);
    color: var(--azul-oscuro);
    font-size: 32px;
    margin-bottom: 15px;
}

.credencial-header p {
    font-family: var(--font-identa-gray);
    color: var(--gris-texto);
    font-size: 15px;
    margin-bottom: 160px;
}

.video-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 0;
}

.video-container {
    position: absolute;
    transform: translateY(-20%);
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
    width: 100%;
    display: block;
}

.video-container iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: 3px solid var(--azul-oscuro);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.play-button i {
    color: var(--azul-oscuro);
    font-size: 30px;
    margin-left: 5px;
}

.play-button:hover {
    background: var(--azul-oscuro);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:hover i {
    color: var(--blanco);
}

/* ================= AFILIACIÓN ================= */
.afiliacion-section {
    position: relative;
    z-index: 2;
    background-color: var(--azul-oscuro);
    padding: 350px 5% 100px 5%;
    text-align: center;
    overflow: hidden;
}

.afiliacion-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/png/servicios/Fondo_Azul_Degradado.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 0;
}

.afiliacion-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/png/Flechas_Azul_Izq.png');
    background-size: auto 100%;
    background-position: -450px center;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-140px);
    transition: opacity 1.3s ease, transform 1.3s ease;
}

.afiliacion-section.is-visible::after {
    opacity: 1;
    transform: translateX(0);
}

.requisitos-container {
    position: relative;
    z-index: 5;
    color: var(--blanco);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.requisitos-container h3 {
    font-family: var(--font-bold);
    color: var(--celeste-pastel);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.requisitos-container h3 img {
    height: 7px;
    filter: brightness(0) saturate(100%) invert(80%) sepia(20%) saturate(1000%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.requisitos-container h2 {
    font-family: var(--font-identa-darkgray);
    font-size: 32px;
    margin-bottom: 40px;
}

.requisitos-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    font-family: var(--font-identa-gray);
    font-size: 15px;
    line-height: 2;
}

.requisitos-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
}

.requisitos-list li i {
    color: var(--celeste-pastel);
    margin-top: 6px;
}

/* ================= WRAPPER GLOBAL SOCIOS Y NOTICIAS ================= */
.socios-noticias-wrapper {
    background-image: url('../assets/png/Fondo_Ondulado.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

/* ================= SOCIOS ================= */
.socios-section {
    width: 100%;
    overflow: hidden;
    margin-bottom: 120px;
    --socio-card-width: 260px;
    --socio-card-spacing: 22px;
    --socio-card-span: calc(var(--socio-card-width) + (var(--socio-card-spacing) * 2));
}

.socios-header {
    text-align: center;
    margin-bottom: 40px;
}

.title-consejo {
    font-family: var(--font-alt-bold);
    color: var(--azul-oscuro);
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.onda-socios {
    height: 7px;
    filter: brightness(0) saturate(100%) invert(80%) sepia(20%) saturate(1000%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.subtitle-comite {
    font-family: var(--font-alt-extrabold);
    color: var(--azul-oscuro);
    font-size: 32px;
    margin-top: 10px;
}

.header-honor {
    margin-top: 80px;
}

.comite-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0 50px;
}

.comite-track {
    display: flex;
    width: max-content;
    animation: scrollCarousel 45s linear infinite;
}

.comite-track:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(var(--socio-card-span, 304px) * var(--directivos-count, 11) * -1));
    }
}

.socio-card {
    width: var(--socio-card-width);
    margin: 0 var(--socio-card-spacing);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.socio-img-wrapper {
    aspect-ratio: 344 / 493;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e5e5e5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.socio-img-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.socio-info {
    width: 92%;
    height: 126px;
    margin: -35px auto 0;
    background-color: var(--blanco);
    border: 1px solid var(--celeste-pastel);
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.socio-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@keyframes shine {
    100% {
        left: 150%;
    }
}

.socio-card:hover .socio-info::after {
    animation: shine 0.7s ease-out;
}

.socio-name {
    color: var(--azul-oscuro);
    font-family: var(--font-alt-extrabold);
    font-size: 14px;
    line-height: 1.3;
    margin: 0 0 8px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.socio-title {
    color: var(--gris-texto);
    font-family: var(--font-identa-gray);
    font-size: 13px;
    margin: 0;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.socio-card:hover .socio-info {
    width: 92%;
    background-image: url('../assets/png/Caja_Azul_Ondas.png');
    background-size: cover;
    background-position: bottom;
    border-color: var(--azul-oscuro);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
}

.socio-card:hover .socio-name,
.socio-card:hover .socio-title {
    color: var(--blanco);
}

.honor-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 980px;
    margin: 0 auto;
    --honor-carousel-gap: 34px;
    --honor-card-span: calc(var(--socio-card-width) + var(--honor-carousel-gap));
}

.static-card {
    margin: 0;
}

.honor-card-copy {
    display: none;
}

@keyframes honorCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(var(--honor-card-span, var(--socio-card-width, 260px)) * var(--honor-count, 3) * -1));
    }
}

@media (min-width: 701px) and (max-width: 1100px) {
    .socios-section--home .honor-grid {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: stretch;
        width: fit-content;
        max-width: none;
        gap: var(--honor-carousel-gap);
        animation: honorCarousel 24s linear infinite;
    }

    .socios-section--home .honor-card-copy {
        display: block;
    }
}

/* ================= NOTICIAS ================= */
.noticias-home-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.noticias-header {
    text-align: center;
    margin-bottom: 50px;
}

.title-noticias {
    font-family: var(--font-alt-bold);
    color: var(--azul-oscuro);
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.subtitle-noticias {
    font-family: var(--font-identa-gray);
    color: var(--gris-texto);
    font-size: 16px;
    line-height: 1.4;
}

.grid-noticias-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tarjeta-noticia-home {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--celeste-pastel);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--blanco);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.tarjeta-noticia-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(127, 177, 216, 0.3);
}

.img-noticia-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
}

.img-noticia-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-leer-mas {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: var(--celeste-pastel);
    color: var(--azul-oscuro);
    font-family: var(--font-identa-semiblack);
    font-size: 11px;
    padding: 4px 16px;
    border-radius: 20px;
    z-index: 2;
}

.contenido-noticia {
    padding: 20px 15px;
    flex-grow: 1;
}

.texto-noticia {
    color: var(--azul-oscuro);
    font-family: var(--font-identa-gray);
    font-size: 14px;
    line-height: 1.4;
}

.onda-fin-texto {
    height: 6px;
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    filter: invert(72%) sepia(18%) saturate(996%) hue-rotate(174deg) brightness(89%) contrast(90%);
}

/* ================= BREAKPOINTS (RESPONSIVE) ================= */

@media (max-width: 1600px) {
    .hero-decoration {
        height: 100%;
    }

    .hero-decoration.left {
        left: -35%;
    }

    .hero-decoration.right {
        right: -35%;
    }

    .hero-logo-overflow {
        height: 300px;
        bottom: -60px;
        right: 5%;
    }

    .hero-content {
        left: 10%;
        max-width: 900px;
    }

    .hero-section {
        height: 550px;
    }

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

    .afiliacion-section::after {
        top: 0;
        height: 100%;
        background-position: -360px center;
    }
}

@media (max-width: 992px) {
    .hero-logo-overflow {
        display: none;
    }

    .hero-content {
        max-width: 80%;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .welcome-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .welcome-images,
    .welcome-text {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .welcome-text p {
        text-align: center;
    }

    .signature {
        align-self: center;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .quote-action-box {
        flex-direction: column;
        padding: 30px;
    }

    .quote-content {
        border-right: none;
        border-bottom: none;
        padding-bottom: 30px;
    }

    .credencial-section {
        background-color: var(--blanco);
        background-image: url('../assets/png/Fondo_Barco_Gris.png');
        background-position: right top;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 600px;
    }

    .hero-content {
        left: 5%;
        max-width: 90%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .description {
        font-size: 16px;
    }

    .hero-content.center-left {
        left: 50% !important;
    }

    .badge-100 {
        height: 100px;
        bottom: -15px;
        left: 0;
    }

    .welcome-header h2 {
        font-size: 32px;
    }

    .services-title-left {
        position: relative;
        margin-bottom: 20px;
        justify-content: center;
        display: flex;
        width: 100%;
    }

    .services-header {
        flex-direction: column;
    }

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

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

    .grid-noticias-home {
        grid-template-columns: 1fr;
    }

    .honor-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .text-center {
        font-size: 20px !important;
    }

    .logo-center {
        height: 80px !important;
    }

    .btn-highlight,
    .btn-certificate {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        height: 520px;
    }

    .hero-logo-overflow {
        height: 220px;
        bottom: -42px;
        right: 4%;
    }

    .socios-section {
        --socio-card-width: 238px;
        --socio-card-spacing: 18px;
    }

    .services-top {
        background-position: 86% -8%, center center;
        background-size: auto 118%, cover;
        padding-bottom: 310px;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 780px;
    }

    .services-middle-wrapper {
        margin-top: -285px;
        margin-bottom: 120px;
    }

    .quote-action-box {
        max-width: 720px;
        padding: 82px 0 82px 36px;
    }

    .action-buttons {
        margin-right: -86px;
    }

    .credencial-section {
        padding-top: 96px;
    }

    .credencial-header p {
        margin-bottom: 130px;
    }

    .afiliacion-section {
        padding-top: 310px;
    }

    .afiliacion-section::after {
        height: 100%;
        background-size: auto 100%;
        background-position: -380px center;
    }
}

@media (max-width: 992px) {
    .services-top {
        padding-bottom: 260px;
    }

    .services-middle-wrapper {
        justify-content: center;
        margin-top: -230px;
        margin-bottom: 90px;
    }

    .quote-action-box {
        max-width: 680px;
        padding: 44px 36px;
        gap: 26px;
    }

    .quote-content {
        width: 100%;
        padding: 36px 26px;
    }

    .action-buttons {
        width: 100%;
        padding-left: 0;
        margin-right: 0;
    }

    .video-container,
    .video-container.home-video-rise.is-visible {
        transform: translateY(-10%);
    }

    .video-container.home-video-rise {
        transform: translateY(calc(-10% + 70px));
    }

    .afiliacion-section {
        padding-top: 260px;
    }

    .afiliacion-section::after {
        height: 100%;
        background-position: -330px center;
    }
}

@media (max-width: 600px) {
    .hero-section {
        position: relative;
        top: 0;
        height: 480px;
    }

    .onda-grafica {
        width: 90px;
    }

    .socios-section {
        --socio-card-width: 226px;
        --socio-card-spacing: 14px;
    }

    .honor-grid {
        --honor-carousel-gap: 28px;
    }

    .hero-decoration {
        opacity: 0.45;
    }

    .badge-100 {
        height: 64px;
        left: 0;
        bottom: 0;
    }

    .services-title-center h2 {
        font-size: 28px;
    }

    .services-title-center p {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 260px;
    }

    .service-card {
        min-height: 104px;
    }

    .services-middle-wrapper {
        padding: 0 18px;
    }

    .quote-action-box {
        padding: 34px 22px;
    }

    .quote-content {
        padding: 34px 18px;
    }

    .decor-corner {
        width: 72px;
    }

    .quote-mark {
        height: 34px;
    }

    .credencial-header h2 {
        font-size: 26px;
    }

    .credencial-header p {
        margin-bottom: 90px;
    }

    .video-container,
    .video-container.home-video-rise,
    .video-container.home-video-rise.is-visible {
        position: relative;
        transform: none;
        width: 100%;
    }

    .video-wrapper {
        height: auto;
    }

    .play-button {
        width: 58px;
        height: 58px;
    }

    .afiliacion-section {
        padding: 90px 22px 76px;
    }

    .afiliacion-section::after {
        height: 100%;
        background-size: auto 100%;
        background-position: -280px center;
        opacity: 0.45;
    }

    .requisitos-container h2 {
        font-size: 26px;
    }

    .requisitos-list {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (max-width: 900px) {
    .hero-decoration,
    .hero-waves-bg {
        display: none;
    }

    .hero-content {
        left: 50%;
        width: min(86vw, 560px);
        max-width: none;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .hero-content.center {
        left: 50%;
    }

    .hero-slide.active .animate-marea-left,
    .hero-slide.active .animate-marea-right {
        animation: none;
    }

    .logo-center {
        width: min(72vw, 260px);
        height: auto !important;
    }

    .logo-caarem {
        width: min(74vw, 320px);
        height: auto;
    }

    .credencial-header p {
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 700px) {
    .scroll-fade-down,
    .scroll-fade-right,
    .home-fade-left,
    .home-rise,
    .home-video-rise {
        opacity: 1 !important;
        transition: none !important;
    }

    .scroll-fade-down,
    .scroll-fade-right,
    .home-fade-left,
    .home-rise {
        transform: none !important;
    }

    .video-container.home-video-rise,
    .video-container.home-video-rise.is-visible {
        transform: translateY(-10%) !important;
    }

    .services-top {
        padding: 58px 22px 220px;
    }

    .services-title-center p br,
    .credencial-header p br {
        display: none;
    }

    .services-middle-wrapper {
        margin-top: -190px;
        margin-bottom: 72px;
    }

    .quote-action-box {
        border-radius: 10px;
        gap: 20px;
    }

    .quote-content {
        min-height: 210px;
        border-bottom: none;
    }

    .action-buttons {
        gap: 10px;
    }

    .afiliacion-section::after {
        display: none;
    }

    .comite-carousel {
        overflow: hidden;
    }

    .comite-track {
        animation: scrollCarousel 45s linear infinite;
    }

    .socios-section--home .honor-grid {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: stretch;
        width: fit-content;
        max-width: none;
        gap: var(--honor-carousel-gap);
        animation: honorCarousel 24s linear infinite;
    }

    .socios-section--home .honor-card-copy {
        display: block;
    }

    .credencial-section {
        background-color: var(--blanco);
        background-image: url('../assets/png/Fondo_Barco_Gris.png');
        background-position: right top;
        padding: 78px 22px 76px;
    }

    .credencial-header h3,
    .credencial-header h2 {
        color: var(--azul-oscuro);
    }

    .credencial-header p {
        color: var(--gris-texto);
        margin-bottom: 88px;
    }

    .afiliacion-section::before {
        background-position: center bottom;
        background-size: cover;
    }
}

@media (max-width: 420px) {
    .hero-section {
        height: 430px;
    }

    .hero-content {
        width: calc(100% - 32px);
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .description {
        font-size: 14px;
    }

    .text-center {
        font-size: 22px !important;
    }

    .welcome-section {
        padding: 72px 0 92px;
    }

    .team-photo {
        height: 220px;
    }

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

@media (max-width: 600px) {
    .video-container,
    .video-container.home-video-rise,
    .video-container.home-video-rise.is-visible {
        transform: none !important;
    }
}
