/* ========== CSS VARIABLES & RESET ========== */
:root {
    --primary-dark: #000000;
    --primary: #0D1433;
    --secondary: #1A2FBF;
    --accent: #f7d707;
    --accent-light: #fad608;
    --white: #F8FAFC;
    --gray: #94A3B8;
    --gray-light: #E2E8F0;
    --gray-dark: #8899BB;
    --text-dark: #0D1433;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #031561 0%, #072569 35%, #082257 70%, #010f2b 100%);
    background-attachment: fixed;
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: #fad608;

}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== LAYOUT ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section.alt {
    background: rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== HEADER & NAVBAR ========== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent);
}

.logo i {
    color: var(--accent);
    font-size: 1.75rem;
}

.header-logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .header-logo-img {
    transform: scale(1.05);
}

.logo span {
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 12px 32px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero-winzy {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bg-video.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, rgba(11, 15, 25, 0.3) 0%, rgba(11, 15, 25, 0.9) 100%),
        radial-gradient(rgba(0, 0, 0, 0.55) 1px, transparent 1px);
    background-size: 100% 100%, 3px 3px;
    z-index: 2;
}


/* ========== SHINY TEXT + SPLIT TEXT REVEAL ========== */
@keyframes shine-white {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

@keyframes shine-yellow {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(110%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wrapper span â€” only controls layout, NO background-clip here */
.shiny-text {
    display: inline;
}

/* Word clip container */
.word-outer {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;
}

/* Space between words â€” inherits font-size but stays visible */
.word-space {
    display: inline-block;
    width: 0.3em;
}

/* Animated element: gradient + clip applied HERE, not on parent */
.word-inner {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%);
    will-change: transform, opacity;
    letter-spacing: -2px;
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

/* White shiny on word-inner */
.shiny-white .word-inner {
    background-image: linear-gradient(120deg,
            #ffffff 0%,
            #ffffff 35%,
            #ddeeff 47%,
            #ffffff 50%,
            #c8deff 53%,
            #ffffff 65%,
            #ffffff 100%);
    animation: shine-white 3s linear infinite;
    animation-play-state: paused;
    /* pause until revealed */
}

/* Yellow shiny on word-inner */
.shiny-yellow .word-inner {
    background-image: linear-gradient(120deg,
            #f7d707 0%,
            #f7d707 30%,
            #fffbe0 44%,
            #ffffff 50%,
            #ffe066 56%,
            #f7d707 70%,
            #f7d707 100%);
    animation: shine-yellow 3s linear infinite;
    animation-play-state: paused;
}

/* Trigger word reveal + resume shiny animation */
.word-inner.revealed {
    animation: wordReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        shine-white 3s linear 0.65s infinite;
}

.shiny-yellow .word-inner.revealed {
    animation: wordReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        shine-yellow 3s linear 0.65s infinite;
}


.disruptive-title {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.5vw;
    font-weight: 800;
    z-index: 3;
    pointer-events: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -2px;
    text-align: center;
    line-height: 1.15;
    width: 90%;
    text-transform: none;
    color: transparent;
    -webkit-text-stroke: 0;
    text-shadow: none;
}


.hero-winzy-content {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
}

.hero-winzy-bottom {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.winzy-metrics {
    display: flex;
    gap: 40px;
}

.winzy-metric h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
}

.winzy-metric p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.winzy-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-winzy {
    background: var(--white);
    color: var(--primary-dark);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-winzy:hover {
    transform: scale(1.05);
    background: var(--accent);
    color: var(--white);
}

.winzy-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    max-width: 320px;
    line-height: 1.5;
}

.winzy-video-thumb {
    margin-left: auto;
}

.thumb-wrapper {
    position: relative;
    width: 240px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumb-overlay span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 0.875rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-dark);
    font-weight: 800;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    transform: scale(1.05);
}

/* ========== SOLUCIONES â€” APPLE-STYLE GRID ========== */
.soluciones {
    padding-bottom: 0;
}


.sol-apple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 3px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.sol-apple-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background: #0a0a0a;
}

/* Image layer */
.sol-apple-img {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sol-apple-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sol-apple-card:hover .sol-apple-img img {
    transform: scale(1.06);
}

/* Dark gradient overlay */
.sol-apple-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.20) 30%,
            rgba(0, 0, 0, 0.70) 70%,
            rgba(0, 0, 0, 0.88) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.sol-apple-card:hover::before {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.25) 30%,
            rgba(0, 0, 0, 0.80) 70%,
            rgba(0, 0, 0, 0.93) 100%);
}

/* Content positioned at bottom */
.sol-apple-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Category label */
.sol-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(245, 158, 11, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 0.3rem 0.85rem;
    border-radius: 30px;
    width: fit-content;
    margin-bottom: 0.5rem;
}

/* Title */
.sol-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--white) !important;
    margin: 0 !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* Description */
