/* Variables */
:root {
    --color-background: #0a0a0a;
    --color-dark: #111111;
    --color-darker: #080808;
    --color-text: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-accent: #00c8ff;
    --color-accent-dark: #0099cc;
    --color-accent-glow: rgba(0, 200, 255, 0.5);
    --color-accent-glow-strong: rgba(0, 200, 255, 0.8);
    --color-gray: #333333;
    --color-gray-light: #555555;
    --color-gray-dark: #222222;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 15px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 12px 25px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 15px var(--color-accent-glow);
    --shadow-glow-strong: 0 0 25px var(--color-accent-glow-strong);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 5px;
    --border-radius-large: 10px;
    --container-width: 1200px;
    --glass-effect: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* Advanced Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: var(--shadow-glow); }
    50% { transform: scale(1.05); box-shadow: var(--shadow-glow-strong); }
    100% { transform: scale(1); box-shadow: var(--shadow-glow); }
}

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

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px var(--color-accent-glow); }
    50% { box-shadow: 0 0 20px var(--color-accent-glow-strong); }
    100% { box-shadow: 0 0 5px var(--color-accent-glow); }
}

@keyframes borderGlow {
    0% { border-color: var(--color-gray); }
    50% { border-color: var(--color-accent); }
    100% { border-color: var(--color-gray); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes blink {
    50% { border-color: transparent }
}

/* New advanced animations */
@keyframes shimmerText {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glitchText {
    0% { transform: translateX(0); }
    2% { transform: translateX(-2px); }
    4% { transform: translateX(2px); }
    6% { transform: translateX(-2px); }
    8% { transform: translateX(2px); }
    10% { transform: translateX(0); }
}

@keyframes cardHover {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-10px) scale(1.02); }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes floatRotate {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Base Styles with Enhanced Visuals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-background);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 200, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 50%, rgba(0, 200, 255, 0.02) 0%, transparent 25%),
        radial-gradient(circle at 40% 80%, rgba(0, 200, 255, 0.01) 0%, transparent 30%);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
    transition: width 1.5s ease;
}

h2.animate-underline::after {
    width: 100%;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

section:nth-child(odd) {
    background-color: var(--color-dark);
}

/* Glass morphism effect */
.glass-effect {
    background: rgba(20, 20, 20, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Enhanced Button Styles */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--color-accent-dark), var(--color-accent));
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
    color: var(--color-text);
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 200, 255, 0.3), 
                0 0 0 0 var(--color-accent-glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.cta-button: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: var(--transition-medium);
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 7px 25px rgba(0, 200, 255, 0.4), 
                0 0 20px var(--color-accent-glow);
    color: var(--color-text);
}

.cta-button:hover:before {
    left: 100%;
}

/* Enhanced animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-item.visible {
    animation: fadeIn 0.6s ease forwards;
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Enhanced section titles with animated gradient */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    display: inline-block;
    background: linear-gradient(45deg, #ffffff, var(--color-accent));
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 5s ease infinite;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    line-height: 1.8;
}

/* Enhanced Navbar with glass effect */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(8, 8, 8, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--transition-medium);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 2rem;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background-color: rgba(8, 8, 8, 0.9);
    height: 70px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled .navbar-container {
    height: 70px;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--color-accent-glow);
    animation: pulse 2s infinite;
}

.logo span {
    background: linear-gradient(90deg, #ffffff, var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
    transition: width var(--transition-medium);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.cta-button {
    padding: 10px 20px;
    border-radius: 30px;
    background: linear-gradient(45deg, var(--color-accent-dark), var(--color-accent));
    color: var(--color-text);
    box-shadow: 0 4px 15px rgba(0, 200, 255, 0.3);
    border: none;
}

.nav-links a.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 200, 255, 0.5);
}

.nav-links a.cta-button::after {
    display: none;
}

/* Estilo para el icono de WhatsApp en la barra de navegación */
.nav-links a.nav-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all var(--transition-medium);
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0 5px;
}

.whatsapp-text {
    display: none;
}

.nav-links a.nav-whatsapp::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.nav-links a.nav-whatsapp:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
}

.nav-links a.nav-whatsapp:hover::before {
    opacity: 1;
}

