/* ===================================
   MEJORAS DE JERARQUÍA VISUAL
   =================================== */

/* Sistema de Tipografía Mejorado */
h1, .logo h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2, .section-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    position: relative;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

p, .paragraph {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Títulos - Sin efectos de color ni sombra */
.section-title {
    background: none;
    color: inherit;
    text-shadow: none;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Dashboard - Títulos con Texto Blanco */
.form-section h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 
        0 0 10px rgba(243, 156, 18, 0.6),
        0 0 20px rgba(243, 156, 18, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

/* Título SERVICIOS específico - Sin efectos */
.services .section-title {
    background: none;
    color: inherit;
    text-shadow: none;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Fallback simplificado */
@supports not (-webkit-background-clip: text) {
    .section-title,
    .services .section-title {
        background: none;
        color: inherit;
        text-shadow: none;
    }
}

/* KPI Values - Texto Blanco */
.kpi-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    text-shadow: 
        0 0 15px rgba(243, 156, 18, 0.7),
        0 0 25px rgba(243, 156, 18, 0.5),
        0 3px 6px rgba(0, 0, 0, 0.6);
}

/* Timeline Content - Texto Blanco */
.timeline-content h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-shadow: 
        0 0 8px rgba(243, 156, 18, 0.6),
        0 0 15px rgba(243, 156, 18, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

/* Widget Headers - Texto Blanco (ya estaba blanco) */
.widget-header h3 {
    color: var(--text-light);
    margin: 0;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Prediction Values - Texto Blanco */
.prediction-value {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 
        0 0 8px rgba(243, 156, 18, 0.6),
        0 0 15px rgba(243, 156, 18, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Certificate Back - Texto Blanco */
.certificate-back h5 {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    order: 1;
    text-shadow: 
        0 0 8px rgba(243, 156, 18, 0.6),
        0 0 15px rgba(243, 156, 18, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Bordes Dorados Mejorados */
.certificate-back {
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.3);
}

.qr-code {
    width: 90px !important;
    height: 90px !important;
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 5px;
    background: white;
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.2);
}

/* Botones Dorados Mejorados */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), #ff6b35);
    color: var(--text-light);
    font-weight: 600;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6b35, var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}
.tag-gold { 
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.95), rgba(255, 193, 7, 0.85));
    color: #000;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-pink), var(--gold));
    border-radius: 2px;
}

/* Espaciado Mejorado */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-item {
    padding: 2.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-pink), var(--gold));
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Mejoras en Botones */
.service-btn-see-more {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-pink));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-btn-see-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.7s cubic-bezier(0.23, 1, 0.32, 1), height 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-btn-see-more:hover::before {
    width: 300px;
    height: 300px;
}

.service-btn-see-more:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(46, 213, 115, 0.5);
}

/* Contenedor Mejorado */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Mejoras Responsivas */
@media (max-width: 768px) {
    .services-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-item {
        padding: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-item {
        padding: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* ===================================
   CERTIFICADOS GOOGLE ADS - TARJETAS FLIP
   =================================== */

.certificates-section {
    margin-top: 30px;
}

.certificates-section h4 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.certificate-card {
    perspective: 1000px;
    height: 280px;
    position: relative;
    transition: transform 0.2s ease;
}

.certificate-card:hover {
    transform: translateY(-2px);
}

.certificate-flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(.2, .8, .2, 1);
    cursor: pointer;
    transform-origin: center center;
    will-change: transform;
    transform: translateZ(0);
}

.certificate-card:hover .certificate-flip-card {
    transform: rotateY(180deg);
}

.certificate-front,
.certificate-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.certificate-front {
    background: var(--card-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-pink);
    padding: 10px;
    transition: all 0.3s ease;
}

/* Borde dorado específico para Google Ads Measurement */
.certificate-card:nth-child(3) .certificate-front {
    border: 2px solid var(--gold);
}

.certificate-front img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.certificate-flip-card:hover .certificate-front img {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.certificate-back {
    background: linear-gradient(135deg, var(--card-bg-dark), var(--bg-dark));
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    border: 2px solid var(--gold);
    height: 100%;
    box-sizing: border-box;
}

.certificate-back h5 {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    order: 1;
}

.qr-code {
    width: 80px !important;
    height: 80px !important;
    border: 2px solid var(--gold);
    border-radius: 6px;
    padding: 4px;
    background: white;
    transition: all 0.3s ease;
    order: 2;
    margin-bottom: 15px;
}

.certificate-back p {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0;
    opacity: 0.9;
    order: 3;
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Efecto de brillo sutil en hover */
.certificate-flip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-120%);
    transition: transform 0.35s ease;
    z-index: 1;
    pointer-events: none;
}

.certificate-card:hover .certificate-flip-card::before {
    transform: translateX(120%);
}

/* Responsive para certificados */
@media (max-width: 1024px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .certificate-card {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .certificate-card {
        height: 240px;
    }
    
    .certificate-back {
        padding: 15px;
        justify-content: center;
    }
    
    .certificate-back h5 {
        font-size: 0.9rem;
        margin-bottom: 12px;
        order: 1;
    }
    
    .qr-code {
        width: 65px !important;
        height: 65px !important;
        order: 2;
        margin-bottom: 12px;
    }
    
    .certificate-back p {
        font-size: 0.75rem;
        margin-bottom: 0;
        order: 3;
    }
}

@media (max-width: 480px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .certificate-card {
        height: 220px;
    }
    
    .certificate-back {
        padding: 12px;
        justify-content: center;
    }
    
    .certificate-back h5 {
        font-size: 0.85rem;
        margin-bottom: 10px;
        order: 1;
    }
    
    .qr-code {
        width: 55px !important;
        height: 55px !important;
        order: 2;
        margin-bottom: 10px;
    }
    
    .certificate-back p {
        font-size: 0.7rem;
        margin-bottom: 0;
        order: 3;
    }
}

/* ===================================
   VARIABLES CSS
   =================================== */
:root {
    --primary-green: #b4b9ad;
    --primary-pink: #e45b7a;
    --secondary-pink: #e45b7a;
    --text-dark: #ffffff;
    --text-light: #ffffff;
    --gold: #f39c12;
    --primary-gold: #f39c12;
    --green-dark: #1a3c34;
    --pink-dark: #8a1e3a;
    --bg-light: #1a1a1a;
    --bg-dark: #1a1a1a;
    --card-bg-light: #2a2a2a;
    --card-bg-dark: #2a2a2a;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-black-screen {
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: epicFadeOut 3s ease-in-out forwards;
    animation-delay: 2.5s;
}

.loader-logo-container {
    position: relative;
    z-index: 100;
}

.loader-logo-glitch {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: glitchAppear 1.5s ease-in-out forwards;
}

.loader-logo-glitch-2 {
    color: #00ffff;
    animation: glitchAppear2 1.5s ease-in-out forwards;
    z-index: 99;
}

.loader-logo-glitch-3 {
    color: #ff00ff;
    animation: glitchAppear3 1.5s ease-in-out forwards;
    z-index: 98;
}

.explosion-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 50;
}

.particle-explosion {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px #00ffff;
}

.shockwave {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 60;
}

.distortion-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 0, 255, 0.1) 50%, transparent 70%);
    animation: distortionEffect 2s ease-in-out infinite;
    z-index: 80;
}

.static-noise {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 90;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.1) 2px, rgba(255, 255, 255, 0.1) 4px);
    animation: staticNoise 0.1s linear infinite;
}

@keyframes glitchAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
        filter: blur(10px);
    }
    20% {
        opacity: 1;
        transform: translate(-48%, -52%) scale(1.1) rotate(1deg);
        filter: blur(0px);
    }
    40% {
        transform: translate(-52%, -48%) scale(0.9) rotate(-1deg);
    }
    60% {
        transform: translate(-50%, -50%) scale(1.05) rotate(0.5deg);
    }
    80% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

