@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');

:root {
    --primary: #83E4D1;
    --primary-dark: #5ac2af;
    --accent: #ff9f1c;
    --accent-hover: #e38a15;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-main: #f4f6f9;
    --card-bg: #ffffff;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Nunito', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    letter-spacing: .5px;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
}

.btn {
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 159, 28, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 159, 28, 0.4);
}


.btn-outline {
    background-color: transparent;
    border: 2px solid #111;
    color: #111;
}

.btn-outline:hover {
    background-color: #111;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 159, 28, 0.4);
}

.btn-large {
    font-size: 20px;
    padding: 15px 35px;
    margin-top: 20px;
    display: inline-block;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 15px;
}

.main-nav a {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--primary);
    color: #111;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-section {
    text-align: center;
    background: white;
    padding: 50px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 8px solid var(--accent);
}


.hero-title {
    font-size: 38px;
    color: #111;
    margin: 0 0 15px 0;
    border: none;
}

.hero-title:hover {
    cursor: pointer;
    color: orange;
    font-weight: bold;
    font-family: url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.col-span-2 {
    grid-column: 1 / -1;
}

h2 {
    color: var(--accent);
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    font-size: 24px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card p {
    font-size: 17px;
    color: var(--text-light);
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 17px;
    color: var(--text-light);
}

.custom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
}

.check-list li::before {
    content: "";
}

.team-list {
    list-style: none;
    padding: 0;
}

.team-list li {
    background: #f8f9fa;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.alert-box {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.alert-box p {
    margin: 0;
    color: #856404;
}

.niveles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.nivel {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 2px solid #eee;
    transition: 0.3s;
}

.nivel:hover {
    border-color: var(--accent);
    transform: scale(1.03);
}

.nivel-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.nivel h3 {
    margin: 15px 0 10px 0;
    font-size: 20px;
}

.nivel-1 h3 {
    color: #2ecc71;
}

.nivel-2 h3 {
    color: #3498db;
}

.nivel-3 h3 {
    color: #9b59b6;
}

.nivel-4 h3 {
    color: #e74c3c;
}


.sub {
    color: #808e9b;
    font-size: 14px;
}

/* Animations are now centralized in header-dropdown.css */

.info-grid .card:nth-child(1) {
    transition-delay: .2s;
}

.info-grid .card:nth-child(2) {
    transition-delay: .4s;
}

.info-grid .card:nth-child(3) {
    transition-delay: .6s;
}

.nivel:nth-child(1) {
    transition-delay: .1s;
}

.nivel:nth-child(2) {
    transition-delay: .3s;
}

.nivel:nth-child(3) {
    transition-delay: .5s;
}

.nivel:nth-child(4) {
    transition-delay: .7s;
}

/* =============================================
   DISEÑO RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    header h1 {
        font-size: 32px;
    }

    .hero-title {
        font-size: 28px;
    }
}