.nav-links a.nav-whatsapp::after {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.menu-toggle:hover {
    color: var(--color-accent);
}

/* Enhanced Hero Section with advanced effects */
.hero-section {
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-background);
    padding-top: 90px;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--color-background), transparent);
    z-index: 2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 200, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 200, 255, 0.03) 0%, transparent 40%);
    z-index: 1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(90deg, #ffffff, var(--color-accent), #ffffff);
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(0, 200, 255, 0.1);
    line-height: 1.2;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
    border-radius: 3px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--color-text);
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    cursor: pointer;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    transform: rotate(45deg);
    margin: -10px auto;
    animation: scrollIndicator 2s infinite;
}

@keyframes scrollIndicator {
    0% { opacity: 0; transform: rotate(45deg) translate(-20px, -20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(0, 0); }
}

/* Tech lines effect for hero */
.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    height: 1px;
    width: 100%;
}

.tech-line:nth-child(1) {
    top: 20%;
    animation: techLine 15s linear infinite;
    animation-delay: 0s;
}

.tech-line:nth-child(2) {
    top: 40%;
    animation: techLine 20s linear infinite;
    animation-delay: 5s;
}

.tech-line:nth-child(3) {
    top: 60%;
    animation: techLine 25s linear infinite;
    animation-delay: 10s;
}

.tech-line:nth-child(4) {
    top: 80%;
    animation: techLine 30s linear infinite;
    animation-delay: 15s;
}

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

/* Hero floating elements */
.floating-element {
    position: absolute;
    z-index: 1;
    opacity: 0.7;
    filter: blur(1px);
}

.floating-element.circle {
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    background: transparent;
}

.floating-element.square {
    border: 1px solid var(--color-accent);
    transform: rotate(45deg);
    background: transparent;
}

.floating-element.circle.one {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.floating-element.square.two {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.floating-element.circle.three {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation: float 10s ease-in-out infinite;
    animation-delay: 4s;
}

/* Enhanced Servicios Section */
.servicios-section {
    position: relative;
}

.servicios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 30%, rgba(0, 200, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 70%, rgba(0, 200, 255, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.servicios-section .container {
    position: relative;
    z-index: 2;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.servicio-card {
    background-color: rgba(34, 34, 34, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    border: 1px solid var(--color-gray);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--color-accent-dark), var(--color-accent));
    transition: height var(--transition-medium);
    z-index: -1;
}

.servicio-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.servicio-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 200, 255, 0.2);
    border-color: var(--color-accent);
}

.servicio-card:hover::before {
    height: 100%;
}

.servicio-card:hover::after {
    opacity: 1;
}

.servicio-card:hover .icon-container {
    transform: translateY(-10px);
    color: #ffffff;
}

.servicio-card:hover h3 {
    color: var(--color-accent);
}

.icon-container {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    transition: all var(--transition-medium);
    position: relative;
    display: inline-block;
}

.icon-container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-medium);
}

.servicio-card:hover .icon-container::after {
    width: 60px;
}

.servicio-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    transition: color var(--transition-medium);
}

.servicio-card p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-top: auto;
}

/* Service card shine effect */
.servicio-card .shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.8s ease;
    z-index: -1;
}

.servicio-card:hover .shine {
    left: 100%;
}

/* Enhanced Proceso Section */
.proceso-section {
    position: relative;
    overflow: hidden;
}

.proceso-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230099cc' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.proceso-section .container {
    position: relative;
    z-index: 2;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 200, 255, 0),
        rgba(0, 200, 255, 0.7),
        rgba(0, 200, 255, 0));
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    position: relative;
    margin: 70px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all var(--transition-slow);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-right: 2.5rem;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium);
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.7);
}

.timeline-number::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(0, 200, 255, 0.3);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

.timeline-content {
    background-color: rgba(34, 34, 34, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    width: calc(100% - 100px);
    position: relative;
    border: 1px solid var(--color-gray);
    transition: all var(--transition-medium);
    z-index: 2;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent var(--color-gray) transparent transparent;
    transition: border-color var(--transition-medium);
}

.timeline-content:hover {
    transform: translateX(15px) scale(1.02);
    border-color: var(--color-accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 200, 255, 0.2);
    background-color: rgba(34, 34, 34, 0.7);
}

.timeline-content:hover::before {
    border-color: transparent var(--color-accent) transparent transparent;
}

.timeline-content h3 {
    font-size: 1.6rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-medium);
}

.timeline-content:hover h3::after {
    width: 80px;
}

