/* ===========================================================
   Alitter 2026 — Páginas internas (nosotros, servicios, proceso…)
   Usa los tokens de site.css y algunos estilos de blog.css
   =========================================================== */

/* ─────────── cabecera de página ─────────── */
.page-hero { padding: 150px 0 60px; }
.page-hero::before {
    top: -30%; left: -10%;
    width: 70%; height: 130%;
    background: radial-gradient(ellipse at center, rgba(216, 30, 45, 0.28), transparent 60%);
}
.page-hero::after {
    top: -10%; right: -15%;
    width: 55%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(234, 88, 12, 0.15), transparent 60%);
}
.page-hero-head { max-width: 860px; }
.page-title {
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
    margin-bottom: 1.25rem;
    overflow-wrap: anywhere;
}
.page-title .accent {
    background: linear-gradient(100deg, #ff2d3d 0%, #ff6a2b 55%, #f59e0b 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.page-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--text-2);
    line-height: 1.6;
    max-width: 68ch;
    margin-bottom: 2rem;
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.page-hero .eyebrow i { color: var(--red-bright); }

/* las secciones que siguen al hero no necesitan tanto aire arriba */
.page-hero + .section { padding-top: 50px; }

.section-more {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-top: 3rem;
}
.cta-section { padding-top: 20px; }
.cta-section .blog-cta { margin-top: 0; }

/* tarjetas de servicio y casos convertidas en enlaces */
a.service-card:hover h3 { color: #fff; }
.case-card .case-title { font-size: 1.1rem; margin-bottom: .65rem; font-weight: 600; color: var(--text); }

/* preguntas frecuentes como encabezados (mejor estructura para Google) */
h3.faq-q { margin: 0; letter-spacing: normal; font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.faq-more { color: var(--text-muted); }
.faq-more a { color: #ff8a93; text-decoration: underline; text-underline-offset: 3px; }

/* ─────────── bloques genéricos ─────────── */
.split-block {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}
.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    align-items: start;
}
.two-col .section-title, .split-block .section-title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.check-list li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    color: var(--text-2);
    font-size: 1.02rem;
    line-height: 1.5;
    padding: .9rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.025);
}
.check-list li i { color: #5eead4; font-size: 1.15rem; margin-top: .05rem; flex-shrink: 0; }

.step-list { list-style: none; padding: 0; margin: 0; counter-reset: paso; display: grid; gap: .85rem; }
.step-list li {
    counter-increment: paso;
    position: relative;
    padding: .9rem 1.1rem .9rem 3.4rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-2);
    line-height: 1.5;
}
.step-list li::before {
    content: counter(paso, decimal-leading-zero);
    position: absolute;
    left: 1rem; top: .95rem;
    font-family: var(--mono);
    font-size: .8rem;
    color: var(--red-bright);
}
.step-list li strong { color: #fff; }
.step-note { color: var(--text-muted); font-size: .92rem; margin-top: 1.25rem; }

/* ─────────── nosotros ─────────── */
.svc-intro p { color: var(--text-2); font-size: 1.08rem; line-height: 1.8; margin-bottom: 1.2rem; }
.svc-intro p strong { color: #fff; }
.section .svc-intro { max-width: 820px; }
.split-block .svc-intro { max-width: none; }

.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stat-card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(216, 30, 45, 0.18), transparent 65%),
        rgba(255, 255, 255, 0.03);
}
.stat-big {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(100deg, #ff2d3d, #f59e0b);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    line-height: 1.1;
}
.stat-txt { color: var(--text-muted); font-size: .9rem; margin-top: .4rem; line-height: 1.4; }

/* ─────────── página de servicio ─────────── */
.svc-page-hero::before {
    background: radial-gradient(ellipse at center, var(--svc-glow, rgba(216, 30, 45, 0.30)), transparent 60%);
}
.svc-page-hero.svc-orange { --svc-glow: rgba(234, 88, 12, 0.32); }
.svc-page-hero.svc-red    { --svc-glow: rgba(216, 30, 45, 0.32); }
.svc-page-hero.svc-navy   { --svc-glow: rgba(37, 99, 235, 0.26); }
.svc-page-hero.svc-teal   { --svc-glow: rgba(13, 148, 136, 0.30); }
.svc-page-hero.svc-amber  { --svc-glow: rgba(245, 158, 11, 0.28); }

.svc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 3.5rem;
    align-items: center;
}
.svc-hero-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: grid; place-items: center;
    font-size: 1.8rem;
    color: #fff;
    background: var(--svc-gradient, linear-gradient(135deg, var(--red), var(--red-deep)));
    box-shadow: var(--svc-shadow);
    margin-bottom: 1.5rem;
}
.svc-hero-card {
    border: 1px solid var(--line-strong);
    border-radius: var(--r-xl);
    padding: 1.75rem;
    background: rgba(15, 14, 22, 0.75);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}
.svc-hero-card-label {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-soft);
}
.svc-hero-card-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: .25rem 0 .35rem;
}
.svc-hero-card p { color: var(--text-muted); font-size: .9rem; margin: 0; line-height: 1.5; }
.svc-tech { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.svc-tech span {
    font-family: var(--mono);
    font-size: .72rem;
    padding: .25rem .55rem;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.04);
}

.incluye-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.incluye-card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.6rem;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    transition: transform .25s, border-color .25s, background .25s;
}
.incluye-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.2); background: var(--bg-card-hover); }
.incluye-card .svc-icon {
    width: 44px; height: 44px;
    border-radius: var(--r-md);
    display: grid; place-items: center;
    color: #fff;
    font-size: 1.2rem;
    background: var(--svc-gradient);
    box-shadow: var(--svc-shadow);
    margin-bottom: 1.1rem;
}
.incluye-card h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.incluye-card p { color: var(--text-muted); font-size: .93rem; line-height: 1.55; margin: 0; }

