/* ============================================
   NEXFLAR - Estilos Completos
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --primary: #000000;
    --primary-dark: #1a1a1a;
    --accent: #333333;
    --navy-800: #000000;
    --navy-900: #000000;
    --text-dark: #000000;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #FFFFFF;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    padding-top: 0;
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ============================================
   CONTENEDOR GENERAL
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVEGACIÓN (Tailwind - parte superior)
   ============================================ */
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Logo */
.logo-img {
    transition: all 0.3s ease;
    display: block;
}

.logo-img:hover {
    transform: scale(1.02);
}

/* Nav links - estado normal */
.nav-link {
    color: #1F2937 !important;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-link:hover {
    color: #000000 !important;
}

/* Nav links - cuando scrolled */
.navbar.scrolled .nav-link {
    color: var(--gray-900) !important;
}

.navbar.scrolled .nav-link:hover {
    color: #000000 !important;
}

/* ============================================
   HERO VIDEO BACKGROUND
   ============================================ */
#inicio {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #0d1b2a;
    padding-top: 80px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2;
    pointer-events: none;
}

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    background: linear-gradient(135deg, rgba(13,27,42,0.95) 0%, rgba(0,86,179,0.85) 50%, rgba(13,27,42,0.75) 100%),
                url('https://images.unsplash.com/photo-1556761175-5973dc0f32b7?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

/* Partículas */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    animation: floatParticle 25s infinite linear;
}

/* Gradientes Animados */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 6s ease infinite;
}

.gradient-bg {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    background-size: 200% 200%;
    animation: gradient 8s ease infinite;
}

/* Cards Hover */
.card-hover {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    background: var(--bg-white);
    border-color: var(--gray-900);
}

/* Inputs Modernos */
.input-solid {
    background: white;
    border: 2px solid var(--gray-200);
    color: var(--gray-900);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-solid:focus {
    outline: none;
    border-color: var(--gray-900);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

/* Botón Principal */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: white;
}

.btn-primary {
    background: var(--gray-900);
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
    background: var(--gray-800);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ============================================
   MENÚ MÓVIL MEJORADO
   ============================================ */
/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    min-height: 100vh;
    background: #2a2a2a;
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    padding: 70px 24px 30px;
    overflow-y: auto;
}

.mobile-menu .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-left: 3px solid transparent;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link:active {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    border-left-color: #FFFFFF;
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

/* Botón CTA especial en menú mobile */
.mobile-cta-btn {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%) !important;
    color: #1a1a1a !important;
    text-align: center;
    margin-top: 24px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    font-weight: 700;
    border: 2px solid #FFFFFF !important;
}

.mobile-cta-btn:hover,
.mobile-cta-btn:active {
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%) !important;
    color: #000000 !important;
    transform: translateX(0) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4) !important;
}

.mobile-menu.active {
    right: 0;
}

/* Botón de cerrar menú mobile */
#closeMobileMenu {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.2rem;
}

#closeMobileMenu:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #FFFFFF;
    transform: rotate(90deg) scale(1.05);
}

.mobile-menu a {
    position: relative;
    overflow: hidden;
}

.mobile-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.mobile-menu a:hover::before {
    width: 100%;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   SECCIONES DE CONTENIDO (clases antiguas)
   ============================================ */

/* Encabezados de sección */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--gray-900);
    font-weight: 600;
}

/* ============================================
   SECTION TITLES (contacto)
   ============================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--gray-900);
}

.pricing-featured {
    background: var(--gray-900);
    border-color: var(--gray-900);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.pricing-featured:hover {
    transform: translateY(-16px);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-icon {
    width: 52px;
    height: 52px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.pricing-icon-white {
    background: rgba(255,255,255,0.1);
    color: white;
}

.pricing-icon-orange {
    background: var(--gray-200);
    color: var(--gray-900);
}

.pricing-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.pricing-featured .pricing-header h3 {
    color: white;
}

.pricing-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-featured .pricing-header p {
    color: rgba(255,255,255,0.6);
}

.pricing-price {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-featured .pricing-price {
    border-color: rgba(255,255,255,0.1);
}

.price-amount {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.pricing-featured .price-amount {
    color: white;
}

.price-period {
    color: var(--text-light);
    font-size: 0.85rem;
}

.pricing-featured .price-period {
    color: rgba(255,255,255,0.55);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.pricing-featured .pricing-features li {
    color: rgba(255,255,255,0.85);
}

.pricing-features li i {
    color: #22C55E;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pricing-btn:hover {
    background: var(--gray-900);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pricing-btn-outline {
    border: 2px solid var(--gray-900);
    color: var(--gray-900);
    background: transparent;
}

.pricing-btn-outline:hover {
    background: var(--gray-900);
    color: white !important;
    border-color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.pricing-btn-white {
    background: white;
    color: var(--gray-900);
}

.pricing-btn-white:hover {
    background: white;
    color: var(--gray-900) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

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

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

.portfolio-item {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-900);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
}

.tag-blue   { background: var(--gray-100); color: var(--gray-900); }
.tag-green  { background: var(--gray-200); color: var(--gray-900); }
.tag-orange { background: var(--gray-100); color: var(--gray-800); }
.tag-purple { background: var(--gray-200); color: var(--gray-900); }
.tag-red    { background: var(--gray-100); color: var(--gray-800); }
.tag-gray   { background: var(--gray-100); color: var(--gray-700); }

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   RESEÑAS GOOGLE
   ============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-900);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.review-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.1rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.review-google-logo {
    height: 18px;
    object-fit: contain;
    margin-left: auto;
    flex-shrink: 0;
}

.review-stars {
    color: var(--gray-900);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 2px;
}

.review-text {
    color: #4B5563;
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonials {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: rgba(0,86,179,0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0,86,179,0.2);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
}

.trust-badge {
    background: var(--bg-light);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Form label */
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-group select,
.select-with-icon {
    width: 100%;
    padding: 14px 40px 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
    background: var(--bg-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    appearance: none;
    cursor: pointer;
}

.form-group select:hover,
.select-with-icon:hover {
    border-color: var(--gray-400);
    background-color: var(--gray-50);
}

.form-group select:focus,
.select-with-icon:focus {
    outline: none;
    border-color: var(--gray-900);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
    background-color: white;
}

.form-group select option {
    padding: 12px;
    font-size: 0.95rem;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.checkbox-label:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--gray-900);
}

