/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --text-dark: #4b5563;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
}

p {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

p:last-child {
    margin-bottom: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navbar */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    height: 35px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-brand-text {
    display: inline-block;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 28px;
        max-width: 120px;
    }
    
    .navbar-brand-text {
        font-size: 1.2rem;
    }
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-menu a:hover {
    color: var(--primary-color);
}

.navbar-menu a.btn-primary {
    color: white !important;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.navbar-menu a.btn-primary:hover {
    color: white !important;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-icon {
    font-size: 1.2rem;
    transition: transform 0.25s ease;
    vertical-align: middle;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.65rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-menu a:hover .nav-submenu-icon {
    color: var(--primary-color);
}

.nav-submenu-icon {
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.92;
    flex-shrink: 0;
    line-height: 1;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.55rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-primary:active {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0 0 1.25rem;
    opacity: 0.92;
    max-width: 520px;
}

.hero-features-panel {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.75rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.hero-features-header {
    text-align: left;
    margin-bottom: 0.85rem;
}

.hero-features-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
}

.hero-features-lead {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.hero-features::-webkit-scrollbar {
    width: 5px;
}

.hero-features::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

.hero-feature-item {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.5rem 0.65rem;
    background: rgba(76, 46, 122, 0.62);
    border: 1px solid rgba(118, 75, 162, 0.45);
    border-radius: 10px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #fff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-feature-item::marker {
    content: none;
}

.hero-feature-item:hover {
    background: rgba(90, 55, 140, 0.75);
    border-color: rgba(139, 92, 246, 0.55);
    transform: none;
    box-shadow: none;
    opacity: 1;
}

.hero-feature-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: rgba(62, 38, 105, 0.88);
    border: 1px solid rgba(118, 75, 162, 0.55);
    color: #fff;
    font-size: 1.05rem;
    line-height: 1;
}

.hero-feature-text {
    flex: 1;
    min-width: 0;
    padding-top: 0.15rem;
    color: #fff;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 1;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.75rem;
    pointer-events: none;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    padding: 0;
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
    z-index: 2;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: -50px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content-container {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.hero-image-container {
    position: sticky;
    top: 2rem;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    align-self: start;
}

.hero-image {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.hero-image-media {
    position: relative;
    display: block;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.hero-image-device {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
    animation: fadeInUp 1s ease-out, floatImage 3s ease-in-out infinite;
}

.hero-home-image {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-image-device:hover .hero-home-image {
    transform: scale(1.05) translateY(-10px);
    filter: drop-shadow(0 15px 40px rgba(102, 126, 234, 0.5));
}

/* Play sobre la pantalla del dispositivo (home.png) */
.hero-play-btn {
    position: absolute;
    top: 39%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #ff0000;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 4px 18px rgba(255, 0, 0, 0.45);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero-play-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: #cc0000;
    box-shadow: 0 6px 24px rgba(255, 0, 0, 0.55);
}

.hero-play-btn i {
    margin: 0;
    line-height: 1;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.btn-demo {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.55rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.btn-demo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-demo:active {
    transform: translateY(-2px);
}

.computer-base {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px 12px 0 0;
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
}

.computer-screen {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.screen-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-dots {
    display: flex;
    gap: 8px;
}

.screen-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: block;
}

.screen-dots span:nth-child(1) {
    background: rgba(255, 95, 86, 0.8);
}

.screen-dots span:nth-child(2) {
    background: rgba(255, 189, 46, 0.8);
}

.screen-dots span:nth-child(3) {
    background: rgba(52, 199, 89, 0.8);
}

.screen-content {
    width: 100%;
    height: calc(100% - 40px);
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.05) 10px,
        transparent 10px,
        transparent 20px
    );
}

.computer-keyboard {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 4px 4px;
    margin-top: -2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.hero-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: filter 0.4s ease;
    animation: fadeInUpLogo 0.8s ease-out forwards, logoFloat 3s ease-in-out 0.8s infinite;
    will-change: transform;
}

.hero-logo:hover {
    animation-play-state: paused;
    transform: scale(1.05) translateY(-5px) !important;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

@keyframes fadeInUpLogo {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    max-width: 100%;
}

.hero-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.social-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.6);
}

.social-btn i {
    transition: transform 0.3s ease;
}

.social-btn:hover i {
    transform: scale(1.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Hero Form */
.hero-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    align-self: flex-end;
    position: relative;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.form-group-half {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group label .required-asterisk {
    color: #ff4444;
    margin-left: 2px;
    font-weight: bold;
}

/* Registro Page Styles */
.registro-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.registro-header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: techMove 20s linear infinite;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.3) 0%, transparent 50%);
    animation: techPulse 4s ease-in-out infinite;
}

@keyframes techMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes techPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.registro-header-content {
    position: relative;
    z-index: 1;
}

.registro-header-flex {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: flex-start;
}

.tech-icon-wrapper {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.registro-header-text {
    flex: 1;
}

.registro-title {
    text-align: left;
    margin-bottom: 0.35rem;
}

.registro-subtitle {
    text-align: left;
    margin: 0;
}

.tech-icon {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: iconFloatTech 3s ease-in-out infinite;
}

.tech-icon i {
    font-size: 2.35rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: iconPulse 2s ease-in-out infinite;
}

.tech-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    animation: techGlow 3s ease-in-out infinite;
    z-index: 1;
}

.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: techLines 3s linear infinite;
    z-index: 1;
}

.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: particleFloat 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    left: 60%;
    top: 30%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    left: 80%;
    top: 70%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    left: 20%;
    top: 80%;
    animation-delay: 4s;
}

.particle:nth-child(6) {
    left: 70%;
    top: 10%;
    animation-delay: 5s;
}

.tech-circuit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    background-size: 100px 100px;
    animation: circuitMove 10s linear infinite;
    z-index: 1;
}

@keyframes iconFloatTech {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes techGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes techLines {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(20px);
        opacity: 1;
    }
    50% {
        transform: translateY(-60px) translateX(-10px);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-30px) translateX(-20px);
        opacity: 1;
    }
}

@keyframes circuitMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.registro-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
    text-align: left;
}

.registro-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin: 0;
    font-weight: 300;
    text-align: left;
    line-height: 1.4;
}

/* Mensaje de éxito tras registro: 15 segundos y redirección a inicio */
.registro-success-alert {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    animation: registroSuccessFadeIn 0.3s ease;
}

.registro-success-alert-box {
    background: linear-gradient(145deg, #059669 0%, #047857 100%);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.registro-success-alert-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    line-height: 1;
}

.registro-success-alert-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.registro-success-alert-countdown {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.25rem 0;
}

.registro-success-alert-btn {
    display: inline-block;
    padding: 0.65rem 1.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #047857;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.registro-success-alert-btn:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes registroSuccessFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Alert con estilo para errores (ej. RUC duplicado) */
.registro-alert {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    animation: registroSuccessFadeIn 0.3s ease;
}

.registro-alert-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.registro-alert--error .registro-alert-box {
    border-left: 4px solid #dc2626;
}

.registro-alert-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.registro-alert-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.registro-alert-icon {
    margin-bottom: 1rem;
    font-size: 3rem;
    line-height: 1;
}

.registro-alert--error .registro-alert-icon {
    color: #dc2626;
}

.registro-alert-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    line-height: 1.45;
}

.registro-alert-btn-ok {
    display: inline-block;
    padding: 0.65rem 1.75rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.registro-alert-btn-ok:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.registro-section {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    min-height: calc(100vh - 250px);
    padding: 4rem 0;
}

.registro-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.registro-form {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.registro-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.form-title {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: var(--text-dark);
}

.form-description {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.registro-section .form-group {
    margin-bottom: 1rem;
}

.registro-section .form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.registro-section .label-icon {
    color: var(--primary-color) !important;
    font-size: 1.1rem;
    margin-right: 0.25rem;
    display: inline-block;
    opacity: 1 !important;
    flex-shrink: 0;
}

#direccion.form-control {
    font-size: 0.75rem;
}

.registro-section .form-control {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.registro-section .form-control:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.registro-section .phone-input-wrapper {
    border: 2px solid #e5e7eb;
    background: #ffffff;
    transition: all 0.3s ease;
}

.registro-section .phone-input-wrapper:focus-within {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.registro-section #nombre_empresa.form-control-textarea {
    background: #f9fafb !important;
    border: 2px solid #e5e7eb !important;
    color: var(--text-dark) !important;
}

.registro-section #nombre_empresa.form-control-textarea:focus {
    border-color: var(--primary-color) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}

.form-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #f3f4f6;
    text-align: center;
}

.btn-submit-registro {
    width: 100%;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-submit-registro:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-submit-registro:active {
    transform: translateY(-2px);
}

.btn-submit-registro i {
    font-size: 1.2rem;
}

.form-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.form-note .required-asterisk {
    color: #ff4444;
    font-weight: bold;
}

@media (max-width: 768px) {
    .registro-header {
        padding: 1.5rem 0;
    }
    
    .registro-header-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.85rem;
    }
    
    .registro-header-text {
        text-align: center;
    }
    
    .registro-title {
        font-size: 1.65rem;
        text-align: center;
    }
    
    .registro-subtitle {
        font-size: 0.92rem;
        text-align: center;
        line-height: 1.4;
    }
    
    .tech-icon-wrapper {
        margin-bottom: 0.35rem;
    }

    .tech-icon {
        width: 64px;
        height: 64px;
    }

    .tech-icon i {
        font-size: 2rem;
    }
    
    .registro-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .registro-form-wrapper {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .registro-form {
        padding: 2rem 1.25rem;
        margin: 0;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .registro-section .form-group label {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .registro-header {
        padding: 1.15rem 0;
    }
    
    .registro-title {
        font-size: 1.35rem;
    }
    
    .registro-subtitle {
        font-size: 0.85rem;
    }
    
    .registro-section {
        padding: 1.5rem 0;
    }
    
    .registro-form-wrapper {
        padding: 0;
    }
    
    .registro-form {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }
    
    .registro-section .form-group {
        margin-bottom: 0.875rem;
    }
    
    .registro-section .form-group label {
        font-size: 0.9rem;
    }
    
    .registro-section .form-control,
    .registro-section .phone-input-wrapper {
        font-size: 16px; /* evita zoom en iOS al enfocar inputs */
        min-height: 44px;
        padding: 0.5rem 0.75rem;
    }
    
    .registro-section .phone-input-wrapper {
        padding-left: 2.5rem;
    }
    
    .btn-submit-registro {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 12px;
    }
    
    .form-footer {
        padding-top: 1rem;
    }
    
    .form-note {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
}

@media (max-width: 360px) {
    .registro-form {
        padding: 1rem 0.75rem;
    }
    
    .registro-title {
        font-size: 1.25rem;
    }
}

.label-icon {
    flex-shrink: 0;
    color: white;
    opacity: 0.9;
    font-size: 1.1rem;
    margin-right: 0.25rem;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 0.45rem 3.5rem 0.45rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: all 0.3s;
    box-sizing: border-box;
    height: 2.5rem;
    line-height: 1.5;
}

#nombre_empresa.form-control {
    font-size: 0.75rem;
}

.form-control-textarea {
    min-height: 2.5rem;
    height: auto;
    resize: vertical;
    padding: 0.45rem 1rem;
    line-height: 1.5;
}

#mensaje.form-control-textarea {
    min-height: 50px;
    max-height: 80px;
}

#nombre_empresa.form-control-textarea {
    font-size: 0.75rem;
    min-height: 40px;
    height: 40px;
    background: transparent !important;
    border: none !important;
    cursor: not-allowed;
    color: white !important;
    padding: 0.35rem 0;
    overflow-y: auto;
}

#nombre_empresa.form-control-textarea:focus {
    background: transparent !important;
    border: none !important;
    outline: none;
    box-shadow: none;
    color: white !important;
}

#nombre_empresa.form-control-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

/* Phone input with prefix */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
    box-sizing: border-box;
    height: 2.5rem;
}

.phone-input-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.phone-prefix {
    padding: 0.45rem 0.75rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px 0 0 8px;
    user-select: none;
    white-space: nowrap;
}

.phone-input {
    flex: 1;
    border: none;
    padding: 0.45rem 1rem;
    background: transparent;
    border-radius: 0 8px 8px 0;
    border: none;
    outline: none;
    font-size: 0.9rem;
    height: 100%;
    line-height: 1.5;
}

.phone-input:focus {
    outline: none;
    box-shadow: none;
}

.char-counter {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.char-counter.complete {
    color: rgba(52, 199, 89, 1);
    background: rgba(52, 199, 89, 0.2);
}

.char-counter.warning {
    color: rgba(255, 189, 46, 1);
    background: rgba(255, 189, 46, 0.2);
}

.char-counter.danger {
    color: rgba(255, 59, 48, 1);
    background: rgba(255, 59, 48, 0.2);
}


.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.5rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.55rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-large {
    padding: 0.55rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 0.5rem;
}

/* Features Section */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
}

.feature-card.animated {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.feature-icon i {
    font-size: 2.5rem;
    display: block;
    color: white;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Platform Section */
.platform {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.platform-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.platform-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.platform-glow--1 {
    width: 320px;
    height: 320px;
    top: -80px;
    right: -60px;
    background: rgba(255, 255, 255, 0.45);
}

.platform-glow--2 {
    width: 280px;
    height: 280px;
    bottom: -100px;
    left: -40px;
    background: rgba(187, 247, 208, 0.35);
}

.platform .container {
    position: relative;
    z-index: 1;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.platform-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 1.75rem;
}

.platform-intro {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.platform-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-visual-img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.platform-visual-img--photo {
    object-fit: cover;
    max-height: 320px;
}

.platform-intro-copy {
    text-align: justify;
    text-justify: inter-word;
}

.platform-lead {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    text-align: justify;
    text-justify: inter-word;
}

.platform-certificado {
    display: grid;
    grid-template-columns: minmax(260px, 400px) 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.platform-certificado-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-certificado-copy {
    text-align: justify;
    text-justify: inter-word;
}

.platform-certificado-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.platform-certificado-title .mdi {
    font-size: 1.45rem;
    color: #fde68a;
    flex-shrink: 0;
}

.platform-certificado-text {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.platform-certificado-subtitle {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.platform-certificado-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.platform-certificado-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.platform-certificado-list li:last-child {
    margin-bottom: 0;
}

.platform-certificado-list .mdi {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1.1rem;
    color: #bbf7d0;
}

.platform-certificado-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #fef3c7;
    background: rgba(15, 23, 42, 0.2);
    border-left: 4px solid #fde68a;
    border-radius: 0 12px 12px 0;
}

.platform-certificado-note .mdi {
    flex-shrink: 0;
    font-size: 1.25rem;
    margin-top: 0.05rem;
}

.platform-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #5b21b6;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.platform-eyebrow-text {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
}

.platform-title {
    margin-bottom: 0.75rem;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    line-height: 1.2;
    color: #fff;
    text-align: center;
}

.platform-panel {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-align: justify;
    text-justify: inter-word;
}

.platform-panel-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    text-align: left;
}

.platform-panel-title .mdi {
    font-size: 1.25rem;
    color: #bbf7d0;
    flex-shrink: 0;
}

.platform-detail {
    margin: 0 0 1.15rem;
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
    text-justify: inter-word;
}

.platform-highlights {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.platform-highlights li {
    display: grid;
    grid-template-columns: 1.35rem 1fr;
    gap: 0.55rem;
    align-items: start;
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.96);
    text-align: justify;
    text-justify: inter-word;
}

.platform-highlights li:last-child {
    margin-bottom: 0;
}

.platform-highlights .mdi {
    font-size: 1.05rem;
    color: #bbf7d0;
    flex-shrink: 0;
    margin-top: 0.12rem;
}

.btn-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.65rem;
    border-radius: 50px;
    background: #fff;
    color: #5b21b6;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-platform:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
    background: #f8fafc;
    color: #4c1d95;
}

.btn-platform .mdi {
    font-size: 1.15rem;
}

.platform-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-step-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.platform-step-card:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
}

.platform-step-marker {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #5b21b6;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
}

.platform-step-body {
    flex: 1;
    min-width: 0;
}

.platform-step-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.platform-step-head .mdi {
    font-size: 1.15rem;
    color: #bbf7d0;
    flex-shrink: 0;
}

.platform-step-head h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.platform-step-body > p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
    text-align: justify;
    text-justify: inter-word;
}

@media (max-width: 991px) {
    .platform-intro,
    .platform-certificado {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .platform-intro {
        margin-bottom: 1.75rem;
    }

    .platform-certificado {
        margin-bottom: 1.75rem;
        padding: 1.25rem;
    }

    .platform-visual-img {
        max-width: 340px;
        margin: 0 auto;
    }

    .platform-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .platform-header {
        margin-bottom: 2rem;
    }

    .platform-highlights {
        max-width: none;
    }

    .platform-panel--info .btn-platform {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .platform-title {
        font-size: 1.65rem;
    }

    .platform-lead {
        font-size: 0.98rem;
    }

    .platform-panel {
        padding: 1.15rem;
    }

    .platform-eyebrow-text {
        font-size: 0.82rem;
    }
}

/* Screens Section */
.screens-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.screen-item {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
}

.screen-item.animated {
    opacity: 1;
}

.screen-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.screen-placeholder {
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.screen-image {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s;
}

.screen-item:hover .screen-image {
    transform: scale(1.1);
}

.screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

.screen-item:hover .screen-overlay {
    opacity: 1;
}

.screen-image span {
    position: relative;
    z-index: 1;
}

/* Pricing Section */
.pricing {
    background: var(--bg-light);
}

.pricing-header .section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #000;
    letter-spacing: -0.02em;
}

.pricing-header .section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto 0.75rem;
    line-height: 1.5;
}

.pricing-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.pricing-note i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.pricing-note--red {
    color: #dc2626;
}

.pricing-note--red i {
    color: #dc2626;
}

.pricing-note--after-plans {
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.pricing-igv-note-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem 0;
}

.pricing .section-title,
.pricing .section-description {
    color: #000;
}

.pricing-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    color: #000;
}

.pricing-plan-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.price-wrapper {
    margin-bottom: 1.5rem;
}

.price-old {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #dc2626;
    text-decoration: line-through;
    text-decoration-style: double;
    margin-bottom: 0.25rem;
}

.pricing .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price-wrapper .price {
    margin-bottom: 0;
}

.pricing-features li {
    padding: 0.35rem 0;
    color: #000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    width: fit-content;
    padding: 0.35rem;
    background: var(--bg-light);
    border-radius: 50px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
}

.toggle-btn {
    padding: 0.85rem 2.25rem;
    border: none;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.toggle-btn:hover:not(.active) {
    color: var(--text-dark);
    background: rgba(102, 126, 234, 0.08);
}

.toggle-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.toggle-btn.active:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.pricing-grid {
    position: relative;
}

.pricing-period {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-popular {
    position: relative;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.25);
    padding-top: 1.5rem;
}

.pricing-card-popular h3 {
    margin-top: 0.5rem;
}

.pricing-card-popular:hover {
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.35);
}

.pricing-badge {
    display: inline-block;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* CTA Planes y Precios (en home) */
.pricing-cta {
    padding: 3rem 0;
    background: var(--bg-light);
}

.pricing-cta-content {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.pricing-cta-content .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.pricing-cta-content .section-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Sección Nuestros clientes - marquesina horizontal dinámica */
.clientes {
    padding: 3rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.clientes .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.clientes .section-title {
    color: #000;
}

.clientes .section-description {
    color: var(--text-light);
}

.clientes--compact {
    padding: 1rem 0 1.75rem;
}

.clientes--compact .section-header {
    margin-bottom: 0.5rem;
}

.clientes--compact .section-description {
    margin-bottom: 0;
    font-size: 1rem;
}

.clientes--compact .clientes-marquee-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.clientes-marquee-wrap {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.clientes-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: clientes-marquee 45s linear infinite;
}

.clientes-track:hover {
    animation-play-state: paused;
}

.clientes--compact .clientes-item {
    width: 130px;
    height: 54px;
}

.clientes--compact .clientes-track {
    gap: 1.25rem;
}

.clientes-item {
    flex-shrink: 0;
    width: 160px;
    height: 67px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clientes-item:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.2);
}

.clientes-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes clientes-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .clientes-item {
        width: 120px;
        height: 50px;
    }
    .clientes-track {
        gap: 1.25rem;
        animation-duration: 35s;
    }
}

/* Página Planes y Precios */
.pricing-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.pricing-page .pricing-header {
    margin-bottom: 1rem;
}

.pricing-page .pricing-header .section-title {
    display: none;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.25rem;
    text-align: left;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-item-icon {
    font-size: 1.1rem;
    color: var(--primary-color);
    min-width: 1.35rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    color: var(--text-dark);
    font-weight: 600;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-date {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.blog-meta {
    padding: 0 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-title {
    padding: 0 1.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-excerpt {
    padding: 0 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.blog-link {
    display: inline-block;
    padding: 0 1.5rem 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-link:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #18034b;
    color: white;
    padding: 2.25rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem 2rem;
    margin-bottom: 1.25rem;
}

.footer-section h4 {
    margin-bottom: 0.65rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.4rem;
    line-height: 1.45;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    color: rgba(255, 255, 255, 0.8);
}

.footer-social-buttons {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
}

.footer-social-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.6);
}

.footer-social-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.footer-social-btn:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-copy,
.footer-bottom-links {
    margin: 0;
}

.footer-bottom-links {
    text-align: right;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom-sep {
    margin: 0 0.35rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer-bottom-links {
        text-align: left;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.fade-in-up.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.animate-on-scroll[data-animation="fade-in-up"].animated {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll[data-animation="fade-in-left"].animated {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-on-scroll[data-animation="fade-in-right"].animated {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Parallax Effect */
.parallax {
    transition: transform 0.3s ease-out;
}

/* Responsive Design */

/* Tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-wrapper {
        gap: 2rem;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }

    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screens-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-period {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        display: none;
        gap: 0;
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-menu li {
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1.15rem;
        margin-top: 0.65rem;
        min-width: 0;
        width: 100%;
    }
    
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .slider-controls {
        padding: 0 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .hero-form {
        align-self: center;
    }
    
    .hero-image-container {
        position: static;
        align-self: center;
    }

    .hero-image {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }

    .hero-tagline {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .hero-features-panel {
        margin-bottom: 1rem;
        padding: 0;
        max-width: 100%;
    }

    .hero-features-header {
        text-align: center;
    }

    .hero-features-lead {
        font-size: 0.9rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .hero-feature-item {
        font-size: 0.8125rem;
        padding: 0.5rem 0.6rem;
    }
    
    .hero-social {
        gap: 0.75rem;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-form {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group-half {
        margin-bottom: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .shape-1,
    .shape-2,
    .shape-3 {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .screens-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .toggle-btn {
        width: 100%;
    }
    
    .pricing-period {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 1.25rem;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 1.75rem 0 2.5rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-social {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .blog-card {
        margin-bottom: 1rem;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .navbar-brand a {
        font-size: 1.25rem;
    }
    
    .navbar-logo {
        height: 28px;
        max-width: 120px;
    }
    
    .navbar-brand-text {
        font-size: 1.2rem;
    }
    
    .btn-large {
        padding: 0.55rem 1.75rem;
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-logo {
        max-width: 150px;
    }
    
    .hero-title {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.2);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 1.6rem;
    }
}

/* Botón flotante Ver video (solo si se usa fuera del hero) */
.video-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #ff0000;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 4px 18px rgba(255, 0, 0, 0.45);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-float:hover {
    transform: scale(1.1);
    background: #cc0000;
    box-shadow: 0 6px 24px rgba(255, 0, 0, 0.55);
}

.video-float i {
    margin-right: 0;
}

.video-float-label {
    position: absolute;
    left: calc(100% + 10px);
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.video-float:hover .video-float-label {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .video-float {
        width: 52px;
        height: 52px;
        bottom: 22px;
        left: 20px;
        font-size: 1.6rem;
    }

    .video-float-label {
        display: none;
    }

    .hero-image-media {
        max-width: min(100%, 340px);
    }

    .hero-play-btn {
        top: 39%;
        width: 58px;
        height: 58px;
        font-size: 1.85rem;
    }

    .hero-image-device {
        animation: fadeInUp 1s ease-out, floatImage 3s ease-in-out infinite;
    }
}

@media (max-width: 480px) {
    .video-float {
        width: 48px;
        height: 48px;
        bottom: 18px;
        left: 15px;
        font-size: 1.5rem;
    }

    .hero-image-media {
        max-width: min(100%, 300px);
    }

    .hero-play-btn {
        top: 38.5%;
        width: 54px;
        height: 54px;
        font-size: 1.7rem;
    }
}

/* Modal del video */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}

.video-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.video-modal.open .video-modal-dialog {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.video-modal-close:hover {
    background: #fff;
    color: #764ba2;
}

.video-modal-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-modal-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Noticias page */
.news-hero {
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
}

.news-hero .section-title {
    font-size: 2rem;
}

.news-list {
    padding: 0 0 4rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-light);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: var(--primary-color);
    font-size: 3rem;
}

.news-card-body {
    padding: 1.25rem;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-link:hover .news-card-title {
    color: var(--primary-color);
}

.news-card-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.news-card-source {
    font-weight: 500;
    color: var(--primary-color);
}

.news-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.news-empty i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.news-empty p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.news-empty-hint {
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-empty code {
    background: rgba(99, 102, 241, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Tabla Unidades SUNAT */
.sunat-intro {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.sunat-intro-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.sunat-intro p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.sunat-intro p:last-child {
    margin-bottom: 0;
}

.sunat-table-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 0;
    border: 1px solid var(--border-color);
}

.registro-section.unidades-sunat-section {
    min-height: auto;
    padding: 1.5rem 0 0.75rem;
}

.sunat-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.sunat-search-wrap {
    flex: 1;
    min-width: 200px;
    position: relative;
    display: flex;
    align-items: center;
}

.sunat-search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    font-size: 1.25rem;
    pointer-events: none;
}

.sunat-search-input {
    width: 100%;
    padding: 0.75rem 2.75rem 0.75rem 2.75rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sunat-search-input::placeholder {
    color: var(--text-light);
}

.sunat-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.sunat-search-clear {
    position: absolute;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.sunat-search-clear:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.sunat-results-count {
    font-size: 0.9rem;
    color: var(--text-light);
    white-space: nowrap;
}

.sunat-table-wrapper {
    overflow: auto;
    max-height: 70vh;
}

.sunat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.sunat-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.sunat-table th {
    padding: 0.5rem 1.25rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.sunat-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.sunat-table tbody tr:nth-child(even) {
    background: rgba(249, 250, 251, 0.8);
}

.sunat-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.08);
}

.sunat-table tbody tr:last-child {
    border-bottom: none;
}

.sunat-table td {
    padding: 0.5rem 1.25rem;
    color: var(--text-dark);
}

.sunat-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
}

.sunat-table td:nth-child(3) {
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--text-light);
    font-size: 0.9rem;
}

.sunat-no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-light);
}

.sunat-no-results--show {
    display: flex;
}

.sunat-no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.sunat-no-results p {
    margin: 0;
    font-size: 1rem;
}

.sunat-no-results strong {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .sunat-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .sunat-search-wrap {
        min-width: 0;
    }

    .sunat-results-count {
        text-align: center;
    }

    .sunat-table-wrapper {
        overflow-x: auto;
        max-height: 60vh;
    }

    .sunat-table {
        font-size: 0.85rem;
        min-width: 420px;
    }

    .sunat-table th,
    .sunat-table td {
        padding: 0.4rem 0.85rem;
    }
}

/* Página Consulta DIGEMID (iframe) */
.digemid-section {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.digemid-fallback {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.digemid-fallback a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.digemid-fallback a:hover {
    text-decoration: underline;
}

.digemid-fallback i {
    margin-right: 0.25rem;
    vertical-align: middle;
}

.digemid-embed {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-color);
    min-height: 70vh;
}

.digemid-iframe {
    width: 100%;
    height: 75vh;
    min-height: 600px;
    border: none;
    display: block;
}

/* Consulta comprobante (estilo Factura Perú) */
.cpe-section {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.cpe-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.cpe-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.cpe-row-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cpe-select-wrap {
    flex: 1;
    min-width: 200px;
}

.cpe-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cpe-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.cpe-btn-consultar {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.cpe-fields {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.cpe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.cpe-grid-optional {
    margin-bottom: 0;
}

.cpe-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.cpe-field .required-asterisk {
    color: #dc2626;
}

.cpe-input {
    width: 100%;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cpe-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.cpe-input::placeholder {
    color: var(--text-light);
}

.cpe-note {
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.cpe-note i {
    font-size: 1.1rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .cpe-row-main {
        flex-direction: column;
        align-items: stretch;
    }

    .cpe-select-wrap {
        min-width: 0;
    }

    .cpe-btn-consultar {
        width: 100%;
    }

    .cpe-grid {
        grid-template-columns: 1fr;
    }
}

/* SEO: contenido y FAQ (facturación electrónica / farmacias) */
.seo-content {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.seo-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.seo-content-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.seo-content-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

.seo-content-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    font-size: 0.95rem;
}

.seo-faq {
    max-width: 800px;
    margin: 0 auto;
}

.seo-faq-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem;
    text-align: center;
}

.seo-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    padding: 0.25rem 1rem;
}

.seo-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #334155;
    padding: 0.75rem 0;
    list-style-position: outside;
}

.seo-faq-item p {
    margin: 0 0 1rem;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .seo-content-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Página: Cuentas de abono
   ========================================================================== */
.cuentas-section {
        padding: 0;
        background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f5f3ff 100%);
    }

    .registro-section.cuentas-section {
        padding: 2rem 0 3rem;
        background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f5f3ff 100%);
    }

    .cuentas-box {
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.1);
        min-height: calc(100vh - 320px);
        background: #fff;
    }

    .cuentas-layout {
        display: grid;
        grid-template-columns: minmax(280px, 340px) 1fr;
        min-height: calc(100vh - 320px);
        gap: 0;
    }

    .cuentas-intro-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 2.5rem 2rem 2.5rem 1.5rem;
        background: linear-gradient(165deg, #667eea 0%, #764ba2 55%, #5b21b6 100%);
        color: #fff;
        position: relative;
        overflow: hidden;
    }

    .cuentas-intro-panel::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
            radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
        pointer-events: none;
    }

    .cuentas-intro-panel-inner {
        position: relative;
        z-index: 1;
        max-width: 300px;
    }

    .cuentas-intro-panel-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: #fff;
        font-size: 1.65rem;
        margin-bottom: 1.25rem;
    }

    .cuentas-intro-panel h2 {
        font-size: 1.65rem;
        font-weight: 700;
        line-height: 1.25;
        margin: 0 0 1rem;
        color: #fff;
    }

    .cuentas-intro-panel p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.92);
        text-align: justify;
        text-justify: inter-word;
    }

    .cuentas-main-panel {
        padding: 2rem 2rem 2.5rem 2.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .cuentas-card {
        max-width: 100%;
        margin: 0;
        background: #fff;
        border-radius: 20px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 40px rgba(102, 126, 234, 0.08);
        overflow: hidden;
    }

    .cuentas-card::before {
        content: '';
        display: block;
        height: 4px;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #a855f7 100%);
    }

    .cuentas-card-body {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .cuentas-payments-title {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #667eea;
        margin-bottom: 0.35rem;
    }

    .cuentas-payments-hint {
        font-size: 0.85rem;
        color: #64748b;
        margin-bottom: 0.85rem;
        text-align: justify;
        text-justify: inter-word;
    }

    .cuentas-pay-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .cuentas-yape-box {
        position: relative;
        width: 200px;
        height: 200px;
        min-width: 200px;
        flex-shrink: 0;
        border-radius: 16px;
        overflow: hidden;
        border: 2px solid #c4b5fd;
        background: #fff;
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.12);
    }

    .cuentas-yape-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .cuentas-yape-label {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0.5rem;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.98) 35%);
        text-align: center;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        color: #5b21b6;
    }

    .cuentas-banks {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        min-width: 0;
    }

    .cuentas-banks--row {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.5rem;
    }

    .cuentas-banks--row .cuentas-bank-item {
        flex: 1;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0.65rem 0.5rem;
        min-height: 72px;
    }

    .cuentas-banks--row .cuentas-bank-icon {
        margin: 0 auto 0.35rem;
    }

    .cuentas-banks--row .cuentas-bank-data {
        width: 100%;
    }

    .cuentas-bank-item {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.5rem 0.75rem;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .cuentas-bank-item:hover {
        border-color: #a5b4fc;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.08);
    }

    .cuentas-bank-icon {
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: linear-gradient(135deg, #ede9fe, #f5f3ff);
        color: #667eea;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
    }

    .cuentas-bank-data {
        font-size: 0.78rem;
        font-weight: 600;
        color: #334155;
        line-height: 1.35;
    }

    .cuentas-bank-data strong {
        color: #667eea;
        font-weight: 700;
    }

    .cuentas-owner-block {
        margin-bottom: 1.15rem;
        padding-bottom: 1.15rem;
        border-bottom: 1px solid #e2e8f0;
    }

    .cuentas-owner-block:last-of-type {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .cuentas-owner-heading {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.65rem;
        padding: 0.45rem 0.75rem;
        background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
        border-radius: 12px;
        border-left: 4px solid #667eea;
    }

    .cuentas-owner-block--person .cuentas-owner-heading {
        background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
        border-left-color: #10b981;
    }

    .cuentas-owner-block--person .cuentas-owner-heading i {
        color: #059669;
    }

    .cuentas-owner-block--person .cuentas-bank-data strong {
        color: #059669;
    }

    .cuentas-owner-heading i {
        font-size: 1.35rem;
        color: #667eea;
    }

    .cuentas-owner-heading h3 {
        margin: 0;
        font-size: 0.92rem;
        font-weight: 700;
        color: #1e293b;
    }

    .cuentas-owner-heading span {
        font-size: 0.72rem;
        color: #64748b;
        font-weight: 500;
    }

    .cuentas-note {
        margin-top: 1rem;
        padding: 0.65rem 0.85rem;
        background: #fffbeb;
        border: 1px solid #fde68a;
        border-radius: 10px;
        font-size: 0.82rem;
        color: #92400e;
        line-height: 1.55;
        display: flex;
        gap: 0.65rem;
        align-items: flex-start;
        text-align: justify;
        text-justify: inter-word;
    }

    .cuentas-note i {
        font-size: 1.25rem;
        color: #d97706;
        flex-shrink: 0;
        margin-top: 0.1rem;
    }

    .cuentas-contact {
        margin-top: 1.75rem;
        padding: 1.5rem;
        background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 100%);
        border: 1px solid #e9d5ff;
        border-radius: 16px;
    }

    .cuentas-contact-title {
        font-size: 0.95rem;
        font-weight: 700;
        color: #4338ca;
        margin: 0 0 1rem;
    }

    .cuentas-contact-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
    }

    .cuentas-btn-wa {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.65rem 1.25rem;
        background: #25d366;
        color: #fff !important;
        border-radius: 12px;
        font-weight: 600;
        font-size: 0.92rem;
        text-decoration: none;
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .cuentas-btn-wa:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
        color: #fff !important;
        text-decoration: none;
    }

    .cuentas-btn-wa i {
        font-size: 1.3rem;
    }

    .cuentas-mail {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.9rem;
        color: #64748b;
    }

    .cuentas-mail a {
        color: #667eea;
        font-weight: 600;
        text-decoration: none;
    }

    .cuentas-mail a:hover {
        text-decoration: underline;
    }

    .cuentas-signature {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #f1f5f9;
        text-align: justify;
        text-justify: inter-word;
        font-size: 0.82rem;
        color: #94a3b8;
    }

    .cuentas-signature strong {
        color: #475569;
    }

    .cuentas-signature a {
        color: #667eea;
        font-weight: 600;
    }

    @media (max-width: 900px) {
        .cuentas-box,
        .cuentas-layout {
            min-height: auto;
        }

        .cuentas-layout {
            grid-template-columns: 1fr;
        }

        .cuentas-intro-panel {
            padding: 2rem 1.5rem;
            min-height: auto;
        }

        .cuentas-intro-panel-inner {
            max-width: 100%;
        }

        .cuentas-main-panel {
            padding: 1.5rem 1.25rem 2rem;
        }
    }

    @media (max-width: 640px) {
        .cuentas-card-body {
            padding: 1rem 1rem 1.25rem;
        }

        .cuentas-pay-row {
            flex-direction: column;
            align-items: center;
        }

        .cuentas-yape-box {
            width: 170px;
            height: 170px;
            min-width: 170px;
        }

        .cuentas-banks {
            width: 100%;
        }

        .cuentas-contact-actions {
            flex-direction: column;
            align-items: stretch;
        }

        .cuentas-btn-wa {
            justify-content: center;
        }

        .cuentas-banks--row {
            flex-wrap: wrap;
        }

        .cuentas-banks--row .cuentas-bank-item {
            flex: 1 1 100%;
            flex-direction: row;
            text-align: left;
            min-height: auto;
        }

        .cuentas-banks--row .cuentas-bank-icon {
            margin: 0;
        }
    }

/* ==========================================================================
   Página: Políticas de privacidad
   ========================================================================== */
.legal-section {
    padding: 2.5rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 40%, #f5f3ff 100%);
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.legal-sidebar {
    position: sticky;
    top: 1.5rem;
}

.legal-toc {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.15rem 1rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.06);
}

.legal-toc-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #667eea;
    margin: 0 0 0.75rem;
}

.legal-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: legal-toc;
}

.legal-toc li {
    margin-bottom: 0.15rem;
}

.legal-toc a {
    display: block;
    padding: 0.4rem 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    line-height: 1.35;
    transition: background 0.2s, color 0.2s;
}

.legal-toc a:hover {
    background: #f5f3ff;
    color: #667eea;
}

.legal-content {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.08);
    overflow: hidden;
}

.legal-content::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #a855f7 100%);
}

.legal-intro {
    padding: 2rem 2.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #667eea;
    background: #ede9fe;
    border: 1px solid #c4b5fd;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.legal-intro h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.legal-company {
    font-size: 0.95rem;
    font-weight: 600;
    color: #667eea;
    margin: 0 0 1.25rem;
}

.legal-lead {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 1rem;
    text-align: justify;
    text-justify: inter-word;
}

.legal-intro p:last-child {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.75;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
}

.legal-block {
    padding: 1.5rem 2.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.legal-block:last-of-type {
    border-bottom: none;
}

.legal-block h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.85rem;
    line-height: 1.35;
}

.legal-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #667eea;
    background: linear-gradient(135deg, #ede9fe, #f5f3ff);
    border: 1px solid #c4b5fd;
    border-radius: 10px;
}

.legal-block p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 0.85rem;
    text-align: justify;
    text-justify: inter-word;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-list {
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
}

.legal-list li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.65rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    border-bottom: 1px dashed #f1f5f9;
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.legal-highlight {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-left: 4px solid #10b981;
    border-radius: 0 10px 10px 0;
    color: #065f46 !important;
    font-weight: 600;
}

.legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.legal-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1.1rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.legal-contact-item:hover {
    border-color: #a5b4fc;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
}

.legal-contact-item i {
    font-size: 1.75rem;
    color: #667eea;
}

.legal-contact-item--wa i {
    color: #25d366;
}

.legal-contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.legal-contact-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    word-break: break-word;
}

.legal-footer-note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 0;
    padding: 1.35rem 2.25rem 2rem;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
}

.legal-footer-note i {
    flex-shrink: 0;
    font-size: 1.35rem;
    color: #d97706;
    margin-top: 0.1rem;
}

.legal-footer-note p {
    margin: 0;
    font-size: 0.88rem;
    color: #92400e;
    line-height: 1.65;
    text-align: justify;
    text-justify: inter-word;
    font-style: italic;
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }

    .legal-toc ol {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.15rem 0.75rem;
    }

    .legal-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .legal-intro,
    .legal-block,
    .legal-footer-note {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .legal-toc ol {
        grid-template-columns: 1fr;
    }

    .legal-block h3 {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Página: Consulta SUNAT (layout + información CPE)
   ========================================================================== */
.cpe-consulta-section {
    padding: 2rem 0 3rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f5f3ff 100%);
}

.cpe-consulta-box {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.1);
    min-height: calc(100vh - 320px);
    background: #fff;
}

.cpe-consulta-layout {
    display: grid;
    grid-template-columns: minmax(300px, 380px) 1fr;
    min-height: calc(100vh - 320px);
}

.cpe-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(165deg, #667eea 0%, #764ba2 55%, #5b21b6 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cpe-info-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cpe-info-panel-inner {
    position: relative;
    z-index: 1;
}

.cpe-info-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
}

.cpe-info-title {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1rem;
    color: #fff;
    text-align: left;
}

.cpe-info-subtitle {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
    margin: 0 0 2rem;
    text-align: justify;
    text-justify: inter-word;
    font-size: 0.95rem;
}

.cpe-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    text-align: left;
}

.cpe-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cpe-info-icon {
    font-size: 1.35rem;
    color: #fff;
    line-height: 1;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 12px;
    flex-shrink: 0;
}

.cpe-info-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    color: #fff;
}

.cpe-info-text p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.5;
}

.cpe-form-panel {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.cpe-form-panel .cpe-card {
    width: 100%;
    max-width: 560px;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

@media (max-width: 900px) {
    .cpe-consulta-box,
    .cpe-consulta-layout {
        min-height: auto;
    }

    .cpe-consulta-layout {
        grid-template-columns: 1fr;
    }

    .cpe-info-panel {
        padding: 2rem 1.5rem;
    }

    .cpe-form-panel {
        padding: 1.5rem 1.25rem 2rem;
    }
}

/* Spinner styles */
        .spinner {
            display: inline-block;
            width: 1rem;
            height: 1rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
            margin-right: 8px;
            vertical-align: text-bottom;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .alert-success {
            background-color: #d1e7dd;
            color: #0f5132;
            border: 1px solid #badbcc;
            padding: 1rem;
            border-radius: 8px;
            font-size: 0.95rem;
        }
        .alert-danger {
            background-color: #f8d7da;
            color: #842029;
            border: 1px solid #f5c2c7;
            padding: 1rem;
            border-radius: 8px;
            font-size: 0.95rem;
        }

/* Footer */
.footer-tagline {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

