/* ============================================
   Axiomed — Services page
   ============================================ */

.services-hero {
    background: linear-gradient(135deg, #0f2a3f 0%, #0f66a0 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

.services-hero-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.services-hero-intro {
    font-size: 1rem;
    opacity: 0.88;
    max-width: 760px;
    margin: 0 auto 14px;
    line-height: 1.75;
}

.services-hero-intro--em {
    font-style: italic;
    font-size: 1.05rem;
    opacity: 1;
    font-weight: 500;
}

/* ── Offer grid (cards) ── */
.services-offer {
    padding: 80px 0 90px;
    background: #f4f7fb;
}

.services-offer-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 48px;
    text-align: center;
}

.services-offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    justify-content: center;
}

.soc-card {
    position: relative;
    background: linear-gradient(135deg, #0f66a0 0%, #3798da 100%);
    border-radius: 20px;
    aspect-ratio: 1;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px 20px;
    box-shadow: 0 4px 24px rgba(15,102,160,0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
}

.soc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
    border-radius: inherit;
    pointer-events: none;
}

.soc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15,102,160,0.30);
}

.soc-card-icon {
    font-size: 2.6rem;
    color: rgba(255,255,255,0.92);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.18));
    line-height: 1;
}

.soc-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-align: center;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.soc-card-hint {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    transition: background 0.2s;
}

.soc-card:hover .soc-card-hint {
    background: rgba(255,255,255,0.4);
}

/* ── Modal ── */
.svc-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.svc-modal.active {
    pointer-events: all;
    opacity: 1;
}

.svc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,25,40,0.65);
    backdrop-filter: blur(6px);
}

.svc-modal-box {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 48px 40px 40px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 32px 80px rgba(0,0,0,0.22);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.28s cubic-bezier(.34,1.56,.64,1);
    z-index: 1;
}

.svc-modal.active .svc-modal-box {
    transform: translateY(0) scale(1);
}

.svc-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f0f4f8;
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.svc-modal-close:hover { background: var(--blue); color: #fff; }

.svc-modal-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.svc-modal-icon-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f66a0, #3798da);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(55,152,218,0.35);
}

.svc-modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

.svc-modal-desc {
    font-size: 0.97rem;
    color: #4a5568;
    line-height: 1.8;
    margin: 0;
    padding-top: 4px;
    border-top: 1px solid #eef2f7;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .services-offer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .services-offer-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .soc-card-icon { font-size: 2rem; }
    .soc-card-title { font-size: 0.72rem; }
    .svc-modal-box { padding: 36px 24px 28px; }
    .services-hero-title { font-size: 1.5rem; }
}

/* Why AXIOMED section */
.services-why {
    background: var(--dark);
    padding: 80px 0;
    color: #fff;
}

.services-why-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 32px;
}

.services-why-body {
    max-width: 760px;
    margin-bottom: 40px;
}

.services-why-body p {
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.services-why-tagline {
    color: #fff !important;
    font-style: italic;
    font-weight: 600;
}

.services-why-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.services-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s;
}

.services-cta-btn:hover {
    background: #0f5a96;
    transform: translateY(-2px);
    color: #fff !important;
}

.services-cta-btn--outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff !important;
}

.services-cta-btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* For whom section */
.services-for-whom {
    padding: 80px 0;
    background: #f7f9fc;
}

.services-for-whom-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}

.services-for-whom-lead {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.75;
    max-width: 760px;
    margin-bottom: 12px;
}

.services-for-whom-sub {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 16px;
}

.services-for-whom-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 680px;
}

.services-for-whom-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--text);
    font-size: 0.97rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.services-for-whom-list li:last-child { border-bottom: none; }

.services-for-whom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
}