.checkbox-label input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: var(--gray-900);
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ============================================
   CONTACTO
   ============================================ */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,86,179,0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-900);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: 0.6rem;
}

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

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: #9CA3AF;
}

.newsletter-form button {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #6B7280;
    font-size: 0.9rem;
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.wsp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--gray-900);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2px solid var(--gray-800);
}

.wsp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    background: var(--gray-800);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gray-900);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    cursor: pointer;
    border: 2px solid var(--gray-800);
    font-size: 1rem;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: var(--gray-800);
}

/* ============================================
   GRILLA DE INTEGRACIONES
   ============================================ */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .logo-grid { grid-template-columns: repeat(6, 1fr); } }

.logo-cell {
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.logo-cell:hover {
    background: var(--gray-100);
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--gray-300);
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes floatParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

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

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

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

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet y Desktop pequeño */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    /* Modal portafolio responsive */
    .portfolio-modal-content {
        max-width: 95%;
        margin: 10px;
    }

    .portfolio-modal-body iframe {
        height: 60vh;
        min-height: 400px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Navbar responsive */
    #navbar {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .logo-img {
        height: 38px !important;
        max-width: 180px !important;
    }

    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Hero responsive */
    #inicio {
        padding-top: 60px;
        min-height: 550px;
    }

    .hero {
        background-position: center;
        min-height: 500px;
    }

    .hero-bg-video {
        object-fit: cover;
    }

    /* Beneficios */
    .grid.md\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-column h4 {
        margin-bottom: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-form input {
        border-radius: 12px;
        width: 100%;
    }

    .newsletter-form button {
        border-radius: 12px;
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .section-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Hero mobile */
    #inicio {
        padding-top: 60px;
        min-height: 500px;
    }

    .hero {
        min-height: 450px;
    }

    .hero-bg-video {
        object-fit: cover;
        object-position: center;
    }

    /* Beneficios mobile */
    .card-hover {
        padding: 1.5rem;
    }

    .card-hover h3 {
        font-size: 1.1rem;
    }

    .card-hover p {
        font-size: 0.9rem;
    }

    /* Pricing mobile */
    .pricing-card {
        padding: 1.75rem 1.25rem;
    }

    .pricing-header h3 {
        font-size: 1.3rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    /* Portfolio mobile */
    .portfolio-item h3 {
        font-size: 1.1rem;
    }

    .portfolio-item p {
        font-size: 0.85rem;
    }

    /* Reviews mobile */
    .review-card {
        padding: 1.25rem;
    }

    .review-name {
        font-size: 0.95rem;
    }

    .review-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Contact mobile */
    .contact-form {
        padding: 1.5rem 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 12px 14px;
    }

    .form-label {
        font-size: 0.8rem;
    }

    /* Footer mobile */
    .footer-content {
        gap: 1.5rem;
    }

    .footer-column h4 {
        font-size: 1rem;
    }

    .footer-column ul li {
        font-size: 0.9rem;
        padding: 3px 0;
    }

    /* Floating buttons mobile */
    .wsp-float,
    .scroll-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
    }

    .wsp-float {
        left: 15px;
    }

    .scroll-top {
        right: 15px;
    }

    .wsp-float i,
    .scroll-top i {
        font-size: 1.3rem;
    }

    /* Modal portafolio mobile */
    .portfolio-modal-content {
        max-width: 100%;
        max-height: 95vh;
        margin: 0;
        border-radius: 8px;
    }

    .portfolio-modal-header {
        padding: 15px 20px;
    }

    .portfolio-modal-header h3 {
        font-size: 1.1rem;
    }

    .portfolio-modal-body iframe {
        height: 50vh;
        min-height: 300px;
    }

    .portfolio-modal-footer {
        padding: 15px 20px;
    }

    .portfolio-modal.active {
        padding: 10px;
    }
}

