:root {
    --ds-primary: #2563eb;
    --ds-primary-dark: #1d4ed8;
    --ds-accent: #7c3aed;
    --ds-dark: #0f172a;
    --ds-muted: #64748b;
    --ds-light: #f8fafc;
    --ds-border: #e2e8f0;
    --ds-radius: 16px;
    --ds-radius-sm: 10px;
    --ds-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    --ds-container-max: 1200px;
    --ds-gutter: clamp(1rem, 3vw, 1.5rem);
    --ds-header-h: 80px;
    /* Typography */
    --ds-font-sans: 'Arimo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --ds-text-xs: 0.8125rem;
    --ds-text-sm: 0.9375rem;
    --ds-text-base: 1rem;
    --ds-text-md: 1.0625rem;
    --ds-text-lg: 1.125rem;
    --ds-text-xl: 1.3125rem;
    --ds-text-2xl: 1.625rem;
    --ds-text-3xl: 2rem;
    --ds-text-4xl: 2.5rem;
    --ds-leading: 1.65;
    --ds-leading-snug: 1.4;
    --ds-leading-tight: 1.25;
}

/* Bootstrap sets html to 10px — that made all rem text too small. Reset to 16px. */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Unified horizontal rhythm across header, hero, and sections */
body.ds-modern-site .ds-site .container {
    max-width: var(--ds-container-max);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ds-gutter);
    padding-right: var(--ds-gutter);
    box-sizing: border-box;
}

/* ── Base reset for modern site ── */
body.ds-modern-site {
    font-family: var(--ds-font-sans);
    font-size: var(--ds-text-base);
    font-weight: 400;
    color: #1e293b;
    background: #fff;
    line-height: var(--ds-leading);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.ds-modern-site .ds-site,
body.ds-modern-site .ds-main,
body.ds-modern-site p,
body.ds-modern-site li {
    font-size: var(--ds-text-base);
    line-height: var(--ds-leading);
}

body.ds-modern-site h1,
body.ds-modern-site h2,
body.ds-modern-site h3,
body.ds-modern-site h4,
body.ds-modern-site h5,
body.ds-modern-site h6 {
    font-family: var(--ds-font-sans);
    font-weight: 700;
    color: var(--ds-dark);
    line-height: var(--ds-leading-tight);
    letter-spacing: -0.02em;
}

body.ds-modern-site h1 { font-size: clamp(var(--ds-text-3xl), 4vw, var(--ds-text-4xl)); }
body.ds-modern-site h2 { font-size: clamp(var(--ds-text-2xl), 3vw, var(--ds-text-3xl)); }
body.ds-modern-site h3 { font-size: var(--ds-text-xl); }
body.ds-modern-site h4 { font-size: var(--ds-text-lg); }
body.ds-modern-site h5 { font-size: var(--ds-text-base); }
body.ds-modern-site h6 { font-size: var(--ds-text-sm); }

.d-none { display: none !important; }
.d-block { display: block !important; }

body.ds-modern-site .ds-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.ds-modern-site .ds-main {
    flex: 1;
}

body.ds-modern-site img {
    max-width: 100%;
    height: auto;
}

body.ds-modern-site .alert {
    padding: 0.875rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

body.ds-modern-site .alert-success {
    color: #166534;
    background: #dcfce7;
    border-color: #bbf7d0;
}

body.ds-modern-site .alert-danger {
    color: #991b1b;
    background: #fee2e2;
    border-color: #fecaca;
}

/* Form utilities (public pages) */
body.ds-modern-site .mb-3 {
    margin-bottom: 1rem;
}

body.ds-modern-site .form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: var(--ds-text-sm);
    color: #334155;
}

body.ds-modern-site .text-danger {
    color: #dc2626;
}

/* Hide legacy chrome when modern layout is active */
body.ds-modern-site .header.header-two,
body.ds-modern-site .slider.rs-slider,
body.ds-modern-site #footer {
    display: none !important;
}