.timeline-content p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* Alternating timeline items for larger screens */
@media (min-width: 992px) {
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-item:nth-child(even) .timeline-number {
        margin-right: 0;
        margin-left: 2.5rem;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before {
        left: auto;
        right: -20px;
        border-color: transparent transparent transparent var(--color-gray);
    }
    
    .timeline-item:nth-child(even) .timeline-content:hover {
        transform: translateX(-15px) scale(1.02);
    }
    
    .timeline-item:nth-child(even) .timeline-content:hover::before {
        border-color: transparent transparent transparent var(--color-accent);
    }
}

/* Enhanced Beneficios Section */
.beneficios-section {
    position: relative;
    overflow: hidden;
}

.beneficios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(0, 200, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(0, 200, 255, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.beneficio-card {
    background-color: rgba(34, 34, 34, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    text-align: center;
    border: 1px solid var(--color-gray);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
}

.beneficio-card.animate {
    animation: scaleIn 0.6s forwards;
}

.beneficio-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 200, 255, 0.1) 0%, transparent 100%);
    transition: top var(--transition-medium);
    z-index: -1;
}

.beneficio-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 200, 255, 0.15);
    border-color: var(--color-accent);
}

.beneficio-card:hover::before {
    top: 0;
}

.beneficio-card .icon-container {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    height: 80px;
    width: 80px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--color-gray), var(--color-gray-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-soft);
}

.beneficio-card:hover .icon-container {
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    transform: rotate(10deg);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    box-shadow: 0 10px 25px rgba(0, 200, 255, 0.3);
}

.beneficio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    transition: color var(--transition-medium);
    position: relative;
    padding-bottom: 15px;
}

.beneficio-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-medium);
}

.beneficio-card:hover h3 {
    color: var(--color-accent);
}

.beneficio-card:hover h3::after {
    width: 50px;
}

/* Para Quien Section with enhanced visuals */
.para-quien-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.para-quien-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.checklist {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 2;
}

.checklist-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.8rem;
    background-color: rgba(34, 34, 34, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    transition: all var(--transition-medium);
    border: 1px solid var(--color-gray);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-30px);
}

.checklist-item.animate {
    animation: fadeInLeft 0.6s forwards;
}

.checklist-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--color-accent-dark), var(--color-accent));
    transition: height var(--transition-medium);
    z-index: 0;
}

.checklist-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 200, 255, 0.1);
    border-color: var(--color-accent);
    background-color: rgba(34, 34, 34, 0.7);
}

.checklist-item:hover::before {
    height: 100%;
}

.checklist-item i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-right: 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-medium);
}

.checklist-item:hover i {
    transform: scale(1.2);
    color: #ffffff;
}

.checklist-item p {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0;
    text-align: left;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-medium);
}

.checklist-item:hover p {
    transform: translateX(5px);
}

.checklist-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 200, 255, 0.03) 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.checklist-item:hover::after {
    opacity: 1;
}

/* Enhanced Testimonios Section */
.testimonios-section {
    position: relative;
    overflow: hidden;
}

.testimonios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230099cc' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.testimonios-section .container {
    position: relative;
    z-index: 2;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonio-card {
    background-color: rgba(34, 34, 34, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-gray);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonio-card.animate {
    animation: fadeIn 0.6s forwards;
}

.testimonio-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 7rem;
    font-family: Georgia, serif;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.1), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    z-index: 1;
    opacity: 0.3;
    transition: opacity var(--transition-medium);
}

.testimonio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 200, 255, 0.1);
    border-color: var(--color-accent);
    background-color: rgba(34, 34, 34, 0.7);
}

.testimonio-card:hover::before {
    opacity: 0.6;
}

.testimonio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.testimonio-card:hover::after {
    opacity: 1;
}

.quote {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    transition: all var(--transition-medium);
    flex-grow: 1;
}

.testimonio-card:hover .quote {
    color: var(--color-text);
    transform: translateY(-5px);
}

