/* ===================== HERO ===================== */
.hz-hero {
    min-height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
    z-index: 2;
}

.hz-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: var(--hz-color-profundo2);
}

.hz-hero-bg-image {
    position: absolute;
    top: -5%;
    left: 55%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    max-width: none;
}

.hz-hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1; /* 🔥 explícito */
    backdrop-filter: brightness(0.7);
}

.hz-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(74, 107, 165, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 180, 248, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hz-hero>.hz-container {
    position: relative;
    z-index: 4;
}

.hz-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 4;
}

.hz-hero-text {
    max-width: 600px;
}

.hz-hero-title {
    font-size: 3.4rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hz-hero-tagline {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-left: 1.5rem;
    max-width: 600px;
}

.hz-hero-tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--hz-color-amanecer), var(--hz-color-acero));
    border-radius: 2px;
}

.hz-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.hz-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.hz-hero-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 140px;
    transform: rotateY(180deg);
}

.hz-hero-wave path {
    fill: var(--hz-color-espuma);
    transform-origin: center;
    transform: rotateY(0deg);
}

@media (max-width: 1100px) {
    .hz-hero-content {
        gap: 60px;
    }

    .hz-hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 992px) {
    .hz-hero-tagline {
        font-size: 1.6rem;
        padding-left: 1.2rem;
    }

    .hz-hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hz-hero-text {
        margin: 0 auto;
    }

    .hz-hero-title {
        font-size: 3rem;
    }

    .hz-hero-subtitle {
        font-size: 1.3rem;
    }

    .hz-map-wrapper {
        height: 450px;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

     .hz-hero-map-image {
        opacity: 0.50;
    }
    .hz-hero-bg-overlay {
        background: linear-gradient(145deg,
                rgba(10, 26, 47, 0.85) 0%,
                rgba(21, 38, 66, 0.75) 45%,
                rgba(30, 58, 95, 0.65) 100%);
          backdrop-filter: brightness(0.5);
    }

    .hz-hero-tagline {
        font-size: 1.4rem;
        padding-left: 1rem;
    }

    .hz-hero-subtitle {
        font-size: 1.1rem;
    }

    .hz-hero {
        padding: 120px 0 80px;
    }

    .hz-hero-title {
        font-size: 2.5rem;
    }

    .hz-hero-subtitle {
        font-size: 1.2rem;
    }

    .hz-map-wrapper {
        height: 380px;
    }

    .hz-hero-wave svg {
        height: 100px;
    }

    .hz-hero-bg-image {
        object-position: 70% center;
    }
}

@media (max-width: 480px) {
    .hz-hero-tagline {
        font-size: 1.2rem;
        padding-left: 0.8rem;
    }

    .hz-hero-subtitle {
        font-size: 1rem;
    }

    .hz-hero-title {
        font-size: 2.2rem;
    }

    .hz-map-wrapper {
        height: 320px;
    }

    .hz-map-marker {
        width: 50px;
        height: 50px;
    }

    .hz-map-marker i {
        font-size: 1.5rem;
    }

    .hz-hero-wave svg {
        height: 80px;
    }
}

.hz-hero-map {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hz-hero-map-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90vw, 1100px);
    height: auto;
    

}


.hz-hero-map::before,
.hz-hero-map::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 25%;
    z-index: 3;
    pointer-events: none;
}

.hz-hero-map::before {
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,26,47,0.9),
        transparent
    );
}

.hz-hero-map::after {
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(10,26,47,0.9),
        transparent
    );
}

@media (min-width: 1400px) {
    .hz-hero-map-image {
        left: 70%;
    }
}



@media (min-width: 1600px) {
    .hz-hero-map-image {
        left: 70%;
    }
}
@media (min-width: 1366px) and (max-width: 1599px) {
    .hz-hero-map-image {
        left: 75%;
    }
}

@media (min-width: 993px) and (max-width: 1365px) {
    .hz-hero-map-image {
        left: 60%;
    }
}

@media (min-width: 900px) and (max-width: 1024px) {
    .hz-hero-map-image {
        width: 60%; /*TAMAÑO*/
        max-width: 900px;
        left: 70%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 992px) {
    .hz-hero-map {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hz-hero-map-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 500px;
        margin: 0;
    }
}





















/*===================== Propuesta de valor / valores =====================*/
.alp-value-section {
    padding: 80px 20px;
    background-color: #f7f9fc;
}

.alp-container {
    max-width: 1200px;
    margin: 0 auto;
}

.alp-value-header {
    max-width: 800px;
    margin-bottom: 60px;
}

.alp-value-header h2 {
    font-size: 40px;
    font-weight: 600;
    color: #0b1f3b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.alp-value-header p {
    font-size: 22px;
    color: #4a5568;
    line-height: 1.6;
}

.alp-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.alp-value-item {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alp-value-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.alp-value-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.alp-value-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0b1f3b;
    margin-bottom: 10px;
}

.alp-value-item p {
    font-size: 18px;
    color: #5a677d;
    line-height: 1.5;
}

.alp-value-logos {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 13px;
    color: #7a879c;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===================== SECCIÓN ÁREAS DE PRÁCTICA ===================== */
.hz-practice-areas {
    padding: 120px 0;
    background-color: white;
    position: relative;
}

.hz-practice-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hz-color-niebla), transparent);
}

