/* =========================================================
   SERVOMIX — SERVICES (Personal & Network Solutions Hub)
   File: css/pages/services.css
========================================================= */

/* ---------------------------------------------------------
   CONTAINERS & SECTION PACING
--------------------------------------------------------- */

.services-container{
    width:min(var(--container), 100% - var(--gutter) * 2);
    margin-inline:auto;
}

.services-hero,
.services-catalog,
.services-network,
.services-features,
.services-faq,
.services-cta{
    position:relative;
    padding-block:var(--s-7);
    scroll-margin-top:var(--nav-h);
}

@media (min-width:1024px){
    .services-hero,
    .services-catalog,
    .services-network,
    .services-features,
    .services-faq,
    .services-cta{
        padding-block:var(--s-8);
    }
}

/* ---------------------------------------------------------
   BADGES & HEADINGS
--------------------------------------------------------- */

.services-badge{
    display:inline-flex;
    align-items:center;
    gap:var(--s-2);
    width:max-content;
    max-width:100%;
    min-height:32px;
    padding:0 var(--s-3);
    border:1px solid var(--accent-tint, rgba(0, 212, 255, 0.25));
    border-radius:var(--r-pill);
    background:var(--accent-soft, rgba(0, 212, 255, 0.08));
    color:var(--accent-strong, #38bdf8);
    font-size:var(--t-small);
    font-weight:var(--w-strong);
    letter-spacing:.05em;
    text-transform:uppercase;
}

.services-badge .services-badge-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--accent);
    box-shadow:0 0 8px var(--accent);
    animation:pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot{
    0%, 100%{ transform:scale(1); opacity:1; }
    50%{ transform:scale(1.3); opacity:0.75; }
}

.services-section-header{
    display:grid;
    justify-items:center;
    text-align:center;
    gap:var(--s-3);
    max-width:760px;
    margin-inline:auto;
    margin-bottom:var(--s-7);
}

.services-section-header h2{
    font-size:var(--t-h1);
    line-height:var(--lh-heading);
    font-weight:var(--w-h1);
}

.services-section-header h2 span{
    color:var(--accent);
}

.services-section-header p{
    color:var(--ink-2);
    font-size:var(--t-lead);
    line-height:1.55;
    max-width:62ch;
}

/* ---------------------------------------------------------
   HERO SECTION
--------------------------------------------------------- */

.services-hero-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    gap:var(--s-7);
    align-items:center;
}

@media (min-width:1024px){
    .services-hero-grid{
        grid-template-columns:minmax(0, 1.1fr) minmax(0, .9fr);
        gap:var(--s-8);
    }
}

.services-hero-copy{
    display:grid;
    justify-items:start;
    gap:var(--s-4);
}

.services-hero-copy h1{
    font-size:min(var(--t-display), 9.5vw);
    line-height:1.05;
    font-weight:var(--w-display);
    font-stretch:var(--wd-display);
}

.services-hero-copy h1 span{
    color:var(--accent);
    display:block;
}

.services-hero-lead{
    color:var(--ink-2);
    font-size:var(--t-lead);
    line-height:1.6;
    max-width:54ch;
}

.services-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:var(--s-3);
    margin-top:var(--s-2);
}

.services-trust-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:var(--s-3) var(--s-5);
    padding-top:var(--s-3);
    border-top:1px solid var(--line);
    width:100%;
}

.services-trust-item{
    display:flex;
    align-items:center;
    gap:var(--s-2);
    color:var(--ink-2);
    font-size:var(--t-small);
}

.services-trust-item strong{
    color:var(--ink);
}

.services-trust-item .icon{
    color:var(--up);
}

/* ---------------------------------------------------------
   HERO OPERATIONS DASHBOARD (Glass HUD Card)
--------------------------------------------------------- */

.services-hud-card{
    position:relative;
    padding:var(--s-5);
    border:1px solid var(--line-strong);
    border-radius:var(--r-card);
    background:var(--surface);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    box-shadow:var(--shadow-card), 0 0 32px rgba(0, 212, 255, 0.06);
    display:grid;
    gap:var(--s-4);
}

.services-hud-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-bottom:var(--s-3);
    border-bottom:1px solid var(--line);
}

.services-hud-title{
    display:flex;
    align-items:center;
    gap:var(--s-2);
    font-size:var(--t-small);
    font-weight:var(--w-strong);
    letter-spacing:.06em;
    color:var(--ink);
    text-transform:uppercase;
}

