/* ==========================================
   VALUAN SERVICE - ESTILOS PRINCIPALES
   ExtraÃƒÂ­do de index-old.html y mejorado
   ========================================== */

/* ==========================================
   1. VARIABLES CSS
   ========================================== */
:root {
    --primary: #16365f;
    --accent: #4590b8;
    --accent-hover: #2b7096;
    --text-main: #16365f;
    --text-light: #293d49;
    --bg-light: #f8fafc;
    --bg-dark: #16365f;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --section-padding: 120px 0;
    --container-width: 1200px;
}

/* ==========================================
   2. RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--primary);
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   3. CLASES DE UTILIDAD
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.py-section {
    padding: var(--section-padding);
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mt-4 {
    margin-top: 32px;
}

.btn {
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border: none;
    align-items: center;
    flex-direction: row;
    gap: 0.25rem;
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

.section-hidden {
    display: none;
}

/* ==========================================
   3.5. COMPONENTES BASE REUTILIZABLES
   ========================================== */

/* ----- Page Hero (Hero para pÃ¡ginas internas) ----- */
.page-hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero--dark {
    background: var(--primary);
}

.page-hero--compact {
    padding: 100px 0 60px;
}

.page-hero--light {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.page-hero--light::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 100% 50%, rgba(69, 144, 184, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.page-hero__content {
    position: relative;
    z-index: 1;
}

.page-hero__content--center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero__content--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ----- Section Header (Encabezado de secciÃ³n reutilizable) ----- */
.section-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

.section-header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    background: rgba(69, 144, 184, 0.1);
    color: var(--accent);
}

.section-label--light {
    background: rgba(69, 144, 184, 0.2);
    color: var(--accent);
}

.section-label--white {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title--large {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.section-title--white {
    color: var(--white);
}

.section-title span {
    color: var(--accent);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

.section-subtitle--white {
    color: rgba(255, 255, 255, 0.8);
}

/* ----- Hero Badges ----- */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-badge i,
.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    stroke: var(--accent);
}

/* ----- Hero Stats ----- */
.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat__label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* ----- Hero Visual ----- */
.hero-visual {
    position: relative;
}

.hero-visual__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero-visual__image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-visual__badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-visual__badge i,
.hero-visual__badge svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    stroke: var(--accent);
}

.hero-visual__badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* ----- Content Section (Secciones de contenido) ----- */
.content-section {
    padding: 100px 0;
}

.content-section--white {
    background: var(--white);
}

.content-section--light {
    background: var(--bg-light);
}

.content-section--dark {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.content-section--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234590b8' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.content-section__inner {
    position: relative;
    z-index: 1;
}

/* ----- Feature Card (Tarjetas de caracterÃ­sticas) ----- */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--card-color, var(--accent));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    background: var(--card-color, var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card__icon i,
.feature-card__icon svg {
    width: 26px;
    height: 26px;
    color: var(--white);
    stroke: var(--white);
}

.feature-card__number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--card-color, var(--accent));
    opacity: 0.4;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ----- Feature Item (Items con icono) ----- */
.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    background: var(--white);
    border-color: rgba(69, 144, 184, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.feature-item__icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item__icon i,
.feature-item__icon svg {
    width: 22px;
    height: 22px;
    color: var(--white);
    stroke: var(--white);
}

.feature-item__content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.feature-item__content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.feature-item__content p a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.feature-item__content p a:hover {
    color: var(--accent);
}

/* Contact Items Container */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ----- Value Item (Items oscuros para secciones dark) ----- */
.value-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.value-item__icon {
    width: 60px;
    height: 60px;
    background: rgba(69, 144, 184, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.value-item__icon i,
.value-item__icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    stroke: var(--accent);
}

.value-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ----- CTA Section (Call to Action) ----- */
.cta-section {
    padding: 80px 0;
}

.cta-section--dark {
    background: var(--primary);
}

.cta-section--light {
    background: var(--bg-light);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-content--boxed {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.cta-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-section--dark .cta-text h2 {
    color: var(--white);
}

.cta-section--light .cta-text h2 {
    color: var(--primary);
}

.cta-text p {
    font-size: 1rem;
}

.cta-section--dark .cta-text p {
    color: rgba(255, 255, 255, 0.7);
}

.cta-section--light .cta-text p {
    color: var(--text-light);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ----- Grid Layouts ----- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* ----- Info Card ----- */
.info-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 10px;
}

.info-card__item i,
.info-card__item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    stroke: var(--accent);
    flex-shrink: 0;
}

.info-card__item .label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.15rem;
}

.info-card__item strong {
    font-size: 0.9rem;
    color: var(--primary);
}

/* ----- Two Column Layout ----- */
.two-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.two-col--equal {
    grid-template-columns: 1fr 1fr;
}

/* ----- Stat Card (Tarjeta flotante con estadÃ­stica) ----- */
.stat-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(69, 144, 184, 0.3);
}

.stat-card__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-card__label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.25rem;
}

/* ----- Detailed Card (Tarjeta con lista de items) ----- */
.detailed-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.detailed-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.detailed-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.detailed-card__icon {
    width: 50px;
    height: 50px;
    background: var(--card-color, var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detailed-card__icon i,
.detailed-card__icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
    stroke: var(--white);
}

.detailed-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.detailed-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detailed-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.detailed-card__list li i,
.detailed-card__list li svg {
    width: 18px;
    height: 18px;
    color: var(--card-color, var(--accent));
    stroke: var(--card-color, var(--accent));
    flex-shrink: 0;
    margin-top: 2px;
}

/* ----- Service Card (Tarjeta de servicio) ----- */
.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--card-color, var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: var(--card-color, var(--accent));
}

.service-card__icon i,
.service-card__icon svg {
    width: 26px;
    height: 26px;
    color: var(--card-color, var(--accent));
    stroke: var(--card-color, var(--accent));
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon i,
.service-card:hover .service-card__icon svg {
    color: var(--white);
    stroke: var(--white);
}

.service-card__number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--card-color, var(--accent));
    opacity: 0.5;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card__footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--card-color, var(--accent));
    transition: all 0.3s ease;
}

