﻿/* ============================================
   NILFIT - ESTILOS PRINCIPALES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');
@import url('variables.css');

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-regular);
    line-height: 1.6;
    color: var(--nilfit-charcoal);
    background-color: var(--nilfit-white);
    overflow-x: hidden;
}

/* Body cuando menÃº mÃ³vil estÃ¡ abierto */
body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul,
ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========== UTILIDADES ========== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-xl);
}

.section {
    padding: var(--spacing-5xl) 0;
}

.section-sm {
    padding: var(--spacing-4xl) 0;
}

/* ========== HEADER / NAVEGACIÃ“N ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    padding: var(--spacing-lg) 0;
    transition: var(--transition-smooth);
}

.header--transparent {
    background: transparent;
}

.header--solid {
    background: var(--nilfit-black);
    box-shadow: var(--shadow-lg);
}

.header--scrolled {
    background: var(--nilfit-black);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-lg);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    z-index: var(--z-header);
}

.header__logo img {
    height: 45px;
    width: auto;
}

.header__logo-text {
    font-family: var(--font-primary);
    font-weight: var(--font-black);
    font-size: var(--text-2xl);
    color: var(--nilfit-white);
    letter-spacing: 2px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.mobile-menu-toggle svg {
    width: 32px;
    height: 32px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--nilfit-white);
    border-radius: 3px;
    transition: var(--transition-base);
}

.header__menu {
    display: flex;
    gap: var(--spacing-2xl);
}

.header__menu-item {
    position: relative;
}

.header__menu-link {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--nilfit-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: var(--spacing-sm) 0;
    position: relative;
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nilfit-red);
    transition: var(--transition-base);
}

.header__menu-link:hover::after,
.header__menu-link--active::after {
    width: 100%;
}

/* Header en modo Wellness */
.header--wellness .header__menu-link::after {
    background: var(--nilfit-gold);
}

/* Header Wellness - Texto oscuro cuando es transparente */
.header--wellness.header--transparent .header__menu-link {
    color: var(--nilfit-charcoal);
}

.header--wellness.header--transparent .header__logo-text {
    color: var(--nilfit-charcoal);
}

.header--wellness.header--transparent .mobile-menu-toggle span {
    background: var(--nilfit-charcoal);
}

/* Cuando hace scroll, vuelve a blanco sobre negro */
.header--wellness.header--scrolled .header__menu-link {
    color: var(--nilfit-white);
}

.header--wellness.header--scrolled .header__logo-text {
    color: var(--nilfit-white);
}

.header--wellness.header--scrolled .mobile-menu-toggle span {
    background: var(--nilfit-white);
}

/* ========== VIDEO AUDIO BUTTON ========== */
.video-audio-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.6);
    color: var(--nilfit-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.video-audio-btn:hover {
    background: var(--nilfit-red);
    border-color: var(--nilfit-red);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-audio-btn i {
    width: 20px;
    height: 20px;
}

/* Wellness override */
body[data-theme="wellness"] .video-audio-btn:hover {
    background: var(--nilfit-gold);
    border-color: var(--nilfit-gold);
}

/* ========== BOTONES ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-2xl);
    font-family: var(--font-primary);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn--primary-red {
    background: var(--nilfit-red);
    color: var(--nilfit-white);
    box-shadow: var(--shadow-red);
}

.btn--primary-red:hover {
    background: var(--nilfit-red-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 24, 55, 0.4);
}

.btn--primary-gold {
    background: var(--nilfit-gold);
    color: var(--nilfit-white);
    box-shadow: var(--shadow-gold);
}

.btn--primary-gold:hover {
    background: var(--nilfit-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 98, 0.4);
}

.btn--outline-white {
    background: transparent;
    color: var(--nilfit-white);
    border: 2px solid var(--nilfit-white);
}

.btn--outline-white:hover {
    background: var(--nilfit-white);
    color: var(--nilfit-black);
}

.btn--outline-gold {
    background: transparent;
    color: var(--nilfit-gold);
    border: 2px solid var(--nilfit-gold);
}

.btn--outline-gold:hover {
    background: var(--nilfit-gold);
    color: var(--nilfit-white);
}

.btn--lg {
    padding: var(--spacing-lg) var(--spacing-3xl);
    font-size: var(--text-base);
}

/* ========== HERO SPLIT SCREEN (HOME) ========== */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    position: relative;
}

.hero-split__side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-4xl);
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
}