.services-hud-status{
    display:inline-flex;
    align-items:center;
    gap:var(--s-2);
    font-size:var(--t-micro);
    font-weight:var(--w-strong);
    padding:2px var(--s-2);
    border-radius:var(--r-pill);
    background:var(--up-soft);
    color:var(--up);
}

.services-hud-status span{
    width:6px;
    height:6px;
    border-radius:50%;
    background:currentColor;
}

.services-hud-modules{
    display:grid;
    gap:var(--s-3);
}

.services-hud-module{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:var(--s-3);
    padding:var(--s-3) var(--s-4);
    border-radius:var(--r-control);
    background:var(--surface-sunken);
    border:1px solid var(--line);
    transition:transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.services-hud-module:hover{
    transform:translateX(4px);
    border-color:var(--accent);
}

.services-hud-mod-left{
    display:flex;
    align-items:center;
    gap:var(--s-3);
}

.services-hud-mod-icon{
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    border-radius:var(--r-control);
    background:var(--accent-soft);
    color:var(--accent);
    flex-shrink:0;
}

.services-hud-mod-meta{
    display:grid;
    gap:2px;
}

.services-hud-mod-meta strong{
    font-size:var(--t-small);
    color:var(--ink);
}

.services-hud-mod-meta span{
    font-size:var(--t-micro);
    color:var(--ink-2);
}

.services-hud-mod-right{
    text-align:right;
    flex-shrink:0;
}

.services-hud-badge{
    display:inline-block;
    padding:2px 8px;
    border-radius:var(--r-pill);
    font-size:var(--t-micro);
    font-weight:var(--w-strong);
    background:var(--surface);
    border:1px solid var(--line);
    color:var(--accent-strong);
}

.services-hud-latency{
    display:block;
    font-size:var(--t-micro);
    color:var(--up);
    margin-top:2px;
    font-variant-numeric:tabular-nums;
}

.services-hud-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-top:var(--s-2);
    border-top:1px solid var(--line);
    font-size:var(--t-micro);
    color:var(--ink-2);
}

/* ---------------------------------------------------------
   FEATURED CATALOG (4 Modern Product Cards)
--------------------------------------------------------- */

.services-cards-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    gap:var(--s-6);
}

@media (min-width:768px){
    .services-cards-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

.service-card{
    position:relative;
    display:flex;
    flex-direction:column;
    padding:var(--s-6);
    border:1px solid var(--line-strong);
    border-radius:var(--r-card);
    background:var(--surface);
    box-shadow:var(--shadow-card);
    transition:transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.service-card:hover{
    transform:translateY(-4px);
    border-color:var(--accent);
    box-shadow:var(--shadow-float), 0 0 24px rgba(0, 212, 255, 0.1);
}

.service-card-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:var(--s-3);
    margin-bottom:var(--s-4);
}

.service-card-icon{
    display:grid;
    place-items:center;
    width:52px;
    height:52px;
    border-radius:var(--r-control);
    background:var(--accent-soft);
    color:var(--accent);
    border:1px solid var(--line);
}

.service-card-tag{
    display:inline-flex;
    align-items:center;
    gap:var(--s-1);
    font-size:var(--t-micro);
    font-weight:var(--w-strong);
    letter-spacing:.06em;
    padding:4px var(--s-3);
    border-radius:var(--r-pill);
    background:var(--surface-sunken);
    border:1px solid var(--line);
    color:var(--accent-strong);
}

.service-card h3{
    font-size:var(--t-h3);
    line-height:var(--lh-h3);
    font-weight:var(--w-h3);
    margin-bottom:var(--s-2);
}

.service-card-desc{
    color:var(--ink-2);
    font-size:var(--t-small);
    line-height:1.55;
    margin-bottom:var(--s-5);
}

.service-card-specs{
    display:grid;
    gap:var(--s-2);
    margin-bottom:var(--s-6);
    padding:var(--s-4);
    border-radius:var(--r-control);
    background:var(--surface-sunken);
    border:1px solid var(--line);
    list-style:none;
    padding-left:var(--s-4);
}

.service-card-specs li{
    display:flex;
    align-items:center;
    gap:var(--s-2);
    font-size:var(--t-small);
    color:var(--ink);
}

.service-card-specs .icon{
    color:var(--accent);
    flex-shrink:0;
}

.service-card-bottom{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:var(--s-3);
    margin-top:auto;
    padding-top:var(--s-5);
    border-top:1px solid var(--line);
}

.service-card-pricing{
    display:grid;
    gap:2px;
}

.service-card-from{
    font-size:var(--t-micro);
    color:var(--ink-2);
    text-transform:uppercase;
    letter-spacing:.05em;
}

.service-card-price{
    font-size:var(--t-h2);
    font-weight:var(--w-h2);
    line-height:1;
    color:var(--ink);
}

.service-card-price small{
    font-size:var(--t-micro);
    color:var(--ink-2);
    font-weight:normal;
}

/* ---------------------------------------------------------
   GLOBAL NETWORK STRIP
--------------------------------------------------------- */

.services-network-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:var(--s-4);
}