.hz-practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.hz-practice-card {
    background: linear-gradient(145deg, var(--hz-color-espuma) 0%, white 100%);
    border-radius: var(--hz-border-radius);
    padding: 40px;
    text-align: center;
    transition: var(--hz-transition);
    border: 1px solid var(--hz-color-niebla);
    position: relative;
    overflow: hidden;
}

.hz-practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hz-shadow-hover);
    border-color: var(--hz-color-acero);
    background: white;
}

.hz-practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: var(--hz-transition);
}

.hz-practice-card:hover::before {
    opacity: 1;
}

.hz-practice-icon {
    font-size: 3rem;
    color: var(--hz-color-oceano);
    margin-bottom: 25px;
    transition: var(--hz-transition);
}

.hz-practice-card:hover .hz-practice-icon {
    color: var(--hz-color-amanecer);
    transform: scale(1.1);
}

.hz-practice-title {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: var(--hz-color-abisal);
    font-weight: 500;
}

.hz-practice-text {
    color: var(--hz-color-pizarra);
    line-height: 1.7;
    font-weight: 300;
}

@media (max-width: 768px) {
    .hz-practice-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* ===================== SECCIÓN NOTICIAS ===================== */
.hz-news {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.hz-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--hz-color-niebla),
        transparent
    );
}

/* GRID */
.hz-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 56px;
}

/* CARD */
.hz-news-card {
    background-color: #fff;
    border-radius: var(--hz-border-radius);
    overflow: hidden;
    border: 1px solid var(--hz-color-niebla);
    display: flex;
    flex-direction: column;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.hz-news-card:hover {
    transform: translateY(-6px);
    border-color: var(--hz-color-acero);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* IMAGEN */
.hz-news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hz-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.hz-news-card:hover .hz-news-image img {
    transform: scale(1.06);
}

/* Placeholder imagen */
.hz-placeholder-imagen {
    width: 100%;
    height: 100%;
    background: var(--hz-color-niebla);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--hz-color-acero);
}

/* CONTENIDO */
.hz-news-content {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* TÍTULO */
.hz-news-title {
    font-size: 1.15rem;
    line-height: 1.45;
    font-weight: 500;
    color: var(--hz-color-abisal);
    margin-bottom: 18px;
}

/* LINK */
.hz-news-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--hz-color-oceano);
    transition: color .3s ease;
}

.hz-news-link i {
    transition: transform .3s ease;
}

.hz-news-link:hover {
    color: var(--hz-color-profundo);
}

.hz-news-link:hover i {
    transform: translateX(6px);
}


@media (max-width: 768px) {
    .hz-news {
        padding: 70px 0;
    }

    .hz-news-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hz-news-image {
        height: 190px;
    }
}


/* ===================== ¿Por qué ALP?  ===================== */

.hz-why {
    padding: 120px 0;
    background: linear-gradient(145deg, var(--hz-color-espuma) 0%, white 100%);
    position: relative;
}

.hz-why::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hz-color-niebla), transparent);
}

.hz-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.hz-why-card {
    background: linear-gradient(145deg, var(--hz-color-espuma) 0%, #ffffff 100%);
    border: 1px solid #e6ecf3;
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--hz-color-niebla);
    box-shadow: var(--hz-shadow);
}

.hz-why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--hz-color-amanecer), var(--hz-color-oceano));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--hz-transition);
}

.hz-why-card:hover {
    border-color: #0b1f3b;
    transform: translateY(-4px);
}

.hz-why-card:hover::before {
    transform: scaleX(1);
}

.hz-why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.hz-why-icon i {
    font-size: 22px;
    color: #0b1f3b;
}

.hz-why-card:hover .hz-why-icon {
    background: linear-gradient(135deg, var(--hz-color-niebla) 0%, white 100%);
    color: var(--hz-color-amanecer);
}

.hz-why-card-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--hz-color-abisal);
    font-weight: 500;
}

.hz-why-card-text {
    font-size: 1.2rem;
    color: var(--hz-color-pizarra);
    line-height: 1.5;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .hz-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hz-why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .hz-why-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================== CTA final del Home ===================== */

.hz-cta-decision {
    padding: 20px 10px;
    background: white;
}

.hz-cta-decision-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
    background: var(--hz-color-espuma);
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10, 26, 47, 0.08);
    transition:
        box-shadow 0.35s ease,
        transform 0.35s ease,
        border-color 0.35s ease;
}

.hz-cta-decision-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 26, 47, 0.16);
    border-color: var(--hz-color-acero);
}

.hz-cta-textblock {
    max-width: 680px;
}

.hz-cta-textblock h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--hz-color-abisal);
    margin-bottom: 12px;
}

.hz-cta-main {
    font-size: 17px;
    color: var(--hz-color-pizarra);
    line-height: 1.6;
}

.hz-cta-micro {
    margin-top: 10px;
    font-size: 13px;
    color: #64748b;
}

.hz-cta-action {
    flex-shrink: 0;
    padding-top: 4px;
}

.hz-cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    background-color: var(--hz-color-abisal);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--hz-transition);
}

.hz-cta-primary:hover {
    background-color: var(--hz-color-profundo);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hz-cta-decision-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .hz-cta-action {
        padding-top: 0;
    }
}