.sol-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin: 0.3rem 0 0.8rem;
    max-width: 340px;
}

/* Action buttons */
.sol-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.sol-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.sol-btn-primary {
    background: var(--white);
    color: var(--primary-dark);
}

.sol-btn-primary:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.sol-btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
}

.sol-btn-accent:hover {
    background: var(--accent-light);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.sol-btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.sol-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
    .sol-apple-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sol-title {
        font-size: 1.5rem;
    }

    .sol-apple-content {
        padding: 1.5rem 1.75rem;
    }
}

@media (max-width: 600px) {
    .sol-apple-grid {
        grid-template-columns: 1fr;
    }

    .sol-apple-card {
        aspect-ratio: 16 / 9;
    }

    .sol-title {
        font-size: 1.4rem;
    }

    .sol-apple-content {
        padding: 1.25rem 1.5rem;
    }

    .sol-btn {
        padding: 0.5rem 1.1rem;
        font-size: 0.8rem;
    }
}


.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

/* ========== GALERÃA CAROUSEL ========== */
.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    height: clamp(500px, 60vw, 680px);
    overflow: hidden;
    perspective: 1200px;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.gallery-carousel:active {
    cursor: grabbing;
}

.gallery-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(42vw, 440px);
    height: min(72vh, 620px);
    min-height: 400px;
    margin: 0;
    border-radius: 10px;
    background: #111;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.65);
    transform: translate(-50%, -50%) translateX(var(--card-x, 0px)) rotateY(var(--card-rotation, 0deg)) rotateZ(var(--card-tilt, 0deg)) scale(var(--card-scale, 1));
    transform-style: preserve-3d;
    backface-visibility: hidden;
    opacity: var(--card-opacity, 1);
    visibility: var(--card-visibility, visible);
    z-index: var(--card-depth, 1);
    transition: transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 450ms ease, visibility 450ms;
    will-change: transform, opacity;
    cursor: pointer;
    overflow: hidden;
}

.gallery-card[aria-current="true"] {
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.75);
}

.gallery-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.gallery-card .card-title,
.gallery-card .card-bottom {
    filter: blur(var(--card-title-blur, 0px));
    transition: filter 450ms ease;
}

.gallery-card[aria-current="true"] .card-title,
.gallery-card[aria-current="true"] .card-bottom {
    filter: blur(0);
}

.gallery-card .card-bg,
.gallery-card .card-overlay {
    border-radius: inherit;
}

.gallery-card .card-bg img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.card-overlay {
    padding: 2.25rem;
}

.gallery-card:last-child {
    border-right: none;
}

/* El escenario conserva su altura para que el carrusel no salte al navegar. */
.gallery-carousel-wrapper:focus-within .gallery-nav {
    opacity: 1;
}

.gallery-carousel:focus-visible {
    outline: none;
}

@media (max-width: 768px) {
    .gallery-carousel {
        height: clamp(440px, 76svh, 640px);
    }

    .gallery-card {
        width: min(74vw, 360px);
        height: min(66svh, 540px);
        min-height: 320px;
    }

    .gallery-carousel .card-overlay {
        padding: 1.5rem;
    }
}

.gallery-carousel[aria-busy="true"] .gallery-card {
    pointer-events: none;
}

.gallery-carousel .gallery-card {
    scroll-snap-align: none;
    border: 0;
}

