/* Redesigned services page */
:root {
    --service-bg: #0f1419;
    --service-panel: #151b28;
    --service-panel-2: #101622;
    --service-border: rgba(255,255,255,0.08);
    --service-text: #e7e9ee;
    --service-muted: rgba(231,233,238,0.7);
    --service-accent: #ffd700;
    --service-accent-2: #ff9800;
    --service-shadow: 0 24px 60px rgba(3,7,18,0.6);
    --service-title: 'Montserrat', sans-serif;
}

.services-page {
    background: radial-gradient(1100px 520px at 12% -12%, rgba(255,215,0,0.08), transparent 65%),
                radial-gradient(700px 420px at 90% 20%, rgba(255,152,0,0.08), transparent 70%),
                var(--service-bg);
}

.services-hero {
    padding: 140px 0 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
    align-items: center;
}

.hero-copy h1 {
    font-family: var(--service-title);
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 0 0 16px;
    color: #ffffff;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.7rem;
    color: var(--service-accent);
    margin-bottom: 14px;
}

.lead {
    color: var(--service-muted);
    max-width: 560px;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-metrics {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.metric {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px 16px;
    border-radius: 14px;
    min-width: 150px;
}

.metric-value {
    display: block;
    font-family: var(--service-title);
    font-size: 1.2rem;
    color: #ffffff;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--service-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metric.is-live .metric-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-radius: 999px;
    background: #20e070;
    box-shadow: 0 0 8px rgba(32, 224, 112, 0.85);
    animation: live-pulse 1.2s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes live-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 6px rgba(32, 224, 112, 0.7);
    }
    50% {
        transform: scale(1.35);
        box-shadow: 0 0 14px rgba(32, 224, 112, 0.95);
    }
}

.hero-panel {
    display: grid;
    gap: 16px;
}

.panel-card {
    background: linear-gradient(160deg, rgba(21,27,40,0.95), rgba(10,16,26,0.98));
    border: 1px solid var(--service-border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--service-shadow);
}

.panel-card h3 {
    font-family: var(--service-title);
    color: #ffffff;
    margin: 0 0 12px;
}

.panel-card.highlight {
    background: linear-gradient(160deg, rgba(255,215,0,0.12), rgba(21,27,40,0.98));
    border-color: rgba(255,215,0,0.3);
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    gap: 10px;
    color: var(--service-muted);
}

.panel-list i {
    color: var(--service-accent);
    margin-right: 8px;
}

.panel-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,215,0,0.12);
    color: var(--service-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.panel-cta {
    margin-top: 12px;
}

.panel-tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 0.75rem;
}

.services-grid-section {
    padding: 40px 0 80px;
}

.section-title {
    margin-bottom: 28px;
}

.section-title p {
    color: var(--service-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.section-title h2 {
    font-family: var(--service-title);
    color: #ffffff;
    margin: 0;
    font-size: 2.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--service-panel);
    border: 1px solid var(--service-border);
    border-radius: 18px;
    padding: 20px;
    display: grid;
    gap: 12px;
    box-shadow: 0 18px 36px rgba(3,7,18,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    --service-card-accent: var(--service-accent);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--service-card-accent) 18%, transparent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--service-card-accent);
    font-size: 1.2rem;
}

.service-icon i {
    position: relative;
    display: inline-block;
}

.icon-gear {
    animation: gear-spin 3.2s linear infinite;
}

.icon-gear::after {
    content: "\f013";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 9px;
    top: -6px;
    font-size: 0.75em;
    opacity: 0.9;
    animation: gear-spin-rev 2.6s linear infinite;
    transform-origin: 50% 50%;
}

.icon-cloud {
    animation: cloud-float 2.8s ease-in-out infinite;
}

.icon-server::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #20e070;
    box-shadow: 0 0 6px rgba(32, 224, 112, 0.9);
    animation: led-blink 1.2s ease-in-out infinite;
}

.icon-user {
    animation: user-pop 3.4s ease-in-out infinite;
}

.icon-mobile {
    animation: mobile-bounce 2.6s ease-in-out infinite;
}

.icon-tools {
    animation: tools-wiggle 2.8s ease-in-out infinite;
    transform-origin: 60% 60%;
}

.icon-cash {
    animation: cash-pulse 2.2s ease-in-out infinite;
}

