/* ==========================================================================
   Páginas de servicio (tableros, landing, web, automatización)
   Se carga después de style.css y reutiliza sus variables.
   ========================================================================== */
.svc-hero {
    background: var(--gradient-vivid);
    padding: 110px 0 90px 0;
    color: var(--bg-pure);
}

.svc-hero .breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 22px;
}

.svc-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.svc-hero .breadcrumb a:hover {
    color: var(--bg-pure);
    text-decoration: underline;
}

.svc-hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    max-width: 820px;
    margin-bottom: 22px;
}

.svc-hero .hero-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin-bottom: 34px;
}

.svc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--bg-pure);
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--bg-pure);
}

.svc-desde {
    margin-top: 26px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.svc-desde strong {
    color: var(--bg-pure);
    font-size: 1.15rem;
}

.svc-section h2 {
    max-width: 760px;
}

.svc-intro {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 760px;
    margin-bottom: 44px;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.svc-card {
    background: var(--bg-pure);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
}

.svc-card .icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.svc-card h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.svc-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Tabla de precios */
.price-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.price-item {
    background: var(--bg-pure);
    border: 1px solid var(--border-color);
    border-top: 3px solid transparent;
    border-image: var(--gradient-vivid) 1;
    border-radius: 6px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-item h3 {
    font-size: 1.15rem;
}

.price-item p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.price-tag {
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-tag strong {
    font-size: 1.6rem;
    color: var(--violet-deep);
    font-weight: 800;
    margin-left: 4px;
}

.price-note {
    margin-top: 26px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Proceso */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    counter-reset: paso;
}

.steps li {
    counter-increment: paso;
    position: relative;
    padding-top: 54px;
}

.steps li::before {
    content: counter(paso);
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-vivid);
    color: var(--bg-pure);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.steps p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Ejemplos */
.example-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* Preguntas frecuentes */
.faq {
    max-width: 780px;
}

.faq details {
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--violet);
    font-weight: 800;
}

.faq details[open] summary::after {
    content: "–";
}

.faq details p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.97rem;
}

/* Otros servicios */
.other-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.other-services a {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--violet-deep);
}

.other-services a:hover {
    border-color: var(--violet);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--violet);
}

@media (max-width: 1024px) {
    .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .svc-hero { padding: 80px 0 64px 0; }
    .svc-hero h1 { font-size: 2.1rem; }
    .svc-hero .hero-lead { font-size: 1.05rem; }
    .svc-grid, .price-list, .example-links, .steps { grid-template-columns: 1fr; }
}
