:root {
    --bg-color: #0B0F19;
    --card-bg: rgba(20, 25, 40, 0.6);
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --cyan-neon: #00F0FF;
    --purple-deep: #7000FF;
    --gradient-primary: linear-gradient(135deg, var(--cyan-neon), var(--purple-deep));
    --border-glass: rgba(255, 255, 255, 0.05);
    
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--purple-deep);
}

.btn-secondary:hover {
    background: rgba(112, 0, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary-small {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 20px;
    font-weight: 600;
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo i {
    color: var(--cyan-neon);
    font-size: 1.8rem;
}

.logo-img {
    height: 42px;
    width: 42px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.footer-brand .logo-img {
    height: 48px;
    width: 48px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyan-neon);
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.glow-orb.top-left {
    width: 300px;
    height: 300px;
    background: var(--purple-deep);
    top: -50px;
    left: -50px;
}

.glow-orb.bottom-right {
    width: 400px;
    height: 400px;
    background: var(--cyan-neon);
    bottom: -100px;
    right: -100px;
    opacity: 0.3;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Services */
.services {
    padding: 6rem 0;
    position: relative;
}

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

.service-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(112, 0, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-box i {
    font-size: 2rem;
    color: var(--cyan-neon);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Comodato Highlight */
.comodato-highlight {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(112, 0, 255, 0.05), transparent);
}

.comodato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
}

.benefits-list i {
    color: var(--cyan-neon);
    font-size: 1.2rem;
}

.benefits-list strong {
    color: var(--text-primary);
}

.mt-4 {
    margin-top: 2rem;
}

/* Mockup Card Animation */
.mockup-card {
    padding: 1.5rem;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.mockup-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mockup-body i {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

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

.skeleton-line {
    width: 80%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-top: 1rem;
}

.skeleton-line.short {
    width: 60%;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--cyan-neon);
    font-size: 1.5rem;
}

.contact-form-wrapper {
    padding: 2.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan-neon);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.form-group select option {
    background: var(--bg-color);
    color: var(--text-primary);
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.status-success { color: #27C93F; }
.status-error { color: #FF5F56; }

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 4rem 0 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cyan-neon);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .comodato-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-glass);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* ===================================== */
/* ===== ESTILOS FAQ (SEO add-on) ====== */
/* ===================================== */

.faq-section {
    padding: 100px 0;
    position: relative;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 !important;
}

.faq-item summary {
    padding: 22px 28px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: all 0.25s ease;
    gap: 15px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-item summary i {
    color: #00d2ff;
    transition: transform 0.3s ease;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-item[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-answer {
    padding: 20px 28px 26px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    font-size: 0.97rem;
}

.faq-answer p {
    margin: 0;
}

.faq-item[open] .faq-answer {
    animation: faqFadeIn 0.35s ease-out;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 70px 0;
    }
    .faq-item summary {
        padding: 18px 20px;
        font-size: 0.98rem;
    }
    .faq-answer {
        padding: 16px 20px 22px;
        font-size: 0.92rem;
    }
}