.gallery-carousel .gallery-card[aria-current="false"] {
    --card-title-blur: 1.5px;
}

.gallery-carousel .gallery-card[aria-current="true"] {
    --card-title-blur: 0px;
}

.gallery-carousel .card-bg {
    border-radius: inherit;
}

.gallery-carousel .card-overlay {
    border-radius: inherit;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
    z-index: 1;
    transition: transform 0.6s ease;
    overflow: hidden;
}

.card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-card:hover .card-bg img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 30%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    pointer-events: none;
}

.card-overlay .btn-pill {
    pointer-events: auto;
}

.card-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--white);
    letter-spacing: -1.5px;
}

.card-bottom {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-pill {
    padding: 0.7rem 1.8rem;
    background: var(--white);
    color: var(--primary-dark);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pill:hover {
    background: var(--accent);
    transform: scale(1.05);
}

.card-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: clamp(3.5rem, 7vh, 5rem) clamp(4rem, 9vw, 8rem) 2rem;
    border: 0;
    background: rgba(0, 0, 0, 0.94);
    color: var(--white);
    overflow: hidden;
}

.gallery-lightbox[open] {
    display: grid;
    place-items: center;
}

.gallery-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

.lightbox-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, calc(100vw - 10rem));
    max-height: calc(100dvh - 9rem);
    object-fit: contain;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    text-align: center;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.65rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.lightbox-close {
    top: 1.25rem;
    right: 1.5rem;
}

.lightbox-prev {
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
}

.lightbox-next {
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .gallery-lightbox {
        padding: 4.5rem 1rem 1.5rem;
    }

    .lightbox-close,
    .lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-image {
        max-width: calc(100vw - 2rem);
        max-height: calc(100dvh - 9rem);
    }
}

/* Gallery Nav Buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 1.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
    opacity: 0.8;
}

.gallery-nav:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Gallery Dots */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 1.25rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.gallery-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

/* ========== PROCESOS BENTO SECTION ========== */
.procesos-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.bento-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.bento-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-item:hover video {
    transform: scale(1.05);
}

/* Span definitions to make the collage layout */
.bento-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

/* Wide top left */
.bento-item:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

/* Tall right */
.bento-item:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
}

/* Tall bottom left */
.bento-item:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* Square middle */
.bento-item:nth-child(5) {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
}

/* Wide bottom right */

/* ========== FILOSOFÃA CORPORATIVA SECTION (ABOUT 4) ========== */
.nosotros-about4 {
    padding: 6rem 0;
    overflow: hidden;
}

.about4-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .about4-container {
        grid-template-columns: 1fr 1fr 1.2fr;
        align-items: center;
        gap: 2rem;
    }
}

.about4-left {
    text-align: center;
}

@media (min-width: 992px) {
    .about4-left {
        text-align: left;
    }
}

.about4-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.about4-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    line-height: 1.6;
}

.about4-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about4-circle-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
}

@media (min-width: 992px) {
    .about4-circle-wrapper {
        width: 340px;
        height: 340px;
    }
}

.about4-progress-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.about4-progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
}

.about4-progress-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    /* transition is handled by JS for smooth progress */
}

.about4-image-container {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    overflow: hidden;
    background: #111;
}

.about4-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.8s ease;
}

.about4-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about4-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.about4-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.about4-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(247, 215, 7, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about4-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about4-item-header i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.about4-item.active .about4-item-header i {
    transform: scale(1.1);
}

.about4-item-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: rgba(255, 251, 0, 0.7);
    transition: color 0.3s ease;
}

.about4-item.active .about4-item-header h3 {
    color: var(--white);
}

.about4-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.about4-item.active .about4-item-body {
    max-height: 400px;
}

.about4-item-content {
    padding-top: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about4-valores-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about4-valores-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about4-valores-list li i {
    width: 1.25rem;
    flex: 0 0 1.25rem;
    color: var(--accent);
    font-size: 1.15rem;
    text-align: center;
}

/* ========== CONTACTO SECTION ========== */
/* Sedes Initial View */
.sedes-view {
    margin-bottom: 2rem;
}

.sedes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sede-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sede-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(247, 215, 7, 0.2);
}