.author {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 1rem;
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: all var(--transition-medium);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.testimonio-card:hover .author {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .testimonio-card {
        padding: 2.5rem;
    }
    
    .quote {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .author {
        font-size: 0.9rem;
    }
}

/* Enhanced Contacto Section */
.contacto-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0 150px;
    background: linear-gradient(to bottom, 
        var(--color-background), 
        var(--color-dark));
}

.contacto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(0, 200, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 200, 255, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.contacto-section .container {
    position: relative;
    z-index: 2;
}

.form-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 3rem;
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-benefit-item {
    background-color: rgba(34, 34, 34, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    transform: translateX(-20px);
    opacity: 0;
    animation: fadeInRight 0.6s ease forwards;
}

.form-benefit-item:nth-child(1) {
    animation-delay: 0.2s;
}

.form-benefit-item:nth-child(2) {
    animation-delay: 0.4s;
}

.form-benefit-item:nth-child(3) {
    animation-delay: 0.6s;
}

.form-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 200, 255, 0.1);
    border-color: rgba(0, 200, 255, 0.3);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--color-text);
}

.benefit-content p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Multi-step form styling */
.contact-form {
    background-color: rgba(34, 34, 34, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.form-steps-container {
    margin-bottom: 2.5rem;
}

.form-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.form-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(51, 51, 51, 0.5);
    border: 2px solid var(--color-gray);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 30px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.form-step.active {
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    border-color: var(--color-accent);
    color: white;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
    transform: scale(1.1);
}

.form-step.completed {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border-color: var(--color-accent);
    color: white;
}

.form-progress {
    height: 3px;
    background-color: var(--color-gray);
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto;
    width: 80%;
    position: relative;
    top: -20px;
    z-index: 1;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
    transition: width 0.5s ease;
}

.form-step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step-content.active {
    display: block;
}

.form-step-title {
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    color: var(--color-text);
    text-align: center;
    background: linear-gradient(90deg, #ffffff, var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.prev-step, .next-step {
    background: rgba(51, 51, 51, 0.5);
    color: var(--color-text);
    border: 1px solid var(--color-gray);
    padding: 12px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.prev-step::before, .next-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    transition: all 0.5s ease;
}

.prev-step:hover::before, .next-step:hover::before {
    left: 100%;
}

.prev-step:hover, .next-step:hover {
    background: rgba(51, 51, 51, 0.8);
    border-color: var(--color-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 200, 255, 0.1);
    transform: translateY(-3px) scale(1.05);
}

.prev-step:active, .next-step:active {
    transform: translateY(1px) scale(0.98);
}

.btn-next {
    background: linear-gradient(45deg, var(--color-accent-dark), var(--color-accent));
    border: none;
    color: white;
}

.btn-next:hover {
    background: linear-gradient(45deg, var(--color-accent), var(--color-accent-dark));
}

.btn-next i {
    transition: transform 0.3s ease;
}

.btn-next:hover i {
    transform: translateX(4px);
}

.prev-step i {
    transition: transform 0.3s ease;
}

.prev-step:hover i {
    transform: translateX(-4px);
}

.submit-btn {
    font-size: 1.1rem;
    padding: 12px 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submit-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 200, 255, 0.3);
}

/* Enhanced form input styling */
.form-group {
    position: relative;
    z-index: 2;
    margin-bottom: 1.8rem;
    transition: transform var(--transition-medium);
}

.form-group:hover {
    transform: translateX(5px);
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.form-group:hover label {
    color: var(--color-accent);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: rgba(40, 40, 40, 0.6);
    border: 1px solid var(--color-gray);
    color: var(--color-text);
    border-radius: 10px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all var(--transition-medium);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.2);
    background-color: rgba(51, 51, 51, 0.8);
}

/* Success message animation */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
    animation: scaleIn 0.5s forwards;
}

.success-message i {
    font-size: 5rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.success-message p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .form-container {
        grid-template-columns: 1fr;
    }
    
    .form-benefits {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .form-benefit-item {
        width: calc(50% - 15px);
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .contacto-section {
        padding: 80px 0 100px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-benefit-item {
        width: 100%;
        max-width: 100%;
    }
    
    .form-step {
        width: 35px;
        height: 35px;
        margin: 0 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .prev-step, .next-step, .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-step-title {
        font-size: 1.3rem;
    }
}

/* Enhanced FAQ Section */
.faq-section {
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 200, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 200, 255, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

.accordion {
    max-width: 850px;
    margin: 4rem auto 0;
    position: relative;
}

.accordion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(0, 200, 255, 0),
        rgba(0, 200, 255, 0.1),
        rgba(0, 200, 255, 0));
    transform: translateX(-50%);
    z-index: 0;
}

.accordion-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-gray);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    transform: translateY(30px);
    opacity: 0;
    background-color: rgba(34, 34, 34, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.accordion-item.animate {
    animation: fadeIn 0.6s forwards;
}

.accordion-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 200, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.accordion-header {
    background-color: rgba(34, 34, 34, 0.8);
    padding: 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-medium);
    position: relative;
    z-index: 2;
}

.accordion-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, var(--color-accent-dark), var(--color-accent));
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.accordion-item:hover .accordion-header::before,
.accordion-item.active .accordion-header::before {
    opacity: 1;
}

.accordion-header:hover {
    background-color: rgba(51, 51, 51, 0.8);
}

/* New FAQ Icon Styling */
.faq-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    margin-right: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 15px rgba(0, 200, 255, 0.3);
    transition: all var(--transition-medium);
    z-index: 2;
}

.faq-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.2), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.faq-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.faq-icon i {
    font-size: 1.4rem;
    color: #ffffff;
    z-index: 2;
    transition: all var(--transition-medium);
}

