:root {
    --primary: #1d4ed8;
    --primary-dark: #1e3a8a;
    --accent: #0ea5e9;
    --navy: #0a1628;
    --navy-mid: #132337;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --nav-h: 78px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, h4 {
    font-family: 'Outfit', system-ui, sans-serif;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.02em;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: min(1120px, 90%);
    margin-inline: auto;
}

.section { padding: 100px 0; }

.section.bg-white{
    background: #fff;
}

.eyebrow {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.85rem, 3.4vw, 2.65rem);
    font-weight: 700;
    margin-bottom: 14px;
}

.section-lead {
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 52px;
    font-size: 1.05rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 14px 28px;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 28px rgba(29, 78, 216, 0.28);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ——— Navbar ——— */
.navbar {
    position: fixed;
    inset: 0 0 auto;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 24px rgba(10, 22, 40, 0.06);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy);
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;            
}

.logo .brand-name span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text);
    padding: 10px 14px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(29, 78, 216, 0.06);
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(29, 78, 216, 0.1);
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 11px 20px !important;
    border-radius: 10px !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

.nav-toggle {
    display: none;
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
}

.nav-toggle-bar {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.28s var(--ease), opacity 0.2s ease, top 0.28s var(--ease);
}

.nav-toggle-bar:nth-child(1) { top: 14px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--nav-h) + 40px) 0 72px;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.72) 48%, rgba(29, 78, 216, 0.45) 100%),
        url('../images/hero-background.png') center/cover no-repeat;
    z-index: 0;
    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    color: #7dd3fc;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.35);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
    animation: fadeUp 0.7s var(--ease) both;
}

.hero h1 {
    font-size: clamp(2.5rem, 5.8vw, 4.1rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    animation: fadeUp 0.7s 0.1s var(--ease) both;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #38bdf8, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero > .container > .hero-content > p {
    font-size: 1.12rem;
    color: #cbd5e1;
    max-width: 520px;
    margin-bottom: 32px;
    animation: fadeUp 0.7s 0.2s var(--ease) both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: fadeUp 0.7s 0.3s var(--ease) both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ——— Coming Soon page template ——— */
.coming-soon-body {
    color: #e2e8f0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse 80% 55% at 72% 12%, rgba(14, 165, 233, 0.24), transparent 55%),
        radial-gradient(ellipse 70% 50% at 12% 88%, rgba(29, 78, 216, 0.3), transparent 52%),
        linear-gradient(165deg, #07101c 0%, #0a1628 28%, #132337 55%, #0a1628 78%, #07101c 100%);
    background-attachment: fixed;
}

.coming-soon-body .go-top {
    display: none !important;
}

.cs-brandbar {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    padding: 28px 0 0;
    background: transparent;
}

.admin-bar .cs-brandbar {
    padding-top: calc(28px + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .cs-brandbar {
        padding-top: calc(28px + 46px);
    }
}

.cs-brandbar .cs-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: max(5%, calc((100% - 1120px) / 2));
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.cs-brandbar .cs-logo img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.cs-brandbar .brand-name span {
    color: #7dd3fc;
}

.cs-page {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    padding: 48px 0 56px;
    background: transparent;
    overflow: hidden;
}

.cs-bg {
    display: none;
}

.cs-shell {
    position: relative;
    z-index: 1;
    width: min(1080px, 90%);
    margin-inline: auto;
    text-align: center;
}

.cs-eyebrow {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 18px;
}

.cs-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    max-width: 16ch;
    margin: 0 auto 18px;
    letter-spacing: -0.03em;
}

.cs-title em {
    font-style: normal;
    background: linear-gradient(90deg, #38bdf8, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cs-lead {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 42ch;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.cs-services {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 0 44px;
    text-align: left;
}

.cs-service {
    display: block;
    height: 100%;
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
    transition: transform 0.25s var(--ease), border-color 0.2s ease, background 0.2s ease;
}

.cs-service:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(125, 211, 252, 0.35);
}

.cs-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: #7dd3fc;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.35), rgba(14, 165, 233, 0.2));
}

.cs-service h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.cs-service p {
    font-size: 0.94rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

.cs-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.coming-soon-body .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: transparent;
}

.coming-soon-body .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

.cs-legal {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    text-align: center;
    padding: 0 5% 28px;
    font-size: 0.85rem;
    color: #64748b;
    background: transparent;
    margin: 0;
}

@media (max-width: 900px) {
    .cs-services {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto 0;
        margin-left: auto;
        margin-right: auto;
    }

    .cs-service {
        text-align: center;
    }

    .cs-service-icon {
        margin-inline: auto;
    }
}

@media (max-width: 600px) {
    .cs-brandbar {
        padding-top: 20px;
    }

    .cs-page {
        padding: 36px 0 56px;
        align-items: flex-start;
    }

    .cs-lead {
        margin-bottom: 36px;
    }
}

/* Legacy coming-soon block (if used outside the page template) */
.coming-soon .hero-content {
    max-width: 720px;
}

.coming-soon-services {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 0 0 32px;
    max-width: 560px;
}

.coming-soon-service {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s var(--ease);
}

.coming-soon-service:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(125, 211, 252, 0.35);
    transform: translateY(-2px);
}

.coming-soon-service-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #7dd3fc;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.28), rgba(14, 165, 233, 0.22));
}