/* ── Header ── */
.ds-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ds-border);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.ds-header-inner {
    display: flex;
    align-items: center;
    min-height: var(--ds-header-h);
    gap: 1.25rem;
}

.ds-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 0;
    height: calc(var(--ds-header-h) - 24px);
}

.ds-logo img {
    height: 100%;
    width: auto;
    max-width: min(210px, 42vw);
    object-fit: contain;
    object-position: left center;
    display: block;
}

.ds-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ds-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    margin-left: auto;
}

@media (min-width: 992px) {
    .ds-nav-toggle {
        display: none !important;
    }
}

.ds-nav-toggle span {
    display: block;
    height: 2px;
    width: 20px;
    margin: 0 auto;
    background: var(--ds-dark);
    border-radius: 2px;
    transition: 0.2s ease;
}

.ds-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ds-nav-toggle.open span:nth-child(2) { opacity: 0; }
.ds-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ds-nav {
    display: none;
}

@media (min-width: 992px) {
    .ds-nav {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
        gap: 0.75rem;
    }

    .ds-nav-list {
        flex: 1;
        justify-content: center;
    }
}

.ds-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.15rem;
}

.ds-nav-list a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    color: #334155;
    font-weight: 600;
    font-size: var(--ds-text-sm);
    line-height: var(--ds-leading-snug);
    text-decoration: none;
    transition: 0.2s ease;
    white-space: nowrap;
}

.ds-nav-list a:hover,
.ds-nav-list a.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--ds-primary);
}

.ds-nav-item {
    position: relative;
    list-style: none;
}

.ds-nav-parent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    color: #334155;
    font-weight: 600;
    font-size: var(--ds-text-sm);
    line-height: var(--ds-leading-snug);
    text-decoration: none;
    transition: 0.2s ease;
    white-space: nowrap;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.ds-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    color: #334155;
    font-weight: 600;
    font-size: var(--ds-text-sm);
    line-height: var(--ds-leading-snug);
    text-decoration: none;
    transition: 0.2s ease;
    white-space: nowrap;
}

.ds-nav-link:hover,
.ds-nav-link.active,
.ds-nav-parent[aria-expanded="true"] {
    background: rgba(37, 99, 235, 0.1);
    color: var(--ds-primary);
}

.ds-nav-caret {
    font-size: 0.7rem;
    margin-left: 0.35rem;
    opacity: 1;
    color: var(--ds-primary);
    transition: transform 0.2s ease;
}

.ds-nav-item.has-sub > .ds-nav-parent .ds-nav-caret {
    display: inline-block;
}

.ds-nav-submenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    color: #334155;
    font-weight: 600;
    font-size: var(--ds-text-sm);
    text-decoration: none;
    transition: 0.2s ease;
}

.ds-nav-submenu a:hover,
.ds-nav-submenu a.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--ds-primary);
}

.ds-nav-sub-arrow {
    font-size: 0.75rem;
    color: var(--ds-muted);
    opacity: 0.55;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.ds-nav-submenu a:hover .ds-nav-sub-arrow,
.ds-nav-submenu a.active .ds-nav-sub-arrow {
    opacity: 1;
    color: var(--ds-primary);
}

@media (min-width: 992px) {
    .ds-nav-sub-arrow {
        opacity: 0.45;
    }
}

.ds-nav-item.has-sub.open > .ds-nav-parent .ds-nav-caret,
.ds-nav-item.has-sub:hover > .ds-nav-parent .ds-nav-caret {
    transform: rotate(180deg);
}

.ds-nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0.35rem;
    display: none;
}

.ds-nav-submenu a.ds-nav-overview {
    font-weight: 700;
    border-bottom: 1px solid var(--ds-border);
    margin-bottom: 0.15rem;
    border-radius: 10px 10px 0 0;
}

@media (min-width: 992px) {
    .ds-nav-item.has-sub:hover > .ds-nav-submenu,
    .ds-nav-item.has-sub:focus-within > .ds-nav-submenu {
        display: block;
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 0;
        min-width: 210px;
        background: #fff;
        border: 1px solid var(--ds-border);
        border-radius: 14px;
        box-shadow: var(--ds-shadow);
        z-index: 1001;
    }
}