.hero-split__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-split__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Lado Fuerza (Izquierdo) */
.hero-split__side--force .hero-split__overlay {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(26, 26, 26, 0.7) 100%);
}

/* Lado Wellness (Derecho) */
.hero-split__side--wellness .hero-split__overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(250, 247, 242, 0.85) 100%);
}

.hero-split__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 500px;
}

.hero-split__title {
    font-family: var(--font-primary);
    font-weight: var(--font-black);
    font-size: var(--text-6xl);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-split__side--force .hero-split__title {
    color: var(--nilfit-white);
}

.hero-split__side--wellness .hero-split__title {
    color: var(--nilfit-charcoal);
}

.hero-split__subtitle {
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.7;
}

.hero-split__side--force .hero-split__subtitle {
    color: var(--nilfit-gray-light);
}

.hero-split__side--wellness .hero-split__subtitle {
    color: var(--nilfit-gray-neutral);
}

.hero-split__divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--nilfit-red) 0%, var(--nilfit-gold) 100%);
    z-index: 10;
    transform: translateX(-50%);
}

.hero-split__badge {
    display: inline-block;
    color: var(--nilfit-white);
    padding: var(--spacing-xs) var(--spacing-lg);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
}

.hero-split__badge--red {
    background: var(--nilfit-red);
}

.hero-split__badge--gold {
    background: var(--nilfit-gold);
}

.hero-split__buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* ========== SECCIÃ“N STYKU (PUENTE) ========== */
.section-styku {
    background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);
    padding: var(--spacing-5xl) 0;
    position: relative;
    overflow: hidden;
}

.section-styku::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(227, 24, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.styku__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.styku__content {
    position: relative;
    z-index: 1;
}

.styku__badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--nilfit-red) 0%, var(--nilfit-gold) 100%);
    color: var(--nilfit-white);
    padding: var(--spacing-xs) var(--spacing-lg);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
}

.styku__title {
    font-family: var(--font-primary);
    font-weight: var(--font-bold);
    font-size: var(--text-5xl);
    color: var(--nilfit-white);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.styku__title span {
    background: linear-gradient(90deg, var(--nilfit-red) 0%, var(--nilfit-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.styku__description {
    font-size: var(--text-lg);
    color: var(--nilfit-gray-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
}

.styku__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.styku__feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--nilfit-white);
    font-size: var(--text-sm);
}

.styku__feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--nilfit-red) 0%, var(--nilfit-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
}

.styku__feature-icon i {
    width: 14px;
    height: 14px;
    color: var(--nilfit-white);
}

.styku__visual {
    position: relative;
}

.styku__image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ========== SECCIÃ“N WELLNESS ========== */
.section-wellness {
    background: var(--nilfit-white-pure);
    position: relative;
}

.wellness__hero {
    text-align: center;
    padding: var(--spacing-5xl) 0;
    background: linear-gradient(180deg, var(--nilfit-cream) 0%, var(--nilfit-white-pure) 100%);
}

.wellness__hero-title {
    font-family: var(--font-primary);
    font-weight: var(--font-light);
    font-size: var(--text-hero);
    color: var(--nilfit-charcoal);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.wellness__hero-title span {
    color: var(--nilfit-gold);
    font-weight: var(--font-medium);
}

.wellness__hero-subtitle {
    font-family: var(--font-secondary);
    font-size: var(--text-xl);
    color: var(--nilfit-gray-neutral);
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
}

.wellness__divider {
    width: 80px;
    height: 2px;
    background: var(--nilfit-gold);
    margin: 0 auto;
}

/* Grid de Servicios Wellness */
.wellness__services {
    padding: var(--spacing-5xl) 0;
}

.wellness__services-title {
    text-align: center;
    font-family: var(--font-primary);
    font-weight: var(--font-light);
    font-size: var(--text-4xl);
    color: var(--nilfit-charcoal);
    margin-bottom: var(--spacing-4xl);
}

.wellness__services-title span {
    color: var(--nilfit-gold);
    font-weight: var(--font-semibold);
}

.wellness__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

.wellness__card {
    background: var(--nilfit-white-pure);
    border: 1px solid var(--nilfit-beige);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.wellness__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--nilfit-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.wellness__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--nilfit-gold);
}

.wellness__card:hover::before {
    transform: scaleX(1);
}

.wellness__card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--nilfit-gold);
    border-radius: 50%;
    color: var(--nilfit-gold);
    font-size: var(--text-2xl);
    transition: var(--transition-smooth);
}

