:root {
    --bg-main: #0b1120;
    --bg-secondary: #17233f;
    --bg-card: #1d2b4d;
    --bg-card-2: #24355f;
    --bg-black: #08101f;

    --text-main: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #dbe4f0;

    --primary: #38bdf8;
    --primary-hover: #0ea5e9;

    --accent: #d4af37;
    --accent-hover: #e6c75c;

    --success: #22c55e;
    --success-hover: #16a34a;

    --danger: #ef4444;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --white: #ffffff;
    --shadow: 0 20px 55px rgba(0, 0, 0, 0.35);

    --radius: 18px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 25%),
        linear-gradient(180deg, #0b1120 0%, #111a31 50%, #0b1120 100%);
    line-height: 1.6;
}

html,
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    min-height: 70vh;
}

.page-inner h1 {
    text-align: center;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.hero-left,
.hero-right,
.service-card,
.services-showcase-card,
.pricing-card,
.partner-card,
.news-card,
.testimonial-card,
.service-process-pro-card,
.service-page-why-card,
.hosting-card,
.cta-box,
.service-page-cta {
    min-width: 0;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 16, 31, 0.94);
    border-bottom: 1px solid rgba(56, 189, 248, 0.24);
    backdrop-filter: blur(12px);
}

.header-top {
    background: rgba(8, 16, 31, 0.98);
    font-size: 14px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    gap: 20px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-social a {
    color: var(--white);
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.header-social a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.header-main {
    background: rgba(8, 16, 31, 0.98);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    position: relative;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 64px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.main-nav a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
}

.call-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    color: var(--white) !important;
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.18);
}

.call-btn:hover {
    background: linear-gradient(135deg, #2dd66f, #16a34a);
    color: var(--white);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* BUTTONS */

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #061018;
    box-shadow: 0 14px 30px rgba(56, 189, 248, 0.20);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #67d3ff, #38bdf8);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.8);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.btn-outline:hover {
    border-color: #06b6d4;
    color: #06b6d4;
}

/* HOME HERO - page d'accueil non centrée */

.hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.10), transparent 22%),
        radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.06), transparent 25%),
        linear-gradient(135deg, #0b1120, #17233f 50%, #0d1730 100%);
    color: var(--white);
    padding: 72px 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-left {
    max-width: 560px;
}

.hero-left h1 {
    font-size: clamp(2.4rem, 3.8rem, 4.4rem);
    line-height: 1.02;
    margin: 0 0 18px;
    color: var(--white);
    letter-spacing: 0;
}

.hero-left p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 24px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-reassurance-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    max-width: 620px;
}

.hero-reassurance-line span,
.service-hero-line span {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1;
}

.hero-right img {
    width: 100%;
    max-width: 560px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* HOME SECTIONS */

.home-section,
.service-page-section {
    padding: 80px 0;
}

.section-alt,
.service-page-section-alt {
    background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.025));
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-head,
.service-page-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head h2,
.service-page-head h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 2.7rem, 3rem);
    color: var(--white);
}

.section-head p,
.service-page-head p {
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 760px;
}

/* Pages internes centrées */

.page-inner main {
    text-align: center;
}

.page-inner .service-page-section .container,
.page-inner .service-hero-simple .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-hero-simple {
    padding: 84px 0 54px;
    text-align: center;
}

.service-hero-simple h1 {
    font-size: clamp(2.3rem, 3.1rem, 3.6rem);
    line-height: 1.15;
    margin: 0 0 18px;
    font-weight: 700;
    color: var(--text-main);
}

.service-hero-sub,
.service-intro {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: 18px;
    color: var(--text-secondary);
}

.service-hero-actions,
.service-page-actions,
.pricing-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.service-hero-actions,
.service-page-actions {
    justify-content: center;
}

.service-hero-line {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Accueil services */

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

.service-card {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 22px;
    text-align: center;
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #111827;
}

.service-card p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Développement web showcase */

.services-showcase-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.services-showcase-card {
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(12, 18, 31, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.services-showcase-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.services-showcase-image {
    height: 170px;
    overflow: hidden;
}

.services-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.services-showcase-card:hover .services-showcase-image img {
    transform: scale(1.05);
}

.services-showcase-content {
    padding: 18px 18px 20px;
    text-align: center;
}

.services-showcase-content h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.28rem;
    line-height: 1.15;
}

.services-showcase-content p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.55;
}

/* Partners */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 220px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(29, 43, 77, 0.92), rgba(16, 24, 40, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.30);
}

