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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e5e7eb;
    background: #020617;
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

html {
    scroll-behavior: smooth;
}

/* Topbar */

.topbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    z-index: 50;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 64, 175, 0.6);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    gap: 1rem;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at top, #00aeef, #004f9e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.7);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: #9ca3af;
}

/* Nav */

.nav {
    display: flex;
    gap: 1.4rem;
    font-size: 0.95rem;
    align-items: center;
}

.nav a {
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav a:hover {
    opacity: 1;
    transform: translateY(-1px);
    color: #7dd3fc;
}

.nav-lang {
    font-size: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.8);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
}

/* Mobile nav */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #004f9e, #00aeef);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 79, 158, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 79, 158, 0.55);
}

.btn-outline {
    border-color: rgba(148, 163, 184, 0.8);
    color: #e5e7eb;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(15, 23, 42, 0.85);
}

.btn-small {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
}

/* Hero */

.hero {
    padding: 5.2rem 0 4.2rem;
    background: radial-gradient(circle at top left, rgba(0, 174, 239, 0.16), transparent 55%), radial-gradient(circle at bottom, rgba(30, 64, 175, 0.4), #020617);
    color: #e5e7eb;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.8);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #7dd3fc;
    margin-bottom: 0.9rem;
}

.hero-text h1 {
    font-size: clamp(2.3rem, 3.2vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 1.1rem;
    color: #f9fafb;
}

.hero-text p {
    font-size: 1.02rem;
    max-width: 36rem;
    color: #cbd5f5;
}

.hero-actions {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-highlights {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    font-size: 0.88rem;
    color: #a5b4fc;
}

.hero-highlights li {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(129, 140, 248, 0.5);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: radial-gradient(circle at top left, rgba(0, 174, 239, 0.25), rgba(15, 23, 42, 0.98));
    border-radius: 1.5rem;
    padding: 1.8rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
    width: 100%;
    max-width: 360px;
}

.hero-card h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.hero-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.hero-card li {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.33);
    font-size: 0.9rem;
}

.hero-card li span {
    color: #9ca3af;
}

.hero-note {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Sections */

.section {
    padding: 4rem 0;
    background: #020617;
}

.section-alt {
    background: #020617;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
    color: #e5e7eb;
}

.section-header p {
    color: #9ca3af;
    font-size: 0.98rem;
}

/* Layout helpers */

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.7rem;
}

/* Cards */

.card {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.7), #020617);
    border-radius: 1.1rem;
    padding: 1.4rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(30, 64, 175, 0.8);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.9);
    border-color: rgba(56, 189, 248, 0.9);
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.9), #020617);
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: #e5e7eb;
}

.card p {
    font-size: 0.95rem;
    color: #cbd5f5;
}

.card-link {
    display: inline-flex;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7dd3fc;
}

.card-list {
    list-style: none;
    margin-top: 0.6rem;
    font-size: 0.88rem;
    color: #c7d2fe;
}

.card-list li + li {
    margin-top: 0.2rem;
}

/* About */

.about-cards {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

/* Galeria */

.media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: flex-start;
}

.media-column h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #e5e7eb;
}

.media-photos,
.media-videos {
    display: grid;
    gap: 1rem;
}

.media-item {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.7), #020617);
    border-radius: 0.9rem;
    padding: 0.8rem;
    border: 1px solid rgba(30, 64, 175, 0.8);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.9);
}

.media-item img {
    border-radius: 0.6rem;
    width: 100%;
    height: auto;
}

.media-item span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #cbd5f5;
}

.media-video iframe,
.media-video video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.6rem;
    border: none;
    display: block;
}

/* Slider */

.slider-wrapper {
    margin-top: 3rem;
}

.slider-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #e5e7eb;
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 0.9rem;
    border: 1px solid rgba(30, 64, 175, 0.8);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.9);
    padding: 1.2rem 1.4rem;
    min-height: 80px;
}

.slide {
    display: none;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.slide.active {
    display: block;
}

.slider-dots {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: #475569;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.slider-dots button.active {
    background: #38bdf8;
    transform: scale(1.15);
}

/* CTA */

.cta {
    background: linear-gradient(135deg, #004f9e, #00aeef);
    color: #e5e7eb;
}

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

.cta-inner h2 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
    color: #f9fafb;
}

.cta-inner p {
    max-width: 30rem;
    font-size: 0.98rem;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact-form {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
    padding: 1.8rem;
    border-radius: 1.1rem;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(30, 64, 175, 0.8);
    display: grid;
    gap: 1rem;
}

.contact-form label {
    font-size: 0.9rem;
    color: #e5e7eb;
    display: grid;
    gap: 0.3rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.7rem 0.8rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.8);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    background: #020617;
    color: #e5e7eb;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
    background: #020617;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.contact-info h3 {
    margin-bottom: 0.6rem;
    color: #e5e7eb;
}

.contact-info p {
    font-size: 0.95rem;
    color: #9ca3af;
}

.contact-info p + p {
    margin-top: 0.2rem;
}

.map-placeholder {
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: 0.9rem;
    background: #020617;
    color: #9ca3af;
    font-size: 0.85rem;
    border: 1px dashed rgba(148, 163, 184, 0.8);
}

/* Alerts */

.alert {
    border-radius: 0.7rem;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.6);
    color: #bbf7d0;
}

.alert-error {
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.7);
    color: #fecaca;
}

/* Footer */

.footer {
    background: #020617;
    color: #9ca3af;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(30, 64, 175, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    padding-bottom: 1.8rem;
}

.footer p {
    font-size: 0.9rem;
    max-width: 16rem;
}

.footer-links h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #e5e7eb;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
    color: #9ca3af;
}

.footer-links a:hover {
    color: #e5e7eb;
}

.footer-bottom {
    text-align: center;
    padding: 0.9rem 1.5rem 1.4rem;
    font-size: 0.78rem;
    color: #6b7280;
    border-top: 1px solid rgba(15, 23, 42, 0.9);
}

/* Responsive */

.desktop-only {
    display: inline-flex;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        position: absolute;
        inset: 56px 0 auto 0;
        padding: 0.75rem 1.5rem 1rem;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        border-bottom: 1px solid rgba(30, 64, 175, 0.8);
        display: none;
    }

    .nav.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .desktop-only {
        display: none;
    }

    .media-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 4rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
}