.wellness__card:hover .wellness__card-icon {
    background: var(--nilfit-gold);
    color: var(--nilfit-white);
}

.wellness__card-title {
    font-family: var(--font-primary);
    font-weight: var(--font-semibold);
    font-size: var(--text-xl);
    color: var(--nilfit-charcoal);
    margin-bottom: var(--spacing-md);
}

.wellness__card-description {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--nilfit-gray-neutral);
    line-height: 1.7;
}

/* ========== SECCIÃ“N BOX/GYM (FUERZA) ========== */
.section-force {
    background: var(--nilfit-black);
    position: relative;
}

.force__hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.force__hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.force__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.force__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-2xl);
}

.force__hero-title {
    font-family: var(--font-primary);
    font-weight: var(--font-black);
    font-size: var(--text-hero);
    color: var(--nilfit-white);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 5px;
}

.force__hero-title span {
    color: var(--nilfit-red);
}

.force__hero-subtitle {
    font-family: var(--font-secondary);
    font-size: var(--text-xl);
    color: var(--nilfit-gray-light);
    margin-bottom: var(--spacing-2xl);
}

/* Grid de Servicios Box/Gym */
.force__services {
    padding: var(--spacing-5xl) 0;
    background: linear-gradient(180deg, var(--nilfit-black) 0%, var(--nilfit-black-soft) 100%);
}

.force__services-title {
    text-align: center;
    font-family: var(--font-primary);
    font-weight: var(--font-bold);
    font-size: var(--text-4xl);
    color: var(--nilfit-white);
    text-transform: uppercase;
    margin-bottom: var(--spacing-4xl);
    letter-spacing: 3px;
}

.force__services-title span {
    color: var(--nilfit-red);
}

.force__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

.force__card {
    background: var(--nilfit-charcoal);
    border-radius: var(--radius-base);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

.force__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--nilfit-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.force__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-red);
}

.force__card:hover::after {
    transform: scaleX(1);
}

.force__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.force__card-content {
    padding: var(--spacing-xl);
}

.force__card-title {
    font-family: var(--font-primary);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
    color: var(--nilfit-white);
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.force__card-description {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--nilfit-gray-light);
    line-height: 1.6;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--nilfit-black);
    padding: var(--spacing-5xl) 0 var(--spacing-2xl);
    position: relative;
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-4xl);
}

.footer__brand {
    max-width: 350px;
}

.footer__logo {
    font-family: var(--font-primary);
    font-weight: var(--font-black);
    font-size: var(--text-3xl);
    color: var(--nilfit-white);
    letter-spacing: 3px;
    margin-bottom: var(--spacing-lg);
}