.accordion-item:hover .faq-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 200, 255, 0.5);
}

.accordion-item:hover .faq-icon::before {
    opacity: 1;
}

.accordion-item:hover .faq-icon i {
    transform: scale(1.2);
}

.accordion-item.active .faq-icon {
    background: linear-gradient(135deg, var(--color-accent), #ffffff);
}

.accordion-item.active .faq-icon i {
    color: var(--color-accent-dark);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    transition: transform var(--transition-fast), color var(--transition-fast);
    padding-right: 2rem;
    flex: 1;
}

.accordion-header:hover h3,
.accordion-item.active .accordion-header h3 {
    color: var(--color-accent);
    transform: translateX(10px);
}

.accordion-icon {
    font-size: 1.8rem;
    transition: all var(--transition-medium);
    color: var(--color-accent);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 200, 255, 0.1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    background: rgba(0, 200, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.3);
}

.accordion-content {
    background-color: rgba(51, 51, 51, 0.5);
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-medium);
    opacity: 0;
}

.accordion-item.active .accordion-content {
    padding: 1.8rem;
    max-height: 500px;
    opacity: 1;
}

.accordion-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    color: var(--color-text-secondary);
}

/* Mobile FAQ styles */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1.2rem;
    }
    
    .faq-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 1rem;
    }
    
    .faq-icon i {
        font-size: 1.2rem;
    }
    
    .accordion-header h3 {
        font-size: 1rem;
        padding-right: 1.2rem;
    }
    
    .accordion-icon {
        width: 25px;
        height: 25px;
        font-size: 1.4rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 1.2rem;
    }
    
    .accordion-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Enhanced Cierre Section */
.cierre-section {
    text-align: center;
    padding: 150px 0;
    background: linear-gradient(to bottom, 
        var(--color-background), 
        var(--color-dark));
    position: relative;
    overflow: hidden;
}

.cierre-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.cierre-section .container {
    position: relative;
    z-index: 2;
}

.cierre-section h2 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    background: linear-gradient(135deg, #ffffff, var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 5s ease infinite;
    transform: translateY(30px);
    opacity: 0;
}

.cierre-section h2.animate {
    animation: fadeIn 0.8s forwards;
}

.cierre-section h2::after {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
    width: 0;
}

.cierre-section h2.animate-underline::after {
    width: 100px;
    transition: width 1.5s ease 0.5s;
}

.cierre-section p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--color-text);
    transform: translateY(30px);
    opacity: 0;
}

.cierre-section p.animate {
    animation: fadeIn 0.8s 0.3s forwards;
}