.sede-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
}

.sede-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sede-card:hover .sede-bg img {
    transform: scale(1.05);
}

.sede-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    z-index: 2;
}

.sede-overlay h3 {
    color: var(--white);
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Contactos View Header */
.contactos-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-regresar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.btn-regresar:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.ciudad-selector {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}


.ciudad-btn {
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
}

.ciudad-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.ciudad-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(247, 215, 7, 0.35);
}

.city-count {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* Contact Panels */
.contacts-panels {
    position: relative;
    min-height: 300px;
}

.contacts-panel {
    display: none;
    animation: panelFadeIn 0.4s ease;
}

.contacts-panel.active {
    display: block;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Cards Grid */
.contacts-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(247, 215, 7, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before,
.contact-card:focus::before {
    opacity: 1;
}

.contact-card:hover,
.contact-card:focus {
    border-color: rgba(247, 215, 7, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.contact-card--nophone {
    cursor: default;
    opacity: 0.6;
}

.contact-card--nophone:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.08);
}

/* Avatar circle */
.contact-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #e6c800 100%);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-info h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-aranzazu {
    background: rgba(247, 215, 7, 0.15);
    color: var(--accent);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(247, 215, 7, 0.3);
}

.contact-info span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-family: 'Space Mono', monospace;
}

.contact-wa {
    font-size: 1.4rem;
    color: #25D366;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.contact-card:hover .contact-wa {
    transform: scale(1.2);
}



/* ========== FOOTER ========== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: center;
}

.footer-section {
    width: min(100%, 32rem);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-logo {
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-align: center;
}

/* ========== FLOATING BUTTONS ========== */
.tiktok-floating-wrapper {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    z-index: 9999;
    transition: var(--transition);
}

.tiktok-floating-btn {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    padding: 0;
}

.tiktok-floating-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 32px rgba(254, 44, 85, 0.4);
}

.tiktok-floating-btn i {
    font-size: 1.75rem;
}

.tiktok-popup-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 250px;
    max-height: 350px;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.tiktok-popup-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tiktok-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

.tiktok-popup-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.tiktok-popup-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.tiktok-popup-close:hover {
    color: var(--white);
}

.tiktok-popup-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

/* Custom scrollbar for tiktok popup body */
.tiktok-popup-body::-webkit-scrollbar {
    width: 6px;
}
.tiktok-popup-body::-webkit-scrollbar-track {
    background: transparent;
}
.tiktok-popup-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}
.tiktok-popup-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.tiktok-popup-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    word-break: break-all;
}

.tiktok-popup-link i {
    color: #ffffff;
    font-size: 1.2rem;
}

.tiktok-popup-link:hover {
    background: rgba(254, 44, 85, 0.15);
    border-color: rgba(254, 44, 85, 0.3);
    transform: translateX(4px);
}

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.whatsapp-floating a {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #20BA58 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-floating a:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating i {
    font-size: 1.75rem;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7);
    }
}