.partner-card img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%) brightness(1.2);
    transition: all 0.25s ease;
}

.partner-card:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.partner-card span {
    color: #f8fafc;
    font-weight: 600;
    text-align: center;
}

/* News */

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

.news-card {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(29, 43, 77, 0.96), rgba(16, 24, 40, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.news-image-link {
    display: block;
}

.news-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.news-content {
    padding: 22px;
}

.news-content time {
    display: block;
    margin-bottom: 10px;
    color: #f5d776;
    font-size: 0.92rem;
}

.news-content h3 {
    margin: 0 0 12px;
    font-size: 1.4rem;
    line-height: 1.2;
}

.news-content h3 a {
    color: var(--white);
}

.news-content p {
    margin: 0 0 16px;
    color: var(--text-secondary);
}

/* Testimonials */

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    margin: 0 0 20px;
    color: #f8fafc;
    font-size: 1.02rem;
    line-height: 1.7;
}

.testimonial-meta strong {
    display: block;
    color: var(--white);
}

.testimonial-meta span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing */

.pricing-section-bg {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.pricing-section-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/img/bg-services.png') center/cover no-repeat;
    filter: blur(2px);
    transform: scale(1.05);
    opacity: 0.6;
    z-index: 0;
}

.pricing-section-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,17,32,0.75), rgba(15,23,42,0.85));
    z-index: 1;
}

.pricing-section-bg .container {
    position: relative;
    z-index: 2;
}

.pricing-grid {
    width: 100%;
    display: grid;
    gap: 24px;
    align-items: stretch;
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hosting-pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, #121a2b, #0f172a);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: 0.3s;
    text-align: left;
}

.page-inner .pricing-card {
    text-align: left;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: #06b6d4;
}

.pricing-card.highlight {
    border: 1px solid #06b6d4;
    box-shadow: 0 20px 50px rgba(6,182,212,0.2);
}

.pricing-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.pricing-top h4,
.pricing-top h3 {
    margin: 0;
    font-size: 18px;
    color: var(--white);
}

.duration {
    font-size: 13px;
    opacity: 0.8;
    color: var(--text-secondary);
    text-align: right;
}

.price {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 0;
    color: var(--white);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    flex-grow: 1;
}

.pricing-card ul li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
}

.pricing-actions {
    flex-direction: column;
    margin-top: auto;
}

.pricing-actions a {
    width: 100%;
}

/* Process */

.service-process-pro {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.service-process-pro-card {
    position: relative;
    background: linear-gradient(180deg, rgba(18, 26, 43, 0.96), rgba(12, 18, 31, 0.98));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 22px;
    min-height: 220px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.service-process-pro-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56,189,248,0.28);
    box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

.service-process-pro-top {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
}

.service-process-pro-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 32px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #bae6fd;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0;
}

.service-process-pro-card h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.15rem;
    line-height: 1.2;
}

.service-process-pro-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Why */

.service-page-why-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-page-why-card {
    background: linear-gradient(180deg, rgba(29, 43, 77, 0.96), rgba(16, 24, 40, 0.98));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 22px;
    text-align: left;
}

.service-page-why-card h3 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 1.08rem;
}

.service-page-why-card p {
    margin: 0;
    color: var(--text-secondary);
}

/* Hosting */

.hosting-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(12, 18, 31, 0.98));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.hosting-card h2,
.hosting-card h3 {
    margin: 0 0 18px;
    color: var(--white);
}

.hosting-card p {
    margin: 0 auto 26px;
    color: var(--text-secondary);
    max-width: 620px;
}

.hosting-note {
    margin: 24px auto 0;
    max-width: 820px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CTA */

.cta-section {
    padding-top: 20px;
}

.cta-box,
.service-page-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(23, 35, 63, 0.98), rgba(29, 43, 77, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.20);
    text-align: left;
}

.cta-box h2,
.service-page-cta h2 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: clamp(1.6rem, 2rem, 2.4rem);
}

.cta-box p,
.service-page-cta p {
    margin: 0;
    color: var(--text-secondary);
}

/* FOOTER */

.site-footer {
    background: #08101f;
    color: var(--text-secondary);
    padding-top: 60px;
    margin-top: 84px;
    border-top: 1px solid rgba(56, 189, 248, 0.12);
}

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

.footer-grid h3 {
    margin-top: 0;
    color: var(--white);
}

