.services-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 34px;
    background:
        radial-gradient(circle at top center, rgba(59, 130, 246, 0.12), transparent 42%),
        linear-gradient(180deg, #f8fafc 0%, #eef4ff 58%, #f8fafc 100%);
}

.services-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.services-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 88%);
}

.services-hero-glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(100px);
    pointer-events: none;
}

.services-hero-glow-left {
    width: 320px;
    height: 320px;
    left: -100px;
    top: -40px;
    background: rgba(59, 130, 246, 0.18);
}

.services-hero-glow-right {
    width: 380px;
    height: 380px;
    right: -120px;
    top: 20px;
    background: rgba(99, 102, 241, 0.12);
}

.services-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    text-align: center;
}

.services-kicker {
    display: inline-flex;
    padding: 9px 15px;
    border-radius: 9999px;
    border: 1px solid #bfdbfe;
    background: rgba(255,255,255,0.82);
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.services-title {
    margin: 16px auto 0;
    max-width: 820px;
    font-size: 48px;
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #0f172a;
}

.services-title span {
    color: #2563eb;
}

.services-sub {
    max-width: 760px;
    margin: 16px auto 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.9;
}

.services-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.services-btn-primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.24);
}

.services-btn-primary:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
    box-shadow: 0 24px 50px rgba(37, 99, 235, 0.30);
}

.services-btn-secondary {
    background: #fff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.services-btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.28);
    background: #eff6ff;
    color: #2563eb;
}

.services-section {
    padding: 48px 0 72px;
    background: #ffffff;
}

.services-head {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.services-head h2 {
    margin: 16px 0 0;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.services-head p {
    margin: 18px auto 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.85;
}

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

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 30px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.24);
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f7;
}

.service-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.service-price {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.service-card h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.service-card p {
    margin: 16px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.85;
}

.service-card ul {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.service-card li {
    position: relative;
    padding-left: 18px;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #2563eb;
}

.service-link {
    margin-top: auto;
    padding-top: 24px;
}

.service-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
    transition: 0.25s ease;
}

.service-card:hover .service-link span {
    background: #2563eb;
    color: #ffffff;
    transform: translateX(4px);
}

.services-empty {
    grid-column: 1 / -1;
    padding: 42px;
    border-radius: 28px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    text-align: center;
}

.services-empty h3 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
}

.services-empty p {
    margin: 12px 0 0;
    color: #64748b;
}





.services-form-section {
    padding: 96px 0;
    background: #ffffff;
}

.services-form-wrap {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.services-form-head {
    text-align: center;
    margin-bottom: 34px;
}

.services-form-head h2 {
    margin: 16px 0 0;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.services-form-head p {
    margin: 14px auto 0;
    max-width: 620px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.services-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
}

.services-alert ul {
    margin: 0;
    padding-left: 18px;
}

.services-alert-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.services-alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.services-form {
    padding: 30px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.form-group + .form-group {
    margin-top: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 16px;
    color: #0f172a;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.services-submit {
    width: 100%;
    margin-top: 22px;
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.25s ease;
}

.services-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.services-submit-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .services-hero {
        padding: 40px 0 34px;
    }

    .services-title {
        font-size: 38px;
    }

    .services-sub,
    .services-head p,
    .services-form-head p {
        font-size: 16px;
        line-height: 1.8;
    }

    .services-head h2,
    .services-form-head h2 {
        font-size: 30px;
    }

    .services-section,
    .services-form-section {
        padding: 72px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px;
        border-radius: 24px;
    }

    .services-form {
        padding: 22px;
        border-radius: 24px;
    }
}
/* IdeyaVar v1.0 spacing refinements */
.services-hero { padding-top: 72px; padding-bottom: 64px; }
.services-section { padding-top: 60px; padding-bottom: 60px; }
.services-form-section { padding-top: 60px; padding-bottom: 60px; }
.services-head { margin-bottom: 34px; }
.services-grid { gap: 20px; }
.service-card { padding: 24px; }
@media (max-width: 768px) {
  .services-hero { padding-top: 52px; padding-bottom: 44px; }
  .services-section, .services-form-section { padding-top: 46px; padding-bottom: 46px; }
}

/* UI Update 03: compact public page rhythm */
.services-hero { min-height: auto; padding: 72px 0 54px; }
.services-hero-inner { max-width: 920px; }
.services-title { font-size: clamp(2.35rem, 5vw, 4.4rem); line-height: 1.03; }
.services-sub { max-width: 720px; margin-top: 20px; }
.services-hero-actions { margin-top: 28px; }
.services-section { padding-top: 68px; padding-bottom: 72px; }
.services-form-section { padding-top: 72px; padding-bottom: 82px; }
@media (max-width: 768px) {
  .services-hero { padding: 46px 0 38px; }
  .services-title { font-size: clamp(2rem, 11vw, 3rem); }
  .services-sub { font-size: 1rem; }
  .services-section, .services-form-section { padding-top: 48px; padding-bottom: 54px; }
}

/* UI Polish 04 */
.services-hero { padding: 42px 0 38px; }
.services-title { margin-top: 16px; font-size: clamp(38px, 5vw, 52px); }
.services-sub { margin-top: 16px; font-size: 17px; line-height: 1.7; }
.services-hero-actions { margin-top: 24px; }
.services-btn { min-height: 50px; gap: 8px; }
.services-btn:focus-visible { outline: 3px solid rgba(99,102,241,.28); outline-offset: 3px; }
.services-section { padding: 50px 0 64px; }
.services-head { margin-bottom: 32px; }
.services-head h2 { font-size: clamp(32px, 4vw, 40px); }
.services-head p { margin-top: 14px; line-height: 1.7; }
.services-grid { gap: 20px; }
.service-card { padding: 26px; border-radius: 24px; }
.service-card:hover { transform: translateY(-4px); }
@media (max-width: 768px) {
  .services-hero { padding: 34px 0 32px; }
  .services-section { padding: 42px 0 52px; }
  .services-hero-actions .services-btn { width: 100%; }
}

/* UI Polish 05: final compact hero override */
.services-hero { padding: 32px 0 30px; }
.services-title { margin-top: 14px; font-size: clamp(36px, 4.5vw, 46px); }
.services-sub { margin-top: 14px; line-height: 1.65; }
.services-hero-actions { margin-top: 20px; }
@media (max-width: 768px) {
  .services-hero { padding: 28px 0 26px; }
  .services-title { font-size: clamp(2rem, 10vw, 2.75rem); }
}