@media (max-width: 991px) {
    .ds-nav-item.has-sub.open > .ds-nav-submenu {
        display: block;
        padding-left: 0.75rem;
        margin-top: 0.15rem;
    }

    .ds-nav-parent {
        width: 100%;
        justify-content: space-between;
        border-radius: 10px;
    }
}

.ds-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

.ds-header-login {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    box-shadow: none;
}

.ds-header-login:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.ds-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent));
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
}

.ds-header-cta i {
    font-size: 0.8rem;
}

@media (max-width: 1199px) {
    .ds-header-cta span {
        display: none;
    }

    .ds-header-cta {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* Row helpers (Bootstrap 3 compatible) */
.ds-row-gap > [class*="col-"] {
    margin-bottom: 1.5rem;
}

.ds-row-gap > [class*="col-"] > .ds-service-card,
.ds-row-gap > [class*="col-"] > .ds-blog-card,
.ds-row-gap > [class*="col-"] > article.ds-service-card-page {
    height: 100%;
}

/* ── Hero ── */
.ds-hero-carousel {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    max-height: 520px;
    background: var(--ds-dark);
}

.ds-hero-carousel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ds-primary), var(--ds-accent), var(--ds-primary));
    z-index: 3;
}

.ds-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease;
    z-index: 0;
}

.ds-hero-slide > .container {
    width: 100%;
}

.ds-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.ds-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.62) 42%, rgba(15, 23, 42, 0.3) 100%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.25) 0%, transparent 45%);
}

.ds-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 2rem 0;
    color: #fff;
}

.ds-hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    font-size: var(--ds-text-xs);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ds-hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    line-height: 1.12;
    font-weight: 700;
    margin: 0 0 0.85rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.ds-hero-content p {
    font-size: clamp(var(--ds-text-md), 2vw, var(--ds-text-lg));
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.5rem;
    max-width: 580px;
    line-height: var(--ds-leading);
}

.ds-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ds-hero-arrow:hover {
    background: var(--ds-primary);
    border-color: var(--ds-primary);
    transform: translateY(-50%) scale(1.05);
}

.ds-hero-prev {
    left: clamp(0.75rem, 2vw, 1.5rem);
}

.ds-hero-next {
    right: clamp(0.75rem, 2vw, 1.5rem);
}

.ds-hero-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.25rem;
    display: flex;
    gap: 0.5rem;
    z-index: 4;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
}

.ds-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.2s ease;
}

.ds-hero-dot.active {
    background: #fff;
    transform: scale(1.25);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

/* ── Buttons ── */
.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: var(--ds-text-sm);
    text-decoration: none;
    border: 2px solid transparent;
    transition: 0.2s ease;
    cursor: pointer;
}

.ds-btn-primary {
    background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent));
    color: #fff !important;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

.ds-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45);
}

.ds-btn-outline {
    border-color: var(--ds-primary);
    color: var(--ds-primary) !important;
    background: transparent;
}

.ds-btn-outline:hover {
    background: var(--ds-primary);
    color: #fff !important;
}

.ds-btn-block {
    width: 100%;
}

.ds-btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

/* Inner page banner */
.ds-page-banner {
    position: relative;
    min-height: 260px;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ds-page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(37, 99, 235, 0.35) 100%),
        radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.3) 0%, transparent 40%);
    z-index: 1;
}

.ds-page-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ds-primary), var(--ds-accent));
    z-index: 2;
}

.ds-page-banner-gradient {
    background: linear-gradient(135deg, var(--ds-dark) 0%, var(--ds-primary) 55%, var(--ds-accent) 100%);
}

.ds-page-banner-gradient::before {
    background:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 38%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.04) 100%);
}

.ds-page-banner .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.ds-page-banner-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: var(--ds-text-sm);
    margin-bottom: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
}

.ds-page-banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ds-page-banner-breadcrumb a:hover {
    color: #fff;
}

.ds-page-banner-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
}

