/* ============================================================
   ARES ENERGY — SERVICES PAGE VISUAL ENHANCEMENT  v3
   Root-cause fix: replaced .image-placeholder (conflicted with
   global style.css min-height:500px) with .card-icon-zone.
   Premium cards with colour-coded themes + feature lists.
   ============================================================ */

/* ── KEYFRAMES ───────────────────────────────────────────── */
@keyframes srvFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes srvIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes srvGlowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}

@keyframes srvCardIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #f38b2a;
}

.breadcrumb svg {
    color: #9ca3af;
}

.services-breadcrumb {
    color: rgba(226, 232, 240, 0.74);
}

.services-breadcrumb a {
    color: rgba(255, 255, 255, 0.84);
}

.services-breadcrumb a:hover {
    color: #ffd38a;
}

.services-breadcrumb svg {
    color: rgba(255, 255, 255, 0.5);
}

.services-breadcrumb span {
    color: #ffffff;
    font-weight: 700;
}

/* ── HERO ─────────────────────────────────────────────────── */
.services-hero-premium {
    background: linear-gradient(135deg, #0b1c2e 0%, #0f2540 60%, #0b1c2e 100%);
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.services-hero-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(243, 139, 42, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 20% 80%, rgba(30, 100, 200, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.services-hero-split {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.services-hero-text {
    flex: 1;
    max-width: 560px;
    animation: srvFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.services-hero-text h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin: 0 0 1.25rem;
    letter-spacing: -0.03em;
}

.hero-lead {
    font-size: 1.0625rem;
    color: #9ca3af;
    line-height: 1.65;
    margin: 0 0 2rem;
    max-width: 480px;
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta-row .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f38b2a, #e07820);
    color: white;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.25s;
    border: none;
}

.hero-cta-row .btn-primary:hover {
    background: linear-gradient(135deg, #e07820, #c96a10);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(243, 139, 42, 0.35);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s;
}

.btn-outline-dark:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

/* Hero Visual */
.services-hero-visual {
    flex: 0 0 auto;
    position: relative;
    animation: srvFadeUp 0.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
    width: min(100%, 430px);
}

.hero-icons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.hero-icon-card {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%),
        linear-gradient(135deg, rgba(24, 40, 63, 0.96) 0%, rgba(44, 65, 96, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 1.3rem 1.15rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.8rem;
    text-align: left;
    text-decoration: none;
    box-shadow:
        0 20px 45px rgba(4, 12, 24, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    animation: srvCardIn 0.6s calc(var(--delay, 0s) + 0.3s) cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.hero-icon-card:hover {
    transform: translateY(-7px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 26px 60px rgba(4, 12, 24, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.hero-card-accent {
    position: absolute;
    right: -14px;
    bottom: -24px;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    opacity: 0.28;
    filter: blur(10px);
    pointer-events: none;
}

.hero-icon-card strong {
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-icon-card p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.82);
    max-width: 18ch;
}

.icon-bg {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 16px 28px rgba(15, 30, 53, 0.18);
    animation: srvIconFloat 3s ease-in-out infinite;
}

.icon-bg svg {
    width: 30px;
    height: 30px;
}

.icon-bg.solar {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    animation-delay: 0s;
}

.icon-bg.battery {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
    animation-delay: 0.4s;
}

.icon-bg.electric {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    color: #7c3aed;
    animation-delay: 0.8s;
}

.icon-bg.aircon {
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    color: #0d9488;
    animation-delay: 1.2s;
}

.hero-solar-card .hero-card-accent {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.95) 0%, rgba(245, 158, 11, 0.1) 70%);
}

.hero-battery-card .hero-card-accent {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.95) 0%, rgba(59, 130, 246, 0.12) 70%);
}

.hero-electrical-card .hero-card-accent {
    background: radial-gradient(circle, rgba(196, 181, 253, 0.95) 0%, rgba(139, 92, 246, 0.12) 70%);
}

.hero-aircon-card .hero-card-accent {
    background: radial-gradient(circle, rgba(94, 234, 212, 0.95) 0%, rgba(13, 148, 136, 0.1) 70%);
}

.hero-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse at center, rgba(243, 139, 42, 0.12) 0%, transparent 65%);
    pointer-events: none;
    animation: srvGlowPulse 4s ease-in-out infinite;
}

/* ── CATEGORY SECTIONS ──────────────────────────────────── */
.services-category-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

/* Colour-coded tinted backgrounds per service */
.section-solar {
    background-color: #fffbf3 !important;
}

.section-battery {
    background-color: #f0f6ff !important;
}

.section-electrical {
    background-color: #faf5ff !important;
}

.section-aircon {
    background-color: #f0fdfa !important;
}

/* ── CATEGORY HEADER ─────────────────────────────────────── */
.category-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.75rem;
}

.category-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.category-icon svg {
    width: 24px;
    height: 24px;
}

/* Colour variants for icons */
.bg-yellow-light {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.text-orange {
    color: #c05e00;
}

.bg-blue-light {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.text-blue {
    color: #1d4ed8;
}

.bg-purple-light {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}

.text-purple {
    color: #6d28d9;
}

.bg-teal-light {
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
}

.text-teal {
    color: #0f766e;
}

.category-title-area {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    flex: 1;
}

.category-title-group {
    flex: 1;
    min-width: 0;
}

.category-title-area h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #0f1e35;
    margin: 0 0 0.3rem;
    letter-spacing: -0.025em;
}

.category-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f38b2a;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.45rem 1rem;
    border: 1.5px solid #fed7aa;
    border-radius: 8px;
    background: rgba(243, 139, 42, 0.06);
    transition: all 0.2s;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.view-all-link:hover {
    background: rgba(243, 139, 42, 0.12);
    border-color: #f38b2a;
    gap: 0.55rem;
}

/* ── SERVICE CARDS GRID ──────────────────────────────────── */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.375rem;
}

/* Center a lone final card when it's the only one in its row (e.g., 7th card in 3-col grid) */
.service-cards-grid>.service-card-premium:last-child:nth-child(3n - 2) {
    grid-column: 2;
}


/* ── SERVICE CARD ────────────────────────────────────────── */
/* CRITICAL: Force cards visible — overrides any global opacity:0 or JS-set styles */
.service-card-premium {
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s;
    box-shadow: 0 2px 8px rgba(15, 30, 53, 0.05) !important;
    /* CSS-only entrance animation — no JS required */
    animation: srvCardEntrance 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Stagger entrance by card position */
.service-card-premium:nth-child(1) {
    animation-delay: 0.05s;
}

.service-card-premium:nth-child(2) {
    animation-delay: 0.12s;
}

.service-card-premium:nth-child(3) {
    animation-delay: 0.19s;
}

.service-card-premium:nth-child(4) {
    animation-delay: 0.26s;
}

.service-card-premium:nth-child(5) {
    animation-delay: 0.33s;
}

.service-card-premium:nth-child(6) {
    animation-delay: 0.40s;
}

.service-card-premium:nth-child(7) {
    animation-delay: 0.47s;
}

@keyframes srvCardEntrance {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-card-premium:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 45px rgba(15, 30, 53, 0.12) !important;
    border-color: #f38b2a !important;
}

/* ── CARD ICON ZONE (replaces old .card-image-area + .image-placeholder) ── */
.card-icon-zone {
    position: relative;
    width: 100%;
    height: 184px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

.card-icon-zone.has-card-image {
    padding: 0;
    border-bottom: 1px solid rgba(15, 30, 53, 0.06);
}

.card-zone-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
}

/* Solar: warm amber/orange gradient */
.card-icon-zone.solar-zone {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 50%, #fdba74 100%);
}

/* Battery: cool blue gradient */
.card-icon-zone.battery-zone {
    background: linear-gradient(135deg, #eff6ff 0%, #bfdbfe 50%, #93c5fd 100%);
}

/* Electrical: violet/purple gradient */
.card-icon-zone.electrical-zone {
    background: linear-gradient(135deg, #f5f3ff 0%, #e9d5ff 50%, #d8b4fe 100%);
}

/* Air con: teal gradient */
.card-icon-zone.aircon-zone {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 50%, #99f6e4 100%);
}

.card-icon-zone.has-card-image .ciz-glow,
.card-icon-zone.has-card-image .ciz-icon-wrap {
    display: none;
}

/* Icon wrapper centred circle */
.ciz-icon-wrap {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(4px);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.service-card-premium:hover .ciz-icon-wrap {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ciz-icon-wrap svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Icon colours per zone */
.solar-zone .ciz-icon-wrap {
    color: #c05e00;
}

.battery-zone .ciz-icon-wrap {
    color: #1d4ed8;
}

.electrical-zone .ciz-icon-wrap {
    color: #6d28d9;
}

.aircon-zone .ciz-icon-wrap {
    color: #0f766e;
}

/* Glow blob behind icon */
.ciz-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    pointer-events: none;
    animation: srvGlowPulse 3.5s ease-in-out infinite;
}

/* Card badge */
.card-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 3;
    background: #0f1e35;
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card-badge.urgent {
    background: #dc2626;
}

.card-badge.new {
    background: #0d9488;
}

/* ── CARD BODY ───────────────────────────────────────────── */
.service-card-premium .card-body {
    padding: 1.125rem 1.25rem 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    box-sizing: border-box;
}

.card-body h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f1e35;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 0.75rem;
}

/* ── CARD FEATURES LIST ──────────────────────────────────── */
.card-features {
    list-style: none;
    margin: 0 0 0.9rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #374151;
    font-weight: 500;
    line-height: 1.4;
}

.card-features li svg {
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    color: #16a34a;
    stroke-width: 2.5;
}

/* ── CARD CTA ────────────────────────────────────────────── */
.card-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #f38b2a;
    transition: gap 0.2s;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.card-cta svg {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.service-card-premium:hover .card-cta {
    gap: 0.6rem;
}

.service-card-premium:hover .card-cta svg {
    transform: translateX(4px);
}

/* ── WHY CHOOSE US ───────────────────────────────────────── */
.services-why-premium {
    padding: 5.5rem 0;
    background: #0f1e35;
    color: white;
}

.why-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-block;
    background: rgba(243, 139, 42, 0.15);
    color: #f38b2a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(243, 139, 42, 0.25);
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}

.why-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin: 0;
    letter-spacing: -0.025em;
}

.why-features-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.75rem;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(243, 139, 42, 0.3);
    transform: translateY(-3px);
}

.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(243, 139, 42, 0.12);
    border: 1px solid rgba(243, 139, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f38b2a;
    margin-bottom: 1rem;
}

.why-icon svg {
    width: 20px;
    height: 20px;
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem;
}

.why-card p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.55;
}

/* ── HELP CTA ─────────────────────────────────────────────── */
.services-help-premium {
    padding: 4rem 0;
    background: #f9fafb;
}

.help-card {
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.help-content {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    flex: 1;
}

.help-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1.5px solid #fed7aa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f38b2a;
    flex-shrink: 0;
}

.help-icon svg {
    width: 26px;
    height: 26px;
}

.help-text h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f1e35;
    margin: 0 0 0.4rem;
}

.help-text p {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.help-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.help-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #f38b2a, #e07820);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
}

.help-actions .btn-primary:hover {
    background: linear-gradient(135deg, #e07820, #c96a10);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(243, 139, 42, 0.3);
}

.btn-secondary-light {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    color: #374151;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1.5px solid #d1d5db;
    transition: all 0.25s;
    white-space: nowrap;
}

.btn-secondary-light:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

/* ── FINAL CTA ───────────────────────────────────────────── */
.services-final-premium {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0b1c2e 0%, #0f2540 50%, #0b1c2e 100%);
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.services-final-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(243, 139, 42, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.text-center {
    text-align: center;
}

.services-final-premium .section-badge {
    margin-bottom: 1rem;
}

.services-final-premium h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: white;
    margin: 0 0 1rem;
    letter-spacing: -0.025em;
    position: relative;
    z-index: 1;
}

.final-desc {
    font-size: 1.0625rem;
    color: #9ca3af;
    margin: 0 auto 2.5rem;
    max-width: 480px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-primary.large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f38b2a, #e07820);
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-primary.large:hover {
    background: linear-gradient(135deg, #e07820, #c96a10);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(243, 139, 42, 0.4);
}

.btn-phone-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.07);
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s;
}

.btn-phone-large:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-phone-large svg {
    flex-shrink: 0;
}

.phone-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.phone-text .phone-label {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.phone-text .phone-number {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111111;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Services Page
   Breakpoints:
     1100px  Large desktop → no change needed
      900px  Tablet landscape
      768px  Tablet portrait
      640px  Large phone
      480px  Phone (standard)
      380px  Small phone
   ═══════════════════════════════════════════════════════════ */

/* ── 1100px: Large tablet / small desktop ─────────────────── */
@media (max-width: 1100px) {
    .service-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.125rem;
    }
}

/* ── 900px: Tablet landscape ─────────────────────────────── */
@media (max-width: 900px) {

    /* Hero */
    .services-hero-split {
        gap: 2rem;
    }

    /* Cards: 2-col grid */
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Center an orphaned last card in 2-col grid */
    .service-cards-grid>.service-card-premium:last-child:nth-child(2n - 1) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    /* Reset the desktop orphan-center rule that only applies to 3-col */
    .service-cards-grid>.service-card-premium:last-child:nth-child(3n - 2) {
        grid-column: unset;
    }

    /* Why section: 2-col */
    .why-features-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .help-card {
        gap: 1.25rem;
    }

    .help-actions {
        flex-wrap: wrap;
    }
}

/* ── 768px: Tablet portrait ──────────────────────────────── */
@media (max-width: 768px) {

    /* Hero: stack vertically, visual ABOVE text */
    .services-hero-premium {
        padding: 3rem 0 4rem;
    }

    .services-hero-split {
        flex-direction: column-reverse;
        gap: 1.75rem;
        text-align: center;
    }

    .services-hero-text {
        max-width: 100%;
    }

    .services-hero-text h1 {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .hero-lead {
        max-width: 100%;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .hero-cta-row .btn-primary,
    .hero-cta-row .btn-outline-dark {
        min-width: 220px;
        justify-content: center;
    }

    .services-hero-visual {
        width: 100%;
    }

    /* Hero icon grid: 4-across on tablet */
    .hero-icons-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-icon-card {
        min-height: 152px;
        padding: 1rem 0.9rem;
        border-radius: 18px;
        gap: 0.55rem;
    }

    .icon-bg {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .icon-bg svg {
        width: 24px;
        height: 24px;
    }

    .hero-icon-card strong {
        font-size: 0.95rem;
    }

    .hero-icon-card p {
        font-size: 0.74rem;
        max-width: none;
    }

    /* Category header */
    .category-header {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .category-title-area {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        width: 100%;
    }

    .category-title-group {
        width: 100%;
    }

    .category-title-area h2 {
        font-size: 1.6rem;
    }

    /* Card icon zone slightly shorter */
    .card-icon-zone {
        height: 105px;
    }

    .ciz-icon-wrap {
        width: 52px;
        height: 52px;
    }

    .ciz-icon-wrap svg {
        width: 24px;
        height: 24px;
    }

    /* Help card */
    .help-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .help-content {
        flex-direction: column;
        align-items: center;
    }

    .help-icon {
        flex-shrink: 0;
    }

    .help-text {
        text-align: center;
    }

    .help-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }

    .help-actions .btn-primary,
    .help-actions .btn-secondary-light {
        width: 100%;
        justify-content: center;
    }

    /* Why section */
    .services-why-premium {
        padding: 4rem 0;
    }

    .why-header h2 {
        font-size: clamp(1.6rem, 3vw, 2.25rem);
    }

    /* Final CTA */
    .services-final-premium {
        padding: 4rem 0;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.875rem;
    }

    .btn-primary.large,
    .btn-phone-large {
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }

    .phone-text {
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .phone-text .phone-label {
        color: rgba(226, 232, 240, 0.8);
    }

    .phone-text .phone-number {
        color: #111111 !important;
        text-shadow: 0 1px 10px rgba(4, 12, 24, 0.35);
    }
}

/* ── 640px: Large mobile ─────────────────────────────────── */
@media (max-width: 640px) {

    /* Tighter padding on all service sections */
    .services-hero-premium {
        padding: 2.25rem 0 3rem;
    }

    .services-breadcrumb {
        margin-bottom: 1.25rem;
        font-size: 0.76rem;
    }

    .services-category-section {
        padding: 2.5rem 0;
    }

    /* Category header: stack icon + title, "View all" below */
    .category-header {
        align-items: flex-start;
        gap: 0.625rem;
    }

    .category-title-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .category-title-area h2 {
        font-size: 1.45rem;
    }

    .category-subtitle {
        font-size: 0.875rem;
    }

    .view-all-link {
        align-self: flex-start;
        font-size: 0.8125rem;
        padding: 0.35rem 0.75rem;
    }

    /* Hero icon grid: 2-across on small mobile */
    .hero-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
        max-width: 100%;
    }

    .hero-icon-card strong {
        font-size: 0.9rem;
    }

    .hero-icon-card p {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    /* Cards: 1-column on mobile for comfortable reading */
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    /* Reset orphan-centering — no need in 1-col */
    .service-cards-grid>.service-card-premium:last-child:nth-child(2n - 1) {
        grid-column: unset;
        max-width: 100%;
        margin: 0;
    }

    .service-cards-grid>.service-card-premium:last-child:nth-child(3n - 2) {
        grid-column: unset;
    }

    /* Card layout: keep image-first vertical cards on mobile */
    .service-card-premium {
        flex-direction: column !important;
        align-items: stretch;
        border-radius: 14px !important;
        min-height: 0;
    }

    .card-icon-zone {
        width: 100%;
        min-width: 0;
        height: 176px !important;
        flex-shrink: 0;
        border-radius: 0;
    }

    .card-icon-zone.has-card-image {
        aspect-ratio: auto;
        padding: 0;
    }

    /* Keep cards vertically stacked on mobile for larger, clearer images */
    .service-card-premium .card-icon-zone {
        border-radius: 12px 12px 0 0 !important;
    }

    .ciz-icon-wrap {
        width: 44px;
        height: 44px;
    }

    .ciz-icon-wrap svg {
        width: 20px;
        height: 20px;
    }

    /* Card badge repositioned */
    .card-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.5rem;
    }

    /* Card body: full content visible */
    .service-card-premium .card-body {
        padding: 0.875rem 1rem 1rem !important;
        flex: 1;
        justify-content: space-between;
    }

    .card-body h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .card-desc {
        display: block;
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-features {
        display: flex;
        gap: 0.2rem;
        margin-bottom: 0.5rem;
    }

    .card-features li {
        font-size: 0.72rem;
    }

    .card-cta {
        font-size: 0.75rem;
        padding-top: 0.5rem;
        margin-top: auto;
    }

    /* Why section: 1-column */
    .why-features-premium {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .why-card {
        padding: 1.25rem;
    }

    .why-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 0.75rem;
    }

    .why-card h4 {
        font-size: 0.9375rem;
    }

    .why-card p {
        font-size: 0.825rem;
    }

    /* Section badge */
    .section-badge {
        font-size: 0.6875rem;
    }

    .why-header {
        margin-bottom: 2rem;
    }

    .help-card {
        padding: 1.5rem 1rem;
        border-radius: 18px;
    }

    .help-content {
        gap: 0.875rem;
    }

    .help-text h2 {
        font-size: 1.2rem;
    }

    .services-final-premium {
        padding: 3rem 0;
    }
}

/* ── 480px: Standard mobile ──────────────────────────────── */
@media (max-width: 480px) {
    .services-hero-premium {
        padding: 1.75rem 0 2.5rem;
    }

    .services-hero-text h1 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .hero-lead {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .hero-cta-row .btn-primary,
    .hero-cta-row .btn-outline-dark {
        width: 100%;
        justify-content: center;
        min-width: 0;
    }

    .services-category-section {
        padding: 2rem 0;
    }

    .category-icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .card-icon-zone {
        width: 100%;
        min-width: 0;
        height: 156px !important;
    }

    /* Help section */
    .services-help-premium {
        padding: 2.5rem 0;
    }

    .help-text h2 {
        font-size: 1.1rem;
    }

    /* Final CTA */
    .services-final-premium h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    .final-desc {
        font-size: 0.9375rem;
    }

    .btn-primary.large,
    .btn-phone-large {
        max-width: 100%;
    }

    .btn-phone-large {
        gap: 0.65rem;
        padding: 0.95rem 1rem;
    }

    .phone-text .phone-label {
        font-size: 0.7rem;
    }

    .phone-text .phone-number {
        font-size: 1rem;
        line-height: 1.1;
    }
}

/* ── 380px: Small phone ──────────────────────────────────── */
@media (max-width: 380px) {
    .services-hero-premium {
        padding: 1.5rem 0 2.2rem;
    }

    .services-hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-icons-grid {
        gap: 0.55rem;
        max-width: 100%;
    }

    .hero-icon-card {
        min-height: 132px;
        padding: 0.85rem 0.75rem;
        border-radius: 16px;
    }

    .icon-bg {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .ciz-icon-wrap {
        width: 38px;
        height: 38px;
    }

    .ciz-icon-wrap svg {
        width: 17px;
        height: 17px;
    }

    .card-body h3 {
        font-size: 0.85rem;
    }

    .hero-icon-card strong {
        font-size: 0.84rem;
    }

    .hero-icon-card p {
        font-size: 0.68rem;
    }

    .card-icon-zone {
        width: 100%;
        min-width: 0;
        height: 142px !important;
    }
}