.footer-grid p,
.footer-grid a {
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    margin-top: 28px;
    text-align: center;
    color: var(--text-secondary);
}

/* RESPONSIVE */

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

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

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

@media (max-width: 992px) {
    .hero-inner,
    .cta-box,
    .service-page-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-inner {
        align-items: flex-start;
    }

    .news-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .hosting-pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .header-main-inner {
        padding: 12px 0;
    }

    .logo img {
        height: 56px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #08101f;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 0;
        z-index: 1000;
        margin-left: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .call-btn {
        width: calc(100% - 32px);
        margin: 12px 16px 4px 16px;
        text-align: center;
        justify-content: center;
        padding: 14px 18px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-inner {
        flex-direction: column;
        text-align: left;
    }

    .page-home .hero-inner {
        text-align: center;
        align-items: center;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-left h1 {
        font-size: clamp(2.1rem, 2.6rem, 3.2rem);
    }

    .hero-buttons,
    .hero-reassurance-line,
    .service-hero-actions,
    .service-hero-line,
    .service-page-actions {
        justify-content: center;
    }

    .hero-buttons,
    .service-hero-actions,
    .service-page-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .home-section,
    .service-page-section {
        padding: 64px 0;
    }

    .service-hero-simple {
        padding: 64px 0 40px;
    }

    .service-hero-sub,
    .service-intro {
        font-size: 16px;
    }

    .services-grid,
    .services-showcase-grid,
    .pricing-grid-4,
    .service-process-pro,
    .service-page-why-grid,
    .partners-grid,
    .news-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-showcase-image {
        height: 190px;
    }

    .service-process-pro-card {
        min-height: auto;
    }

    .hosting-card {
        padding: 28px 22px;
    }

    .cta-box,
    .service-page-cta {
        align-items: stretch;
        text-align: center;
    }
}

@media (max-width: 640px) {
    :root {
        --container: 100%;
    }

    .container {
        width: calc(100% - 1.25rem);
    }

    .header-main-inner {
        gap: 12px;
    }

    .logo img {
        height: 48px;
    }

    .hero,
    .home-section,
    .service-page-section,
    .service-hero-simple {
        padding-left: 0;
        padding-right: 0;
    }

    .hero {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .hero-inner {
        gap: 26px;
    }

    .hero-left h1,
    .service-hero-simple h1 {
        font-size: clamp(2rem, 11vw, 2.8rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .section-head h2,
    .service-page-head h2 {
        font-size: clamp(1.75rem, 9vw, 2.35rem);
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .hero-left p,
    .section-head p,
    .service-page-head p,
    .service-hero-sub,
    .service-intro {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-right img {
        max-height: 320px;
        object-fit: cover;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .service-page-actions a,
    .hero-buttons a {
        width: 100%;
        min-height: 48px;
        padding: 13px 16px;
        text-align: center;
    }

    .hero-reassurance-line span,
    .service-hero-line span {
        width: 100%;
        justify-content: center;
        min-height: 36px;
        line-height: 1.25;
        text-align: center;
    }

    .service-card-img,
    .services-showcase-image,
    .news-card img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .service-card-content,
    .services-showcase-content,
    .news-content,
    .testimonial-card,
    .service-process-pro-card,
    .service-page-why-card,
    .pricing-card,
    .partner-card,
    .hosting-card,
    .cta-box,
    .service-page-cta {
        padding: 20px;
    }

    .pricing-top {
        align-items: flex-start;
    }

    .pricing-top h3,
    .pricing-top h4 {
        font-size: 1.08rem;
        line-height: 1.22;
    }

    .duration {
        max-width: 42%;
        line-height: 1.25;
    }

    .price {
        margin: 16px 0;
        font-size: 1.28rem;
    }

    .pricing-card ul {
        margin-bottom: 0;
    }

    .partners-grid,
    .services-grid,
    .services-showcase-grid,
    .pricing-grid,
    .service-process-pro,
    .service-page-why-grid,
    .news-grid,
    .testimonials-grid {
        gap: 16px;
    }

    .footer-grid {
        gap: 18px;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .container {
        width: calc(100% - 1rem);
    }

    .logo img {
        height: 42px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .main-nav a {
        padding: 13px 12px;
    }

    .call-btn {
        width: calc(100% - 24px);
        margin-left: 12px;
        margin-right: 12px;
    }

    .hero-left h1,
    .service-hero-simple h1 {
        font-size: clamp(1.85rem, 12vw, 2.35rem);
    }

    .section-head,
    .service-page-head {
        margin-bottom: 28px;
    }

    .section-head h2,
    .service-page-head h2 {
        font-size: clamp(1.55rem, 10vw, 2rem);
    }

    .service-card-content,
    .services-showcase-content,
    .news-content,
    .testimonial-card,
    .service-process-pro-card,
    .service-page-why-card,
    .pricing-card,
    .partner-card,
    .hosting-card,
    .cta-box,
    .service-page-cta {
        padding: 18px;
    }

    .pricing-top {
        flex-direction: column;
        gap: 6px;
    }

    .duration {
        max-width: 100%;
        text-align: left;
    }
}
.managed-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 420px);
    gap: 32px;
    align-items: center;
}

.managed-section-image {
    display: block;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    margin: 24px auto 0;
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.managed-hero-grid .managed-section-image {
    margin: 0;
}

.managed-bg-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.managed-bg-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(8, 15, 31, 0.9), rgba(8, 15, 31, 0.62));
}

.managed-bg-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    pointer-events: none;
}

.managed-section-body {
    max-width: 780px;
    margin-top: 16px;
    color: rgba(226, 232, 240, 0.88);
    font-size: 1rem;
    line-height: 1.75;
}

.section-head .managed-section-body,
.service-page-head .managed-section-body {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.builder-section {
    padding: clamp(64px, 8vw, 116px) 0;
    background: #0b1120;
}

.builder-section:nth-of-type(even) {
    background: #111827;
}

.builder-section-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.builder-layout-hero {
    min-height: 70vh;
    display: grid;
    align-items: center;
}

.builder-layout-hero .builder-section-copy h1,
.builder-section-copy h2 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 4.6rem);
    line-height: 1.04;
}

.builder-section-copy .eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: #facc15;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.builder-section-subtitle {
    max-width: 760px;
    margin: 18px 0 0;
    color: #dbeafe;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.7;
}

.builder-section-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.builder-section-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

.builder-layout-text .builder-section-inner,
.builder-layout-centered .builder-section-inner,
.builder-layout-cards .builder-section-inner,
.builder-layout-steps .builder-section-inner,
.builder-layout-faq .builder-section-inner,
.builder-layout-pricing .builder-section-inner,
.builder-layout-cta .builder-section-inner {
    grid-template-columns: 1fr;
}

.builder-layout-centered,
.builder-layout-cards,
.builder-layout-steps,
.builder-layout-faq,
.builder-layout-pricing,
.builder-layout-cta {
    text-align: center;
}

.builder-layout-centered .builder-section-body,
.builder-layout-centered .managed-section-body,
.builder-layout-centered .builder-section-subtitle,
.builder-layout-cards .builder-section-subtitle,
.builder-layout-steps .builder-section-subtitle,
.builder-layout-faq .builder-section-subtitle,
.builder-layout-pricing .builder-section-subtitle,
.builder-layout-cta .builder-section-subtitle,
.builder-layout-cta .managed-section-body {
    margin-right: auto;
    margin-left: auto;
}

.builder-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
    text-align: left;
}

.builder-items-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.builder-item-card {
    min-height: 170px;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.74);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.builder-item-card h3 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.2;
}

.builder-item-card p {
    margin: 0;
    color: rgba(226, 232, 240, 0.82);
    line-height: 1.65;
}

.builder-step-card {
    position: relative;
    padding-top: 58px;
}

.builder-step-number {
    position: absolute;
    top: 18px;
    left: 22px;
    color: #38bdf8;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
}

.builder-faq-card {
    min-height: 140px;
}

.builder-price-card {
    display: grid;
    gap: 12px;
    align-content: start;
    border-color: rgba(56, 189, 248, 0.32);
}

.builder-price-card strong {
    color: #facc15;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1;
}

.builder-layout-centered .builder-section-actions,
.builder-layout-cta .builder-section-actions {
    justify-content: center;
}

.builder-layout-cta {
    background: linear-gradient(135deg, #0f172a, #082f49);
}

@media (max-width: 820px) {
    .builder-section-inner {
        grid-template-columns: 1fr;
    }

    .builder-items,
    .builder-items-faq {
        grid-template-columns: 1fr;
    }

    .builder-layout-image_text .builder-section-media {
        order: 2;
    }

    .builder-layout-image_text .builder-section-copy {
        order: 1;
    }
}

@media (max-width: 760px) {
    .managed-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