.cierre-section .cta-button {
    transform: scale(0.9);
    opacity: 0;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.cierre-section .cta-button.animate {
    animation: scaleIn 0.8s 0.6s forwards;
}

/* Enhanced Footer */
.footer {
    background-color: var(--color-darker);
    padding: 100px 0 40px;
    border-top: 1px solid var(--color-gray);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(0, 200, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(0, 200, 255, 0.02) 0%, transparent 50%);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo a {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ffffff, var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-logo p {
    font-size: 1rem;
    margin-top: 0.8rem;
    line-height: 1.7;
}

.footer-links, 
.footer-social {
    display: flex;
    flex-direction: column;
}

.footer-links h3, 
.footer-social h3 {
    color: var(--color-text);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-links h3::after, 
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.footer-links a {
    margin-bottom: 1rem;
    position: relative;
    width: fit-content;
    font-size: 1rem;
    color: var(--color-text-secondary);
    transition: all var(--transition-medium);
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all var(--transition-medium);
    color: var(--color-accent);
}

.footer-links a:hover {
    color: var(--color-text);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 15px;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width var(--transition-medium);
}

.footer-links a:hover::after {
    width: calc(100% - 15px);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(51, 51, 51, 0.8);
    border-radius: 50%;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 0;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 200, 255, 0.2);
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a i {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    transition: all var(--transition-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    z-index: 9999;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Efecto mejorado para el botón de WhatsApp */
.pulse-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    animation: whatsapp-pulse 2s infinite;
    background-color: #25d366;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Añadir burbujas flotantes para el botón de WhatsApp */
.whatsapp-button::before,
.whatsapp-button::after {
    content: '';
    position: absolute;
    background-color: rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    z-index: -1;
}

.whatsapp-button::before {
    width: 12px;
    height: 12px;
    top: 10px;
    left: -15px;
    animation: whatsapp-bubble 3s infinite ease-in-out;
}

.whatsapp-button::after {
    width: 15px;
    height: 15px;
    bottom: 5px;
    right: -10px;
    animation: whatsapp-bubble 2.5s infinite ease-in-out;
    animation-delay: 0.5s;
}

@keyframes whatsapp-bubble {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: translateY(-40px) scale(0);
        opacity: 0;
    }
}

/* Tooltip para el botón de WhatsApp */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Comportamiento en scroll para el botón de WhatsApp */
.whatsapp-button.scroll-visible {
    animation: whatsapp-enter 0.5s forwards;
}

@keyframes whatsapp-enter {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    /* WhatsApp Button - Mobile Adjustments */
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #25D366;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    .whatsapp-button i {
        color: #ffffff;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    /* Simplify animations for better performance */
    .whatsapp-button::before,
    .whatsapp-button::after {
        display: none;
    }
    
    /* Ensure pulse effect is optimized */
    .pulse-effect {
        animation-duration: 2.5s;
    }
}

@media (max-width: 480px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 15px;
        right: 15px;
    }
}

/* Card description styles */
.card-description-short {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.card-description-full {
    display: none;
    padding-top: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.6s ease forwards;
}

.card-description-full p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.card-description-full ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.card-description-full ul li {
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
}

.card-description-full ul li::before {
    content: "•";
    color: var(--color-accent);
    position: absolute;
    left: -1rem;
}

/* Ver más button styling */
.ver-mas-btn {
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    margin-top: auto;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ver-mas-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 200, 255, 0.1), 
        rgba(0, 200, 255, 0.05), 
        rgba(0, 200, 255, 0.0)
    );
    transform: translateX(-100%);
    transition: transform var(--transition-medium);
    z-index: -1;
}

.ver-mas-btn:hover {
    color: #ffffff;
    background-color: rgba(0, 200, 255, 0.1);
    border-color: rgba(0, 200, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 200, 255, 0.15);
    transform: translateY(-2px);
}

.ver-mas-btn:hover::before {
    transform: translateX(0);
}

.ver-mas-btn i {
    font-size: 0.9rem;
    transition: transform var(--transition-medium);
}

.ver-mas-btn.active i {
    transform: rotate(45deg);
}

.ver-mas-btn:focus {
    outline: none;
}

/* Expanded card state */
.servicio-card.expanded {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 200, 255, 0.2);
    border-color: var(--color-accent);
    transform: scale(1.02);
    background-color: rgba(34, 34, 34, 0.7);
}

.servicio-card.expanded .ver-mas-btn {
    background-color: rgba(0, 200, 255, 0.15);
    border-color: rgba(0, 200, 255, 0.4);
    color: #ffffff;
}

/* Animation for description */
@keyframes fadeDescription {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-description-full.visible {
    animation: fadeDescription 0.4s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .servicio-card {
        padding: 2rem;
    }
    
    .ver-mas-btn {
        align-self: center;
        width: 100%;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

/* Additional animations for service cards */
.card-shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(0, 200, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    animation: cardShine 1s ease forwards;
}

@keyframes cardShine {
    0% {
        opacity: 0;
        transform: translateX(-100%) rotate(-45deg);
    }
    20% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: translateX(100%) rotate(-45deg);
    }
}

.pulse-effect {
    animation: buttonPulse 0.5s ease;
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
        box-shadow: none;
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: none;
    }
}

.attention-animate {
    animation: buttonAttention 1s ease;
}

@keyframes buttonAttention {
    0% {
        transform: scale(1);
        box-shadow: none;
    }
    10% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
    }
    20% {
        transform: scale(1);
        box-shadow: none;
    }
    30% {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: none;
    }
}

/* Card transitions for opening/closing */
.servicio-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, box-shadow, border-color;
}

.servicio-card.expanded {
    z-index: 10;
}

.card-description-full {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-description-full.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover overlay enhancement */
.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 200, 255, 0.05) 0%, 
        rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: var(--border-radius-large);
}