@keyframes glitchAppear2 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    20% {
        opacity: 0.8;
        transform: translate(-45%, -55%) scale(1.2);
        filter: blur(2px);
    }
    100% {
        opacity: 0;
        transform: translate(-40%, -60%) scale(1.5);
        filter: blur(10px);
    }
}

@keyframes glitchAppear3 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    20% {
        opacity: 0.6;
        transform: translate(-55%, -45%) scale(1.1);
        filter: blur(1px);
    }
    100% {
        opacity: 0;
        transform: translate(-60%, -40%) scale(1.3);
        filter: blur(8px);
    }
}

@keyframes particleExplosion {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

@keyframes shockwaveExpand {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
        border-width: 10px;
    }
    50% {
        opacity: 0.8;
        border-width: 3px;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(20);
        border-width: 1px;
    }
}

@keyframes epicFadeOut {
    0% {
        opacity: 1;
        filter: brightness(1);
    }
    70% {
        opacity: 1;
        filter: brightness(1.2);
    }
    100% {
        opacity: 0;
        filter: brightness(2) blur(5px);
        visibility: hidden;
    }
}

@keyframes distortionEffect {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@keyframes staticNoise {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

/* ===================================
   ANIMACIONES DE LETRAS - HERO TITLE
   =================================== */

.animated-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.letter-wrapper {
    display: inline-flex;
    position: relative;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(90deg) scale(0.3);
    animation: letterAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    position: relative;
    transition: all 0.3s ease;
}

.letter:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--primary-pink);
    text-shadow: 0 5px 15px rgba(228, 91, 122, 0.4);
}

.letter-space {
    width: 0.3em;
}

/* Animación de aparición de letras */
@keyframes letterAppear {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(90deg) scale(0.3);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) rotateX(0deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

/* Efecto de brillo para letras destacadas */
@keyframes letterGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(228, 91, 122, 0.8);
    }
    50% {
        text-shadow: 0 0 20px rgba(228, 91, 122, 1), 0 0 30px rgba(228, 91, 122, 0.6);
    }
}

/* Delay para cada letra */
.letter:nth-child(1) { animation-delay: 0.1s; }
.letter:nth-child(2) { animation-delay: 0.15s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.25s; }
.letter:nth-child(5) { animation-delay: 0.3s; }
.letter:nth-child(6) { animation-delay: 0.35s; }
.letter:nth-child(7) { animation-delay: 0.4s; }
.letter:nth-child(8) { animation-delay: 0.45s; }
.letter:nth-child(9) { animation-delay: 0.5s; }
.letter:nth-child(10) { animation-delay: 0.55s; }
.letter:nth-child(11) { animation-delay: 0.6s; }
.letter:nth-child(12) { animation-delay: 0.65s; }
.letter:nth-child(13) { animation-delay: 0.7s; }
.letter:nth-child(14) { animation-delay: 0.75s; }
.letter:nth-child(15) { animation-delay: 0.8s; }
.letter:nth-child(16) { animation-delay: 0.85s; }
.letter:nth-child(17) { animation-delay: 0.9s; }
.letter:nth-child(18) { animation-delay: 0.95s; }
.letter:nth-child(19) { animation-delay: 1.0s; }
.letter:nth-child(20) { animation-delay: 1.05s; }
.letter:nth-child(21) { animation-delay: 1.1s; }
.letter:nth-child(22) { animation-delay: 1.15s; }
.letter:nth-child(23) { animation-delay: 1.2s; }
.letter:nth-child(24) { animation-delay: 1.25s; }
.letter:nth-child(25) { animation-delay: 1.3s; }
.letter:nth-child(26) { animation-delay: 1.35s; }
.letter:nth-child(27) { animation-delay: 1.4s; }
.letter:nth-child(28) { animation-delay: 1.45s; }
.letter:nth-child(29) { animation-delay: 1.5s; }
.letter:nth-child(30) { animation-delay: 1.55s; }
.letter:nth-child(31) { animation-delay: 1.6s; }
.letter:nth-child(32) { animation-delay: 1.65s; }

/* Letras destacadas con efecto especial */
.letter-highlight {
    color: var(--primary-pink);
    position: relative;
    animation: letterGlow 2s ease-in-out infinite;
    animation-delay: inherit;
}

.letter-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-pink), var(--secondary-pink));
    animation: underlineAppear 0.8s ease-out forwards;
    animation-delay: 2s;
}

@keyframes underlineAppear {
    to {
        width: 100%;
    }
}

/* ===================================
   ANIMACIÓN DE SUBTÍTULO POR PALABRAS
   =================================== */

.animated-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.word {
    opacity: 0;
    transform: translateX(-30px);
    animation: wordSlideIn 0.6s ease-out forwards;
}

.word:nth-child(1) { animation-delay: 1.8s; }
.word:nth-child(3) { animation-delay: 2.0s; }
.word:nth-child(5) { animation-delay: 2.2s; }
.word:nth-child(7) { animation-delay: 2.4s; }

.separator {
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
}

.separator:nth-child(2) { animation-delay: 1.9s; }
.separator:nth-child(4) { animation-delay: 2.1s; }
.separator:nth-child(6) { animation-delay: 2.3s; }

@keyframes wordSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ===================================
   ANIMACIÓN DE SECTION TITLES
   =================================== */

.animated-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateZ(5deg);
    animation: titleWordAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.title-word:nth-child(1) { animation-delay: 0.2s; }
.title-word:nth-child(2) { animation-delay: 0.4s; }

.title-word-accent {
    color: var(--primary-pink);
    transform: translateY(30px) rotateZ(-5deg);
}

@keyframes titleWordAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateZ(5deg) scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) rotateZ(-2deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateZ(0deg) scale(1);
    }
}

/* ===================================
   ANIMACIONES DE ELEMENTOS FLOTANTES
   =================================== */

.floating-elements {
    position: relative;
    width: 100%;
    height: 400px;
}

.element {
    position: absolute;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-green));
    color: white;
    border-radius: 25px;
    font-weight: 600;
    opacity: 0;
    animation: floatIn 1s ease-out forwards;
    box-shadow: 0 10px 30px rgba(228, 91, 122, 0.3);
    transition: all 0.3s ease;
}

.element:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 40px rgba(228, 91, 122, 0.5);
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 1.8s;
    animation: floatIn 1s ease-out 1.8s forwards, float1 6s ease-in-out 2.8s infinite;
}

.element-2 {
    top: 50%;
    right: 15%;
    animation-delay: 2.0s;
    animation: floatIn 1s ease-out 2.0s forwards, float2 7s ease-in-out 3s infinite;
}

.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2.2s;
    animation: floatIn 1s ease-out 2.2s forwards, float3 5s ease-in-out 3.2s infinite;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(5px) rotate(-1deg); }
    75% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(-2deg); }
    66% { transform: translateY(10px) rotate(1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(3deg); }
}

/* ===================================
   ANIMACIONES DE SECCIONES
   =================================== */

.services {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 2.5s forwards;
}

.service-card {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: cardAppear 0.8s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 2.8s; }
.service-card:nth-child(2) { animation-delay: 3.0s; }
.service-card:nth-child(3) { animation-delay: 3.2s; }

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===================================
   EFECTO DE PARTÍCULAS DE FONDO
   =================================== */

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-pink);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 8s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 12s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 10s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; animation-duration: 15s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; animation-duration: 9s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 11s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; animation-duration: 13s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; animation-duration: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; animation-duration: 16s; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; animation-duration: 7s; }

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
}

/* ===================================
   EFECTO TYPEWRITER
   =================================== */

.typewriter-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.typewriter-text {
    display: inline-block;
    border-right: 3px solid var(--primary-pink);
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(20, end) forwards,
               blinkCaret 0.75s step-end infinite;
    width: 0;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCaret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-pink); }
}

/* Cursor parpadeante */
.cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--primary-pink);
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===================================
   EFECTO GLITCH
   =================================== */

.glitch-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-dark);
    text-transform: uppercase;
}

.glitch-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: glitchEffect 3s infinite;
}

