@import url('variables.css');

/* ==========================================================================
   1. HERO HEADER
   ========================================================================== */
.hero-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 30px;
    text-align: center;
}

/* Badge Superior */
.badge {
    background: var(--gris-claro);
    color: var(--color-principal);
    /* Verde corporativo */
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Títulos Hero */
.hero-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    /* Tamaño fluido según pantalla */
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 20px 0;
    line-height: 1.1;
    color: var(--negro);
    transition: color 0.4s ease;
}

.hero-header p {
    font-size: 1.25rem;
    color: var(--gris-oscuro);
    max-width: 600px;
    margin: 0 auto 40px;
    transition: color 0.4s ease;
}

/* Botones Hero */
.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 80px;
}

.btn-primary {
    background: var(--negro);
    color: var(--blanco);
    padding: 14px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary {
    border: 1px solid var(--borde);
    color: var(--negro);
    background: transparent;
    padding: 14px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   2. BENTO GRID (4 CARDS)
   ========================================================================== */
.destacats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card-premium {
    background: var(--blanco);
    border: 1px solid var(--borde);
    padding: 45px 30px;
    border-radius: 30px;
    /* Bordes muy redondeados */
    text-align: left;
    text-decoration: none;
    color: var(--negro);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--color-principal);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Contenedor del Icono */
.card-icon-wrapper {
    width: 54px;
    height: 54px;
    background: var(--gris-claro);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-principal);
    transition: all 0.3s ease;
}

.card-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

/* Cambio de color al hacer hover en la tarjeta */
.card-premium:hover .card-icon-wrapper {
    background: var(--color-principal);
    color: var(--blanco);
}

.card-premium h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--negro);
    transition: color 0.4s ease;
}

.card-premium p {
    font-size: 0.95rem;
    color: var(--gris-oscuro);
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
    transition: color 0.4s ease;
}

.card-arrow {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-principal);
    transition: color 0.4s ease;
}

/* ==========================================================================
   3. DARK MODE OVERRIDES
   ========================================================================== */
[data-theme="dark"] .card-premium h3 {
    color: #ffffff;
    /* Blanco en modo oscuro para visibilidad */
}