.services-region-card{
    padding:var(--s-5);
    border:1px solid var(--line);
    border-radius:var(--r-card);
    background:var(--surface);
    display:grid;
    gap:var(--s-2);
    transition:border-color var(--dur-fast) var(--ease);
}

.services-region-card:hover{
    border-color:var(--accent);
}

.services-region-flag{
    font-size:1.8rem;
    line-height:1;
}

.services-region-name{
    font-weight:var(--w-strong);
    color:var(--ink);
    font-size:var(--t-body);
}

.services-region-facility{
    font-size:var(--t-small);
    color:var(--ink-2);
}

.services-region-ping{
    display:inline-flex;
    align-items:center;
    gap:var(--s-1);
    font-size:var(--t-micro);
    font-weight:var(--w-strong);
    color:var(--up);
    background:var(--up-soft);
    padding:2px 8px;
    border-radius:var(--r-pill);
    width:max-content;
}

/* ---------------------------------------------------------
   FEATURE MATRIX (6 Highlights)
--------------------------------------------------------- */

.services-feature-matrix{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:var(--s-5);
}

.services-feat-box{
    padding:var(--s-5);
    border:1px solid var(--line);
    border-radius:var(--r-card);
    background:var(--surface);
    display:grid;
    gap:var(--s-3);
    transition:transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.services-feat-box:hover{
    transform:translateY(-2px);
    border-color:var(--accent);
}

.services-feat-icon{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border-radius:var(--r-control);
    background:var(--accent-soft);
    color:var(--accent);
}

.services-feat-box h3{
    font-size:var(--t-h3);
    font-weight:var(--w-strong);
}

.services-feat-box p{
    color:var(--ink-2);
    font-size:var(--t-small);
    line-height:1.55;
}

/* ---------------------------------------------------------
   FAQ ACCORDION
--------------------------------------------------------- */

.services-faq-list{
    max-width:820px;
    margin-inline:auto;
    display:grid;
    gap:var(--s-3);
}

.services-faq-item{
    border:1px solid var(--line);
    border-radius:var(--r-card);
    background:var(--surface);
    padding:var(--s-5);
    transition:border-color var(--dur-fast) var(--ease);
}

.services-faq-item:hover{
    border-color:var(--accent);
}

.services-faq-question{
    font-size:var(--t-h3);
    font-weight:var(--w-strong);
    color:var(--ink);
    margin-bottom:var(--s-2);
    display:flex;
    align-items:center;
    gap:var(--s-3);
}

.services-faq-question .icon{
    color:var(--accent);
    flex-shrink:0;
}

.services-faq-answer{
    color:var(--ink-2);
    font-size:var(--t-small);
    line-height:1.6;
    padding-left:calc(20px + var(--s-3));
}

/* ---------------------------------------------------------
   FINAL CTA CARD
--------------------------------------------------------- */

.services-cta-box{
    padding:var(--s-7) var(--s-6);
    border:1px solid var(--line-strong);
    border-radius:var(--r-card);
    background:linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(7, 13, 25, 0.95) 100%), var(--surface);
    text-align:center;
    display:grid;
    justify-items:center;
    gap:var(--s-3);
    box-shadow:var(--shadow-card);
}

.services-cta-box h2{
    font-size:var(--t-h1);
    font-weight:var(--w-h1);
}

.services-cta-box h2 span{
    color:var(--accent);
}

.services-cta-box p{
    color:var(--ink-2);
    font-size:var(--t-lead);
    max-width:52ch;
}

.services-cta-buttons{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:var(--s-3);
    margin-top:var(--s-3);
}