.ds-page-banner-breadcrumb .current {
    color: #fff;
    font-weight: 600;
}

.ds-page-banner-content {
    padding: 0.25rem 0 0.5rem;
    color: #fff;
    max-width: 760px;
    border-left: 4px solid rgba(255, 255, 255, 0.35);
    padding-left: 1.25rem;
}

.ds-page-banner-content h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(var(--ds-text-2xl), 3.5vw, var(--ds-text-3xl));
    font-weight: 700;
    line-height: var(--ds-leading-tight);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ds-page-banner-content p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--ds-text-md);
    max-width: 580px;
    line-height: var(--ds-leading);
}

@media (max-width: 767px) {
    .ds-page-banner {
        min-height: 200px;
    }

    .ds-page-banner-content {
        text-align: center;
        border-left: none;
        padding-left: 0;
    }

    .ds-page-banner-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .ds-page-banner-breadcrumb {
        justify-content: center;
    }

    .ds-nav-sub-arrow {
        opacity: 0.7;
    }
}

/* ── Sections ── */
.ds-section {
    padding: 5rem 0;
}

.ds-section-alt {
    background: var(--ds-light);
}

.ds-section-dark {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
}

.ds-section-head {
    margin-bottom: 2.5rem;
}

.ds-section-head h2 {
    font-size: clamp(var(--ds-text-2xl), 3.2vw, var(--ds-text-3xl));
    font-weight: 800;
    margin: 0.35rem 0 0.85rem;
    letter-spacing: -0.02em;
}

.ds-section-head p {
    color: var(--ds-muted);
    margin: 0;
    max-width: 620px;
    font-size: var(--ds-text-md);
    line-height: var(--ds-leading);
}

.ds-section-head.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.ds-section-dark .ds-section-head h2 {
    color: #fff;
}

.ds-section-dark .ds-section-head p {
    color: #94a3b8;
}

.ds-label {
    display: block;
    font-size: var(--ds-text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ds-primary);
    margin-bottom: 0.4rem;
}

/* Prevent legacy Bootstrap button styles on nav links */
body.ds-modern-site .ds-nav-list a.btn {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0.85rem;
    font-size: var(--ds-text-sm);
    line-height: var(--ds-leading-snug);
}

.ds-label-light {
    color: #93c5fd;
}

.ds-lead {
    font-size: var(--ds-text-lg);
    color: #475569;
    margin-bottom: 1rem;
    line-height: var(--ds-leading);
}

.ds-prose {
    color: #475569;
    margin-bottom: 1.5rem;
    font-size: var(--ds-text-md);
    line-height: var(--ds-leading);
}

.ds-prose p {
    margin-bottom: 1rem;
}

.ds-intro-image {
    border-radius: var(--ds-radius);
    overflow: hidden;
    box-shadow: var(--ds-shadow);
    border: 1px solid var(--ds-border);
}

.ds-section-intro .row {
    align-items: center;
}

.ds-section-intro .ds-section-head {
    margin-bottom: 1.25rem;
}

.ds-section-intro .col-lg-7,
.ds-section-intro .col-md-7 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.ds-section-intro .col-lg-5,
.ds-section-intro .col-md-5 {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .ds-section-intro .ds-intro-image {
        margin-left: 1rem;
    }
}

/* ── Portfolio ── */
.ds-portfolio-grid {
    row-gap: 1.5rem;
}

.ds-portfolio-card {
    display: block;
    background: #fff;
    border-radius: var(--ds-radius);
    overflow: hidden;
    border: 1px solid var(--ds-border);
    box-shadow: var(--ds-shadow);
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ds-portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.ds-portfolio-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e2e8f0;
}

.ds-portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ds-portfolio-card:hover .ds-portfolio-image img {
    transform: scale(1.05);
}

.ds-portfolio-body {
    padding: 1.1rem 1.25rem 1.25rem;
}

.ds-portfolio-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
}

.ds-portfolio-body p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ds-muted);
}

/* ── Services ── */
.ds-service-card {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--ds-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ds-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.ds-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent));
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}