.icon-desktop {
    animation: desktop-glow 3s ease-in-out infinite;
}

@keyframes gear-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gear-spin-rev {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes cloud-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes led-blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes user-pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes mobile-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes tools-wiggle {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

@keyframes cash-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes desktop-glow {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
    50% { filter: drop-shadow(0 0 6px rgba(255,255,255,0.4)); }
}

.service-card h3 {
    color: #ffffff;
}

.service-card h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 6px;
    background: var(--service-card-accent);
    opacity: 0.7;
}

.service-card:nth-child(1) { --service-card-accent: #ffd700; }
.service-card:nth-child(2) { --service-card-accent: #29d1a4; }
.service-card:nth-child(3) { --service-card-accent: #5aa2ff; }
.service-card:nth-child(4) { --service-card-accent: #ff8a5b; }
.service-card:nth-child(5) { --service-card-accent: #a97bff; }
.service-card:nth-child(6) { --service-card-accent: #ff6aa2; }
.service-card:nth-child(7) { --service-card-accent: #34c6ff; }
.service-card:nth-child(8) { --service-card-accent: #79e36b; }

.service-card h3 {
    font-family: var(--service-title);
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
}

.service-card p {
    margin: 0;
    color: var(--service-muted);
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: var(--service-text);
    font-size: 0.9rem;
}

.service-card ul li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.service-card ul li i {
    color: #20e070;
    margin-top: 2px;
    flex: 0 0 auto;
}

.services-process {
    padding: 40px 0 80px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.process-step {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(18,24,34,0.95), rgba(12,18,28,0.98));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(3,7,18,0.35);
}

.process-step::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(120deg, transparent, var(--step-accent, #ffd700), transparent 70%);
    opacity: 0.45;
    animation: step-glow 4s ease-in-out infinite;
    pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.process-step::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
    opacity: 0.35;
    pointer-events: none;
    transform: translateZ(0);
    animation: step-float 6s ease-in-out infinite;
}

.process-step:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 22px 46px rgba(3,7,18,0.45);
}

.process-step:nth-child(1) { --step-accent: #ffd700; }
.process-step:nth-child(2) { --step-accent: #29d1a4; }
.process-step:nth-child(3) { --step-accent: #5aa2ff; }
.process-step:nth-child(4) { --step-accent: #ff8a5b; }

.step-index {
    font-family: var(--service-title);
    color: var(--step-accent, var(--service-accent));
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

.process-step h3 {
    color: #ffffff;
}

@keyframes step-glow {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.7; }
}

@keyframes step-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-12px, 10px); }
}

.process-step h3 {
    margin: 0 0 8px;
    color: #ffffff;
}

.process-step p {
    margin: 0;
    color: var(--service-muted);
}

.cta-band {
    padding: 40px 0 90px;
}

.cta-grid {
    background: linear-gradient(120deg, rgba(255,215,0,0.15), rgba(21,27,40,0.95));
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta-grid h2 {
    margin: 0 0 8px;
    font-family: var(--service-title);
    color: #ffffff;
}

.cta-grid p {
    margin: 0;
    color: var(--service-muted);
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 120px 0 60px;
    }

    .hero-copy h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .cta-grid {
        padding: 24px;
    }
}
    }

    .catalogo .section-header h2 {
        font-size: 2rem;
    }

    .catalogo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-header {
        min-height: 120px;
        padding: 20px;
    }

    .card-header img {
        max-height: 60px;
    }

    .card-content {
        padding: 16px;
    }

    .card-content h3 {
        font-size: 1.2rem;
    }

    .card-footer {
        padding: 0 16px 16px 16px;
    }

    .catalogo-cta {
        padding: 30px 20px;
    }

    .catalogo-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .catalogo .section-header h2 {
        font-size: 1.6rem;
    }

    .catalogo .section-header p {
        font-size: 0.95rem;
    }

    .badge {
        padding: 5px 12px;
        font-size: 0.7rem;
    }

    .features li {
        font-size: 0.9rem;
        gap: 8px;
    }

    .preview-text h3 {
        font-size: 1.4rem;
    }

    .preview-list {
        gap: 8px;
    }

    .preview-cards {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .mini-card {
        min-height: 100px;
        padding: 15px;
    }
}
