/* ===========================
   STRACON DARK THEME - EXACT STYLE
   =========================== */

:root {
    /* Dark Navy Theme */
    --bg-primary: #0a1628;
    --bg-secondary: #0f1e33;
    --bg-card: #1a2942;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --accent-green: #93ac12;
    --accent-green-light: #a8c01a;
    --accent-blue: #2196f3;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}


/* ===========================
   TOP BAR
   =========================== */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 0.5rem 0;
    z-index: 1001;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.topbar.hidden {
    transform: translateY(-100%);
}

.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.topbar-info {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.topbar-info li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.topbar-info ion-icon {
    color: var(--accent-green);
    font-size: 0.95rem;
}

.topbar-denuncias {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-green);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.topbar-denuncias ion-icon {
    font-size: 0.95rem;
}

.topbar-denuncias:hover {
    color: var(--text-primary);
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    background: transparent;
    padding: 1.25rem 0;
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, top 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    margin-top: -10px;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-green);
}

.nav-chevron {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    min-width: 220px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

/* Hamburger Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.dropdown-link:hover {
    background: rgba(147, 172, 18, 0.1);
    color: var(--accent-green);
    padding-left: 2rem;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 22, 40, 0.699) 0%, rgba(10, 22, 40, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

.hero-text {
    max-width: 100%;
}

.hero-title {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.hero-cta {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   INTERNAL HERO SECTION
   =========================== */

.hero-internal {
    position: relative;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-internal .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.7) 50%, rgba(10, 22, 40, 0.4) 100%);
    z-index: 1;
}

.hero-internal .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    padding-bottom: 4rem;
}

.hero-internal .hero-text {
    width: 100%;
}

.hero-internal .hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--text-primary);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--accent-green);
}

.breadcrumb .separator {
    color: var(--accent-green);
    opacity: 0.6;
    font-weight: 300;
}

.breadcrumb span:not(.separator) {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-internal .hero-content {
        padding-bottom: 3rem;
    }

    .hero-internal .hero-title {
        font-size: 2.5rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
        gap: 0.5rem;
    }
}

/* ===========================
   SECTIONS
   =========================== */

.section {
    padding: 5rem 3rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    margin-top: -100px;
}

/* ===========================
   VALUES SECTION
   =========================== */

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-icon ion-icon {
    font-size: 3rem;
    color: var(--text-primary);
}

.value-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* ===========================
   CARDS GRID SECTION
   =========================== */

.cards-section {
    background: var(--bg-primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, transparent 100%);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   TEXT SECTION
   =========================== */

.text-section {
    background: var(--bg-secondary);
}

.text-content {
    max-width: 900px;
}

.text-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.historia-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.historia-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.historia-image:hover {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 968px) {
    .historia-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===========================
   STATISTICS SECTION
   =========================== */

.stats-section {
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(147, 172, 18, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--accent-green);
    background: rgba(147, 172, 18, 0.05);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: linear-gradient(180deg, #101f36 0%, #0a1628 100%);
    color: var(--text-secondary);
    border-top: 3px solid var(--accent-green);
}

.footer-top {
    padding: 4.5rem 3rem 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.footer-about p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    padding-bottom: 0.85rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--accent-green);
}

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

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact ion-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--accent-green);
}

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

.footer-contact a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: #6b7a90;
    font-size: 0.8rem;
}

.footer-social {
    display: flex;
    list-style: none;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-green);
    color: #0a1628;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.9rem 0;
    }

    .nav-item-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        margin-top: 0;
        padding-left: 1rem;
        display: block;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-top {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-bottom {
        padding: 1.5rem;
        justify-content: center;
        text-align: center;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .topbar {
        display: none;
    }

    .navbar {
        top: 0;
    }
}