.ds-service-card h3 {
    font-size: var(--ds-text-xl);
    font-weight: 700;
    margin: 0 0 0.65rem;
}

.ds-service-card p {
    color: var(--ds-muted);
    font-size: var(--ds-text-sm);
    margin: 0 0 1rem;
    line-height: var(--ds-leading);
}

.ds-link {
    color: var(--ds-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: var(--ds-text-sm);
}

.ds-link:hover {
    text-decoration: underline;
}

/* ── Services page ── */
.ds-services-page {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 120px);
}

.ds-services-page .ds-section-head {
    margin-bottom: 2rem;
}

.ds-services-intro {
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.ds-service-card-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ds-service-card-page .ds-service-icon {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
}

.ds-service-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.1rem;
    background: #e2e8f0;
}

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

.ds-service-card-page:hover .ds-service-card-image img {
    transform: scale(1.04);
}

.ds-service-card-page h3 {
    font-size: 1.15rem;
}

.ds-service-card-page p {
    flex: 1;
    line-height: 1.65;
}

.ds-service-card-page .ds-btn {
    margin-top: auto;
}

.ds-services-cta {
    margin-top: 3rem;
}

.ds-services-cta-inner {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--ds-radius);
    background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent));
    color: #fff;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25);
}

.ds-services-cta-inner h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.ds-services-cta-inner p {
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.ds-services-cta-inner .ds-btn-primary {
    background: #fff;
    color: var(--ds-primary) !important;
    box-shadow: none;
}

.ds-services-cta-inner .ds-btn-primary:hover {
    background: #f1f5f9;
}

/* ── About page ── */
.ds-page-crumb {
    padding: 1rem 0 0;
    background: var(--ds-light);
}

.ds-about-page {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ds-about-head {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ds-section-subtitle {
    max-width: 560px;
    margin: 0.75rem auto 0;
    color: var(--ds-muted);
    font-size: var(--ds-text-md);
}

.ds-about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.ds-about-badge {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.ds-about-copy {
    color: #475569;
    margin-bottom: 1.5rem;
}

.ds-about-copy p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.ds-about-copy .ds-lead {
    font-size: 1.08rem;
    color: #334155;
}

.ds-about-tagline {
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--ds-primary);
    background: rgba(37, 99, 235, 0.06);
    border-radius: 0 var(--ds-radius-sm) var(--ds-radius-sm) 0;
    color: #1e293b;
}

.ds-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ds-about-intro-media {
    position: relative;
}

.ds-about-image {
    position: relative;
    border-radius: var(--ds-radius);
    overflow: hidden;
    border: 1px solid var(--ds-border);
    box-shadow: var(--ds-shadow);
    background: #fff;
}

.ds-about-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.ds-about-image-glow {
    position: absolute;
    inset: auto -12% -12% -12%;
    height: 40%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(124, 58, 237, 0.2));
    filter: blur(28px);
    z-index: -1;
    pointer-events: none;
}

.ds-about-float-card {
    position: absolute;
    left: -1rem;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    max-width: min(100%, 240px);
}

.ds-about-float-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ds-about-float-card strong {
    display: block;
    font-size: 0.9rem;
    color: #1e293b;
    line-height: 1.3;
}

.ds-about-float-card span {
    display: block;
    font-size: 0.78rem;
    color: var(--ds-muted);
    line-height: 1.35;
}

.ds-about-values {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.ds-about-values-head {
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.ds-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.ds-about-stat {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 1.5rem 1.25rem;
    height: 100%;
    text-align: center;
    box-shadow: var(--ds-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ds-about-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    border-color: rgba(37, 99, 235, 0.25);
}

.ds-about-stat-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent));
    color: #fff;
    font-size: 1.2rem;
}

.ds-about-stat h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}

.ds-about-stat p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ds-muted);
    line-height: 1.6;
}