.service-card__link:hover {
    gap: 0.75rem;
}

.service-card__link i,
.service-card__link svg {
    width: 16px;
    height: 16px;
}

/* ----- Component Responsive ----- */
@media (max-width: 992px) {
    .page-hero__content--grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        right: 20px;
        bottom: -15px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 50px;
    }

    .content-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-content--boxed {
        padding: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .grid-2,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-nav {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-nav__item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .project-nav__item--prev,
    .project-nav__item--next {
        justify-content: flex-start;
        text-align: left;
    }

    .project-nav__item--next {
        flex-direction: row-reverse;
    }

    .project-nav__item--next .project-nav__content {
        text-align: right;
    }

    .project-nav__icon {
        width: 40px;
        height: 40px;
    }

    .project-nav__icon svg {
        width: 18px;
        height: 18px;
    }

    .project-nav__title {
        font-size: 0.9rem;
    }

    .project-nav__label {
        font-size: 0.7rem;
    }

    .project-nav__center {
        order: -1;
        flex-direction: row;
        padding: 0.75rem 1.5rem;
    }

    .project-nav__item--empty {
        display: none;
    }

    .inline-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ----- Utility classes for components ----- */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.content-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   3.6. LUCIDE ICONS STYLING
   ========================================== */
i[data-lucide] {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

/* ==========================================
   4. HEADER & NAV - Modern Design
   ========================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header scrolled state */
.header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header.scrolled .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Logo */

.nav-logo img {
    width: 100%;
    height: 40px;
}


/* Navigation Menu */
.nav-menu {
    gap: 0.5rem;
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link.active {
    color: var(--accent);
}

/* Modern underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* CTA Button in header */
.header .btn-accent {
    margin-left: 1rem;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 100%);
    color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.header .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(34, 211, 238, 0.4);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Header */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .header .btn-accent {
        margin: 1.5rem 0 0 0;
        width: 100%;
        text-align: center;
        border-radius: 12px;
    }
}

/* ==========================================
   5. HERO SECTION - Modern Design
   ========================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

/* Background con mÃƒÂºltiples capas */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.85) 100%),
        url('/assets/img/hero/bg-valuan-service.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

/* Animated gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(34, 211, 238, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 40%);
    z-index: -1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Geometric shapes decoration */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 50%;
    animation: floatShape 20s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.hero-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    border: 2px solid rgba(34, 211, 238, 0.1);
    animation-delay: -10s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}

.hero-content {
    max-width: 650px;
}

.hero-label {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 50px;
}

.hero-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero h1 .highlight {
    color: var(--accent);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(34, 211, 238, 0.3);
    border-radius: 4px;
    z-index: -1;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Stats en el hero del Home */
.home-hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-hero-stat {
    text-align: left;
}

.home-hero-stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    display: block;
}

.home-hero-stat__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    display: block;
}