.coming-soon-service strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.coming-soon-service span {
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #94a3b8;
}

/* ——— Services ——— */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 26px;
    transition: all 400ms ease-in-out;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10, 22, 40, 0.1);
    border-color: rgba(29, 78, 216, 0.3);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(14, 165, 233, 0.14));
    display: grid;
    place-items: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.94rem;
    color: var(--muted);
}

/* ——— Work Process ——— */
.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    counter-reset: none;
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 4%;
    right: 4%;
    height: 2px;
    background: linear-gradient(90deg, rgba(29, 78, 216, 0.15), rgba(14, 165, 233, 0.35), rgba(29, 78, 216, 0.15));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
}

.process-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--primary);
    background: var(--surface);
    border: 2px solid rgba(29, 78, 216, 0.2);
    box-shadow: 0 10px 24px rgba(10, 22, 40, 0.06);
}

.process-step-body h3 {
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.process-step-body p {
    font-size: 0.94rem;
    color: var(--muted);
    max-width: 26ch;
}

/* ——— About ——— */
.about {
    background: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
    display: none;
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 20px 50px rgba(10, 22, 40, 0.14);
}

.about-visual img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 18px;
}

.about-accent {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.15;
    z-index: 0;
    bottom: 12px;
    right: 12px;
    pointer-events: none;
}

.about-list {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.about-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.about-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.about-list strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
}

.about-list p {
    font-size: 0.94rem;
    color: var(--muted);
}

@media( min-width: 960px){
    .about-grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 64px;
        align-items: center;
    }

    .about-visual {
        position: relative;
        display: block;
    }
}

/* ——— Work ——— */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.work-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    max-height: 300px;
}

.work-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.work-card:hover img {
    transform: scale(1.07);
}

.work-meta {
    position: absolute;
    inset: auto 0 0;
    padding: 48px 22px 22px;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.92), transparent);
    color: #fff;
}

.work-meta span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 4px;
}

.work-meta h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

@media( min-width: 960px){
    .work-card {
        max-height: 600px;
    }
}



/* ——— Testimonials ——— */
.testimonials {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(29, 78, 216, 0.35), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(14, 165, 233, 0.2), transparent 45%),
        var(--navy);
    color: #fff;
}