.glitch-1 {
    color: var(--primary-pink);
    animation-delay: 0.1s;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-2 {
    color: var(--primary-green);
    animation-delay: 0.2s;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

/* Glitch Effect - Texto Blanco */
.glitch-3 {
    color: var(--text-light);
    animation-delay: 0.3s;
    clip-path: polygon(0 35%, 100% 35%, 100% 65%, 0 65%);
}

/* View Project - Texto Blanco */
.view-project {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

/* Form Status - Texto Blanco */
.form-status.loading {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-light);
}

@keyframes glitchEffect {
    0%, 90%, 100% {
        opacity: 0;
        transform: translate(0);
    }
    92% {
        opacity: 1;
        transform: translate(-2px, 2px);
    }
    94% {
        opacity: 1;
        transform: translate(2px, -2px);
    }
    96% {
        opacity: 1;
        transform: translate(-1px, 1px);
    }
    98% {
        opacity: 1;
        transform: translate(1px, -1px);
    }
}

/* ===================================
   EFECTO WAVE PARA LETRAS
   =================================== */

.wave-text {
    display: inline-block;
}

.wave-text .letter {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

.wave-text .letter:nth-child(1) { animation-delay: 0s; }
.wave-text .letter:nth-child(2) { animation-delay: 0.1s; }
.wave-text .letter:nth-child(3) { animation-delay: 0.2s; }
.wave-text .letter:nth-child(4) { animation-delay: 0.3s; }
.wave-text .letter:nth-child(5) { animation-delay: 0.4s; }
.wave-text .letter:nth-child(6) { animation-delay: 0.5s; }
.wave-text .letter:nth-child(7) { animation-delay: 0.6s; }
.wave-text .letter:nth-child(8) { animation-delay: 0.7s; }
.wave-text .letter:nth-child(9) { animation-delay: 0.8s; }
.wave-text .letter:nth-child(10) { animation-delay: 0.9s; }
.wave-text .letter:nth-child(11) { animation-delay: 1.0s; }

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===================================
   EFECTO NEÓN PARA LETRAS
   =================================== */

.neon-text {
    color: var(--primary-pink);
    text-shadow: 
        0 0 10px var(--primary-pink),
        0 0 20px var(--primary-pink),
        0 0 30px var(--primary-pink),
        0 0 40px var(--primary-pink);
    animation: neonFlicker 2s infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--primary-pink),
            0 0 20px var(--primary-pink),
            0 0 30px var(--primary-pink),
            0 0 40px var(--primary-pink);
    }
    50% {
        text-shadow: 
            0 0 5px var(--primary-pink),
            0 0 10px var(--primary-pink),
            0 0 15px var(--primary-pink),
            0 0 20px var(--primary-pink);
    }
}

/* ===================================
   EFECTO FADE IN GRADUAL
   =================================== */

.fade-text {
    opacity: 0;
    animation: fadeInText 1s ease-out forwards;
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

/* ===================================
   EFECTO SCALE IN
   =================================== */

.scale-text {
    transform: scale(0);
    animation: scaleInText 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes scaleInText {
    to {
        transform: scale(1);
    }
}

/* ===================================
   RESPONSIVE PARA ANIMACIONES
   =================================== */

@media (max-width: 768px) {
    .animated-title {
        font-size: 2.5rem;
    }
    
    .animated-section-title,
    .typewriter-title,
    .glitch-title {
        font-size: 2rem;
    }
    
    .animated-subtitle {
        font-size: 1rem;
    }
    
    /* Reducir delays en mobile para mejor experiencia */
    .letter {
        animation-duration: 0.4s;
    }
    
    .word {
        animation-duration: 0.4s;
    }
}

/* ===================================
   ACCESSIBILITY - REDUCED MOTION
   =================================== */

@media (prefers-reduced-motion: reduce) {
    .letter,
    .word,
    .title-word,
    .typewriter-text,
    .glitch-layer {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .letter-highlight::after {
        animation: none !important;
        width: 100% !important;
    }
    
    .cursor {
        animation: none !important;
    }
}

/* ===================================
   EFECTOS INTERACTIVOS ADICIONALES
   =================================== */

/* Hover effect en letras */
.letter:hover {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-pink);
    transition: all 0.3s ease;
}

/* Click effect en palabras */
.letter-wrapper:active .letter {
    animation: letterExplosion 0.6s ease-out forwards;
}

@keyframes letterExplosion {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Loading animation para texto */
.text-loading {
    position: relative;
    color: transparent;
}

.text-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,105,180,0.3), transparent);
    animation: textShimmer 2s infinite;
}

@keyframes textShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Dark mode adjustments */
body.dark-mode .animated-subtitle {
    color: var(--text-light);
}

body.dark-mode .letter-highlight {
    color: var(--primary-pink);
}

body.dark-mode .neon-text {
    color: var(--primary-pink);
    text-shadow: 
        0 0 10px var(--primary-pink),
        0 0 20px var(--primary-pink),
        0 0 30px var(--primary-pink),
        0 0 40px var(--primary-pink);
}

body.dark-mode .glitch-title {
    color: var(--text-light);
}

/* ===================================
   BOTÓN FLOTANTE DE WHATSAPP
   =================================== */

.whatsapp-float {
    position: fixed;
    right: 25px;
    top: 75%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-float:active {
    transform: translateY(-50%) scale(0.95);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Animación de pulso sutil */
@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

.whatsapp-float {
    animation: whatsappPulse 3s ease-in-out infinite;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        right: 20px;
        top: 80%;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 15px;
        top: 85%;
    }
    
    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}

/* Accessibility - reduced motion */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
    
    .whatsapp-float:hover {
        transform: translateY(-50%);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: white !important;
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    z-index: 1;
    padding: 0 6px;
    transition: all 0.3s ease;
}

.logo h1::after {
    content: none !important;
}

.logo h1::before {
    content: '';
    position: absolute;
    left: -10%;
    top: 50%;
    width: 120%;
    height: 8px;
    background: var(--primary-pink);
    transform: translateY(-50%) rotate(-12deg);
    border-radius: 999px;
    z-index: -1;
    box-shadow:
        0 0 10px rgba(255, 77, 166, 0.55),
        0 0 22px rgba(255, 77, 166, 0.35);
}

.logo:hover h1::before {
    height: 10px;
    box-shadow:
        0 0 14px rgba(255, 77, 166, 0.75),
        0 0 30px rgba(255, 77, 166, 0.45);
}

.logo:hover h1 {
    transform: scale(1.05);
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    display: flex;
    align-items: center;
    background: rgba(156, 173, 140, 0.1);
    border-radius: 25px;
    padding: 0.5rem 1rem;
}

.search-bar {
    border: none;
    background: transparent;
    outline: none;
    padding: 0.25rem;
    color: var(--text-light);
    width: 150px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(156, 173, 140, 0.2) 0%, rgba(246, 176, 187, 0.2) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-pink);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-pink);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.btn-primary:active {
    background: var(--gold);
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-pink);
}

.btn-secondary:hover {
    background: var(--primary-pink);
    color: white;
}

.btn-secondary:focus-visible {
    background: var(--primary-pink);
    color: white;
}

.btn-secondary:active {
    background: var(--primary-green);
    color: white;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    height: 100%;
}

.element {
    position: absolute;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    background: #f1c8cb;
    color: white;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    background: var(--primary-green);
    color: white;
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    background: #f1c8cb;
    color: white;
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Services Section - Professional Design */
.services {
    padding: 80px 0;
    background: var(--card-bg-dark);
}

.services .section-title {
    position: relative;
    display: block;
    left: auto;
    transform: none;
    margin: 0 auto 2rem auto;
    text-align: center;
    padding: 0.7rem 3.5rem;
    background: var(--gold);
    color: #111;
    border-radius: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.4rem;
}

body.dark-mode .services .section-title {
    color: #111;
}

.services-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Sección visual de servicios - Diseño Mejorado */
.services-visual-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.services-intro {
    text-align: center;
    margin: 0 auto 4rem;
    max-width: 600px;
}

.services-intro p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.service-visual-item {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin: 8rem 0;
    min-height: 450px;
    position: relative;
}

.service-visual-item.left-align {
    flex-direction: row;
}

.service-visual-item.right-align {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1.1;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(228, 91, 122, 0.15);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(228, 91, 122, 0.08) 0%, 
        transparent 50%, 
        rgba(212, 175, 55, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-image:hover .image-overlay {
    opacity: 1;
}

.service-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-pink);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
    position: relative;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-gold));
}