/* Mobile pequeño */
@media (max-width: 360px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 32px !important;
        max-width: 150px !important;
    }

    .portfolio-modal-body iframe {
        height: 40vh;
        min-height: 250px;
    }

    .btn,
    .pricing-btn {
        font-size: 0.9rem;
        padding: 12px 24px;
    }
}

/* ============================================
   POPUP OFERTA ESPECIAL
   ============================================ */
.offer-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    overflow-y: auto;
}

.offer-popup.active {
    opacity: 1;
    visibility: visible;
}

.offer-popup-content {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    padding: 3rem;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

.offer-popup.active .offer-popup-content {
    transform: scale(1) translateY(0);
}

.offer-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gray-100);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-700);
    font-size: 1.2rem;
}

.offer-close:hover {
    background: var(--gray-900);
    color: white;
    transform: rotate(90deg);
}

.offer-badge {
    display: inline-block;
    background: var(--gray-900);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.offer-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.offer-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.offer-price-container {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid var(--gray-200);
}

.offer-original-price {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.offer-new-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.offer-payment-text {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.offer-features {
    list-style: none;
    margin-bottom: 2rem;
}

.offer-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--gray-100);
}

.offer-features li:last-child {
    border-bottom: none;
}

.offer-features li i {
    color: var(--gray-900);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.offer-cta {
    display: block;
    width: 100%;
    background: var(--gray-900);
    color: white;
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.offer-cta:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.offer-timer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.offer-timer strong {
    color: var(--gray-900);
    font-weight: 700;
}

@media (max-width: 768px) {
    .offer-popup {
        padding: 10px;
        align-items: flex-start;
    }

    .offer-popup-content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .offer-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .offer-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .offer-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .offer-price-container {
        padding: 1.5rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .offer-original-price {
        font-size: 1.1rem;
    }

    .offer-new-price {
        font-size: 2.5rem;
    }

    .offer-payment-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .offer-features {
        margin-bottom: 1.25rem;
    }

    .offer-features li {
        padding: 8px 0;
        font-size: 0.9rem;
    }

    .offer-cta {
        padding: 16px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .offer-popup {
        padding: 5px;
    }

    .offer-popup-content {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        max-height: 95vh;
    }

    .offer-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
        margin-bottom: 0.75rem;
    }

    .offer-title {
        font-size: 1.35rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }

    .offer-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .offer-price-container {
        padding: 1rem 0.85rem;
        margin-bottom: 1rem;
    }

    .offer-original-price {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .offer-new-price {
        font-size: 2rem;
        margin-bottom: 0.4rem;
    }

    .offer-payment-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .offer-features {
        margin-bottom: 1rem;
    }

    .offer-features li {
        padding: 6px 0;
        font-size: 0.8rem;
        gap: 8px;
        align-items: flex-start;
    }

    .offer-features li i {
        font-size: 0.9rem;
        margin-top: 2px;
    }

    .offer-features li span {
        line-height: 1.4;
    }

    .offer-cta {
        padding: 13px 20px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .offer-timer {
        margin-top: 1rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .offer-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }
}

/* ============================================
   NOTIFICACIONES
   ============================================ */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    transform: translateX(120%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.notification-success .notification-content { background: linear-gradient(135deg, #10B981, #059669); }
.notification-error .notification-content { background: linear-gradient(135deg, #EF4444, #DC2626); }
.notification-info .notification-content { background: linear-gradient(135deg, #000000, #1A1A1A); }

/* ============================================
   UTILIDADES
   ============================================ */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* ============================================
   MODAL PORTAFOLIO CON IFRAME
   ============================================ */
.portfolio-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.portfolio-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.portfolio-modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 1400px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.portfolio-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 16px 16px 0 0;
}

.portfolio-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.portfolio-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--gray-700);
    font-size: 1.2rem;
}

.portfolio-modal-close:hover {
    background: var(--gray-900);
    color: white;
    transform: rotate(90deg);
}

.portfolio-modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
    background: white;
}

.portfolio-modal-body iframe {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border: none;
}

.portfolio-modal-footer {
    padding: 20px 30px;
    border-top: 2px solid var(--gray-200);
    background: var(--gray-50);
    text-align: center;
    border-radius: 0 0 16px 16px;
}

.portfolio-item {
    cursor: pointer;
}

/* Impresión */
@media print {
    .wsp-float, .scroll-top, .mobile-menu, #navbar { display: none !important; }
    .hero-bg { background: #fff !important; color: #000 !important; }
}