.caso-rel {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-xl);
    background: var(--bg-card);
}
.caso-rel-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    flex-shrink: 0;
}
.caso-rel h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.caso-rel p { color: var(--text-2); margin-bottom: 1rem; }
.caso-rel .svc-link { color: #ff8a93; font-weight: 500; display: inline-flex; gap: .4rem; align-items: center; }

.otros-servicios {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.otro-svc {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-2);
    font-weight: 500;
    font-size: .92rem;
    line-height: 1.3;
    transition: border-color .2s, background .2s, color .2s;
}
.otro-svc:hover { border-color: rgba(216, 30, 45, 0.5); background: rgba(216, 30, 45, 0.08); color: #fff; }
.otro-svc .svc-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    display: grid; place-items: center;
    color: #fff;
    background: var(--svc-gradient);
    flex-shrink: 0;
}

.aside-cta-link {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    margin-top: .85rem;
    font-size: .85rem;
    color: #ff8a93;
}
.aside-cta-link:hover { color: #fff; }

/* ─────────── modalidades / paquetes ─────────── */
.pricing-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; margin: 0 auto; }
.plan-icon {
    width: 44px; height: 44px;
    border-radius: var(--r-md);
    display: grid; place-items: center;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    box-shadow: 0 6px 16px -6px rgba(216, 30, 45, 0.45);
    margin-bottom: 1.1rem;
}

/* ─────────── proceso ─────────── */
.etapas { display: grid; gap: 1.25rem; max-width: 960px; margin: 0 auto; }
.etapa {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--bg-card);
}
.etapa-num {
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 500;
    color: var(--red-bright);
    line-height: 1;
}
.etapa.proc-amber .etapa-num { color: var(--amber); }
.etapa.proc-teal .etapa-num { color: #2dd4bf; }
.etapa.proc-navy .etapa-num { color: #60a5fa; }
.etapa h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.etapa p { color: var(--text-2); margin-bottom: 1rem; line-height: 1.65; }
.etapa-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.etapa-list li { color: var(--text-muted); font-size: .95rem; line-height: 1.55; }
.etapa-list strong { color: #fff; }

.data-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}
.data-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.data-table th, .data-table td { padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th {
    background: rgba(216, 30, 45, 0.1);
    color: #fff;
    font-size: .8rem;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 500;
}
.data-table td { color: var(--text-2); }
.data-table td strong { color: #fff; }
.data-table td a { color: #ff8a93; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.tabla-nota {
    max-width: 900px;
    margin: 1rem auto 0;
    color: var(--text-3, var(--text-2));
    font-size: .85rem;
    text-align: center;
    opacity: .8;
}

/* ─────────── contacto ─────────── */
.contacto-page { padding-top: 40px; }
.contact-info-card h2.h3 { font-size: 1.5rem; }

/* ─────────── responsive ─────────── */
@media (max-width: 991.98px) {
    .split-block, .two-col { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .svc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .incluye-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .otros-servicios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 640px) {
    .page-hero { padding: 120px 0 40px; }
    .incluye-grid, .otros-servicios, .stats-grid { grid-template-columns: minmax(0, 1fr); }
    .etapa { grid-template-columns: minmax(0, 1fr); gap: .75rem; padding: 1.4rem; }
    .caso-rel { flex-direction: column; padding: 1.5rem; }
}

/* ─────────── modalidades: "aplica a" y entregables ─────────── */
.plan-ejemplo {
    font-size: .86rem;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: var(--r-sm);
    padding: .55rem .7rem;
    line-height: 1.45;
    margin-bottom: 1rem;
}
.plan-ejemplo i { margin-right: .25rem; }
.plan-aplica { margin: .25rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.plan-aplica-label {
    width: 100%;
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: .15rem;
}
.aplica-chip {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .74rem;
    padding: .22rem .55rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.04);
}
.aplica-chip:hover { color: #fff; border-color: rgba(216, 30, 45, 0.5); background: rgba(216, 30, 45, 0.12); }
.plan .btn-ghost { margin-top: auto; }

.entregables-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.entregable-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
}
.entregable-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.entregable-head h3 { font-size: 1.05rem; margin: 0; }
.entregable-head .svc-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: grid; place-items: center;
    color: #fff;
    background: var(--svc-gradient);
    box-shadow: var(--svc-shadow);
    flex-shrink: 0;
}
.entregable-ejemplo { font-size: .88rem; color: #fde68a; line-height: 1.45; margin-bottom: .9rem; }
.entregable-ejemplo i { margin-right: .25rem; }
.entregable-list { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .45rem; flex: 1; }
.entregable-list li { display: flex; gap: .5rem; color: var(--text-2); font-size: .9rem; line-height: 1.45; }
.entregable-list li i { color: #5eead4; margin-top: .1rem; flex-shrink: 0; }
.entregable-nota { color: var(--text-muted); font-size: .92rem; flex: 1; }
.entregable-foot {
    display: flex; flex-wrap: wrap; gap: .5rem;
    justify-content: space-between; align-items: center;
    padding-top: .9rem;
    border-top: 1px solid var(--line);
    font-size: .84rem;
    color: var(--text-muted);
}
.entregable-foot strong { color: #fff; }
.entregable-foot a { color: #ff8a93; display: inline-flex; gap: .3rem; align-items: center; }
.entregable-foot a:hover { color: #fff; }

@media (max-width: 991.98px) {
    .entregables-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .entregables-grid { grid-template-columns: minmax(0, 1fr); }
}