.service-visual-item.right-align .service-content h3::after {
    left: auto;
    right: 0;
}

.service-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-weight: 300;
    max-width: 500px;
}

.service-visual-item.right-align .service-content p {
    margin-left: auto;
    text-align: right;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 500px;
}

.service-visual-item.right-align .service-features {
    margin-left: auto;
    text-align: right;
}

.service-features li {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.8rem;
    font-weight: 300;
    position: relative;
    padding-left: 1.5rem;
}

.service-visual-item.right-align .service-features li {
    padding-left: 0;
    padding-right: 1.5rem;
}

.service-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-pink);
    font-weight: 700;
    font-size: 1.2rem;
}

.service-visual-item.right-align .service-features li::before {
    left: auto;
    right: 0;
}

.service-features li:last-child {
    margin-bottom: 0;
}

/* Mejorar el título principal de la sección */
.services .section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-align: center;
}

/* Animaciones al aparecer */
.service-visual-item {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards;
}

.service-visual-item:nth-child(1) { animation-delay: 0.2s; }
.service-visual-item:nth-child(2) { animation-delay: 0.4s; }
.service-visual-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design Mejorado */
@media (max-width: 1024px) {
    .service-visual-item {
        gap: 4rem;
        margin: 6rem 0;
        min-height: 400px;
    }
    
    .service-content h3 {
        font-size: 2rem;
    }
    
    .service-content p {
        font-size: 1.1rem;
    }
    
    .services .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services-visual-section {
        padding: 2rem 1rem;
    }
    
    .service-visual-item {
        flex-direction: column !important;
        gap: 2rem;
        margin: 4rem 0;
        min-height: auto;
    }
    
    .service-image {
        flex: 1;
        height: 280px;
        order: -1;
    }
    
    .service-content {
        flex: 1;
        text-align: center;
        padding: 1rem;
    }
    
    .service-content h3 {
        font-size: 1.8rem;
        text-align: center;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .service-content h3::after {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
    
    .service-content p {
        font-size: 1rem;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100%;
    }
    
    .service-features {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100%;
    }
    
    .service-features li {
        text-align: center !important;
        padding-left: 0;
        padding-right: 0;
    }
    
    .service-features li::before {
        display: none;
    }
    
    .services-intro p {
        font-size: 1.2rem;
    }
    
    .services .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-visual-section {
        padding: 1rem 0.5rem;
    }
    
    .service-image {
        height: 220px;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
    
    .service-content p {
        font-size: 0.95rem;
    }
    
    .service-features li {
        font-size: 0.95rem;
    }
    
    .service-visual-item {
        margin: 3rem 0;
    }
    
    .services .section-title {
        font-size: 1.8rem;
    }
    
    .services-intro p {
        font-size: 1.1rem;
    }
}

/* Sección unificada de plataformas */
.platforms-intro {
    text-align: center;
    margin: 3rem auto 4rem;
    max-width: 800px;
    padding: 2rem;
    background: rgba(228, 91, 122, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(228, 91, 122, 0.3);
    backdrop-filter: blur(10px);
}

.platforms-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.platforms-text strong {
    color: var(--primary-pink);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Responsive para platforms intro */
@media (max-width: 768px) {
    .platforms-intro {
        margin: 2rem auto 3rem;
        padding: 1.5rem;
    }
    
    .platforms-text {
        font-size: 1.1rem;
    }
    
    .platforms-text strong {
        font-size: 1.2rem;
    }
}

.service-item {
    position: relative;
    background: var(--bg-dark);
    border-radius: 8px;
    overflow: hidden;
    min-height: 220px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-content {
    padding: 2rem;
    text-align: left;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-pink { 
    background: linear-gradient(135deg, rgba(241, 200, 203, 0.95), rgba(228, 91, 122, 0.85));
}
.tag-green { 
    background: linear-gradient(135deg, rgba(180, 185, 173, 0.95), rgba(156, 173, 140, 0.85));
}
.tag-gold { 
    background: linear-gradient(135deg, rgba(188, 196, 130, 0.95), rgba(212, 175, 55, 0.85));
}
.tag-blue { 
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.95), rgba(0, 86, 179, 0.85));
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: var(--text-light);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-extra {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--primary-green);
    border-radius: 4px;
    opacity: 0.95;
    color: var(--text-light);
    font-weight: 400;
}

.service-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.service-btn-see-more {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(228, 91, 122, 0.3);
}

.service-btn-see-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-btn-see-more:hover::before {
    left: 100%;
}

.service-btn-see-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 91, 122, 0.4);
    background: linear-gradient(135deg, var(--secondary-pink), var(--primary-pink));
}

.service-item[data-service="desarrollo-web"] .service-btn-see-more {
    background: linear-gradient(135deg, var(--primary-green), #9cad8c);
    box-shadow: 0 4px 15px rgba(156, 173, 140, 0.3);
}

.service-item[data-service="desarrollo-web"] .service-btn-see-more:hover {
    box-shadow: 0 6px 20px rgba(156, 173, 140, 0.4);
    background: linear-gradient(135deg, #9cad8c, var(--primary-green));
}

.service-item[data-service="ciencia-datos"] .service-btn-see-more {
    background: linear-gradient(135deg, var(--gold), #d4af37);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.service-item[data-service="ciencia-datos"] .service-btn-see-more:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #d4af37, var(--gold));
}

.service-benefits {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
}

.service-benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-benefits li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-pink);
    font-weight: 700;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-cta {
    background: linear-gradient(135deg, var(--primary-pink), rgba(228, 91, 122, 0.85));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.service-cta:hover {
    background: linear-gradient(135deg, var(--primary-green), rgba(156, 173, 140, 0.85));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(156, 173, 140, 0.3);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 1rem 0;
    position: relative;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-overlay h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-pink), transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-overlay h3::after {
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}

.service-item.active .service-overlay {
    transform: translateX(-100%);
}

/* Responsive */
@media (max-width: 768px) {
    .services-list {
        gap: 1.5rem;
        margin: 0 1rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .service-overlay h3 {
        font-size: 1.5rem;
    }
    
    .service-cta {
        width: 100%;
        text-align: center;
    }
}

/* Estilos para dropdown de servicios en navbar */
.services-dropdown {
    position: relative;
}

.services-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.services-dropdown-toggle:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.services-dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.services-dropdown.active .services-dropdown-toggle::after {
    transform: rotate(180deg);
}

.services-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.services-dropdown.active .services-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.services-dropdown-item {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.services-dropdown-item:last-child {
    border-bottom: none;
}

.services-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.services-dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.services-dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

body.services-page {
    background-color: #f4f4f4;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(248, 248, 248, 0.32)),
        url("/frontend/images/backgrounds/fondo_marmol.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.dark-mode.services-page {
    background-color: #1a1a1a;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
        url("/frontend/images/backgrounds/fondo_marmol.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-dark);
    padding: 2rem 1.6rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2.4rem;
    margin: 0.25rem 0 1rem;
}

.service-card h3 {
    color: #222;
    margin: 0.2rem 0 0.6rem;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 700;
}

.service-tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 0.9rem;
}

.tag-pink { background: rgba(241, 200, 203, 0.95); }
.tag-green { background: rgba(180, 185, 173, 0.95); }
.tag-gold { background: rgba(188, 196, 130, 0.95); }

.service-card p {
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    line-height: 1.45;
    opacity: 0.75;
}

.service-cta {
    margin-top: auto;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    color: #333;
    text-transform: uppercase;
}

.service-cta:hover {
    color: #000;
}

.service-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.service-modal.is-open {
    display: block;
}

.service-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

.service-modal__dialog {
    position: relative;
    width: min(860px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    margin: 16px auto;
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
    border: 1px solid rgba(0,0,0,0.08);
}

.service-modal__content {
    padding: 22px 22px 18px;
}

.service-modal__close {
    position: sticky;
    top: 0;
    margin-left: auto;
    display: block;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: #f2f2f2;
}

.service-modal__header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

.service-modal__icon {
    font-size: 34px;
    line-height: 1;
}

.service-modal__title {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.service-modal__tag {
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    opacity: 0.8;
}

.service-modal__body {
    margin-top: 12px;
    line-height: 1.55;
}

.service-modal__body ul:not(.service-list) {
    margin: 10px 0 0 18px;
}

.service-modal__actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    padding-bottom: 6px;
}

button.service-cta {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Portfolio Styles */
.portfolio {
    padding: 80px 0;
    background: var(--bg-light);
}

body.dark-mode .portfolio {
    background: var(--bg-dark);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-pink);
    background: transparent;
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

body.dark-mode .filter-btn {
    color: var(--text-light);
}

.filter-btn.active {
    background: var(--primary-pink);
    color: var(--text-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

body.dark-mode .portfolio-item {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    height: 250px;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-pink);
}

.portfolio-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.view-project {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.view-project:hover {
    color: var(--primary-pink);
}

/* Team Styles */
.team {
    padding: 80px 0;
    background-color: var(--card-bg-dark);
    background-image:
        linear-gradient(135deg, rgba(156, 173, 140, 0.1), rgba(246, 176, 187, 0.1));
    background-size: 400% 400%;
    background-position: 0% 0%;
    background-repeat: no-repeat;
}

.team .section-title {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.7rem 3.5rem;
    background: var(--gold);
    color: #111;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

body.dark-mode .team .section-title {
    color: #111;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.team-member {
    background: var(--bg-dark);
    border-radius: 14px;
    padding: 2.2rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-member.featured {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.role {
    display: inline-block;
    background: rgba(226, 148, 132, 0.65);
    color: #1a1a1a;
    font-weight: 600;
    margin: 0.35rem 0 1rem;
    padding: 0.25rem 0.55rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

.bio {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-transform: none;
    font-size: 0.95rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(156, 173, 140, 0.85);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.member-social a:hover {
    background: var(--primary-pink);
    transform: translateY(-3px);
}

.services-page-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.services-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1.35rem;
}

.service-detail {
    background: var(--bg-dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.service-detail[open] {
    border-color: rgba(180, 185, 173, 0.7);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.14);
}

.service-detail summary {
    cursor: pointer;
    padding: 1.35rem 1.6rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 74px;
    background: rgba(255, 255, 255, 0.7);
}

.service-detail summary .service-acc-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(180, 185, 173, 0.35);
    color: rgba(46, 107, 71, 0.95);
    flex: 0 0 auto;
}

.service-detail summary .service-acc-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.service-detail summary .service-acc-title {
    display: inline-block;
}

.service-detail summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 3px solid rgba(179, 139, 31, 0.95);
    border-bottom: 3px solid rgba(179, 139, 31, 0.95);
    transform: rotate(45deg);
    margin-left: auto;
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.service-detail[open] summary::after {
    transform: rotate(-135deg);
}

.service-detail summary::-webkit-details-marker {
    display: none;
}

.service-detail-body {
    padding: 0 1.2rem 1.2rem;
}

.service-detail-body p {
    margin: 0.85rem 0 0.85rem;
    opacity: 0.85;
    line-height: 1.7;
}

.service-detail-body p strong {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(241, 200, 203, 0.6);
    font-weight: 800;
    font-size: 0.9rem;
}

.service-detail-body ul {
    margin: 0.25rem 0 1rem;
    padding-left: 1.1rem;
}

.service-detail-body li {
    margin: 0.35rem 0;
    line-height: 1.65;
}

.service-detail-body ul:last-of-type {
    margin-bottom: 1.4rem;
}

.service-detail-body .service-list {
    list-style: none;
    padding-left: 0;
    margin: 0.35rem 0 1.1rem;
}

.service-detail-body .service-list li {
    position: relative;
    padding-left: 1.55rem;
}

.service-detail-body .includes-list li::before {
    content: "➜";
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: rgba(46, 107, 71, 0.95);
    font-weight: 800;
}

.service-detail-body .benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: rgba(46, 107, 71, 0.95);
    font-weight: 900;
}

.service-detail-body .service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    background: rgba(241, 200, 203, 0.95);
    color: #111;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    align-self: flex-start;
}

.service-detail-body .service-cta:hover {
    filter: brightness(0.98);
    transform: translateY(-1px);
}

.service-detail-body .service-cta:focus-visible {
    filter: brightness(0.98);
    transform: translateY(-1px);
}

.service-detail-body .service-cta:active {
    background: rgba(180, 185, 173, 0.9);
    transform: translateY(0);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0.75rem 0 1.35rem;
}

.cert-flip {
    perspective: 1000px;
    border-radius: 14px;
    outline: none;
}

.cert-flip-inner {
    position: relative;
    width: 100%;
    min-height: 220px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    border-radius: 14px;
}

.cert-flip-front,
.cert-flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 14px;
    background: var(--bg-dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    padding: 0.9rem;
    display: grid;
    place-items: center;
    gap: 0.5rem;
    text-align: center;
}

.cert-flip-back {
    transform: rotateY(180deg);
}

.cert-face {
    width: 100%;
    max-width: 260px;
    height: auto;
    display: block;
    border-radius: 12px;
    background: var(--bg-dark);
    padding: 0.35rem;
}

.cert-hint {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    opacity: 0.75;
}

.cert-flip.is-flipped .cert-flip-inner {
    transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
    .cert-flip:hover .cert-flip-inner {
        transform: rotateY(180deg);
    }
}

.cert-flip:focus-visible .cert-flip-front,
.cert-flip:focus-visible .cert-flip-back {
    box-shadow: 0 0 0 3px rgba(188, 196, 130, 0.65), 0 10px 22px rgba(0, 0, 0, 0.12);
}

.platform-card {
    display: grid;
    place-items: center;
    gap: 0.65rem;
}

.platform-card__logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    display: block;
}

.platform-card__name {
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 1.05rem;
    text-align: center;
}

.platform-card__desc {
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.35;
    font-size: 0.95rem;
    text-align: center;
}

.cert-card {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 0.9rem;
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0.9rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.cert-img,
.cert-qr {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.cert-img {
    max-height: 210px;
    object-fit: contain;
    background: var(--bg-dark);
    padding: 0.35rem;
}

.cert-qr {
    max-width: 120px;
    justify-self: end;
    background: var(--bg-dark);
    padding: 0.35rem;
}

@media (max-width: 640px) {
    .services-page-actions a {
        width: 100%;
        text-align: center;
    }

    .service-detail-body .service-cta {
        width: 100%;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .cert-qr {
        justify-self: center;
    }
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    color: var(--primary-pink);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-visual {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-pink));
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.pattern-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--card-bg-light);
}

body.dark-mode .contact {
    background: var(--card-bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.6);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.6);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f39c12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

body.dark-mode .form-group select {
    background: rgba(26, 26, 26, 0.8);
    color: var(--text-light);
    border-color: rgba(212, 175, 55, 0.3);
}

.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 0.5rem;
}

.form-submit-btn {
    background: linear-gradient(135deg, var(--gold), #e67e22);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    margin-top: 20px;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #e67e22, var(--gold));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* ===================================
   FORMULARIO KPI - CIENCIA DE DATOS
   =================================== */

.contact-kpi-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.contact-kpi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(228, 91, 122, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-kpi-intro {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.kpi-contact-form {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 50px;
}

.form-section h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-shadow: 
        0 0 10px rgba(243, 156, 18, 0.6),
        0 0 20px rgba(243, 156, 18, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.5);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--primary-pink);
    box-shadow: 0 0 20px rgba(228, 91, 122, 0.3);
}

.kpi-step {
    background: rgba(26, 26, 26, 0.4);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.kpi-step:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.step-number {
    background: linear-gradient(135deg, var(--gold), #f4e4bc);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-header h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.step-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
    font-style: italic;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, var(--gold), #c4a028);
    color: var(--text-dark);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 300px;
}

.form-actions .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.form-actions .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    color: var(--text-dark);
    font-weight: 600;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 500;
    display: none;
    text-align: center;
}

.form-status.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.form-status.error {
    background: rgba(228, 91, 122, 0.2);
    border: 1px solid rgba(228, 91, 122, 0.3);
    color: var(--primary-pink);
}

.form-status.loading {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-kpi-section {
        padding: 60px 0;
    }
    
    .kpi-contact-form {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-section h3 {
        font-size: 1.5rem;
    }
    
    .kpi-step {
        padding: 20px;
    }
    
    .step-header {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .form-actions .btn-primary {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .contact-kpi-intro {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .kpi-contact-form {
        padding: 25px 15px;
    }
    
    .form-section h3 {
        font-size: 1.3rem;
    }
    
    .step-header h4 {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* ===================================
   FORMULARIO REDES SOCIALES - PUBLICIDAD Y REDES
   =================================== */

.social-media-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.social-media-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(228, 91, 122, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.social-form-intro {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.social-media-form {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(228, 91, 122, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

/* Radio y Checkbox personalizados */
.radio-group, .checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(26, 26, 26, 0.3);
}

.radio-label:hover, .checkbox-label:hover {
    background: rgba(228, 91, 122, 0.1);
}

.radio-label input[type="radio"], .checkbox-label input[type="checkbox"] {
    display: none;
}

.radio-custom, .checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(228, 91, 122, 0.5);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-custom {
    border-radius: 4px;
}

.radio-label input[type="radio"]:checked + .radio-custom,
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Secciones condicionales */
.conditional-section {
    background: rgba(26, 26, 26, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design para formulario redes sociales */
@media (max-width: 768px) {
    .social-media-form-section {
        padding: 60px 0;
    }
    
    .social-media-form {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .radio-group, .checkbox-grid {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-label, .checkbox-label {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .social-form-intro {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .social-media-form {
        padding: 25px 15px;
    }
    
    .form-section h3 {
        font-size: 1.3rem;
    }
}

/* ===================================
   FORMULARIO DESARROLLO WEB - DESARROLLO WEB
   =================================== */

.web-dev-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.web-dev-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 30% 30%, rgba(228, 91, 122, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.web-form-intro {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.web-dev-form {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

/* Radio y Checkbox personalizados para web dev */
.web-dev-form .radio-group, 
.web-dev-form .checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.web-dev-form .radio-label, 
.web-dev-form .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(26, 26, 26, 0.3);
}

.web-dev-form .radio-label:hover, 
.web-dev-form .checkbox-label:hover {
    background: rgba(212, 175, 55, 0.1);
}

.web-dev-form .radio-label input[type="radio"], 
.web-dev-form .checkbox-label input[type="checkbox"] {
    display: none;
}

.web-dev-form .radio-custom, 
.web-dev-form .checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.web-dev-form .checkbox-custom {
    border-radius: 4px;
}

.web-dev-form .radio-label input[type="radio"]:checked + .radio-custom,
.web-dev-form .checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.web-dev-form .radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.web-dev-form .checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Secciones condicionales para web dev */
.web-dev-form .conditional-section {
    background: rgba(26, 26, 26, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: none;
    animation: slideDown 0.3s ease;
}

/* Responsive Design para formulario desarrollo web */
@media (max-width: 768px) {
    .web-dev-form-section {
        padding: 60px 0;
    }
    
    .web-dev-form {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .web-dev-form .radio-group, 
    .web-dev-form .checkbox-grid {
        flex-direction: column;
        gap: 10px;
    }
    
    .web-dev-form .radio-label, 
    .web-dev-form .checkbox-label {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .web-form-intro {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .web-dev-form {
        padding: 25px 15px;
    }
    
    .web-dev-form .form-section h3 {
        font-size: 1.3rem;
    }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--primary-pink);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        0 0 8px rgba(255, 105, 180, 0.4),
        0 0 15px rgba(255, 105, 180, 0.2);
}

.link-group h4 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.link-group ul {
    list-style: none;
}

.link-group a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.link-group a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* ===================================
   DASHBOARD INTERACTIVE STYLES
   =================================== */

.dashboard-section {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(228, 91, 122, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.8s ease;
}

.kpi-card:hover::before {
    left: 100%;
}

.kpi-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.kpi-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.3rem;
    font-variant-numeric: tabular-nums;
}

.kpi-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.3rem;
}

.kpi-description {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.kpi-description em {
    color: rgba(212, 175, 55, 0.8);
    font-style: italic;
    font-size: 0.65rem;
}

.kpi-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #f4e4bc);
    border-radius: 2px;
    width: 0%;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.chart-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.chart-card h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.chart-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.chart-subtitle em {
    color: rgba(212, 175, 55, 0.8);
    font-style: italic;
    font-size: 0.85rem;
}

.chart-explanation {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.chart-explanation p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}

.chart-explanation em {
    color: rgba(212, 175, 55, 0.9);
    font-style: italic;
    font-size: 0.85rem;
}

.chart-container {
    position: relative;
    height: 250px;
}

.line-chart {
    width: 100%;
    height: 100%;
}

.chart-line {
    animation: drawLine 2s ease-out forwards;
}

.chart-area {
    animation: fillArea 2.5s ease-out forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes fillArea {
    to { stroke-dashoffset: 0; }
}

.chart-points {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.chart-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border: 3px solid var(--bg-dark);
    border-radius: 50%;
    transform: translate(-50%, 50%);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInPoint 0.5s ease forwards;
}

.chart-point:nth-child(1) { animation-delay: 0.5s; }
.chart-point:nth-child(2) { animation-delay: 0.8s; }
.chart-point:nth-child(3) { animation-delay: 1.1s; }
.chart-point:nth-child(4) { animation-delay: 1.4s; }
.chart-point:nth-child(5) { animation-delay: 1.7s; }

@keyframes fadeInPoint {
    to { opacity: 1; }
}

.chart-point:hover {
    transform: translate(-50%, 50%) scale(1.5);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.point-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.chart-point:hover .point-tooltip {
    opacity: 1;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    padding: 0 1rem;
}

.bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.5rem;
    position: relative;
}

.bar-fill {
    width: 100%;
    max-width: 60px;
    border-radius: 8px 8px 0 0;
    transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
}

.bar-label {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
}

.bar-value {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-weight: 600;
    opacity: 0;
    animation: fadeInValue 0.5s ease 1.5s forwards;
}

@keyframes fadeInValue {
    to { opacity: 1; }
}

.timeline-section {
    margin-bottom: 4rem;
}

.timeline-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.timeline-intro em {
    color: rgba(212, 175, 55, 0.8);
    font-style: italic;
    font-size: 0.95rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), rgba(212, 175, 55, 0.3));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-marker {
    flex: 0 0 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.timeline-icon {
    width: 60px;
    height: 60px;
}

.icon-path {
    animation: drawIcon 1.5s ease-out forwards;
}

@keyframes drawIcon {
    to { stroke-dashoffset: 0; }
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 0 2rem;
    backdrop-filter: blur(10px);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-content h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.timeline-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #f4e4bc);
    border-radius: 3px;
    width: 0%;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.widget-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.widget-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-header h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0;
}

.widget-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.widget-status.active {
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
    animation: pulse 2s infinite;
}

.widget-status.warning {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.widget-content {
    padding: 2rem;
}

.circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-fill {
    animation: fillRing 2s ease-out forwards;
}

@keyframes fillRing {
    to { stroke-dashoffset: 20; }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.widget-metrics {
    display: grid;
    gap: 1rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.metric:hover {
    background: rgba(255, 255, 255, 0.06);
}

.metric-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.metric-value {
    color: var(--text-light);
    font-weight: 600;
}

.prediction-list {
    display: grid;
    gap: 1rem;
}

.prediction-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.prediction-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.prediction-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.prediction-text {
    flex: 1;
}

.prediction-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.prediction-value {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.prediction-confidence {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 6px;
}

.quality-metrics {
    display: grid;
    gap: 1rem;
}

.quality-item {
    display: grid;
    grid-template-columns: 120px 1fr 50px;
    align-items: center;
    gap: 1rem;
}

.quality-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.quality-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.quality-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #f4e4bc);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quality-value {
    color: var(--text-light);
    font-weight: 600;
    text-align: right;
}

.widget-footer {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.widget-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
}

.widget-footer em {
    color: rgba(212, 175, 55, 0.9);
    font-style: italic;
    font-size: 0.8rem;
}

.dashboard-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.dashboard-intro em {
    color: rgba(212, 175, 55, 0.9);
    font-style: italic;
}

@media (max-width: 768px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .widgets-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-marker {
        position: absolute;
        left: -30px;
    }
    
    .timeline-content {
        margin: 0 0 0 2rem;
        text-align: left !important;
    }
}

/* ===================================
   SCROLL TELLING AVANZADO
   =================================== */

/* Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-green), var(--gold));
    z-index: 10000;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Parallax Hero Section */
.hero-carousel {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 100vh;
    margin-top: 80px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.parallax-bg {
    transform: translateZ(-50px) scale(1.5);
}

.parallax-mid {
    transform: translateZ(-25px) scale(1.25);
}

.parallax-fg {
    transform: translateZ(0px);
}

/* Slide Content Animations */
.slide-content {
    opacity: 0;
    transform: translateY(50px) translateZ(-20px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: min(90%, 900px);
    margin: 0 auto;
    text-align: center;
}

.slide-content.visible {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.slide-content h2 {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1s ease-out 0.3s;
    max-width: 44ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.slide-content.visible h2 {
    transform: translateX(0);
    opacity: 1;
}

.slide-content p {
    transform: translateX(100px);
    opacity: 0;
    transition: all 1s ease-out 0.6s;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.slide-content.visible p {
    transform: translateX(0);
    opacity: 1;
}

/* About Section - Text Revelation */
.about-text {
    position: relative;
}

.about-text h2 {
    opacity: 0;
    transform: translateY(30px) rotateX(-90deg);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.about-text h2.revealed {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.about-text p {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.about-text p.revealed {
    opacity: 1;
    transform: translateY(0);
}

.word-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotateZ(5deg);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.word-reveal.revealed {
    opacity: 1;
    transform: translateY(0) rotateZ(0);
}

/* Services - Cascade Animation */
.services-list {
    position: relative;
}

.service-item {
    opacity: 0;
    transform: translateX(-100px) rotateY(45deg);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.service-item.cascade-1 {
    transition-delay: 0.15s;
}

.service-item.cascade-2 {
    transition-delay: 0.3s;
}

.service-item.cascade-3 {
    transition-delay: 0.45s;
}

.service-item.revealed {
    opacity: 1;
    transform: translateX(0) rotateY(0);
}

.service-content {
    position: relative;
    overflow: hidden;
}

.service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-item.revealed .service-content::before {
    left: 100%;
}

/* Interactive Service Cards */
.service-item {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-item:hover {
    transform: translateZ(25px) rotateX(3deg) scale(1.02);
}

.service-tag {
    position: relative;
    overflow: hidden;
}

.service-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1), height 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-item:hover .service-tag::after {
    width: 120px;
    height: 120px;
}

/* Navigation Timeline */
.nav-timeline {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-dot::before {
    content: attr(data-section);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.timeline-dot:hover::before {
    opacity: 1;
}

.timeline-dot.active {
    background: var(--primary-pink);
    transform: scale(1.5);
    box-shadow: 0 0 20px var(--primary-pink);
}

.timeline-dot.visited {
    background: var(--primary-green);
}

/* Section Transitions */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

section.in-view::before {
    opacity: 1;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Scroll Triggered Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Reveal */
.scale-reveal {
    opacity: 0;
    transform: scale(0.3);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-reveal.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Rotate Reveal */
.rotate-reveal {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rotate-reveal.revealed {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Particle Effects on Scroll */
.scroll-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.scroll-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-pink);
    border-radius: 50%;
    opacity: 0;
}

.scroll-particle.active {
    animation: particleFloat 3s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0);
    }
}

/* Responsive para Scroll Telling */
@media (max-width: 768px) {
    .nav-timeline {
        right: 15px;
    }
    
    .timeline-dot {
        width: 8px;
        height: 8px;
        margin: 15px 0;
    }
    
    .timeline-dot::before {
        display: none;
    }
    
    .slide-content h2,
    .slide-content p {
        transform: none;
        opacity: 1;
    }
    
    .service-item {
        transform: none;
        opacity: 1;
    }
 }

 /* Estilos mejorados para chatbot - Jerarquía visual profesional */

.loyca-chatbot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Botón flotante mejorado */
.chatbot-fab {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E91E63, #C2185B);
    border: none;
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.chatbot-fab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chatbot-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chatbot-fab:hover::before {
    opacity: 1;
}

.chatbot-fab:active {
    transform: scale(0.95);
}

.chatbot-fab__icon {
    font-size: 24px;
    color: white;
    margin-bottom: 2px;
    z-index: 1;
    position: relative;
}

.chatbot-fab__label {
    font-size: 10px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.chatbot-fab:hover .chatbot-fab__label {
    opacity: 1;
    transform: translateY(0);
}

/* Ventana del chatbot mejorada - Tema oscuro coherente */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 600px;
    background: #1A1A1A;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.loyca-chatbot.is-open .chatbot-window {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Header oscuro con branding rosado */
.chatbot-header {
    background: linear-gradient(135deg, #1A1A1A, #2D2D2D);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.chatbot-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    right: -20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E91E63, transparent);
    transform: rotate(-2deg);
    opacity: 0.8;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    position: relative;
    z-index: 2;
}

.chatbot-title__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E91E63, #C2185B);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.chatbot-title__info {
    display: flex;
    flex-direction: column;
}

.chatbot-title__name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
    position: relative;
}

.chatbot-title__name::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -5px;
    right: -5px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E91E63, transparent);
    transform: rotate(-1deg);
    opacity: 0.7;
}

.chatbot-title__status {
    font-size: 13px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.chatbot-title__status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.chatbot-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Área de mensajes profesional - Tema oscuro */
.chatbot-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px;
    background: #2D2D2D;
    position: relative;
    scroll-snap-type: y proximity;
}

.chatbot-messages::before,
.chatbot-messages::after {
    content: "";
    position: sticky;
    left: 0;
    right: 0;
    height: 20px;
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.chatbot-messages::before {
    top: 0;
    background: linear-gradient(180deg, #2D2D2D, rgba(45, 45, 45, 0));
}

.chatbot-messages::after {
    bottom: 0;
    background: linear-gradient(0deg, #2D2D2D, rgba(45, 45, 45, 0));
}

.chatbot-messages.has-top-shadow::before {
    opacity: 1;
}

.chatbot-messages.has-bottom-shadow::after {
    opacity: 1;
}

/* Burbujas de mensaje mejoradas - Tema oscuro */
.chatbot-msg {
    max-width: 80%;
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    animation: messageSlide 0.4s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    white-space: pre-wrap;
    scroll-snap-align: start;
    font-weight: 500;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-msg.is-new {
    animation: messageSlide 200ms ease-out;
}

/* Mensajes del bot - verde oscuro tema */
.chatbot-msg.bot {
    background: linear-gradient(135deg, #1E3A1E, #2D4A2D);
    color: #E8F5E9;
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.chatbot-msg.bot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #1E3A1E, #2D4A2D);
    border-bottom-right-radius: 10px;
    border-left: 1px solid rgba(76, 175, 80, 0.3);
    border-bottom: 1px solid rgba(76, 175, 80, 0.3);
}

/* Mensajes del usuario - gris claro tema oscuro */
.chatbot-msg.user {
    background: linear-gradient(135deg, #E91E63, #C2185B);
    color: #FFFFFF;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 6px;
    border: 1px solid rgba(233, 30, 99, 0.4);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.chatbot-msg.user::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #E91E63, #C2185B);
    border-bottom-left-radius: 10px;
    border-right: 1px solid rgba(233, 30, 99, 0.4);
    border-bottom: 1px solid rgba(233, 30, 99, 0.4);
}

/* Estado escribiendo - tema oscuro */
.chatbot-msg.is-typing {
    background: linear-gradient(135deg, #3A3A3A, #4A4A4A);
    color: #B0B0B0;
    border-bottom-left-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
    opacity: 0.9;
}

.chatbot-msg.is-typing::after {
    display: none;
}

.typing-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin-right: 8px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #B0B0B0;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Botones de respuesta elegantes - tema oscuro */
.chatbot-quick {
    padding: 10px 16px;
    background: linear-gradient(180deg, #2D2D2D, #3A3A3A);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    max-height: 380px;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* Contenedor para botones en grid de 3 columnas */
.chatbot-quick.grid-3-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

/* Indicadores de scroll */
.chatbot-quick::before,
.chatbot-quick::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.chatbot-quick::before {
    top: 0;
    background: linear-gradient(180deg, #3A3A3A, rgba(58, 58, 58, 0));
}

.chatbot-quick::after {
    bottom: 0;
    background: linear-gradient(0deg, #3A3A3A, rgba(58, 58, 58, 0));
}

.chatbot-quick.has-top-scroll::before {
    opacity: 1;
}

.chatbot-quick.has-bottom-scroll::after {
    opacity: 1;
}

.chatbot-chip {
    padding: 5px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 400;
    transition: all 0.2s ease;
    box-shadow: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    white-space: normal;
    text-overflow: initial;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.02em;
}

.chatbot-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.08), transparent);
    transition: left 0.6s ease;
}

.chatbot-chip:hover {
    background: rgba(233, 30, 99, 0.1);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(233, 30, 99, 0.25);
    transform: translateY(0);
    box-shadow: none;
}

.chatbot-chip:hover::before {
    left: 100%;
}

.chatbot-chip:active {
    transform: translateY(0);
    background: rgba(233, 30, 99, 0.25);
    box-shadow: none;
}

.chatbot-chip:focus-visible {
    outline: 3px solid rgba(233, 30, 99, 0.6);
    outline-offset: 2px;
}

/* Input de texto profesional - tema oscuro */
.chatbot-input {
    padding: 16px 20px;
    background: linear-gradient(180deg, #2D2D2D, #3A3A3A);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.chatbot-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    background: #1A1A1A;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.chatbot-input input:focus {
    border-color: #E91E63;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.3);
}

.chatbot-input input::placeholder {
    color: #888888;
    font-weight: 400;
}

.chatbot-input button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #E91E63, #C2185B);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.chatbot-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(233, 30, 99, 0.4);
}

.chatbot-input button:active {
    transform: scale(0.95);
}

.chatbot-input button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Scrollbar personalizado - tema oscuro y más visible */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-quick::-webkit-scrollbar {
    width: 10px;
}

.chatbot-quick::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin: 4px 0;
}

.chatbot-quick::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #E91E63, #C2185B);
    border-radius: 5px;
    border: 1px solid rgba(233, 30, 99, 0.3);
    min-height: 30px;
}

.chatbot-quick::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #F06292, #E91E63);
    border: 1px solid rgba(233, 30, 99, 0.5);
}

.chatbot-quick::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #C2185B, #AD1457);
}

/* Scrollbar para Firefox */
.chatbot-quick {
    scrollbar-width: thin;
    scrollbar-color: #E91E63 rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 480px) {
    .loyca-chatbot {
        bottom: 16px;
        right: 16px;
    }
    
    .chatbot-window {
        width: calc(100vw - 32px);
        height: calc(100vh - 100px);
        bottom: 80px;
        right: 0;
        border-radius: 20px;
    }
    
    .chatbot-fab {
        width: 56px;
        height: 56px;
    }
    
    .chatbot-fab__icon {
        font-size: 20px;
    }
    
    .chatbot-msg {
        max-width: 90%;
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .chatbot-header {
        padding: 16px 20px;
    }
    
    .chatbot-title__avatar {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .chatbot-title__name {
        font-size: 16px;
    }
    
    .chatbot-chip {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ===================================
   MEJORAS DE JERARQUÍA VISUAL - NAVBAR
   =================================== */

/* Logo - Elemento Principal con Gradiente y Efectos */
.logo h1 {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: white !important;
    text-shadow: 0 0 30px rgba(156, 173, 140, 0.5) !important;
    position: relative !important;
    z-index: 10 !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.logo h1::before {
    z-index: -1 !important;
    background: linear-gradient(135deg, rgba(156, 173, 140, 0.5), rgba(255, 77, 166, 0.7)) !important;
    box-shadow: 
        0 0 8px rgba(156, 173, 140, 0.2),
        0 0 15px rgba(156, 173, 140, 0.15),
        0 0 25px rgba(255, 77, 166, 0.3) !important;
    height: 10px !important;
    transition: all 0.4s ease !important;
}

.logo:hover h1 {
    transform: scale(1.08) !important;
    filter: brightness(1.2) !important;
}

.logo:hover h1::before {
    height: 12px !important;
    box-shadow: 
        0 0 12px rgba(156, 173, 140, 0.3),
        0 0 25px rgba(156, 173, 140, 0.25),
        0 0 40px rgba(255, 77, 166, 0.4) !important;
}

/* Enlaces de Navegación - Jerarquía Mejorada */
.nav-list {
    gap: 2.5rem !important;
}

.nav-list a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    position: relative !important;
    padding: 8px 0 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    border-radius: 8px !important;
}

/* Enlace Activo - Destacado Visualmente */
.nav-list a.active {
    color: var(--primary-green) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    background: rgba(156, 173, 140, 0.1) !important;
    padding: 8px 16px !important;
    box-shadow: 0 0 20px rgba(156, 173, 140, 0.2) !important;
}

.nav-list a.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80% !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-pink)) !important;
    border-radius: 2px !important;
    animation: activeGlow 2s ease-in-out infinite !important;
}

@keyframes activeGlow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(156, 173, 140, 0.6);
        opacity: 1;
    }
    50% { 
        box-shadow: 0 0 20px rgba(156, 173, 140, 0.8);
        opacity: 0.8;
    }
}

/* Enlaces Inactivos - Efectos Hover Sutiles */
.nav-list a:not(.active):hover {
    color: rgba(255, 255, 255, 0.95) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.nav-list a:not(.active)::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(0) !important;
    width: 60% !important;
    height: 2px !important;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-pink)) !important;
    border-radius: 1px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.nav-list a:not(.active):hover::before {
    transform: translateX(-50%) scaleX(1) !important;
}

/* Contenedor del Navbar - Mejoras Visuales */
.nav-container {
    backdrop-filter: blur(15px) !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border-radius: 16px !important;
    padding: 12px 24px !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

.nav-container:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15) !important;
}

/* Header - Efecto de Profundidad */
.header {
    backdrop-filter: blur(20px) !important;
    background: linear-gradient(180deg, 
        rgba(26, 26, 26, 0.95) 0%, 
        rgba(26, 26, 26, 0.85) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) !important;
}

/* Indicador Dinámico de Sección */
.nav-indicator {
    position: absolute !important;
    bottom: -2px !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-pink)) !important;
    border-radius: 2px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 0 0 15px rgba(156, 173, 140, 0.5) !important;
}

/* Responsive para Navbar Mejorado */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem !important;
    }
    
    .nav-list a {
        font-size: 0.9rem !important;
        padding: 6px 0 !important;
    }
    
    .nav-list a.active {
        font-size: 1rem !important;
        padding: 6px 12px !important;
    }
    
    .nav-container {
        padding: 10px 16px !important;
        border-radius: 12px !important;
    }
}
