/* ============================================
   TOOLAPP.CSS - ESTILOS GLOBALES
   Versión corregida - Sin vibración al hacer scroll
   ============================================ */

/* ===== VARIABLES GLOBALES ===== */
:root {
    --fondo: #151c2e;
    --verde-lima: #cafc90;
    --azul-logo: #1d3097;
    --texto-claro: #ffffff;
    --texto-oscuro: #151c2e;
    --gris-claro: #f5f5f5;
    --gris-oscuro: #2a2a2a;
    
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 50px;
    
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 30px;
    --border-radius-circle: 50%;
    
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.4);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch; /* Mejora scroll en iOS */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--fondo);
    color: var(--texto-claro);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased; /* Suavizado de fuentes */
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== TIPOGRAFÍA RESPONSIVE ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p {
    color: #ccc;
    margin-bottom: var(--spacing-md);
    font-size: clamp(0.9rem, 2vw, 1rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.highlight {
    color: var(--verde-lima);
}

/* ===== HEADER GLOBAL - SIN VIBRACIÓN ===== */
header {
    background: linear-gradient(135deg, var(--fondo) 0%, #1a2340 100%);
    padding: 15px 0;
    border-bottom: 3px solid var(--verde-lima);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    left: 0;
    right: 0;
    /* Eliminar transiciones que causan reflow */
    will-change: transform; /* Optimización para elementos sticky */
    transform: translateZ(0); /* Aceleración por hardware */
    backface-visibility: hidden;
}

/* Eliminar la clase scrolled que causaba vibración */
/* En su lugar, usar un header más limpio */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
    width: 100%;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    flex-shrink: 0;
}

.logo img {
    max-width: 200px;
    max-height: 50px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

.logo a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo span:first-child {
    color: var(--verde-lima);
}

.logo span:last-child {
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    white-space: nowrap;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    font-size: 0.9rem;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--verde-lima);
    transition: width var(--transition-normal);
}

.nav-menu a:hover {
    color: var(--verde-lima);
}

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

.btn-header {
    background: var(--verde-lima);
    color: var(--texto-oscuro);
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: inline-block;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-header:hover {
    background: #b1e67a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 252, 144, 0.3);
}

/* Botón hamburguesa - visible solo en móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--verde-lima);
    margin: 3px 0;
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

/* Animación del botón hamburguesa */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MEDIA QUERIES PARA HEADER ===== */
@media (min-width: 1024px) {
    .navbar {
        gap: 30px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
    
    .btn-header {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .nav-menu {
        gap: 10px;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
    }
    
    .btn-header {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* ===== MENÚ MÓVIL - SIN VIBRACIÓN ===== */
@media (max-width: 767px) {
    .menu-toggle {
        display: flex !important;
        order: 2;
        margin-left: auto;
    }
    
    .logo {
        order: 1;
    }
    
    .btn-header {
        display: none !important;
    }
    
    .navbar {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--fondo);
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        border-top: 2px solid var(--verde-lima);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        /* Optimización de rendimiento */
        will-change: transform;
        backface-visibility: hidden;
        transform: translateZ(0);
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu li {
        width: 100%;
        margin-bottom: 20px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Efecto escalonado para los items */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.6s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.7s; }
    .nav-menu.active li:nth-child(8) { transition-delay: 0.8s; }
    
    .nav-menu a {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
        color: white;
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(202, 252, 144, 0.1);
    }
    
    .nav-menu a:hover {
        background: rgba(202, 252, 144, 0.1);
        border-color: var(--verde-lima);
        color: var(--verde-lima);
    }
    
    .nav-menu a::after {
        display: none;
    }
}

/* ===== BOTONES GLOBALES ===== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-align: center;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.btn-primary {
    background: var(--verde-lima);
    color: var(--texto-oscuro);
}

.btn-primary:hover {
    background: #b1e67a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(202, 252, 144, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--verde-lima);
}

.btn-secondary:hover {
    background: var(--verde-lima);
    color: var(--texto-oscuro);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.btn-icon {
    background: rgba(202, 252, 144, 0.1);
    border: 1px solid rgba(202, 252, 144, 0.2);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin: 0 3px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: rgba(202, 252, 144, 0.3);
    border-color: var(--verde-lima);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all var(--transition-normal);
    text-decoration: none;
    overflow: hidden;
    /* Optimización */
    will-change: transform;
    backface-visibility: hidden;
}

@media (min-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 30px;
        bottom: 30px;
        right: 30px;
    }
}

.whatsapp-float span {
    display: none;
    font-size: 16px;
    font-weight: 600;
    margin-left: 10px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 40px 0;
    background: radial-gradient(circle at top right, rgba(202, 252, 144, 0.1) 0%, transparent 50%);
    min-height: auto;
    display: flex;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 60px 0;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(202, 252, 144, 0.1);
    color: var(--verde-lima);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(202, 252, 144, 0.3);
    max-width: 100%;
    white-space: normal;
}

.hero h1 {
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
    white-space: normal;
}

.hero h1 .highlight {
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .hero h1 .highlight {
        white-space: normal;
        display: inline;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 25px;
    max-width: 100%;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.hero-stat {
    text-align: center;
    flex: 0 1 auto;
    min-width: 100px;
}

.hero-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--verde-lima);
    margin-bottom: 5px;
}

.hero-stat span:last-child {
    color: #aaa;
    font-size: 0.85rem;
    display: block;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-stats {
        justify-content: space-around;
    }
    
    .hero-stat {
        min-width: 80px;
    }
    
    .hero-stat span:last-child {
        white-space: normal;
        font-size: 0.75rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 15px; /* Añadido para consistencia */
}

@media (min-width: 768px) {
    .hero-slider {
        height: 320px;
    }
}

@media (min-width: 1024px) {
    .hero-slider {
        height: 350px;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a3450, #1e2740);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--verde-lima);
    font-size: 1rem;
    text-align: center;
    padding: 20px;
    font-weight: 500;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.placeholder-img i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--verde-lima);
}

.slider-controls {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 20;
    padding: 0 10px;
}

@media screen and (max-width: 800px) {
    .slide .placeholder-img {
        width: 100%;
        height: 350px;
        padding: 20px;
    }
    .slider-controls {
        bottom: 100px;
    }
    .hero-slider {
        border-bottom: 2px solid var(--verde-lima);
        border-radius: 0;
        box-shadow: none;
    }
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    backdrop-filter: blur(5px);
    font-size: 1rem;
    z-index: 30;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--verde-lima);
    color: var(--texto-oscuro);
}

.slider-dots {
    display: flex;
    gap: 8px;
    z-index: 30;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background: var(--verde-lima);
    transform: scale(1.2);
}

/* ===== FEATURE SECTIONS ===== */
.feature-section {
    padding: 40px 0;
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .feature-section {
        padding: 60px 0;
    }
}

.feature-section.alt-bg {
    background: rgba(202, 252, 144, 0.02);
    border-top: 1px solid rgba(202, 252, 144, 0.1);
    border-bottom: 1px solid rgba(202, 252, 144, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.section-number {
    display: inline-block;
    background: rgba(202, 252, 144, 0.1);
    color: var(--verde-lima);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(202, 252, 144, 0.3);
}

.section-subtitle {
    font-size: 1rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
    word-wrap: break-word;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.feature-text {
    width: 100%;
    max-width: 100%;
}

.feature-text h3 {
    margin-bottom: 15px;
    word-wrap: break-word;
}

.feature-text p {
    margin-bottom: 20px;
    word-wrap: break-word;
}

.feature-list {
    list-style: none;
    margin: 20px 0;
    width: 100%;
}

.feature-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.step-number {
    background: var(--verde-lima); 
    color: var(--texto-oscuro); 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: bold;
    flex-shrink: 0;
}

.feature-list i {
    color: var(--verde-lima);
    font-size: 1.2rem;
    min-width: 25px;
    flex-shrink: 0;
}

.feature-list strong {
    color: white;
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
    word-wrap: break-word;
}

.feature-list p {
    margin: 0;
    color: #aaa;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.feature-cards {
    display: grid;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 800px) {
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mini-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 252, 144, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all var(--transition-normal);
    width: 100%;
    word-wrap: break-word;
}

.mini-card:hover {
    transform: translateY(-5px);
    border-color: var(--verde-lima);
    background: rgba(202, 252, 144, 0.05);
}

.mini-card i {
    font-size: 1.8rem;
    color: var(--verde-lima);
    margin-bottom: 12px;
}

.mini-card h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.1rem;
    word-wrap: break-word;
}

.mini-card p {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
}

.feature-image {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

.image-container {
    background: linear-gradient(135deg, #2a3450, #1a2340);
    border: 2px solid var(--verde-lima);
    border-radius: 20px;
    padding: 30px 15px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
    width: 100%;
    height: 60vh;
    min-height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* Optimización */
    will-change: transform;
}

.image-container:hover {
    transform: scale(1.02);
}

.demo-icon {
    font-size: 4rem;
    color: var(--verde-lima);
    opacity: 0.8;
    margin-bottom: 15px;
}

.map-icon {
    font-size: 4rem;
    color: var(--verde-lima);
}

.image-caption {
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 15px;
    border-top: 1px solid rgba(202, 252, 144, 0.2);
    padding-top: 15px;
    word-wrap: break-word;
}

.phone-mockup {
    background: #1e1e1e;
    border-radius: 30px;
    padding: 10px;
    border: 3px solid #333;
    max-width: 250px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.phone-screen {
    background: linear-gradient(135deg, #2a3450, #1a2340);
    border-radius: 20px;
    padding: 30px 10px;
    text-align: center;
    border: 2px solid var(--verde-lima);
    width: 100%;
}

.phone-screen i {
    font-size: 35px;
    color: var(--verde-lima);
    margin-bottom: 10px;
}

.phone-screen span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    word-wrap: break-word;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 25px 0;
    width: 100%;
}

@media (min-width: 480px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    text-align: center;
    background: rgba(202, 252, 144, 0.05);
    padding: 20px 15px;
    border-radius: 12px;
    border: 1px solid rgba(202, 252, 144, 0.1);
    width: 100%;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--verde-lima);
    margin-bottom: 5px;
    word-wrap: break-word;
}

.stat-item span:last-child {
    color: #aaa;
    font-size: 0.8rem;
    word-wrap: break-word;
}

.testimonial-mini {
    background: rgba(202, 252, 144, 0.05);
    border-left: 4px solid var(--verde-lima);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    width: 100%;
}

.testimonial-mini .fa-quote-left {
    color: var(--verde-lima);
    font-size: 1.2rem;
    margin-bottom: 8px;
    opacity: 0.5;
}

.testimonial-mini p {
    font-style: italic;
    margin-bottom: 12px;
    color: #eee;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.author-avatar i {
    font-size: 2rem;
    color: var(--verde-lima);
}

.testimonial-author strong {
    color: white;
    display: block;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.testimonial-author span {
    color: #aaa;
    font-size: 0.7rem;
    word-wrap: break-word;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(202, 252, 144, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--verde-lima);
    margin-top: 20px;
    width: 100%;
    word-wrap: break-word;
}

.feature-badge i {
    color: var(--verde-lima);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-badge span {
    color: #ddd;
    font-size: 0.85rem;
    word-wrap: break-word;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(202, 252, 144, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(202, 252, 144, 0.2);
    margin-top: 20px;
    width: 100%;
    word-wrap: break-word;
}

.feature-highlight i {
    color: var(--verde-lima);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-highlight span {
    color: #ddd;
    font-size: 0.85rem;
    word-wrap: break-word;
}

/* ===== FEATURES SHOWCASE ===== */
.features-showcase {
    width: 100%;
}

.feature-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 25px 0 20px;
    flex-wrap: wrap;
    width: 100%;
}

.category-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(202, 252, 144, 0.2);
    color: white;
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.category-btn:hover {
    background: rgba(202, 252, 144, 0.1);
    border-color: var(--verde-lima);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--verde-lima);
    color: var(--texto-oscuro);
    border-color: var(--verde-lima);
}

.features-grid {
    display: grid;
    gap: 10px;
    margin: 25px 0;
    width: 100%;
    padding: 20px;
}

@media (min-width: 800px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 252, 144, 0.15);
    border-radius: 12px;
    padding: 15px 5px;
    color: white;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    width: 100%;
}

.feature-btn i {
    font-size: 1.5rem;
    color: var(--verde-lima);
    transition: all var(--transition-normal);
}

.feature-btn span {
    font-size: 0.8rem;
    font-weight: 500;
    word-wrap: break-word;
}

@media screen and (max-width: 800px) {
    .feature-btn {
        display: flex;
        width: 100%;
    }
    .feature-btn i {
        width: auto;
        display: inline-block;
        font-size: 1.5rem;
    }
    
    .feature-btn span {
        width: 100%;
        display: block;
        word-wrap: break-word;
        font-size: 16px;
    }
}

.feature-btn:hover {
    background: rgba(202, 252, 144, 0.1);
    border-color: var(--verde-lima);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-btn:hover i {
    transform: scale(1.1);
}

.feature-btn.active {
    background: rgba(202, 252, 144, 0.15);
    border-color: var(--verde-lima);
    border-width: 2px;
}

.feature-detail-container {
    margin-top: 30px;
    min-height: auto;
    position: relative;
    width: 100%;
}

.feature-placeholder-message {
    text-align: center;
    padding: 40px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 2px dashed rgba(202, 252, 144, 0.3);
    width: 100%;
}

.feature-placeholder-message i {
    font-size: 3rem;
    color: var(--verde-lima);
    margin-bottom: 15px;
    opacity: 0.5;
}

.feature-placeholder-message h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.feature-placeholder-message p {
    font-size: 0.95rem;
    word-wrap: break-word;
}

.feature-detail {
    display: none;
    animation: fadeIn 0.5s ease;
    width: 100%;
}

.feature-detail.active {
    display: block;
}

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

/* ===== ELEMENTOS DE FICHAJES ===== */
.calculation-demo {
    background: rgba(202, 252, 144, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(202, 252, 144, 0.2);
    width: 100%;
}

.calculation-demo h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.1rem;
    word-wrap: break-word;
}

.demo-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 8px;
    justify-content: center;
    width: 100%;
}

@media (min-width: 480px) {
    .demo-row {
        justify-content: flex-start;
    }
}

.demo-time {
    background: rgba(202, 252, 144, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    font-size: 0.85rem;
    white-space: nowrap;
}

.demo-row i {
    color: var(--verde-lima);
    font-size: 0.9rem;
}

.demo-result {
    background: var(--verde-lima);
    color: var(--texto-oscuro);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.85rem;
    white-space: nowrap;
}

.demo-note {
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 8px;
    word-wrap: break-word;
}

.vacation-calculator {
    background: rgba(202, 252, 144, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(202, 252, 144, 0.2);
    width: 100%;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
}

.calc-row:last-child {
    border-bottom: none;
}

.calc-row.total {
    font-size: 1rem;
    font-weight: bold;
}

.calc-row.disponible {
    background: rgba(202, 252, 144, 0.1);
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--verde-lima);
}

.calc-value {
    color: white;
    font-weight: 600;
    word-wrap: break-word;
    text-align: right;
}

.calc-value.highlight {
    color: var(--verde-lima);
    font-size: 1.1rem;
}

.absence-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
    width: 100%;
}

@media (min-width: 480px) {
    .absence-types {
        grid-template-columns: repeat(3, 1fr);
    }
}

.absence-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 252, 144, 0.1);
    border-radius: 8px;
    padding: 15px 5px;
    text-align: center;
    transition: all var(--transition-normal);
    width: 100%;
}

.absence-card:hover {
    border-color: var(--verde-lima);
    background: rgba(202, 252, 144, 0.05);
    transform: translateY(-3px);
}

.absence-card i {
    font-size: 1.5rem;
    color: var(--verde-lima);
    margin-bottom: 8px;
}

.absence-card span {
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    word-wrap: break-word;
}

.email-flow {
    margin: 25px 0;
    width: 100%;
}

.email-flow h4 {
    color: white;
    margin-bottom: 15px;
    word-wrap: break-word;
}

.flow-row {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    background: rgba(202, 252, 144, 0.05);
    padding: 20px 15px;
    border-radius: 12px;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 768px) {
    .flow-row {
        flex-direction: row;
        gap: 10px;
    }
}

.flow-step {
    flex: 1;
    min-width: auto;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .flow-step {
        min-width: 120px;
        width: auto;
    }
}

.flow-step i {
    font-size: 1.5rem;
    color: var(--verde-lima);
    margin-bottom: 5px;
    display: block;
}

.flow-step span {
    color: #ccc;
    font-size: 0.75rem;
    word-wrap: break-word;
}

.flow-row .fa-arrow-right {
    color: var(--verde-lima);
    opacity: 0.5;
    font-size: 1rem;
    transform: rotate(90deg);
    margin: 5px 0;
}

@media (min-width: 768px) {
    .flow-row .fa-arrow-right {
        transform: rotate(0);
        font-size: 1.2rem;
        margin: 0;
    }
}

.email-preview {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 252, 144, 0.2);
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    width: 100%;
}

.email-header {
    background: rgba(202, 252, 144, 0.1);
    padding: 12px 15px;
    border-bottom: 1px solid rgba(202, 252, 144, 0.3);
    font-size: 0.9rem;
    word-wrap: break-word;
}

.email-header i {
    color: var(--verde-lima);
    margin-right: 8px;
}

.email-body {
    padding: 15px;
}

.email-body p {
    margin-bottom: 6px;
    color: #ddd;
    font-size: 0.85rem;
    word-wrap: break-word;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--fondo), #0f1422);
    width: 100%;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    width: 100%;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--verde-lima);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.save-badge {
    background: var(--verde-lima);
    color: var(--texto-oscuro);
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 0.65rem;
    margin-left: 5px;
    white-space: nowrap;
}

.pricing-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
    width: 100%;
}

@media (min-width: 768px) {
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 30px 20px;
    border: 1px solid rgba(202, 252, 144, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    backdrop-filter: blur(10px);
    width: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--verde-lima);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border: 2px solid var(--verde-lima);
    transform: scale(1.02);
    background: rgba(202, 252, 144, 0.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--verde-lima);
    color: var(--texto-oscuro);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    white-space: nowrap;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.price span {
    font-size: 0.8rem;
    font-weight: normal;
    opacity: 0.7;
}

.annual-price {
    display: none;
}

.pricing-card.annual .monthly-price {
    display: none;
}

.pricing-card.annual .annual-price {
    display: inline;
}

.pricing-features {
    margin: 20px 0;
    text-align: left;
    width: 100%;
}

.pricing-features ul {
    list-style: none;
    width: 100%;
}

.pricing-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.pricing-features i {
    width: 18px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pricing-features .fa-check {
    color: var(--verde-lima);
}

.pricing-features .fa-times {
    color: #ff6b6b;
}

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.testimonials-container {
    position: relative;
    height: auto;
    min-height: 280px;
    width: 100%;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 10px;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px 20px;
    border: 1px solid rgba(202, 252, 144, 0.1);
    width: 100%;
}

.testimonial-content .fa-quote-left {
    font-size: 1.8rem;
    color: var(--verde-lima);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    word-wrap: break-word;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.author-avatar i {
    font-size: 2.5rem;
    color: var(--verde-lima);
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--verde-lima);
    margin-bottom: 3px;
    font-size: 1rem;
    word-wrap: break-word;
}

.author-info p {
    font-size: 0.8rem;
    margin-bottom: 5px;
    opacity: 0.8;
    word-wrap: break-word;
}

.rating i {
    color: #ffd700;
    margin-right: 2px;
    font-size: 0.8rem;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonial-prev,
.testimonial-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--verde-lima);
    color: var(--texto-oscuro);
}

/* ===== SECCIÓN DE CARACTERÍSTICAS DE PROVEEDORES ===== */
.features-grid-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--fondo), #0f1422);
    width: 100%;
}

.features-grid-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.features-grid-section .section-desc {
    text-align: center;
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.technical-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 480px) {
    .technical-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .technical-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .technical-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tech-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 252, 144, 0.15);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    backdrop-filter: blur(5px);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--verde-lima);
    background: rgba(202, 252, 144, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--verde-lima);
    margin-bottom: 10px;
}

.tech-item h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.tech-item p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
}

.tech-item small {
    color: #888;
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 40px 0;
    background: radial-gradient(circle at bottom left, rgba(202, 252, 144, 0.05), transparent 70%);
    width: 100%;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 30px 20px;
    border: 1px solid rgba(202, 252, 144, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.contact-subtitle {
    text-align: center;
    color: #ccc;
    margin-bottom: 25px;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.contact-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 480px) {
    .contact-options {
        flex-direction: row;
    }
}

.contact-whatsapp,
.contact-phone,
.contact-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    font-size: 0.9rem;
    flex: 0 1 auto;
    white-space: nowrap;
}

.contact-whatsapp,
.whatsapp-option {
    background: #25D366;
    color: white;
}

.contact-whatsapp:hover,
.whatsapp-option:hover {
    background: #20b859;
    transform: translateY(-2px);
}

.contact-phone,
.email-option {
    background: var(--azul-logo);
    color: white;
}

.contact-phone:hover,
.email-option:hover {
    background: #2440b8;
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(202, 252, 144, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cafc90' 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 15px center;
    background-size: 16px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--verde-lima);
    background: rgba(202, 252, 144, 0.1);
}

.contact-form select option {
    background: var(--fondo);
    color: white;
}

.btn-submit {
    background: var(--verde-lima);
    color: var(--texto-oscuro);
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 100%;
}

.btn-submit:hover {
    background: #b1e67a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 252, 144, 0.3);
}

.legal-note {
    text-align: center;
    color: #888;
    margin-top: 15px;
    font-size: 0.8rem;
    word-wrap: break-word;
}

/* ===== FOOTER ===== */
footer {
    background: #0f1422;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(202, 252, 144, 0.1);
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
}

@media (min-width: 480px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

.footer-section {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-section {
        text-align: left;
    }
}

.footer-section .logo {
    margin-bottom: 15px;
}

.footer-section .logo span:first-child {
    color: var(--verde-lima);
    font-weight: bold;
    font-size: 1.5rem;
}

.footer-section .logo span:last-child {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.footer-section p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .social-links {
        justify-content: flex-start;
    }
}

.social-links a {
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--verde-lima);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: var(--verde-lima);
    margin-bottom: 20px;
    font-size: 1.2rem;
    word-wrap: break-word;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.footer-section ul li a:hover {
    color: var(--verde-lima);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
    width: 100%;
    word-wrap: break-word;
}

/* ===== MENSAJES FLOTANTES ===== */
.mensaje-flotante {
    position: fixed;
    top: 15px;
    right: 15px;
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 2000;
    animation: slideIn 0.3s ease;
    display: none;
    font-size: 0.9rem;
    max-width: calc(100% - 30px);
    word-wrap: break-word;
}

.mensaje-flotante.exito {
    background: var(--verde-lima);
    color: var(--texto-oscuro);
}

.mensaje-flotante.error {
    background: #ff6b6b;
    color: white;
}

/* ===== CARDS 3D ===== */
.card-hover-3d {
    perspective: 1500px;
    background: none;
    border: none;
    height: auto;
    min-height: 320px;
    width: 100%;
}

.card-hover-3d .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.card-hover-3d:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: inherit;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(202, 252, 144, 0.1);
    backdrop-filter: blur(10px);
}

.card-front {
    transform: rotateY(0deg);
}

.card-back {
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--fondo), #1a2340);
    border: 2px solid var(--verde-lima);
}

.card-back h3 {
    color: var(--verde-lima);
    margin-bottom: 15px;
    font-size: 1.2rem;
    word-wrap: break-word;
}

/* ===== TABLAS RESPONSIVE ===== */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 12px;
    border: 1px solid rgba(202, 252, 144, 0.1);
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.monitor-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    min-width: 600px;
}

.monitor-table th {
    background: rgba(202, 252, 144, 0.1);
    padding: 10px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.monitor-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(202, 252, 144, 0.1);
    color: #ddd;
    font-size: 0.85rem;
    white-space: nowrap;
}

.monitor-table tr:hover td {
    background: rgba(202, 252, 144, 0.05);
}

/* ===== BADGES ===== */
.badge-enviado,
.badge-no-enviado,
.badge-firmado,
.badge-pendiente {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-enviado {
    background: rgba(202, 252, 144, 0.1);
    color: var(--verde-lima);
    border: 1px solid rgba(202, 252, 144, 0.3);
}

.badge-firmado {
    background: rgba(202, 252, 144, 0.2);
    color: var(--verde-lima);
    border: 1px solid var(--verde-lima);
}

.badge-pendiente {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-no-enviado {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* ===== UTILIDADES RESPONSIVE ===== */
.hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: block;
    }
}

.show-mobile {
    display: block;
}

@media (min-width: 768px) {
    .show-mobile {
        display: none;
    }
}

/* ===== ANIMACIONES ===== */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}