.ds-about-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ds-about-card {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: var(--ds-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ds-about-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.ds-about-card-accent {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.ds-about-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--ds-primary);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.ds-about-card h3 {
    margin: 0.35rem 0 0.85rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ds-about-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.ds-about-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ds-about-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: #475569;
    line-height: 1.65;
}

.ds-about-list li:last-child {
    margin-bottom: 0;
}

.ds-about-list li i {
    color: #22c55e;
    margin-top: 4px;
    flex-shrink: 0;
}

.ds-about-cta {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.ds-about-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    text-align: left;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: var(--ds-radius);
    background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent));
    color: #fff;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25);
}

.ds-about-cta-copy h3 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: #fff;
}

.ds-about-cta-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
}

.ds-about-cta-inner .ds-btn-primary {
    background: #fff;
    color: var(--ds-primary) !important;
    box-shadow: none;
    white-space: nowrap;
}

.ds-about-cta-inner .ds-btn-primary:hover {
    background: #f1f5f9;
}

@media (max-width: 991px) {
    .ds-about-intro-grid {
        grid-template-columns: 1fr;
    }

    .ds-about-intro-media {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .ds-about-float-card {
        left: 0.75rem;
        bottom: 0.75rem;
    }

    .ds-about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ds-about-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .ds-about-stats-grid {
        grid-template-columns: 1fr;
    }

    .ds-about-actions {
        flex-direction: column;
    }

    .ds-about-actions .ds-btn {
        width: 100%;
        justify-content: center;
    }

    .ds-about-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .ds-about-cta-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .ds-about-float-card {
        position: static;
        margin-top: 1rem;
        max-width: none;
    }
}

.ds-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--ds-muted);
}

.ds-empty-state i {
    font-size: 2.5rem;
    color: var(--ds-border);
    margin-bottom: 1rem;
    display: block;
}

body.ds-modern-site .ds-services-page + #main,
body.ds-modern-site #main .ds-services-page {
    padding: 0;
}

@media (max-width: 767px) {
    .ds-services-page {
        padding: 2rem 0 3rem;
    }

    .ds-service-card-page {
        align-items: stretch;
        text-align: center;
    }

    .ds-service-card-page .ds-service-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .ds-service-card-page .ds-btn {
        align-self: center;
    }
}

/* ── Blog ── */
.ds-blog-page {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100px);
}

.ds-blog-card {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    overflow: hidden;
    box-shadow: var(--ds-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ds-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.ds-blog-card-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #e2e8f0;
}

.ds-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ds-blog-card:hover .ds-blog-card-image img {
    transform: scale(1.04);
}

.ds-blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff, #f1f5f9);
    color: var(--ds-primary);
    font-size: 2.5rem;
}

.ds-blog-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ds-blog-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ds-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ds-blog-card-body h3 {
    margin: 0.35rem 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.ds-blog-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.ds-blog-card-body h3 a:hover {
    color: var(--ds-primary);
}

.ds-blog-card-body p {
    color: var(--ds-muted);
    font-size: 0.9rem;
    margin: 0 0 1rem;
    flex: 1;
}

.ds-blog-single {
    padding: 2.5rem 0 4rem;
}

.ds-blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--ds-muted);
    margin-bottom: 0.75rem;
}

.ds-blog-article-meta i {
    color: var(--ds-primary);
    margin-right: 0.25rem;
}

.ds-blog-article h1 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.ds-blog-article-image {
    border-radius: var(--ds-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--ds-shadow);
}

.ds-blog-article-image img {
    width: 100%;
    display: block;
}

.ds-blog-lead {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.ds-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.ds-blog-back {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ds-border);
}

.ds-blog-sidebar {
    position: sticky;
    top: calc(var(--ds-header-h) + 1rem);
}

/* AdSense */
.ds-adsense {
    margin: 1.5rem 0;
    text-align: center;
    min-height: 90px;
}

.ds-adsense-footer {
    margin: 0 0 1rem;
}

/* ── Contact page ── */
.ds-contact-page {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 120px);
}

/* ── Legal / policy pages ── */
.ds-legal-page {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 160px);
}

.ds-legal-card {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 2rem 2.25rem;
    box-shadow: var(--ds-shadow);
}

