/* ═══════════════════════════════════════════════════════
   ZOFLY — Founders Restaurants
   Estilos específicos para la página de Founders
   ═══════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.founders-hero {
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.founders-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(139, 47, 201, 0.14) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(61, 214, 140, 0.10) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(91, 63, 217, 0.08) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}
.founders-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}
.founders-hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
    line-height: 1.05;
}
.founders-hero .tagline {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}
.founders-hero .lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto var(--space-lg);
}
.founders-hero .highlight-row {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}
.founders-hero .highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-full);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}
.founders-hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

/* ─── Generic Founders Section ─── */
.founders-section {
    padding: var(--space-3xl) 0;
}
.founders-section .container {
    max-width: 1100px;
}
.founders-section + .founders-section {
    padding-top: var(--space-xl);
}
.founders-section h2 {
    font-size: clamp(1.6rem, 3.8vw, 2.4rem);
    margin-bottom: var(--space-md);
    text-align: center;
}
.founders-section .lead {
    text-align: center;
    color: var(--text-secondary);
    max-width: 740px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.05rem;
    line-height: 1.8;
}
.founders-quote {
    display: block;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: var(--space-md) auto 0;
    max-width: 640px;
}
.founders-quote strong {
    display: block;
    margin-top: var(--space-xs);
    color: var(--text-accent);
    font-weight: 700;
}

/* ─── Benefits Grid ─── */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}
.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
}
.benefit-card .check {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: var(--shadow-glow-purple);
}
.benefit-card p {
    color: var(--text-primary);
    line-height: 1.55;
    margin: 0;
    font-size: 0.98rem;
}

/* ─── Tech Bullets ─── */
.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
    list-style: none;
    padding: 0;
    margin: 0;
}
.tech-list li {
    position: relative;
    padding: var(--space-md) var(--space-lg) var(--space-md) calc(var(--space-lg) + 18px);
    border-radius: var(--radius-md);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    line-height: 1.5;
}
.tech-list li::before {
    content: '';
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gradient-text);
}

/* ─── Cities ─── */
.cities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm) var(--space-md);
    margin-top: var(--space-lg);
}
.city-chip {
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-full);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}
.cities-note {
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--text-secondary);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ─── Investment Card ─── */
.investment-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
}
.investment-card .label {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    background: rgba(139, 47, 201, 0.18);
    color: var(--purple-light);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}
.investment-card .price {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    font-weight: 900;
    margin: var(--space-sm) 0;
}
.investment-card .price small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-top: var(--space-xs);
}
.investment-card .limited {
    color: var(--text-accent);
    font-weight: 600;
    margin-top: var(--space-sm);
}

/* ─── Closing CTA ─── */
.founders-closing {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-4xl);
}
.founders-closing h2 {
    margin-bottom: var(--space-md);
}
.founders-closing p {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   FORMULARIO DE APLICACIÓN FOUNDER
   ═══════════════════════════════════════════════════════ */

.aplicar-section {
    padding-bottom: var(--space-4xl);
}
.aplicar-section .container {
    max-width: 1100px;
}

/* Alerts */
.founder-alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    font-size: 0.92rem;
    line-height: 1.6;
    border: 1px solid;
    animation: slideDown 0.4s ease;
}
.founder-alert-error {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.25);
    color: #FF6B6B;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form */
.founder-form {
    padding: var(--space-2xl) !important;
    animation: fadeInUp 0.6s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.founder-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}
.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.founder-form .form-group {
    margin-bottom: var(--space-lg);
}
.founder-form .form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.founder-form .form-group input[type="text"],
.founder-form .form-group input[type="tel"],
.founder-form .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    outline: none;
}
.founder-form .form-group input:focus,
.founder-form .form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 47, 201, 0.15);
    background: rgba(255, 255, 255, 0.08);
}
.founder-form .form-group input::placeholder,
.founder-form .form-group textarea::placeholder {
    color: var(--text-muted);
}
.founder-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

/* Phone Prefix */
.phone-prefix-group {
    display: flex;
    align-items: stretch;
}
.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.phone-prefix-group input[type="tel"] {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
    border-left: none !important;
    flex: 1;
}