.footer__description {
    font-size: var(--text-base);
    color: var(--nilfit-gray-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.footer__social {
    display: flex;
    gap: var(--spacing-md);
}

.footer__social-link {
    width: 44px;
    height: 44px;
    border: 1px solid var(--nilfit-gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nilfit-white);
    transition: var(--transition-base);
}

.footer__social-link:hover {
    background: var(--nilfit-red);
    border-color: var(--nilfit-red);
}

.footer__column-title {
    font-family: var(--font-primary);
    font-weight: var(--font-semibold);
    font-size: var(--text-lg);
    color: var(--nilfit-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xl);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer__link {
    font-size: var(--text-base);
    color: var(--nilfit-gray-light);
    transition: var(--transition-base);
}

.footer__link:hover {
    color: var(--nilfit-white);
    padding-left: var(--spacing-sm);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    color: var(--nilfit-gray-light);
    font-size: var(--text-base);
}

.footer__contact-item a {
    color: inherit;
    transition: var(--transition-base);
}

.footer__contact-item a:hover {
    color: var(--nilfit-white);
}

.footer__contact-hours {
    font-size: 0.85em;
}

.footer__contact-icon {
    color: var(--nilfit-red);
    font-size: var(--text-lg);
    margin-top: 2px;
}

.footer__bottom {
    margin-top: var(--spacing-4xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--nilfit-charcoal);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    font-size: var(--text-sm);
    color: var(--nilfit-gray-neutral);
}

.footer__legal {
    display: flex;
    gap: var(--spacing-xl);
}

.footer__legal-link {
    font-size: var(--text-sm);
    color: var(--nilfit-gray-neutral);
}

.footer__legal-link:hover {
    color: var(--nilfit-white);
}

/* ========== MAPA DARK MODE ========== */
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: calc(var(--z-header) + 1);
    padding: var(--spacing-sm);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--nilfit-white);
    transition: var(--transition-base);
    transform-origin: center;
}

/* AnimaciÃ³n hamburguesa a X */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========== BANNER TOP MARQUEE ========== */
.banner-top-marquee {
    position: fixed;
    top: 93px;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--nilfit-red);
    padding: 12px 0;
    overflow: hidden;
}

.banner-marquee {
    display: flex;
    white-space: nowrap;
}

.banner-marquee__content {
    display: flex;
    gap: 60px;
    flex-shrink: 0;
    padding-right: 60px;
    align-items: center;
}

.banner-marquee__text {
    color: var(--nilfit-white);
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 2px;
}

.banner-marquee__dot {
    color: var(--nilfit-white);
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
}

/* ========== SECCIÃ“N SERVICIOS (HOME) ========== */
.section-services {
    background: var(--nilfit-cream);
    padding: var(--spacing-5xl) 0;
}

.section-services__header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.section-services__title {
    font-family: var(--font-primary);
    font-weight: var(--font-bold);
    font-size: var(--text-4xl);
    color: var(--nilfit-charcoal);
    margin-bottom: var(--spacing-md);
}

.section-services__title span {
    color: var(--nilfit-red);
}

.section-services__subtitle {
    font-size: var(--text-lg);
    color: var(--nilfit-gray-neutral);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

/* ========== SECCIÃ“N CTA (HOME) ========== */
.section-cta {
    background: linear-gradient(135deg, var(--nilfit-black) 0%, var(--nilfit-charcoal) 100%);
    padding: var(--spacing-5xl) 0;
    text-align: center;
}

.section-cta__title {
    font-family: var(--font-primary);
    font-weight: var(--font-black);
    font-size: var(--text-5xl);
    color: var(--nilfit-white);
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
}

.section-cta__title span {
    color: var(--nilfit-red);
}

.section-cta__subtitle {
    font-size: var(--text-xl);
    color: var(--nilfit-gray-light);
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
    line-height: 1.7;
}

.section-cta__buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== RESPONSIVE ========== */

/* === TABLET LANDSCAPE === */
@media (max-width: 1200px) {
    .hero-split__title {
        font-size: var(--text-5xl);
    }

    .wellness__grid,
    .force__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__container {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
    }

    .styku__title {
        font-size: var(--text-4xl);
    }

    .section-cta__title {
        font-size: var(--text-4xl);
    }
}

/* === TABLET PORTRAIT === */
@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-split__side {
        min-height: 70vh;
        padding: var(--spacing-3xl) var(--spacing-xl);
    }

    .hero-split__divider {
        display: none;
    }

    .styku__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-3xl);
    }

    .styku__features {
        justify-content: center;
    }

    .styku__visual {
        order: -1;
    }

    .styku__image {
        max-width: 500px;
        margin: 0 auto;
    }

    .wellness__hero-title,
    .force__hero-title {
        font-size: var(--text-5xl);
    }

    /* Banner top marquee ajuste tablet */
    .banner-top-marquee {
        top: 80px;
    }

    .banner-marquee__text {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .banner-marquee__content {
        gap: 40px;
        padding-right: 40px;
    }
}