.ds-legal-card section {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--ds-border);
}

.ds-legal-card section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ds-legal-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--ds-dark);
    letter-spacing: -0.01em;
}

.ds-legal-card p,
.ds-legal-card li {
    color: #475569;
    line-height: 1.75;
}

.ds-legal-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.ds-legal-card ul li {
    margin-bottom: 0.45rem;
}

.ds-legal-group-title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ds-dark);
}

.ds-sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ds-sitemap-list li {
    margin-bottom: 0.5rem;
}

.ds-sitemap-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--ds-radius-sm);
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.ds-sitemap-list a:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--ds-primary);
}

.ds-sitemap-list a i {
    color: var(--ds-primary);
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    .ds-legal-card {
        padding: 1.5rem 1.25rem;
    }
}

.ds-contact-info-card,
.ds-contact-form-card {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 1.75rem;
    box-shadow: var(--ds-shadow);
    height: 100%;
}

.ds-contact-info-card h3,
.ds-contact-form-card h3 {
    margin: 0 0 1.25rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.ds-contact-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ds-contact-info-card li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #475569;
    font-size: 0.95rem;
}

.ds-contact-info-card i {
    color: var(--ds-primary);
    width: 18px;
    margin-top: 3px;
}

.ds-contact-info-card a {
    color: inherit;
    text-decoration: none;
}

.ds-contact-info-card a:hover {
    color: var(--ds-primary);
}

.ds-contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.ds-contact-form .form-control {
    border-radius: var(--ds-radius-sm);
    border-color: var(--ds-border);
}

.ds-contact-form .form-control:focus {
    border-color: var(--ds-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#contactAlert {
    border-radius: 10px;
}

/* ── Pricing ── */
.ds-pricing-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--ds-radius);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.ds-pricing-card.featured {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(147, 197, 253, 0.5);
    transform: scale(1.03);
}

.ds-pricing-card h3 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.ds-price {
    margin-bottom: 1.25rem;
}

.ds-price-label {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ds-price strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.ds-price-suffix {
    font-size: 0.85rem;
    color: #94a3b8;
}

.ds-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.ds-pricing-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #cbd5e1;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.ds-pricing-features i {
    color: #34d399;
    margin-top: 3px;
}

/* ── Inner pages ── */
body.ds-modern-site .breadcrumb-box {
    background: var(--ds-light);
    border-bottom: 1px solid var(--ds-border);
    padding: 0.85rem 0;
    margin: 0;
}

body.ds-modern-site .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
}

body.ds-modern-site .breadcrumb > li + li:before {
    color: var(--ds-muted);
}

body.ds-modern-site .page-header {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--ds-border);
    padding: 2.5rem 0;
    margin-bottom: 0;
}

body.ds-modern-site .page-header .title {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.ds-modern-site #main {
    padding: 2.5rem 0 4rem;
}

body.ds-modern-site #main .container {
    max-width: var(--ds-container-max);
}

body.ds-modern-site .big-services-box {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--ds-shadow);
    height: calc(100% - 1.5rem);
}

body.ds-modern-site .big-icon.bg,
body.ds-modern-site .big-icon.border {
    border-radius: 14px !important;
}

body.ds-modern-site .big-icon.bg {
    background: linear-gradient(135deg, var(--ds-primary), var(--ds-accent)) !important;
}

body.ds-modern-site .contact-info,
body.ds-modern-site .content {
    font-size: 0.95rem;
}

body.ds-modern-site .form-control {
    border-radius: var(--ds-radius-sm);
    border-color: var(--ds-border);
    padding: 0.7rem 0.9rem;
    font-size: var(--ds-text-base);
    line-height: var(--ds-leading-snug);
    box-shadow: none;
}