/* Single Image (Logo) */
.image-upload-area {
    position: relative;
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-upload-area:hover {
    border-color: var(--purple);
    background: rgba(139, 47, 201, 0.05);
}
.image-upload-area.dragover {
    border-color: var(--green);
    background: rgba(61, 214, 140, 0.08);
}
.file-input {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.upload-placeholder {
    text-align: center;
    padding: var(--space-xl);
    color: var(--text-muted);
}
.upload-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-md);
}
.upload-placeholder p {
    font-size: 0.9rem;
}
.upload-placeholder small {
    font-size: 0.78rem;
}
.image-preview {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.remove-image-btn {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all var(--transition-normal);
}
.remove-image-btn:hover {
    background: #FF6B6B;
    transform: scale(1.1);
}

/* Multi-image (gallery) */
.multi-upload {
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    background: rgba(255,255,255,0.02);
    transition: all var(--transition-normal);
    position: relative;
}
.multi-upload.dragover {
    border-color: var(--green);
    background: rgba(61, 214, 140, 0.06);
}
.multi-upload-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    text-align: center;
    color: var(--text-secondary);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
}
.multi-upload-trigger:hover {
    border-color: var(--purple);
    color: var(--text-primary);
    background: rgba(139, 47, 201, 0.06);
}
.multi-upload-trigger .upload-icon {
    font-size: 2rem;
    margin: 0;
}
.multi-upload-trigger strong {
    color: var(--text-primary);
}
.multi-upload-trigger small {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.multi-upload input[type="file"] {
    display: none;
}
.multi-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-md);
}
.multi-upload-grid:empty {
    margin-top: 0;
}
.multi-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
}
.multi-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.multi-thumb .multi-remove {
    position: absolute;
    top: 6px; right: 6px;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-normal);
}
.multi-thumb .multi-remove:hover {
    background: #FF6B6B;
}
.multi-thumb .multi-index {
    position: absolute;
    bottom: 6px; left: 6px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.multi-counter {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Categories Grid (reused) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: var(--space-sm);
    max-height: 320px;
    overflow-y: auto;
    padding: var(--space-sm);
    scrollbar-width: thin;
    scrollbar-color: var(--purple) transparent;
}
.category-checkbox { cursor: pointer; }
.category-checkbox input { display: none; }
.category-chip {
    display: block;
    padding: var(--space-sm) var(--space-md);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    text-align: center;
    white-space: normal;
    word-break: break-word;
}
.category-checkbox input:checked + .category-chip {
    background: rgba(139, 47, 201, 0.2);
    border-color: rgba(139, 47, 201, 0.5);
    color: var(--purple-light);
    box-shadow: 0 0 10px rgba(139, 47, 201, 0.15);
}
.category-chip:hover {
    background: var(--glass-hover);
    border-color: rgba(139, 47, 201, 0.2);
}

/* Info Bar */
.founder-info-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    padding: var(--space-lg) 0;
    margin-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
}
.info-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.info-icon { font-size: 1.1rem; }

/* Form Actions */
.founder-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    padding-top: var(--space-xl);
    margin-top: var(--space-md);
}

/* Success */
.founder-success {
    text-align: center;
    padding: var(--space-4xl) var(--space-2xl) !important;
    animation: fadeInUp 0.6s ease;
    max-width: 640px;
    margin: 0 auto;
}
.success-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
    animation: successBounce 0.6s ease 0.3s both;
}
@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.founder-success h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-lg);
}
.founder-success p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}
.success-note {
    font-size: 0.9rem !important;
    color: var(--green) !important;
    padding: var(--space-md);
    background: rgba(61, 214, 140, 0.1);
    border: 1px solid rgba(61, 214, 140, 0.2);
    border-radius: var(--radius-sm);
    display: inline-block;
}
.success-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
    .founder-form-grid { grid-template-columns: 1fr; }
    .founder-form { padding: var(--space-xl) !important; }
}
@media (max-width: 600px) {
    .form-row-2col { grid-template-columns: 1fr; }
    .founder-info-bar { flex-direction: column; align-items: center; gap: var(--space-md); }
    .founder-form-actions { flex-direction: column; }
    .founder-form-actions .btn { width: 100%; justify-content: center; }
    .success-actions { flex-direction: column; align-items: center; }
    .success-actions .btn { width: 100%; justify-content: center; }
}

/* Mobile Nav (same as main) */
@media (max-width: 768px) {
    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px var(--space-xl) var(--space-xl);
        gap: var(--space-md);
        transition: right var(--transition-normal);
        border-left: 1px solid var(--glass-border);
        z-index: 1000;
    }
    .navbar-links.active { right: 0; }
    .menu-toggle { display: flex; }
}