/* === MOBILE === */
@media (max-width: 768px) {

    /* Header mÃ³vil */
    .header {
        padding: var(--spacing-md) 0;
    }

    .header__logo-text {
        font-size: var(--text-xl);
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--nilfit-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        gap: var(--spacing-2xl);
    }

    .header__nav--open {
        right: 0;
    }

    .header__menu {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .header__menu-link {
        font-size: var(--text-xl);
        padding: var(--spacing-md) 0;
    }

    .header__nav .btn {
        margin-top: var(--spacing-lg);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Banner top marquee mÃ³vil */
    .banner-top-marquee {
        top: 65px;
        padding: 10px 0;
    }

    .banner-marquee__text {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .banner-marquee__content {
        gap: 30px;
        padding-right: 30px;
    }

    /* Hero Split mÃ³vil */
    .hero-split__side {
        min-height: 85vh;
        padding: var(--spacing-5xl) var(--spacing-lg);
    }

    .hero-split__side--force {
        padding-top: calc(var(--spacing-5xl) + 50px);
    }

    .hero-split__badge {
        font-size: 10px;
        letter-spacing: 1.5px;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .hero-split__title {
        font-size: var(--text-3xl);
        letter-spacing: 1px;
        margin-bottom: var(--spacing-md);
    }

    .hero-split__subtitle {
        font-size: var(--text-base);
        margin-bottom: var(--spacing-xl);
        line-height: 1.6;
    }

    .hero-split__content {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .hero-split__buttons {
        gap: var(--spacing-md);
    }

    /* Botones hero mÃ³vil */
    .hero-split__content .btn,
    .hero-split__buttons .btn {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--text-sm);
    }

    /* STYKU mÃ³vil */
    .section-styku {
        padding: var(--spacing-4xl) 0;
    }

    .styku__title {
        font-size: var(--text-3xl);
    }

    .styku__description {
        font-size: var(--text-base);
    }

    .styku__features {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }

    .styku__feature {
        width: 100%;
        justify-content: center;
    }

    .styku__image {
        max-width: 100%;
    }

    /* SecciÃ³n servicios mÃ³vil */
    .section-services {
        padding: var(--spacing-4xl) 0;
    }

    .section-services__header {
        margin-bottom: var(--spacing-2xl);
    }

    .section-services__title {
        font-size: var(--text-2xl);
        margin-bottom: var(--spacing-sm);
    }

    .section-services__subtitle {
        font-size: var(--text-base);
        padding: 0 var(--spacing-sm);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* CTA Section mÃ³vil */
    .section-cta {
        padding: var(--spacing-4xl) 0;
    }

    .section-cta__title {
        font-size: var(--text-2xl);
        margin-bottom: var(--spacing-md);
    }

    .section-cta__subtitle {
        font-size: var(--text-base);
        margin-bottom: var(--spacing-xl);
        padding: 0 var(--spacing-sm);
    }

    .section-cta__buttons {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }

    /* Cards de servicios */
    .wellness__grid,
    .force__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .force__card-image {
        height: 180px;
    }

    .force__card-content {
        padding: var(--spacing-lg);
    }

    .force__card-title {
        font-size: var(--text-lg);
    }

    .force__card-description {
        font-size: var(--text-sm);
    }

    /* Footer mÃ³vil */
    .footer {
        padding: var(--spacing-4xl) 0 var(--spacing-xl);
    }

    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
    }

    .footer__brand {
        max-width: 100%;
    }

    .footer__logo {
        font-size: var(--text-2xl);
    }

    .footer__description {
        font-size: var(--text-sm);
    }

    .footer__social {
        justify-content: center;
    }

    .footer__column-title {
        font-size: var(--text-base);
        margin-bottom: var(--spacing-md);
    }

    .footer__links {
        gap: var(--spacing-sm);
    }

    .footer__link {
        font-size: var(--text-sm);
    }

    .footer__contact-item {
        justify-content: center;
        font-size: var(--text-sm);
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        margin-top: var(--spacing-2xl);
    }

    .footer__copyright {
        font-size: var(--text-xs);
    }

    .footer__legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md);
    }

    .footer__legal-link {
        font-size: var(--text-xs);
    }

    /* Wellness hero mÃ³vil */
    .wellness__hero {
        padding: var(--spacing-4xl) var(--spacing-md);
    }

    .wellness__hero-title {
        font-size: var(--text-4xl);
    }

    .wellness__hero-subtitle {
        font-size: var(--text-base);
    }

    /* Force hero mÃ³vil */
    .force__hero-title {
        font-size: var(--text-4xl);
        letter-spacing: 2px;
    }

    .force__hero-subtitle {
        font-size: var(--text-base);
    }

    .force__hero-content {
        padding: var(--spacing-lg);
    }
}

/* === MOBILE SMALL === */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .section {
        padding: var(--spacing-3xl) 0;
    }

    /* Banner marquee pequeÃ±o */
    .banner-top-marquee {
        top: 58px;
        padding: 8px 0;
    }

    .banner-marquee__text {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .banner-marquee__content {
        gap: 20px;
        padding-right: 20px;
    }

    /* Hero ajustes pequeÃ±os */
    .hero-split__side {
        min-height: 90vh;
        padding: var(--spacing-4xl) var(--spacing-md);
    }

    .hero-split__side--force {
        padding-top: calc(var(--spacing-4xl) + 60px);
    }

    .hero-split__badge {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .hero-split__title {
        font-size: var(--text-2xl);
    }

    .hero-split__subtitle {
        font-size: var(--text-sm);
    }

    .hero-split__buttons .btn {
        font-size: var(--text-xs);
    }

    /* Botones mÃ³vil pequeÃ±o */
    .btn {
        width: 100%;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--text-xs);
    }

    .btn--lg {
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: var(--text-sm);
    }

    /* STYKU pequeÃ±o */
    .styku__badge {
        font-size: 10px;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .styku__title {
        font-size: var(--text-2xl);
    }

    .styku__description {
        font-size: var(--text-sm);
    }

    .styku__feature {
        font-size: var(--text-xs);
    }

    /* Cards pequeÃ±as */
    .force__card-image {
        height: 160px;
    }

    .force__card-content {
        padding: var(--spacing-md);
    }

    .force__card-title {
        font-size: var(--text-base);
        margin-bottom: var(--spacing-sm);
    }

    .force__card-description {
        font-size: var(--text-xs);
        line-height: 1.5;
    }

    /* Wellness cards pequeÃ±as */
    .wellness__card {
        padding: var(--spacing-lg);
    }

    .wellness__card-icon {
        width: 50px;
        height: 50px;
        font-size: var(--text-lg);
    }

    .wellness__card-title {
        font-size: var(--text-base);
    }

    .wellness__card-description {
        font-size: var(--text-sm);
    }

    /* Wellness hero pequeÃ±o */
    .wellness__hero-title {
        font-size: var(--text-3xl);
    }

    /* Force hero pequeÃ±o */
    .force__hero {
        min-height: 70vh;
    }

    .force__hero-title {
        font-size: var(--text-3xl);
        letter-spacing: 1px;
    }

    .force__hero-subtitle {
        font-size: var(--text-sm);
    }

    /* Secciones tÃ­tulos pequeÃ±os */
    .force__services-title,
    .wellness__services-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--spacing-2xl);
    }

    /* Servicios pequeÃ±o */
    .section-services {
        padding: var(--spacing-3xl) 0;
    }

    .section-services__title {
        font-size: var(--text-xl);
    }

    .section-services__subtitle {
        font-size: var(--text-sm);
    }

    /* CTA pequeÃ±o */
    .section-cta {
        padding: var(--spacing-3xl) 0;
    }

    .section-cta__title {
        font-size: var(--text-xl);
        line-height: 1.3;
    }

    .section-cta__subtitle {
        font-size: var(--text-sm);
    }
}

/* ========== ANIMACIONES ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Delay classes */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--nilfit-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader__content {
    text-align: center;
}

.preloader__logo {
    font-family: var(--font-primary);
    font-weight: var(--font-black);
    font-size: var(--text-4xl);
    color: var(--nilfit-white);
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-lg);
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader__spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--nilfit-charcoal);
    border-top-color: var(--nilfit-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== BOTÃ“N FLOTANTE WHATSAPP ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: var(--z-fixed);
    transition: var(--transition-base);
    animation: bounceIn 0.6s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    width: 30px;
    height: 30px;
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 75px;
    background: var(--nilfit-black);
    color: var(--nilfit-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-base);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========== COOKIES BANNER ========== */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nilfit-black);
    padding: var(--spacing-lg) var(--spacing-xl);
    z-index: var(--z-modal);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 1px solid var(--nilfit-charcoal);
}

