:root {
    --service-navy: #071c35;
    --service-navy-mid: #0d3158;
    --service-blue: #2578d5;
    --service-cyan: #55c7d7;
    --service-sky: #eaf6ff;
    --service-paper: #f5f9fd;
    --service-ink: #10243d;
    --service-muted: #526b80;
    --service-line: rgba(16, 36, 61, 0.1);
    --service-shadow: 0 18px 42px rgba(14, 48, 82, 0.1);
}

body {
    margin: 0 !important;
    font-family: 'Barlow Semi Condensed', 'Segoe UI', Arial, sans-serif !important;
    color: var(--service-ink) !important;
    background: #0a1124 !important;
}

main > section {
    position: relative;
    overflow: hidden;
}

.hero,
.cms-hero,
.redesign-hero,
.maintenance-hero {
    color: #fff !important;
    background: radial-gradient(circle at 10% 10%, rgba(85,199,215,0.22), transparent 28%), linear-gradient(132deg, var(--service-navy) 0%, var(--service-navy-mid) 58%, #155487 100%) !important;
    padding: 74px 32px 62px !important;
    border-radius: 0 0 34px 34px;
    box-shadow: 0 22px 46px rgba(7, 28, 53, 0.14);
}

.hero::after,
.cms-hero::after,
.redesign-hero::after,
.maintenance-hero::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    top: -210px;
    right: -150px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(255,255,255,0.035), 0 0 0 80px rgba(255,255,255,0.02);
    pointer-events: none;
}

.php-hero-flex,
.cms-hero-container,
.redesign-hero-container,
.maintenance-hero-container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: none !important;
    min-height: 500px;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 46px !important;
    align-items: center !important;
}

.hero h1,
.cms-hero-content h1,
.redesign-hero-content h1,
.maintenance-hero-content h1 {
    color: #fff !important;
    font-size: clamp(2.8rem, 5vw, 4.8rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.06em !important;
    margin: 0 0 16px !important;
}

.hero h2,
.cms-hero-content h2,
.redesign-hero-content h2,
.maintenance-hero-content h2 {
    color: #dff7ff !important;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem) !important;
    line-height: 1.22 !important;
}

.hero p,
.cms-hero-desc,
.redesign-hero-desc,
.maintenance-hero-desc,
.maintenance-hero-content > p,
.maintenance-hero-content > ul,
.maintenance-hero-content > ul li,
.ideal-for,
.cms-hero-ideal,
.redesign-hero-focus {
    color: rgba(255,255,255,0.84) !important;
    font-size: 1.12rem !important;
    line-height: 1.7 !important;
}

.hero-actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 14px !important;
    margin: 28px 0 20px !important;
}

.btn,
.hero-actions .btn,
.hero-actions a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.92em 1.55em !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.hero-actions a:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #08253e !important;
    background: var(--service-cyan) !important;
    border: 0 !important;
    box-shadow: 0 12px 26px rgba(85,199,215,0.2);
}

.btn-secondary {
    color: #fff !important;
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.45) !important;
}

.video-block,
.cms-hero-video video,
.redesign-hero-video video,
.maintenance-hero-img img,
.php-hero-flex img {
    width: min(100%, 540px) !important;
    max-width: 540px !important;
    height: auto;
    border-radius: 24px !important;
    box-shadow: 0 28px 60px rgba(0,0,0,0.24) !important;
}

.php-section,
.cms-section,
.redesign-section,
.maintenance-section {
    padding: 78px 0 !important;
    background: #fff !important;
}

.php-section:nth-of-type(even),
.cms-section:nth-of-type(even),
.redesign-section:nth-of-type(even),
.maintenance-section:nth-of-type(even),
.key-services,
.plans,
.faq-section,
.signs-redesign-needed {
    background: var(--service-paper) !important;
}

.php-section h2,
.cms-section h2,
.redesign-section h2,
.maintenance-section h2,
.redesign-services-title,
.redesign-seo-title,
.redesign-security-title {
    color: var(--service-navy) !important;
    font-size: clamp(2rem, 3.2vw, 3rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.045em !important;
}

.php-section p,
.cms-section p,
.redesign-section p,
.maintenance-section p,
.php-section li,
.cms-section li,
.redesign-section li,
.maintenance-section li {
    color: var(--service-muted) !important;
    font-size: 1.08rem !important;
    line-height: 1.75 !important;
}

.php-section .container,
.cms-section .container,
.redesign-section .container,
.maintenance-section .container,
.redesign-services-container,
.redesign-seo-container,
.redesign-security-container {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: none !important;
    margin: 0 auto !important;
}

.php-section [style*="background:#f3f7fa"],
.php-section [style*="background:#f8f9fa"],
.cms-section [style*="background:#f3f7fa"],
.cms-section [style*="background:#f8f9fa"],
.redesign-section [style*="background:#f3f7fa"],
.redesign-section [style*="background:#fff7f2"],
.maintenance-section .service-card,
.maintenance-section .plan-card,
.service-card,
.seo-card,
.security-card {
    border: 1px solid var(--service-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(16,36,61,0.055) !important;
}

.php-section [style*="color:#1976d2"],
.cms-section [style*="color:#2575fc"],
.cms-section [style*="color:#6a11cb"],
.redesign-section [style*="color:#6a11cb"],
.maintenance-section [style*="color:#1976d2"],
.service-icon,
.security-icon,
.seo-icon {
    color: var(--service-blue) !important;
}

.php-section [style*="color:#ff7c2b"],
.cms-section [style*="color:#ff7c2b"],
.redesign-section [style*="color:#ff7c2b"] {
    color: var(--service-cyan) !important;
}

.redesign-services,
.redesign-seo,
.redesign-security {
    background: #fff !important;
}

.redesign-services-grid,
.redesign-seo-grid,
.redesign-security-grid,
.services-card-grid,
.plans-card-grid {
    gap: 20px !important;
}

.service-card,
.seo-card,
.security-card,
.plan-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.seo-card:hover,
.security-card:hover,
.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,120,213,0.3) !important;
    box-shadow: 0 18px 36px rgba(16,36,61,0.1) !important;
}

@media (max-width: 900px) {
    .hero,
    .cms-hero,
    .redesign-hero,
    .maintenance-hero {
        padding: 60px 20px 44px !important;
    }

    .php-hero-flex,
    .cms-hero-container,
    .redesign-hero-container,
    .maintenance-hero-container {
        min-height: 0;
        width: min(100% - 28px, 1180px) !important;
        flex-direction: column !important;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .hero-actions {
        flex-direction: column !important;
        width: 100%;
    }

    .hero-actions a,
    .hero-actions .btn {
        width: 100% !important;
    }

    .php-section,
    .cms-section,
    .redesign-section,
    .maintenance-section {
        padding: 60px 0 !important;
    }

    .php-section .container,
    .cms-section .container,
    .redesign-section .container,
    .maintenance-section .container,
    .redesign-services-container,
    .redesign-seo-container,
    .redesign-security-container {
        width: min(100% - 28px, 1180px) !important;
    }
}