.servicio-card:hover .card-hover-overlay {
    opacity: 1;
}

.servicio-card.expanded .card-hover-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 200, 255, 0.1) 0%, 
        rgba(0, 0, 0, 0) 100%);
    opacity: 1;
}

/* Enhance card elements for better visual hierarchy */
.servicio-card {
    padding-bottom: 5rem;
}

.servicio-card h3 {
    transition: all 0.3s ease;
}

.servicio-card.expanded h3 {
    color: var(--color-accent);
    transform: translateY(-5px);
}

.ver-mas-btn {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 5;
}

@media (max-width: 768px) {
    .ver-mas-btn {
        width: calc(100% - 5rem);
        left: 2.5rem;
        text-align: center;
    }
}

/* Clients counter styles */
.clients-counter {
    text-align: center;
    margin: 2rem auto 4rem;
    padding: 1.5rem;
    max-width: 350px;
    background-color: rgba(34, 34, 34, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-gray);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.2s;
}

.clients-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.05) 0%, transparent 100%);
    z-index: 0;
}

.counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-primary);
    position: relative;
    background: linear-gradient(90deg, #ffffff, var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: countUp 2s ease forwards, gradientFlow 5s ease infinite;
}

.plus-sign {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-left: 0.2rem;
    animation: pulseSign 2s infinite;
}

.counter-text {
    font-size: 1.2rem;
    color: var(--color-text);
    margin: 0;
    position: relative;
}

@keyframes countUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    20% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Update testimonials grid for three cards */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-counter {
        max-width: 300px;
        padding: 1.2rem;
    }
    
    .counter-number {
        font-size: 3rem;
    }
}

/* Form error styling */
.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #ff5252 !important;
    box-shadow: 0 0 15px rgba(255, 82, 82, 0.2) !important;
    animation: errorPulse 1.5s infinite;
}

@keyframes errorPulse {
    0% {
        border-color: #ff5252;
    }
    50% {
        border-color: #ff8080;
    }
    100% {
        border-color: #ff5252;
    }
}

.error-message {
    color: #ff5252;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.error-message::before {
    content: '!';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    background: #ff5252;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    animation: errorIconPulse 1s infinite alternate;
}

@keyframes errorIconPulse {
    from { transform: scale(1); }
    to { transform: scale(1.2); }
}

/* Input focus effect */
.input-focus-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
    transition: width 0.3s ease;
    z-index: 1;
    border-radius: 0 0 3px 3px;
}

.form-group input:focus ~ .input-focus-effect,
.form-group textarea:focus ~ .input-focus-effect {
    width: 100%;
}

/* Checkbox and radio styling */
.checkbox-group,
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(51, 51, 51, 0.3);
    border: 1px solid var(--color-gray);
}