.cookies-banner.show {
    transform: translateY(0);
}

.cookies-banner.hidden {
    display: none;
}

.cookies-banner__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cookies-banner__text {
    flex: 1;
    min-width: 300px;
}

.cookies-banner__text p {
    color: var(--nilfit-gray-light);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.cookies-banner__text a {
    color: var(--nilfit-red);
    text-decoration: underline;
}

.cookies-banner__buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.cookies-banner__btn {
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-base);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: var(--transition-base);
}

.cookies-banner__btn--accept {
    background: var(--nilfit-red);
    color: var(--nilfit-white);
    border: none;
}

.cookies-banner__btn--accept:hover {
    background: var(--nilfit-red-dark);
}

.cookies-banner__btn--reject {
    background: transparent;
    color: var(--nilfit-gray-light);
    border: 1px solid var(--nilfit-gray-dark);
}

.cookies-banner__btn--reject:hover {
    border-color: var(--nilfit-white);
    color: var(--nilfit-white);
}

/* ========== MARQUEE / CARRUSEL DE TEXTO ========== */
.marquee-section {
    background: var(--nilfit-black);
    padding: var(--spacing-lg) 0;
    overflow: hidden;
    border-top: 1px solid var(--nilfit-charcoal);
    border-bottom: 1px solid var(--nilfit-charcoal);
}