/* Hero Visual/Image side - Home */
.home-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-image-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image-main:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating badge - Home Hero */
.hero-floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 100%);
    color: var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
    animation: floatBadge 4s ease-in-out infinite;
}

.hero-floating-badge-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.hero-floating-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scrollDot {

    0%,
    100% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.3;
        top: 20px;
    }
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-scroll {
        display: none;
    }
}

/* ==========================================
   6. SERVICES SECTION - Modern Design
   ========================================== */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at 100% 0%, rgba(69, 144, 184, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Services Header */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.services-header-content {
    max-width: 600px;
}

.services-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.services-title span {
    color: var(--accent);
}

.services-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.services-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Services Features */
.services-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.services-features .feature-icon-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.services-features .feature-icon-item i,
.services-features .feature-icon-item svg {
    color: var(--accent);
    stroke: var(--accent);
}

/* Responsive Services */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .services-features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

/* ==========================================
   6.5 LEGACY CARDS (for other sections)
   ========================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   7. STATS BAR - Modern Design
   ========================================== */
.stats-bar {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234590b8' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(69, 144, 184, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-icon i,
.stat-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
    stroke: var(--accent);
}

.stat-item:hover .stat-icon {
    background: var(--accent);
}

.stat-item:hover .stat-icon i,
.stat-item:hover .stat-icon svg {
    color: var(--primary);
    stroke: var(--primary);
}

.stat-item h2 {
    color: var(--accent);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-bar {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-item {
        padding: 1rem;
    }
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Project Card - Modernizado */
.project-card {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: block;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-card__image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.1);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(15, 23, 42, 0.5) 50%,
            transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 1;
    transition: var(--transition);
}

.project-card__content {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.project-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.project-card__badge svg {
    width: 14px;
    height: 14px;
}

.project-card__title {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.project-card__link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.project-card:hover .project-card__link svg {
    transform: translateX(4px);
}

.project-card__link:hover {
    background: var(--accent-hover);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    border: 2px dashed var(--border-color);
}

.empty-state__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.empty-state__icon svg {
    width: 40px;
    height: 40px;
    color: var(--text-light);
    opacity: 0.5;
}

.empty-state__title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.empty-state__text {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ----- Inline Stats (Barra de estadísticas horizontal) ----- */
.inline-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    flex-wrap: wrap;
}

.inline-stats__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.inline-stats__item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.inline-stats__item strong {
    color: var(--primary);
    font-weight: 700;
}

/* Legacy support - mantener compatibilidad */
.project-item {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #eee;
    display: block;
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-item:hover .project-img {
    transform: scale(1.1);
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
}

/* ----- Back Link ----- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: gap 0.3s ease;
}

.back-link:hover {
    gap: 0.75rem;
}

.back-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* ----- Gallery Grid ----- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__overlay svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.gallery-item__overlay span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-item__number {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    opacity: 0.7;
}

/* ----- SimpleLightbox Overrides ----- */
.sl-overlay {
    background: rgba(15, 23, 42, 0.95) !important;
}

.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button {
    color: var(--white);
}

.sl-wrapper .sl-counter {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

.sl-wrapper .sl-caption {
    background: rgba(15, 23, 42, 0.9);
    color: var(--white);
    font-family: var(--font-family);
    padding: 1rem 1.5rem;
}

/* ----- Project Navigation ----- */
.project-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.project-nav__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.project-nav__item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-nav__item--prev {
    justify-content: flex-start;
}

.project-nav__item--next {
    justify-content: flex-end;
    text-align: right;
}

.project-nav__item--empty {
    background: none;
    padding: 0;
}

.project-nav__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.project-nav__item:hover .project-nav__icon {
    background: var(--accent);
}

.project-nav__icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.project-nav__item:hover .project-nav__icon svg {
    color: var(--white);
}

.project-nav__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.project-nav__label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-nav__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.project-nav__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--primary);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.project-nav__center:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-nav__center svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.project-nav__center:hover svg {
    transform: translateY(-2px);
}

.project-nav__center span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.project-nav__center:hover span {
    color: var(--accent);
}

/* ==========================================
   7. CONTACT PAGE
   ========================================== */

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-sidebar__header {
    margin-bottom: 0;
}

.contact-sidebar__title {
    font-size: 1.75rem;
    color: var(--primary);
    margin: 0.75rem 0;
}

.contact-sidebar__text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Schedule Card */
.schedule-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    border-radius: var(--border-radius);
    color: var(--white);
}

.schedule-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.schedule-card__icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.schedule-card__content {
    flex: 1;
}

.schedule-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 0.75rem 0;
}

.schedule-card__times {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.schedule-card__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.schedule-card__row--muted {
    opacity: 0.7;
}

.schedule-card__note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-card__note svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-header__title {
    font-size: 1.75rem;
    color: var(--primary);
    margin: 0.75rem 0 0.5rem;
}

.contact-form-header__text {
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-required {
    color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.35rem;
}

.form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0.5rem 0 0;
    text-align: center;
}

.form-privacy svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.alert--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert--success svg {
    color: #22c55e;
}

.alert--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert--error svg {
    color: #ef4444;
}

/* Button Modifiers */
.btn--block {
    width: 100%;
    justify-content: center;
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Map Section */
.map-section {
    background: #f8fafc;
    padding: 0;
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder__content {
    text-align: center;
    color: var(--white);
}

.map-placeholder__icon {
    width: 64px;
    height: 64px;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.map-placeholder__title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: var(--white);
}

.map-placeholder__text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
}

/* Contact Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .schedule-card {
        flex-direction: column;
        text-align: center;
    }

    .schedule-card__icon {
        margin: 0 auto;
    }

    .schedule-card__row {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Legacy Contact Layout (keep for compatibility) */
.contact-layout {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 3px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================
   8. FOOTER - Modern Design
   ========================================== */
.footer {
    background: var(--primary);
    color: var(--white);
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-cta-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-cta-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.footer-cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
}

.btn-outline-light i,
.btn-outline-light svg {
    width: 18px;
    height: 18px;
}

/* Footer Main */
.footer-main {
    padding: 5rem 0 3rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

/* Footer Brand */
.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-logo span {
    color: var(--accent);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-rif {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.footer-rif i,
.footer-rif svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    stroke: var(--accent);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a i,
.social-links a svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    stroke: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.social-links a:hover i,
.social-links a:hover svg {
    color: var(--white);
    stroke: var(--white);
}

/* Footer Titles */
.footer h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-title-icon {
    width: 32px;
    height: 32px;
    background: rgba(69, 144, 184, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-title-icon i,
.footer-title-icon svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    stroke: var(--accent);
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i,
.footer-links a svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links a:hover i,
.footer-links a:hover svg {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Contact Info */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i,
.contact-icon svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    stroke: var(--accent);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

.contact-text strong,
.contact-text span,
.contact-text a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-text a:hover {
    color: var(--accent);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.15);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-made {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-made i,
.footer-made svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    stroke: var(--accent);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
    }

    .footer-cta-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-cta {
        padding: 2rem 0;
    }

    .footer-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .footer-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-main {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer h4 {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-contact-info {
        align-items: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* ==========================================
   9. CLIENTES Y ALIANZAS - Modern Design
   ========================================== */
.clients-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

/* Clients Header */
.clients-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.clients-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.clients-title span {
    color: var(--accent);
}

.clients-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Client Card */
.client-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(69, 144, 184, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card:hover {
    transform: translateY(-8px);
    border-color: rgba(69, 144, 184, 0.2);
    box-shadow: 0 20px 40px rgba(11, 42, 60, 0.08);
}

.client-card:hover::before {
    opacity: 1;
}

.client-card-logo img,
.client-card__logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.client-card:hover .client-card-logo,
.client-card:hover .client-card__logo {
    transform: scale(1.08);
}

.client-card:hover .client-card-logo img,
.client-card:hover .client-card__logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-card-badge,
.client-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    z-index: 1;
}

/* BEM Aliases para Client Card */
.client-card__logo {}

.client-card-logo,
.client-card__logo {
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.client-card__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.client-card__icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    opacity: 0.15;
    transition: all 0.3s ease;
}

.client-card:hover .client-card__icon svg {
    opacity: 0.4;
    color: var(--accent);
}

.client-card__content {}

.client-card-content,
.client-card__content {
    position: relative;
    z-index: 1;
}

.client-card__name {}

.client-card-content h3,
.client-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.client-card__description {}

.client-card-content p,
.client-card__description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Section Divider (reutilizable) */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    position: relative;
}

.clients-divider::before,
.clients-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(69, 144, 184, 0.2), transparent);
}

.clients-divider span {
    padding: 0 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

/* Alliances Grid */
.alliances-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    /* max-width: 600px; */
    margin: 0 auto;
}

/* Alliances Grid - Client Style (Bento) */
.alliances-grid--client-style {
    grid-template-columns: repeat(2, 1fr);
    /* max-width: 800px; */
}

/* Bento: Si el número es impar, el último elemento ocupa el ancho completo */
.alliances-grid--client-style>*:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* Alliance Card */
.alliance-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-hover) 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.alliance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.alliance-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(11, 42, 60, 0.2);
}

.alliance-card-logo {
    width: 80%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.alliance-card-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.alliance-card:hover .alliance-card-logo {
    transform: scale(1.1);
}

.alliance-card:hover .alliance-card-logo img {
    opacity: 1;
}

.alliance-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.alliance-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Clients */
@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 60px 0;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .alliances-grid {
        grid-template-columns: 1fr;
    }

    .clients-divider span {
        font-size: 0.75rem;
        padding: 0 1rem;
    }
}

/* ==========================================
   10. BREADCRUMBS
   ========================================== */
.breadcrumb {
    background: #f1f5f9;
    padding: 20px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.breadcrumb a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumb li:last-child {
    font-weight: 600;
    color: var(--primary);
}

/* ==========================================
   11. LIGHTBOX GALLERY
   ========================================== */
.lightbox-gallery {
    display: grid;
    gap: 1rem;
}

.lightbox-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.lightbox-gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.lightbox-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

/* ==========================================
   ERROR PAGE (404)
   ========================================== */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    padding: 100px 0 60px;
}

.error-page__content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.error-page__code {
    font-size: clamp(6rem, 20vw, 10rem);
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.error-page__title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-page__description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

/* ==========================================
   12. RESPONSIVE
   ========================================== */

/* Tablet landscape */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .home-hero-visual {
        order: 2;
    }

    .hero-buttons {
        justify-content: center;
    }

    .home-hero-stats {
        justify-content: center;
    }

    .home-hero-stat {
        text-align: center;
    }

    .hero p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .contact-layout,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-container {
        padding: 2rem 0;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .home-hero-stats {
        /* flex-direction: column; */
        gap: 1.5rem;
        align-items: center;
        padding-top: 1.5rem;
    }

    .home-hero-stat__number {
        font-size: 2rem;
    }

    .home-hero-stat__label {
        font-size: 0.75rem;
    }

    /* Hero Visual Mobile */
    .home-hero-visual {
        display: none;
    }

    .hero-image-wrapper {
        max-width: 100%;
    }

    .hero-image-main {
        transform: none;
        border-radius: 16px;
    }

    .hero-floating-badge {
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        padding: 1rem 1.25rem;
    }

    .hero-floating-badge-number {
        font-size: 1.5rem;
    }

    /* Hero shapes - más pequeños */
    .hero-shape:nth-child(1) {
        width: 200px;
        height: 200px;
    }

    .hero-shape:nth-child(2) {
        width: 150px;
        height: 150px;
    }

    .hero-shape:nth-child(3) {
        display: none;
    }

    /* Scroll indicator - ocultar en móvil */
    .hero-scroll {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .hero-stat {
        text-align: center;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .py-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery Grid Responsive */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Project Navigation Responsive */
    .project-nav {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .project-nav__item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .project-nav__item--prev,
    .project-nav__item--next {
        justify-content: flex-start;
        text-align: left;
    }

    .project-nav__item--next {
        flex-direction: row-reverse;
    }

    .project-nav__item--next .project-nav__content {
        text-align: right;
    }

    .project-nav__icon {
        width: 40px;
        height: 40px;
    }

    .project-nav__title {
        font-size: 0.9rem;
    }

    .project-nav__center {
        order: -1;
        flex-direction: row;
        padding: 0.75rem 1.5rem;
    }

    .project-nav__item--empty {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-container {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }

    .hero-label {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
        margin-bottom: 1rem;
        letter-spacing: 1px;
    }

    .hero-buttons {
        margin-bottom: 1.5rem;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.8rem;
    }

    .home-hero-stats {
        gap: 1rem;
        padding-top: 1rem;
    }

    .home-hero-stat__number {
        font-size: 1.75rem;
    }

    .home-hero-stat__label {
        font-size: 0.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.75rem;
    }

    .card {
        padding: 1.5rem;
    }

    /* Ocultar formas decorativas en móvil pequeño */
    .hero-shapes {
        display: none;
    }
}