.testimonials .section-title { color: #fff; }
.testimonials .section-lead { color: #94a3b8; }
.testimonials .eyebrow { color: #7dd3fc; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(125, 211, 252, 0.35);
}

.stars { color: #fbbf24; display: flex; gap: 3px; }

.testimonial-card blockquote {
    font-size: 0.98rem;
    color: #dbe4f0;
    flex: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.author strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
}

.author span {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ——— Contact ——— */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: start;
}

.contact-info {
    margin-top: 28px;
    display: grid;
    gap: 22px;
}

.contact-info li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(29, 78, 216, 0.08);
    display: grid;
    place-items: center;
    color: var(--primary);
}

.contact-info strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
}

.contact-info span {
    color: var(--muted);
    font-size: 0.94rem;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 16px 40px rgba(10, 22, 40, 0.08);
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 7px;
}

.field input,
.field textarea {
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

/* ——— Footer ——— */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer {
    background: #060e1a;
    color: #94a3b8;
    padding: 64px 0 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.3fr;
    gap: 40px 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.footer .logo { color: #fff; }

.footer-tagline {
    max-width: 300px;
    margin-top: 14px;
    font-size: 0.9rem;
}

.footer-heading {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e2e8f0;
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover { color: #7dd3fc; }

.footer-social {
    margin-top: 28px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #e2e8f0;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.25s var(--ease);
}

.social-links a:hover {
    color: #fff;
    border-color: #7dd3fc;
    background: rgba(14, 165, 233, 0.12);
    transform: translateY(-2px);
}

.social-links a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.footer-newsletter-text {
    font-size: 0.92rem;
    margin-bottom: 16px;
    max-width: 340px;
}

.newsletter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-row input {
    flex: 1 1 180px;
    min-width: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.98rem;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-row input::placeholder {
    color: #64748b;
}

.newsletter-row input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.newsletter-form .btn {
    padding: 12px 22px;
    white-space: nowrap;
}

.newsletter-status {
    min-height: 1.25em;
    margin-top: 10px;
    font-size: 0.88rem;
    color: #7dd3fc;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.86rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
}

.footer-legal li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    margin: 0 14px;
    background: rgba(148, 163, 184, 0.35);
    vertical-align: middle;
}

.footer-legal a {
    font-size: 0.86rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-legal a:hover { color: #7dd3fc; }

.footer-legal a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ——— Go to top ——— */
.go-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 28px rgba(29, 78, 216, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s ease;
}

.go-top.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.go-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.go-top:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ——— Reveal ——— */
.reveal {
    opacity: 1;
    transform: none;
}

/* GSAP scroll stage — 3D context */
.js-gsap main,
.js-gsap .section,
.js-gsap .hero,
.js-gsap .services-grid,
.js-gsap .work-grid,
.js-gsap .process-steps,
.js-gsap .testimonial-grid,
.js-gsap .contact-grid,
.js-gsap .about-grid,
.js-gsap .hero-content {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.js-gsap .hero-badge,
.js-gsap .hero h1,
.js-gsap .hero > .container > .hero-content > p,
.js-gsap .hero-actions {
    animation: none;
}

.js-gsap .about-visual,
.js-gsap .work-card {
    overflow: hidden;
    transform-style: flat;
}

.js-gsap .about-visual {
    border-radius: 18px;
}

.js-gsap .work-card {
    border-radius: 16px;
}

.js-gsap .about-visual img,
.js-gsap .work-card img {
    transform-origin: center center;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .hero-bg { animation: none; }
    .hero-badge, .hero h1, .hero > .container > .hero-content > p, .hero-actions {
        animation: none;
    }
    .btn, .service-card, .work-card img, .go-top, .social-links a { transition: none; }
}

@media (max-width: 960px) {
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .work-grid { grid-template-columns: 1fr 1fr; }
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
    .process-steps::before { display: none; }
    .process-step-body p { max-width: none; }
    .section { padding: 72px 0; }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .navbar .container > nav {
        position: static;
        width: 0;
        height: 0;
        overflow: visible;
    }

    .logo {
        min-width: 0;
        margin-right: 12px;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 40px rgba(10, 22, 40, 0.12);
        padding: 16px 5% 20px;
        margin: 0;
        text-align: left;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s var(--ease), opacity 0.3s ease;
    }

    .nav-links.open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links > li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 14px 16px;
        text-align: left;
    }

    .nav-cta {
        display: block;
        width: 100%;
        margin: 8px 0 0;
        text-align: center;
        box-sizing: border-box;
    }

    .admin-bar .nav-links {
        top: calc(var(--nav-h) + 46px);
    }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 26px 20px; }
    .work-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-newsletter {
        grid-column: auto;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        justify-content: flex-start;
    }
}
/* ��� WordPress extras ��� */
.admin-bar .navbar { top: 32px; }

@media screen and (max-width: 782px) {
    .admin-bar .navbar { top: 46px; }

    .admin-bar .nav-links {
        top: calc(var(--nav-h) );
    }
}

.nav-links > li { list-style: none; }

.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
    color: var(--primary);
    background: rgba(29, 78, 216, 0.1);
}

.page-content {
    padding-top: calc(var(--nav-h) + 48px);
}

.container.narrow {
    width: min(760px, 90%);
}

.content-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: clamp(28px, 4vw, 48px);
    box-shadow: 0 16px 40px rgba(10, 22, 40, 0.06);
}

.page-header { margin-bottom: 28px; }

.entry-content > *:first-child { margin-top: 0; }

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.1em;
    color: var(--muted);
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.25em;
    list-style: disc;
}

.entry-content h2,
.entry-content h3 {
    margin: 1.6em 0 0.6em;
}

.entry-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-notice {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.94rem;
    margin-bottom: 4px;
}

.form-notice--success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.form-notice--error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.btn-primary {
    color: #fff;
}

.sitemap-list {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.sitemap-list a {
    display: inline-flex;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
}

.sitemap-list a:hover { color: var(--primary); }