.marquee-section--red {
    background: var(--nilfit-red);
    border-color: var(--nilfit-red-dark);
}

.marquee-section--gold {
    background: var(--nilfit-gold);
    border-color: var(--nilfit-gold-dark);
}

.marquee {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee__content {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
    flex-shrink: 0;
    padding-right: var(--spacing-3xl);
}

.marquee__item {
    font-family: var(--font-primary);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
    color: var(--nilfit-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.marquee__item::after {
    content: 'â˜…';
    color: var(--nilfit-red);
    font-size: var(--text-lg);
}

.marquee-section--red .marquee__item::after {
    color: var(--nilfit-white);
}

.marquee-section--gold .marquee__item {
    color: var(--nilfit-charcoal);
}

.marquee-section--gold .marquee__item::after {
    color: var(--nilfit-charcoal);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float__tooltip {
        display: none;
    }

    .cookies-banner__container {
        flex-direction: column;
        text-align: center;
    }

    .cookies-banner__buttons {
        width: 100%;
        justify-content: center;
    }

    .marquee__item {
        font-size: var(--text-lg);
    }
}

/* ========== BANNER SUPERIOR CON BARRA DE CARGA ========== */
/* ========== BANNER SUPERIOR CON BARRA DE CARGA ========== */
.banner-top-marquee {
    background: var(--nilfit-black);
    color: var(--nilfit-white);
    padding: 12px 0;
    height: 60px;
    overflow: hidden;
    position: fixed;
    /* Fixed so it stays at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== RESPONSIVE MENU ========== */
@media (max-width: 992px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--nilfit-black);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        padding: var(--spacing-4xl);
        z-index: 1000;
    }

    .header__nav--open {
        right: 0;
    }

    .header__menu {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xl);
        margin-bottom: var(--spacing-2xl);
    }

    .header__menu-link {
        font-size: var(--text-lg);
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

.banner-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #E31837 0%, #a00f25 100%);
    z-index: 1;
    opacity: 0.85;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 2px 0 10px rgba(227, 24, 55, 0.5);
    width: 0;
    transform-origin: left;
    transform: scaleX(0);
    animation: scaleProgress 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes scaleProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.banner-marquee {
    position: relative;
    z-index: 2;
    width: 100%;
}

.banner-marquee__text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Adjust Header position if banner exists */
body.has-banner .header {
    top: 60px !important;
    /* Force top position */
}

/* Add padding to body or main to prevent content from being hidden behind fixed elements */
body.has-banner {
    padding-top: 60px;
    /* Push content down */
}

body.has-banner .mobile-menu {
    top: 60px;
    height: calc(100vh - 60px);
}