
/* #region RESET */
* {
    box-sizing: border-box;
}

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

body {
    max-width: 1920px;
    margin: 0 auto;
    font: 500 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    color: #ced4da;
    background: #0b0f17;
}


/* #region HEADER */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: 90px;
    z-index: 1000;
    background: linear-gradient(90deg, #0B263D, #1C3A55);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.nav {
    max-width: 1920px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo img {
    width: 150px;
    display: block;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #D4AF37;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.5);
    padding: 8px 16px;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #FFD100;
    transform: translateY(-2px);
}

.back-btn i {
    margin-right: 8px;
}


/* #region HERO */
.hero-droneway {
    position: relative;
    min-height: 100vh;
    padding: 120px 24px 80px;
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(1200px 800px at 50% 10%, #1a1205 0%, #0b0f17 35%, #0f1726 100%);
}

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(90%, 900px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    padding: clamp(20px, 5vw, 48px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.logo-hero {
    width: 120px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.hero-content h1 {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    color: #D4AF37;
    margin: 0 0 16px;
}

.hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    color: #ced4da;
    opacity: 0.95;
    margin: 0;
}


/* #region BREADCRUMBS */
.breadcrumbs {
    background: linear-gradient(180deg, #0B263D 0%, #111a28 50%, #0b0f17 100%);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 32px;
}

.breadcrumbs .trail {
    font-size: 16px;
    color: #aeb7c2;
    display: flex;
    align-items: center;
    line-height: 1;
}

.breadcrumbs a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #FFD100;
}

.breadcrumbs .sep {
    opacity: 0.75;
    margin: 0 8px;
}


/* #region DASHBOARD SECTION */
.dashboard-section {
    background: linear-gradient(180deg, #0B263D 0%, #111a28 50%, #0b0f17 100%);
    padding: 100px 24px;
    color: #ced4da;
    text-align: center;
}

.dashboard-container {
    max-width: 1400px;
    margin: 20px auto 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.dashboard-container iframe {
    width: 100%;
    height: 720px;
    border: none;
    display: block;
}

.conclusiones {
    max-width: 950px;
    margin: 0 auto;
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
}

.conclusiones h2 {
    color: #D4AF37;
    margin-bottom: 20px;
    font-size: clamp(22px, 3vw, 30px);
}

.conclusiones h3 {
    color: #D4AF37;
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    position: relative;
}

.conclusiones h3::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, transparent);
    margin-top: 6px;
    border-radius: 2px;
}

.conclusiones p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.conclusiones ul {
    padding-left: 20px;
    margin: 10px 0;
}

.conclusiones li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.conclusiones li::marker {
    color: #D4AF37;
}


/* #region FOOTER */
.site-footer {
    position: relative;
    background: radial-gradient(1200px 800px at 50% 10%, #1a1205 0%, #0b0f17 35%, #0f1726 100%);
    color: #ced4da;
    text-align: center;
    padding: 80px 24px 100px;
    overflow: hidden;
}

#particles-footer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.footer-text {
    position: relative;
    z-index: 1;
    color: #D4AF37;
    font-weight: 500;
}

.social-icons {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 28px;
}

.social-icons a {
    color: #D4AF37;
    font-size: 26px;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
    color: #FFD100;
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(255, 209, 0, 0.6);
}


/* #region RESPONSIVE */
@media (max-width: 768px) {
    .hero-droneway {
        padding: 100px 16px 60px;
    }

    .logo-hero {
        width: 90px;
    }

    .dashboard-container {
        max-width: 100%;
        margin: 60px auto;
    }

    .dashboard-container iframe {
        height: 500px;
    }

    .conclusiones {
        padding: 24px;
    }
}

#backToTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #D4AF37;
    color: #0b0f17;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

#backToTop:hover {
    background: #FFD100;
    transform: translateY(-3px);
}

#backToTop i {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 768px) {
    #backToTop {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }
}
