:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glass Effect Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-button {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 1.5rem 4rem;
    background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

.hero-container {
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.badge-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    position: relative;
}

.badge-check::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

/* Sections */
section {
    padding: 5rem 1.5rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

/* Proceso Page Styles */
.proceso-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 1.5rem 2rem;
    background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

.proceso-steps-section {
    padding: 3rem 1.5rem 5rem;
}

.process-timeline {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.step-number {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.step-content {
    flex: 1;
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.step-content:hover {
    transform: translateX(8px);
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.step-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: grid;
    gap: 0.5rem;
}

.step-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.step-highlight {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.warning-section {
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.warning-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fca5a5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-section h3::before {
    content: '⚠️';
    font-size: 1.5rem;
}

.warning-section p {
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.warning-highlight {
    color: #fca5a5 !important;
    font-weight: 600;
    font-size: 1rem !important;
    margin-top: 0.5rem;
}

.guarantee-section {
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.guarantee-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.guarantee-section h3::before {
    content: '✓';
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.guarantee-section p {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 1rem;
}

.cta-section {
    text-align: center;
}

/* Results Section */
.results-section {
}

.carousel-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* Contact Section */
.contact-section {
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 3rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.check-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.info-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25D366;
    text-decoration: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background: rgba(37, 211, 102, 0.25);
    border-color: rgba(37, 211, 102, 0.5);
}

.whatsapp-button svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand img {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.footer-brand p {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-year {
    color: var(--text-secondary);
    font-size: 0.9rem !important;
}

.footer-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Chatbot Section - Complete Redesign */
.chatbot-section {
    padding: 5rem 1.5rem;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
}

.chatbot-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
}

.bot-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.bot-avatar svg {
    width: 28px;
    height: 28px;
    color: white;
}

.bot-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.bot-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.chat-container {
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.chat-messages {
    padding: 2rem;
    min-height: 400px;
    max-height: 500px;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(15, 15, 20, 0.4) 100%);
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.chat-message {
    display: flex;
    margin-bottom: 1.5rem;
    animation: messageSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-message:last-child {
    margin-bottom: 0;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bot-message .message-bubble {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px 16px 16px 4px;
}

.user-message .message-bubble {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4) 0%, rgba(37, 99, 235, 0.25) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.4);
    border-radius: 16px 16px 4px 16px;
}

.message-bubble p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.message-bubble p + p {
    margin-top: 0.75rem;
}

.message-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    text-align: right;
    font-weight: 500;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-8px);
    }
}

.bot-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background: rgba(37, 211, 102, 0.12);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(37, 211, 102, 0.35);
    color: #25D366;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.12);
}

.bot-action-button:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

.bot-action-button.secondary {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.35);
    color: #3b82f6;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.bot-action-button.secondary:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.bot-action-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.chat-quick-questions {
    padding: 1.75rem;
    background: rgba(10, 10, 10, 0.6);
    border-top: 1px solid var(--glass-border);
}

.quick-questions-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.quick-question-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-secondary);
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.quick-question-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
    opacity: 0.7;
}

.quick-question-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(37, 99, 235, 0.5);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

.quick-question-btn:hover svg {
    opacity: 1;
}

.quick-question-btn:active {
    transform: translateY(0);
}

/* Mobile Responsive for Chat */
@media (max-width: 768px) {
    .chatbot-header {
        padding: 1rem;
    }

    .bot-avatar {
        width: 45px;
        height: 45px;
    }

    .bot-avatar svg {
        width: 24px;
        height: 24px;
    }

    .bot-info h3 {
        font-size: 0.95rem;
    }

    .chat-messages {
        padding: 1.5rem;
        min-height: 350px;
        max-height: 400px;
    }

    .message-bubble {
        max-width: 85%;
        padding: 0.875rem 1rem;
    }

    .message-bubble p {
        font-size: 0.9rem;
    }

    .chat-quick-questions {
        padding: 1.25rem;
    }

    .questions-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .quick-question-btn {
        padding: 0.875rem;
        font-size: 0.85rem;
    }

    .bot-action-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .chatbot-section {
        padding: 3rem 1rem;
    }

    .chatbot-header {
        padding: 0.875rem;
    }

    .bot-avatar {
        width: 40px;
        height: 40px;
    }

    .bot-avatar svg {
        width: 22px;
        height: 22px;
    }

    .bot-info h3 {
        font-size: 0.9rem;
    }

    .bot-status {
        font-size: 0.8rem;
    }

    .chat-messages {
        padding: 1rem;
        min-height: 300px;
        max-height: 350px;
    }

    .message-bubble {
        max-width: 90%;
        padding: 0.75rem 0.875rem;
    }

    .message-bubble p {
        font-size: 0.85rem;
    }

    .chat-quick-questions {
        padding: 1rem;
    }

    .quick-questions-label {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .quick-question-btn {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .quick-question-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        width: 100%;
        height: 60px;
        border-radius: 12px;
    }

    .step-content {
        padding: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .chatbot-container {
        padding: 1.5rem;
    }

    .chat-display {
        padding: 1rem;
        min-height: 150px;
        max-height: 300px;
    }

    .message-content {
        max-width: 90%;
        padding: 0.875rem 1rem;
    }

    .question-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .chat-whatsapp-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
        height: 60px;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .nav-logo img {
        width: 40px;
        height: 40px;
    }

    .hero-section {
        padding: 80px 1rem 3rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .proceso-steps-section {
        padding: 2rem 1rem 3rem;
    }

    .step-number {
        width: 100%;
        height: 56px;
        font-size: 1.2rem;
    }

    .step-content {
        padding: 1.25rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .step-list li {
        font-size: 0.85rem;
    }

    .warning-section,
    .guarantee-section {
        padding: 1.25rem;
    }

    .warning-section h3,
    .guarantee-section h3 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .warning-section p,
    .guarantee-section p {
        font-size: 0.9rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .whatsapp-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Permit Verification Styles */
.permit-verification-section {
    min-height: 100vh;
    padding: 120px 1.5rem 4rem;
    background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}

.verification-step {
    display: none;
}

.verification-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verification-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
}

.card-icon,
.success-icon,
.bank-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg,
.success-icon svg,
.bank-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.success-icon {
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
}

.verification-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.verify-button,
.continue-button,
.claim-button,
.confirm-payment-button {
    width: 100%;
    padding: 1.25rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.verify-button svg,
.continue-button svg,
.claim-button svg,
.confirm-payment-button svg {
    width: 20px;
    height: 20px;
}

.confirm-payment-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.error-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #fca5a5;
    font-size: 0.9rem;
}

/* Loading Step */
.loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Government Style Header */
.gov-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.gov-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gov-badge svg {
    width: 32px;
    height: 32px;
    color: white;
}

.gov-title {
    text-align: left;
    flex: 1;
}

.gov-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.gov-title p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Professional Data Grid */
.data-grid-professional {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-row:last-child {
    border-bottom: none;
}

.data-label-prof {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.data-value-prof {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.status-pending {
    color: #fbbf24 !important;
    background: rgba(245, 158, 11, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem !important;
}

/* Government Timeline */
.process-timeline-gov {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 45px;
    width: 2px;
    height: calc(100% + 2rem);
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-marker svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.timeline-item.completed .timeline-marker {
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    border-color: #22c55e;
}

.timeline-item.completed .timeline-marker svg {
    color: white;
}

.timeline-item.completed::after {
    background: #22c55e;
}

.timeline-item.current .timeline-marker {
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    border-color: var(--primary);
}

.spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.timeline-item.pending .timeline-marker {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.timeline-item.current .timeline-content h4 {
    color: var(--primary);
}

.timeline-item.current .timeline-content p {
    color: var(--primary);
}

/* Status Notice */
.status-notice {
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 16px;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.status-notice svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.status-notice h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.status-notice p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Security Info */
.security-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.security-item svg {
    width: 20px;
    height: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

.security-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.warning-box {
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.warning-box svg {
    width: 24px;
    height: 24px;
    color: #fbbf24;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.warning-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.warning-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.card-input-section {
    text-align: left;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.card-validation-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.card-validation-status svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.card-validation-status.valid {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.card-validation-status.invalid {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Bank Verification Step */
.verification-info {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-row strong {
    color: var(--text-primary);
    font-weight: 600;
}

.waiting-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
}

.waiting-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.waiting-animation p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.help-text {
    margin-top: 2rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.help-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .permit-verification-section {
        padding: 100px 1rem 3rem;
    }

    .verification-card {
        padding: 2rem 1.5rem;
    }

    .verification-card h2 {
        font-size: 1.5rem;
    }

    .gov-header {
        flex-direction: column;
        text-align: center;
    }

    .gov-title {
        text-align: center;
    }

    .data-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .data-value-prof {
        text-align: left;
    }

    .security-info {
        grid-template-columns: 1fr;
    }

    .input-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .verification-card {
        padding: 1.5rem 1rem;
    }

    .card-icon,
    .success-icon,
    .bank-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon svg,
    .success-icon svg,
    .bank-icon svg {
        width: 30px;
        height: 30px;
    }

    .verification-card h2 {
        font-size: 1.3rem;
    }

    .gov-badge {
        width: 50px;
        height: 50px;
    }

    .gov-badge svg {
        width: 26px;
        height: 26px;
    }

    .gov-title h2 {
        font-size: 1.2rem;
    }

    .timeline-marker {
        width: 36px;
        height: 36px;
    }

    .timeline-marker svg {
        width: 18px;
        height: 18px;
    }

    .spinner-small {
        width: 18px;
        height: 18px;
    }

    .warning-box {
        flex-direction: column;
    }
}

.manual-verify-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.manual-verify-button svg {
    width: 18px;
    height: 18px;
}

.manual-verify-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.manual-verification-section {
    margin-top: 2rem;
    animation: fadeInUp 0.5s ease;
}

/* Bank Selection Styles */
.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.bank-button {
    padding: 1.5rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.bank-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.bank-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Bank Login Styles */
.bank-login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bank-logo-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
}

.bank-logo-circle span {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
}

.bank-login-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.bank-login-form {
    margin-top: 2rem;
}

/* Mobile Responsive for Bank Selection */
@media (max-width: 768px) {
    .banks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .bank-button {
        padding: 1.25rem 0.75rem;
    }
    
    .bank-name {
        font-size: 1rem;
    }
    
    .bank-logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .bank-logo-circle span {
        font-size: 1.1rem;
    }
    
    .bank-login-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .banks-grid {
        grid-template-columns: 1fr;
    }
    
    .bank-button {
        padding: 1rem;
    }
    
    .bank-logo-circle {
        width: 70px;
        height: 70px;
    }
    
    .bank-logo-circle span {
        font-size: 1rem;
    }
}