body.ds-modern-site .form-control:focus {
    border-color: var(--ds-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

body.ds-modern-site .btn-primary {
    background: var(--ds-primary);
    border-color: var(--ds-primary);
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}

/* ── Footer ── */
.ds-footer {
    background: #111827;
    color: #9ca3af;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ds-footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    padding: clamp(3rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 2.5rem);
}

.ds-footer-brand {
    padding-right: 1rem;
}

.ds-footer-logo {
    display: inline-block;
    margin-bottom: 1.15rem;
}

.ds-footer-logo img {
    max-width: min(200px, 100%);
    height: auto;
    display: block;
}

.ds-footer-desc {
    margin: 0 0 1.35rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #9ca3af;
    max-width: 320px;
}

.ds-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ds-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ds-footer-social a:hover {
    background: var(--ds-primary);
    border-color: var(--ds-primary);
    color: #fff;
}

.ds-footer-heading {
    margin: 0 0 1.15rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f9fafb;
}

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

.ds-footer-links li + li {
    margin-top: 0.55rem;
}

.ds-footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: color 0.15s ease;
}

.ds-footer-links a:hover {
    color: #fff;
}

.ds-footer-note {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b7280;
}

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

.ds-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #9ca3af;
}

.ds-footer-contact li + li {
    margin-top: 0.85rem;
}

.ds-footer-contact i {
    width: 16px;
    margin-top: 3px;
    color: var(--ds-primary);
    flex-shrink: 0;
    text-align: center;
}

.ds-footer-contact a {
    color: #d1d5db;
    text-decoration: none;
    word-break: break-word;
}

.ds-footer-contact a:hover {
    color: #fff;
}

.ds-footer-text.ds-prose {
    color: #9ca3af;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.ds-footer-text.ds-prose p {
    margin: 0 0 0.65rem;
}

.ds-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ds-footer-copy {
    margin: 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.ds-back-top {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.ds-back-top:hover {
    background: var(--ds-primary);
    border-color: var(--ds-primary);
    color: #fff;
}

/* Legacy .ds-social used elsewhere on site */
.ds-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ds-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ds-social a:hover {
    background: var(--ds-primary);
    border-color: var(--ds-primary);
}

@media (max-width: 991px) {
    .ds-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ds-footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        max-width: 480px;
    }
}

@media (max-width: 575px) {
    .ds-footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 2.5rem;
    }

    .ds-footer-brand {
        text-align: center;
        max-width: none;
    }

    .ds-footer-logo {
        display: block;
    }

    .ds-footer-logo img {
        margin-left: auto;
        margin-right: auto;
    }

    .ds-footer-desc {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .ds-footer-social {
        justify-content: center;
    }

    .ds-footer-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* ── WhatsApp ── */
.ds-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.ds-whatsapp-float:hover {
    transform: scale(1.06);
    color: #fff !important;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .ds-nav-toggle {
        display: flex;
    }

    .ds-nav {
        display: flex;
        position: fixed;
        top: var(--ds-header-h);
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--ds-border);
        box-shadow: var(--ds-shadow);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem var(--ds-gutter);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: 0.25s ease;
        z-index: 999;
        max-height: calc(100vh - var(--ds-header-h));
        overflow-y: auto;
    }

    .ds-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .ds-nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        justify-content: flex-start;
    }

    .ds-nav-list a {
        border-radius: 10px;
        padding: 0.75rem 1rem;
        white-space: normal;
    }

    .ds-header-actions {
        margin: 0.75rem 0 0;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .ds-header-login,
    .ds-header-cta {
        justify-content: center;
        width: 100%;
    }

    .ds-header-cta span {
        display: inline;
    }

    .ds-header-cta {
        width: 100%;
        height: auto;
        border-radius: 999px;
        padding: 0.65rem 1rem;
    }

    .ds-hero-carousel {
        min-height: 340px;
        max-height: 400px;
    }

    .ds-hero-arrow {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }

    .ds-hero-content {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .ds-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .ds-section {
        padding: 3.5rem 0;
    }

    .ds-pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 767px) {
    :root {
        --ds-header-h: 72px;
    }

    .ds-logo img {
        max-width: 160px;
    }

    .ds-section-intro .col-lg-5,
    .ds-section-intro .col-md-5 {
        margin-top: 1.5rem;
    }
}