/* ========== SCROLL REVEAL ========== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .sol-apple-grid {
        grid-template-columns: 1fr;
    }

    .about4-circle-wrapper {
        width: 250px;
        height: 250px;
    }

    .hero-winzy-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .procesos-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .bento-item:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .bento-item:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .bento-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 4;
    }

    .bento-item:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .bento-item:nth-child(5) {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .disruptive-title {
        font-size: 2.2rem !important;
        margin-top: 0.5rem;
    }

    .disruptive-title .shiny-white {
        font-size: 1.8rem !important;
        display: inline-block;
    }

    .section {
        padding: 3rem 0;
    }

    .hamburger {
        display: flex;
        margin-right: 1.5rem;
    }

    .nav-actions {
        display: none;
    }

    .logo {
        padding: 0.5rem;
        margin-left: 1rem;
        font-size: 0.9rem;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(16px);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 998;
        /* Clip-path animation: hidden by default */
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.45s cubic-bezier(0.77, 0, 0.175, 1);
        pointer-events: none;
        /* Override the pill style from desktop */
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        pointer-events: auto;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.08s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.16s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.24s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.32s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.40s;
    }

    .nav-menu.active li:nth-child(6) {
        transition-delay: 0.48s;
    }

    .nav-menu a {
        font-size: 1.15rem;
        font-weight: 600;
        text-align: center;
        display: block;
        width: 100%;
        padding: 0.5rem 0;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-menu a::after {
        display: none;
    }

    /* Hamburger â†’ X animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero {
        margin-top: 70px;
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    .hero-winzy-content {
        margin-top: 2rem;
    }

    .winzy-metrics {
        flex-wrap: wrap;
    }

    .winzy-metric h3 {
        font-size: 1.5rem;
    }

    .winzy-video-thumb {
        display: none;
        /* Hide mini video on mobile */
    }

    .soluciones-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .sedes-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .procesos-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .bento-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contactos-panel-grid {
        grid-template-columns: 1fr;
    }

    .galeria-filters {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    .card-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .card-desc {
        font-size: 0.9rem;
    }

    .btn-pill {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .card-bottom {
        gap: 1rem;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .about4-circle-wrapper {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 760px) {
    .sedes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .sedes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .disruptive-title {
        font-size: 1.8rem !important;
    }

    .disruptive-title .shiny-white {
        font-size: 1.5rem !important;
    }

    .btn-winzy {
        margin-bottom: 2rem;
        top: 25rem;
    }

    .winzy-desc {
        top: 20rem;
        padding-bottom: 2rem;
    }

    /* â”€â”€ Corrige corte de letras en el tÃ­tulo hero â”€â”€ */
    .word-outer {
        padding: 0 4px;   /* margen lateral para que overflow:hidden no corte */
        margin: 0 -4px;   /* compensa el padding para no alterar el espaciado */
    }

    .word-inner {
        letter-spacing: -0.5px; /* reduce el kerning negativo que causa el corte */
    }

    .disruptive-title {
        letter-spacing: -0.5px;
    }

    /* â”€â”€ Tarjetas de Soluciones â”€â”€ */
    .sol-apple-content {
        padding: 1rem 1.1rem;
        gap: 0.25rem;
    }

    .sol-label {
        font-size: 0.65rem;
        padding: 0.2rem 0.65rem;
        margin-bottom: 0.25rem;
    }

    .sol-title {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .sol-desc {
        font-size: 0.78rem;
        line-height: 1.4;
        margin: 0.2rem 0 0.5rem;
    }

    .sol-actions {
        gap: 0.5rem;
        margin-top: 0.1rem;
    }

    .sol-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.75rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem 0;
    }

    .metric-number {
        font-size: 1.5rem;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.4rem 0;
    }

    .tab-btn,
    .filter-btn,
    .ciudad-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    .contactos-view-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-title {
        font-size: 1.7rem;
        letter-spacing: -0.5px;
    }

    .card-desc {
        font-size: 0.85rem;
    }

    .btn-pill {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .filosofia-content {
        padding: 1.5rem;
    }

    .about4-item {
        padding: 1rem;
    }

    .whatsapp-floating a {
        width: 55px;
        height: 55px;
    }

    .whatsapp-floating i {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== ACCESSIBILITY ========== */
a:focus,
button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ========== FLOATING WHATSAPP MENU ========== */
.whatsapp-floating-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-floating-btn {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #20BA58 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s ease-in-out infinite;
    padding: 0;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating-btn i {
    font-size: 1.75rem;
}

.wa-popup-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 250px;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 9999;
}

.wa-popup-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wa-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.wa-popup-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.wa-popup-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.wa-popup-close:hover {
    color: var(--white);
}

.wa-popup-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wa-popup-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wa-popup-btn i {
    color: #25D366;
    font-size: 1.2rem;
}

.wa-popup-btn:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.3);
    transform: translateX(4px);
}

@media (max-width: 480px) {
    .whatsapp-floating-btn,
    .tiktok-floating-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-floating-btn i,
    .tiktok-floating-btn i {
        font-size: 1.5rem;
    }
    
    .wa-popup-menu,
    .tiktok-popup-menu {
        bottom: 70px;
    }
}
