/* Estilos Generales y Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* Header & Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}

.logo a span {
    color: #2563eb;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    transition: 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #2563eb;
}

.btn-contacto {
    background-color: #2563eb;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn-contacto:hover {
    background-color: #1d4ed8;
}

/* Ocultar hamburguesa por defecto en escritorio */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background-color: #0f172a;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-bottom: 1px solid #e2e8f0;
}

.hero-content {
    max-width: 800px;
}

.badge-sello {
    display: inline-block;
    background-color: #dbeafe;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 38px;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 17px;
    color: #475569;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Contenedores y Secciones */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 30px;
    color: #0f172a;
    margin-bottom: 10px;
}

.section-header p {
    color: #64748b;
    font-size: 16px;
}

/* Cuadrícula de Recursos 2x2 (Index) */
.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.resource-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.box-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.resource-box h3 {
    color: #0f172a;
    font-size: 20px;
    margin-bottom: 10px;
}

.resource-box p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Cuadrícula de Tarjetas Estándar (Recursos, Academia, Servicios, Blog) */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.card h3 {
    margin-bottom: 10px;
    color: #1e293b;
    font-size: 19px;
}

.card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #16a34a;
    margin-bottom: 15px;
}

/* Botones */
.btn-buy, .btn-primary, .btn-secondary {
    display: inline-block;
    text-align: center;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-buy, .btn-primary {
    background-color: #2563eb;
    color: white;
    border: none;
}

.btn-buy:hover, .btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

/* Formularios y Cajas de Texto (Contacto / Nosotros) */
.contact-box {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    padding: 35px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input, textarea {
    padding: 11px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 100%;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: #2563eb;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px;
    margin-top: 60px;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 14px;
}
