
/* ==========================================================================
   RESET Y ESTILOS BASE
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--hz-font-primary);
    color: var(--hz-color-grafito);
    line-height: 1.7;
    background-color: var(--hz-color-espuma);
    overflow-x: hidden;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: var(--hz-color-abisal);
    letter-spacing: -0.01em;
}

h1 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--hz-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/****************** Contenedores ***************/

.hz-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.hz-section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 600;
}

.hz-section-subtitle {
    text-align: center;
    color: var(--hz-color-pizarra);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-weight: 300;
    line-height: 1.6;
}

.hz-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--hz-color-acero), transparent);
}

.hz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--hz-color-oceano) 0%, var(--hz-color-profundo) 100%);
    color: white;
    border-radius: var(--hz-border-radius);
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--hz-transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.hz-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s ease;
}

.hz-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--hz-shadow-hover);
}

.hz-btn:hover::before {
    left: 100%;
}

/* Header (desktop + mobile) */
.hz-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 28px 0;
    transition: var(--hz-transition);
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

.hz-header.scrolled {
    padding: 20px 0;
    background-color: rgba(10, 26, 47, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(10, 26, 47, 0.15);
}

.hz-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hz-logo {
    display: flex;
    align-items: center;
}

.hz-logo-link {
    display: flex;
    align-items: center;
    height: 45px;
}

.hz-logo-img {
    height: 150%;
    width: auto;
    object-fit: contain;
    transition: var(--hz-transition);
}

.hz-header.scrolled .hz-logo-img {
    height: 40px;
}

.hz-nav {
    display: flex;
    align-items: center;
}

.hz-nav-list {
    display: flex;
    list-style: none;
}

.hz-nav-item {
    margin-left: 2.5rem;
    position: relative;
}

.hz-nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    transition: var(--hz-transition);
}

.hz-nav-link:hover {
    color: white;
}

.hz-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--hz-color-amanecer), transparent);
    transition: var(--hz-transition);
}

.hz-nav-link:hover::after {
    width: 100%;
}

.hz-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--hz-transition);
}

.hz-mobile-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hz-header {
        padding: 22px 0;
    }

    .hz-header.scrolled {
        padding: 16px 0;
    }

    .hz-mobile-toggle {
        display: block;
    }

    .hz-nav {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: rgba(10, 26, 47, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--hz-transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hz-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hz-nav-list {
        flex-direction: column;
        width: 100%;
    }

    .hz-nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hz-nav-link {
        display: block;
        padding: 18px 24px;
        font-size: 1.1rem;
    }
}


/* ===================== FOOTER ===================== */
.hz-footer {
    background: linear-gradient(145deg, var(--hz-color-abisal) 0%, var(--hz-color-profundo) 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 90px 0 40px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hz-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hz-color-acero), transparent);
}

.hz-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 60px;
    margin-bottom: 70px;
}

.hz-footer-logo-img {
    max-width: 240px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.hz-footer-logo {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    display: flex;
    align-items: center;
}

.hz-footer-text {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 30px;
    line-height: 1.7;
    font-weight: 300;
    max-width: 340px;
}

.hz-footer-title {
    font-size: 1.35rem;
    margin-bottom: 28px;
    color: white;
    position: relative;
    padding-bottom: 12px;
    font-weight: 500;
}

.hz-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--hz-color-amanecer), transparent);
}

.hz-footer-links {
    list-style: none;
}

.hz-footer-links li {
    margin-bottom: 14px;
}

.hz-footer-links a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--hz-transition);
    display: flex;
    align-items: center;
    font-weight: 300;
}

.hz-footer-links a i {
    margin-right: 12px;
    width: 20px;
    color: var(--hz-color-amanecer);
    opacity: 0.7;
}

.hz-footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.hz-footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .hz-footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}


/*REDES SOCIALES FOOTER*/

.footer-linkedin {
  margin-top: 16px;
}

.footer-linkedin a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: all 0.25s ease;
}

.footer-linkedin i {
  font-size: 15px;
  color: #b8a26d; /* acento corporativo */
}

.footer-linkedin a:hover {
  color: #ffffff;
}

.footer-linkedin a:hover i {
  color: #ffffff;
}
