/* ===================== Página: Inicio ====================== */

.hero {
    background: linear-gradient(135deg, #f5f5f0 0%, #f0ede8 100%);
    padding: 100px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: calc(100vh - 80px);
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-subtitle {
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #1e293b;
}

.hero-title .highlight { color: #ef4444; }

.hero-btn {
    display: inline-block;
    padding: 16px 32px;
    border: 2px solid #1e293b;
    border-radius: 30px;
    background: transparent;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 40px;
}

.hero-btn:hover {
    background: #1e293b;
    color: white;
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.map-svg { width: 100%; height: 100%; object-fit: contain; }

/* ----- Etiqueta de sección (eyebrow) ----- */
.section-eyebrow {
    color: #ef4444;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* ===================== Sobre Nosotros ===================== */
.about {
    padding: 90px 60px;
    background: #ffffff;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-media img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    display: block;
}

.about-text p {
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-subtitle {
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
    margin: 26px 0 16px;
}

.about-list { list-style: none; padding: 0; }

.about-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #1e293b;
    font-weight: 500;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #ef4444;
    font-weight: 700;
}

/* ----- Sección Metodología ----- */
.method { padding: 0 60px 90px; background: #fff; }
.method-inner { max-width: 760px; margin: 0 auto; }
.method-eyebrow { text-align: center; }

/* ----- Tarjeta de metodología ----- */
.method-card {
    background: #1e293b;
    border-radius: 16px;
    padding: 36px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.method-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.method-steps { list-style: none; padding: 0; margin: 0; }

.method-steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    font-weight: 500;
}

.method-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.method-result {
    margin-top: 22px;
    text-align: center;
    background: #ef4444;
    color: #fff;
    font-weight: 700;
    padding: 14px;
    border-radius: 10px;
}

/* ===================== Contadores ======================== */
.stats {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 70px 60px;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-num {
    font-size: 56px;
    font-weight: 700;
    color: #ef4444;
    line-height: 1;
}

.stat-label {
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* ===================== Nuestros Servicios ================ */
.home-services {
    padding: 90px 60px;
    background: #f8fafc;
    text-align: center;
}

.home-services-head { max-width: 720px; margin: 0 auto 50px; }

.home-services-desc {
    color: #475569;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.home-services-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 36px 28px;
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s;
}

.home-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.home-service-icon { font-size: 40px; margin-bottom: 16px; }
.home-service-img { width: 76px; height: 76px; object-fit: contain; margin-bottom: 18px; display: block; }

.home-service-card h3 {
    color: #1e293b;
    font-size: 20px;
    margin-bottom: 12px;
}

.home-service-card p { color: #64748b; line-height: 1.7; }

/* ===================== Aliados =========================== */
.allies { padding: 70px 60px; background: #ffffff; text-align: center; }

.allies-title {
    color: #1e293b;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
}

.allies-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
}

.allies-grid img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.allies-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ===================== Noticias ========================== */
.home-news { padding: 80px 60px; background: #ffffff; }

.home-news .section-title { text-align: center; margin-bottom: 30px; }

.home-news .section-title h2 { color: #1e293b; font-size: 34px; margin-bottom: 10px; }

.home-news .section-title p { color: #64748b; }

/* ===================== Boletín =========================== */
.newsletter {
    padding: 70px 60px;
    background: #f8fafc;
}

.newsletter-box {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-box h2 { color: #1e293b; font-size: 30px; margin-bottom: 10px; }

.newsletter-box p { color: #64748b; margin-bottom: 26px; }

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    font-size: 15px;
    outline: none;
}

.newsletter-input:focus { border-color: #ef4444; }

.newsletter-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    background: #ef4444;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.25s;
}

.newsletter-btn:hover { background: #dc2626; }

/* ===================== Responsive ======================== */
@media (max-width: 1024px) {
    .hero { flex-direction: column; padding: 60px 40px; }
    .hero-title { font-size: 48px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero { padding: 40px 20px; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 14px; }
    .about,
    .method,
    .stats,
    .home-services,
    .allies,
    .home-news,
    .newsletter { padding-left: 20px; padding-right: 20px; }
    .stats-grid { grid-template-columns: 1fr; gap: 36px; }
    .home-services-grid { grid-template-columns: 1fr; }
    .allies-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-num { font-size: 46px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-btn { width: 100%; }
}