.checkbox-label:hover,
.radio-label:hover {
    transform: translateY(-3px);
    background: rgba(51, 51, 51, 0.5);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.checkbox-label input,
.radio-label input {
    width: auto !important;
    margin-right: 0.8rem;
    cursor: pointer;
}

/* Animation effects */
.shake-effect {
    animation: shakeAnimation 0.5s ease;
}

@keyframes shakeAnimation {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Confetti animation */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    opacity: 0;
    animation: confettiFall linear forwards;
    transform-origin: center center;
    box-shadow: 0 0 6px rgba(0, 200, 255, 0.3);
}

.confetti:nth-child(odd) {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.confetti:nth-child(even) {
    border-radius: 50%;
}

.confetti:nth-child(3n) {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.confetti:nth-child(5n) {
    width: 15px;
    height: 15px;
}

.confetti:nth-child(7n) {
    width: 7px;
    height: 7px;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg) scale(0);
        opacity: 1;
    }
    10% {
        transform: translateY(10vh) rotate(45deg) scale(1);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Textarea styling */
textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form steps animation */
.form-step.active {
    animation: pulseStep 1s infinite alternate;
}

@keyframes pulseStep {
    0% {
        box-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 200, 255, 0.6);
    }
}

/* Enhance submit button */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.submit-btn .fa-spinner {
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success message enhancements */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
    animation: successAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform: scale(0.8);
    opacity: 0;
}

@keyframes successAppear {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message i {
    font-size: 5rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 30px rgba(0, 200, 255, 0.7);
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
    }
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    background: linear-gradient(90deg, #ffffff, var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.success-message p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
}

/* Responsive styling for navigation menu */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 20px;
        width: 30px;
    }
    
    .menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--color-text);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 100px 2rem 2rem;
        z-index: 1501;
        transition: right 0.4s ease;
        gap: 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 10px 0;
        width: 100%;
    }
    
    .nav-links a.cta-button {
        margin-top: 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .nav-links a.nav-whatsapp {
        margin: 1rem 0;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: #25D366;
        color: #ffffff;
    }
    
    .nav-links a.nav-whatsapp i {
        font-size: 1.8rem;
    }
    
    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1490;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease !important; /* Añadida transición de visibility */
    }
    
    .mobile-menu-backdrop.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .menu-close {
        position: absolute;
        top: 25px;
        right: 25px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1502;
    }
    
    .menu-close:before,
    .menu-close:after {
        content: '' !important;
        position: absolute !important;
        width: 100% !important;
        height: 3px !important;
        background-color: var(--color-text) !important;
        top: 50% !important;
        left: 0 !important;
        border-radius: 3px !important;
    }
    
    .menu-close:before {
        transform: rotate(45deg) !important;
    }
    
    .menu-close:after {
        transform: rotate(-45deg) !important;
    }
    
    .menu-close:hover:before,
    .menu-close:hover:after {
        background-color: var(--color-accent);
    }
}

/* Pagos Section Styles */
.pagos-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-background);
}

.pagos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 200, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 50%, rgba(0, 200, 255, 0.02) 0%, transparent 25%),
        radial-gradient(circle at 40% 80%, rgba(0, 200, 255, 0.01) 0%, transparent 30%);
    z-index: -1;
}

.pagos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pago-card {
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: var(--border-radius-large);
    padding: 30px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    transform: translateY(0);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pago-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.05) 0%, rgba(0, 200, 255, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.pago-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong), 0 0 20px var(--color-accent-glow);
}

.pago-card:hover::before {
    opacity: 1;
}

.pago-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-text);
    text-align: center;
}

.pago-card .card-description-short {
    text-align: center;
    margin-bottom: 20px;
}

.price-tag {
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.3);
}

.pago-button {
    display: inline-block;
    width: 100%;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 200, 255, 0.2);
    z-index: 1;
    text-align: center;
    margin-top: auto;
}

.pago-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 200, 255, 0.4);
}

#paypal-button-container {
    width: 100%;
    margin-top: auto;
    min-height: 40px;
}

/* Payment Success Styles */
.payment-success {
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    animation: fadeIn 0.5s ease;
    border: 1px solid var(--color-accent);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}

.success-icon {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 15px;
    animation: scaleIn 0.5s ease;
}

.payment-success h3 {
    color: var(--color-accent);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.payment-success p {
    color: var(--color-text);
    margin-bottom: 10px;
}

.input-focus-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
    transition: width 0.3s ease;
    z-index: 1;
    border-radius: 0 0 3px 3px;
}

.form-group input:focus ~ .input-focus-effect,
.form-group textarea:focus ~ .input-focus-effect {
    width: 100%;
}

/* Estilo para destacar la sección de contacto */
.contacto-section.highlight {
    animation: highlight-pulse 1.5s ease;
    position: relative;
    z-index: 10;
}

@keyframes highlight-pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.5); 
    }
    50% { 
        box-shadow: 0 0 30px 5px rgba(0, 200, 255, 0.8);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(0, 200, 255, 0); 
    }
}

/* Animación para el campo de entrada cuando se hace foco */
.form-group input.pulse-effect {
    animation: input-pulse 1s ease;
    border-color: var(--color-accent) !important;
}

@keyframes input-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.5); }
    50% { box-shadow: 0 0 15px rgba(0, 200, 255, 0.8); }
    100% { box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.5); }
}