@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

:root {
    --bg: #ffffff;
    --bg2: #f7f8ff;
    --text: #1f2540;
    --muted: #4f5878;
    --line: rgba(63, 13, 148, 0.14);
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(63, 13, 148, 0.16);
    --accent: #3f0d94;
    --accent-2: #ee4968;
    --spotlight: rgba(238, 73, 104, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
    background:
        radial-gradient(
            760px 380px at 10% -5%,
            rgba(63, 13, 148, 0.08),
            transparent 60%
        ),
        radial-gradient(
            700px 360px at 92% 8%,
            rgba(238, 73, 104, 0.1),
            transparent 60%
        ),
        radial-gradient(
            680px 340px at 15% 82%,
            rgba(63, 13, 148, 0.08),
            transparent 68%
        ),
        radial-gradient(
            640px 320px at 86% 76%,
            rgba(238, 73, 104, 0.09),
            transparent 70%
        ),
        linear-gradient(180deg, var(--bg2), var(--bg));
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        radial-gradient(
            42% 30% at 16% 72%,
            rgba(63, 13, 148, 0.11),
            transparent 72%
        ),
        radial-gradient(
            38% 28% at 84% 68%,
            rgba(238, 73, 104, 0.1),
            transparent 72%
        );
    animation: bodyShapeDrift 28s ease-in-out infinite;
}

body::after {
    background:
        radial-gradient(
            28% 24% at 50% 36%,
            rgba(63, 13, 148, 0.07),
            transparent 74%
        ),
        radial-gradient(
            24% 22% at 52% 86%,
            rgba(238, 73, 104, 0.08),
            transparent 72%
        );
    animation: bodyShapeDrift 34s ease-in-out infinite reverse;
}

a {
    color: #3f0d94;
}

.aurora-bg,
.grid-bg {
    pointer-events: none;
    position: fixed;
    inset: 0;
}

.aurora-bg {
    z-index: 0;
}

.aurora-bg::before,
.aurora-bg::after {
    content: "";
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 999px;
    filter: blur(120px);
    opacity: 0.16;
    animation: auroraFloat 22s ease-in-out infinite;
}

.aurora-bg::before {
    background: radial-gradient(
        circle,
        rgba(63, 13, 148, 0.24),
        transparent 60%
    );
    top: -20%;
    left: -10%;
}

.aurora-bg::after {
    background: radial-gradient(
        circle,
        rgba(238, 73, 104, 0.24),
        transparent 60%
    );
    bottom: -25%;
    right: -15%;
    animation-delay: -10s;
}

.grid-bg {
    z-index: 1;
    background-image:
        linear-gradient(rgba(63, 13, 148, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(63, 13, 148, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(
        ellipse at center,
        black 30%,
        transparent 75%
    );
}

.site-main,
.site-header,
.site-footer {
    position: relative;
    z-index: 2;
}

.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(44, 39, 84, 0.06);
    transition: 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(63, 13, 148, 0.22);
}

.nav-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-logo {
    width: auto;
    height: 44px;
    max-width: 15rem;
    opacity: 0.96;
    filter: drop-shadow(0 4px 12px rgba(63, 13, 148, 0.14));
}

.header-cta-group {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.btn {
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.62rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 600;
    transition: 0.25s ease;
    cursor: pointer;
}

.btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(63, 13, 148, 0.22);
}

.btn-solid {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #ffffff;
    border-color: rgba(63, 13, 148, 0.28);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(63, 13, 148, 0.32);
}

.btn-glass {
    color: #2c2562;
    border-color: rgba(63, 13, 148, 0.34);
    background: rgba(63, 13, 148, 0.05);
}

.btn-glass:hover {
    border-color: rgba(63, 13, 148, 0.56);
    background: rgba(63, 13, 148, 0.11);
}

.section {
    padding: 72px 0;
    border-top: 1px solid var(--line);
}

.border-none {
    border-top: 0;
}

.hero-section {
    min-height: min(92vh, 58rem);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(300px, 28rem);
    gap: 2.2rem;
    align-items: start;
}

.kicker,
.tiny-label {
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(44, 39, 84, 0.74);
    margin-bottom: 0.8rem;
}

.pill {
    display: inline-flex;
    border: 1px solid rgba(63, 13, 148, 0.32);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.74rem;
    color: #34156c;
    background: rgba(63, 13, 148, 0.07);
}

.hero-title,
.section-heading,
.contact-form-panel h2,
.pricing-meta h2 {
    font-family: "auto";
    letter-spacing: -0.02em;
}

.hero-title {
    margin-top: 1rem;
    font-size: clamp(2.1rem, 5vw, 4.45rem);
    line-height: 1.03;
    color: #171d38;
    text-wrap: balance;
}

.hero-title span {
    color: #2d3153;
    background: linear-gradient(120deg, #3f0d94, #ee4968);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub,
.section-sub {
    color: rgba(47, 55, 83, 0.86);
    line-height: 1.55;
}

.feature-list {
    list-style: none;
    margin: 1.6rem 0;
    padding: 1.2rem 0 0;
    border-top: 1px solid var(--line);
}

.feature-list.compact {
    margin-top: 1rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    color: rgba(47, 55, 83, 0.88);
    font-size: 0.96rem;
}

.feature-list li::before {
    content: "\2713";
    color: rgba(52, 211, 153, 0.95);
    font-weight: 700;
}

.inline-cta {
    margin-bottom: 1.2rem;
}

.cta-stats-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.cta-stats-row .inline-cta {
    margin-bottom: 0;
    flex-shrink: 0;
}

.cta-stats-row .stats-grid {
    flex: 1;
}

.stats-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 18px 38px rgba(55, 64, 102, 0.12);
    backdrop-filter: blur(12px);
    transition: 0.28s ease;
}

.glass-card:hover {
    border-color: rgba(238, 73, 104, 0.45);
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 24px 44px rgba(55, 64, 102, 0.16);
}

.stat-card {
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat-card strong {
    font-size: 1.1rem;
    color: #2e1f6d;
}

.stat-card small {
    color: var(--muted);
    margin-top: 0.2rem;
}

.hero-form-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.offer-banner {
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.offer-title {
    margin: 0 0 0.1rem;
    font-size: 0.88rem;
    color: rgba(238, 73, 104, 0.96);
    font-weight: 600;
}

.offer-text {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(47, 55, 83, 0.72);
}

.offer-time-wrap {
    border: 1px solid rgba(63, 13, 148, 0.2);
    border-radius: 0.65rem;
    padding: 0.45rem 0.6rem;
    text-align: center;
    min-width: 92px;
}

.offer-time-wrap span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.56rem;
    color: rgba(44, 39, 84, 0.54);
}

.offer-time-wrap time {
    display: block;
    margin-top: 0.1rem;
    font-family: Consolas, monospace;
    color: #3f0d94;
}

.contact-form-panel {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.58rem;
    background:
        radial-gradient(140% 120% at 0% 0%, var(--spotlight), transparent 60%),
        rgba(255, 255, 255, 0.92);
}

.contact-form-panel h2 {
    margin: 0;
    font-size: 1.86rem;
    color: #1b2241;
}

.form-intro {
    margin: 0 0 0.35rem;
    color: rgba(47, 55, 83, 0.82);
    font-size: 0.89rem;
}

.contact-form-panel label {
    display: flex;
    flex-direction: column;
    gap: 0.36rem;
    color: rgba(44, 39, 84, 0.74);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-form-panel input,
.contact-form-panel textarea {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(63, 13, 148, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: #1f2540;
    padding: 0.66rem 0.96rem;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
}

.contact-form-panel input::placeholder,
.contact-form-panel textarea::placeholder {
    color: rgba(47, 55, 83, 0.58);
}

.contact-form-panel textarea {
    border-radius: 1rem;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
    outline: none;
    border-color: rgba(63, 13, 148, 0.42);
    box-shadow: 0 0 0 3px rgba(63, 13, 148, 0.12);
}

.check-row {
    margin-top: 0.35rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 0.5rem;
    text-transform: none !important;
    font-size: 0.76rem !important;
    letter-spacing: normal !important;
    color: rgba(31, 37, 64, 0.8) !important;
}

.check-row input {
    width: 14px;
    margin-top: 2px;
}

.submit-btn {
    margin-top: 0.25rem;
}

.form-status {
    margin: 0.1rem 0 0;
    min-height: 1rem;
    font-size: 0.75rem;
}

.section-heading {
    font-size: clamp(2rem, 4.8vw, 3.8rem);
    line-height: 1.08;
    margin-bottom: 0.55rem;
    color: #1b2241;
}

.section-heading em {
    font-style: italic;
    color: rgba(63, 13, 148, 0.82);
}

.section-heading.left {
    text-align: left;
}

.section-heading.center,
.tiny-label.center {
    text-align: center;
}

.section-heading.small {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    margin-bottom: 0;
}

.section-heading.small span {
    color: rgba(47, 55, 83, 0.7);
    margin-left: 0.45rem;
}

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

.clients-section {
    overflow: hidden;
}

.logo-marquee-shell {
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border-radius: 1rem;
    margin: 1rem auto 0;
    width: min(1180px, calc(100% - 3rem));
    box-shadow:
        inset 0 0 0 1px rgba(63, 13, 148, 0.09),
        0 10px 30px rgba(55, 64, 102, 0.08);
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeForward 34s linear infinite;
}

.logo-marquee-row {
    display: flex;
    align-items: center;
    gap: 2.6rem;
    padding: 1rem 1.3rem;
}

.logo-marquee-row img {
    max-height: 52px;
    width: auto;
    opacity: 0.98;
    filter: drop-shadow(0 6px 12px rgba(63, 13, 148, 0.12)) saturate(1.08)
        contrast(1.05);
}

.tech-marquee-shell {
    position: relative;
    margin-top: 1.4rem;
    overflow: hidden;
    display: grid;
    gap: 1rem;
    padding: 0.45rem 0;
}

.tech-marquee-shell::before,
.tech-marquee-shell::after {
    content: "";
    position: absolute;
    inset-block: 0;
    width: clamp(3.2rem, 10vw, 6.4rem);
    pointer-events: none;
    z-index: 3;
}

.tech-marquee-shell::before {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.98) 35%,
        rgba(255, 255, 255, 0.35) 70%,
        rgba(255, 255, 255, 0) 100%
    );
}

.tech-marquee-shell::after {
    right: 0;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.98) 35%,
        rgba(255, 255, 255, 0.35) 70%,
        rgba(255, 255, 255, 0) 100%
    );
}

.tech-row {
    display: flex;
    gap: clamp(1.4rem, 3.2vw, 2.3rem);
    width: max-content;
    align-items: center;
    white-space: nowrap;
    padding: 0.32rem 0;
}

.tech-row img {
    height: clamp(1.65rem, 2.1vw, 2rem);
    width: auto;
    max-width: min(7.5rem, 20vw);
    object-fit: contain;
    opacity: 0.96;
    filter: drop-shadow(0 4px 12px rgba(63, 13, 148, 0.14)) saturate(1.1)
        contrast(1.08);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        filter 0.25s ease;
}

.tech-row img:hover {
    opacity: 1;
    transform: translateY(-1px) scale(1.03);
}

.move-left {
    animation: marqueeForward 48s linear infinite;
}

.move-right {
    animation: marqueeForward 62s linear infinite;
    animation-delay: -22s;
}

.two-col-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(280px, 27rem);
    gap: 2rem;
    align-items: start;
}

.services-points {
    margin-top: 1rem;
}

.visual-card {
    overflow: hidden;
    padding: 1.25rem;
}

.visual-card img {
    width: 100%;
    border-radius: 0.86rem;
    display: block;
    margin-bottom: 1rem;
}

.visual-card h3 {
    margin: 0;
    font-size: 1.38rem;
}

.visual-card p {
    margin: 0.55rem 0 0;
    color: rgba(47, 55, 83, 0.7);
}

.team-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.2rem;
}

.dev-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.dev-card {
    padding: 0.66rem;
}

.dev-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.7rem;
    object-fit: cover;
    margin-bottom: 0.55rem;
}

.dev-card h3 {
    margin: 0;
    font-size: 0.92rem;
}

.dev-card p {
    margin: 0.2rem 0 0.55rem;
    color: rgba(47, 55, 83, 0.7);
    font-size: 0.7rem;
}

.dev-card a {
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(63, 13, 148, 0.28);
    border-radius: 0.55rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.66rem;
    display: inline-block;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 22px rgba(63, 13, 148, 0.24);
    font-weight: 700;
}

.dev-card a:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(63, 13, 148, 0.32);
}

.team-hover-modal {
    position: fixed;
    left: var(--team-modal-left, auto);
    top: 50%;
    transform: translate3d(20px, -50%, 0) scale(0.96);
    width: min(460px, calc(100vw - 1.5rem));
    min-height: 360px;
    padding: 1rem;
    z-index: 190;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.26s ease,
        transform 0.28s cubic-bezier(0.2, 0.72, 0.2, 1),
        visibility 0.26s ease;
}

.team-hover-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, -50%, 0) scale(1);
}

.team-hover-modal img {
    width: 62px;
    height: 62px;
    border-radius: 0.85rem;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        0 10px 22px rgba(63, 13, 148, 0.2),
        0 0 0 1px rgba(63, 13, 148, 0.14);
}

.team-hover-modal-role {
    margin: 0.7rem 0 0.2rem;
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 700;
    color: rgba(238, 73, 104, 0.92);
}

.team-hover-modal h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.1;
}

.team-hover-modal-about {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(47, 55, 83, 0.88);
}

.team-hover-modal-skills {
    margin: 0.65rem 0 0;
    font-size: 0.72rem;
    color: rgba(63, 13, 148, 0.82);
    font-weight: 600;
}

.team-hover-modal-skills strong {
    display: inline-block;
    margin-bottom: 0.25rem;
}

.team-hover-modal-skills ul {
    margin: 0;
    padding-left: 1rem;
}

.team-hover-modal-skills li {
    margin-bottom: 0.15rem;
    line-height: 1.35;
}

.team-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.customer-stories-action {
    margin-top: 2rem;
}

.ceo-column {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.ceo-video-box {
    padding: 0;
    overflow: hidden;
}

.video-play {
    position: relative;
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.video-play img,
.review-video-card video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ceo-video-box .video-play img {
    object-fit: scale-down;
}

.review-video-card video {
    border-radius: 0.72rem;
}

.video-play span {
    position: absolute;
    inset: auto auto 0.6rem 0.6rem;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    border: 1px solid rgba(63, 13, 148, 0.28);
    color: #fff;
    border-radius: 999px;
    padding: 0.32rem 0.65rem;
    font-size: 0.74rem;
    box-shadow: 0 12px 24px rgba(63, 13, 148, 0.3);
    font-weight: 700;
}

.video-play:hover span {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(63, 13, 148, 0.34);
}

.ceo-quote {
    padding: 1rem;
}

.quote {
    margin: 0;
    font-size: 1.03rem;
    color: rgba(31, 37, 64, 0.86);
    font-style: italic;
}

.quote-meta {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.quote-meta img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.quote-meta strong {
    display: block;
    font-size: 0.9rem;
}

.quote-meta small {
    color: rgba(47, 55, 83, 0.68);
}

.badge-grid,
.video-review-grid,
.hiring-grid {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.badge-item,
.review-video-card,
.hiring-card {
    padding: 1.25rem 1.35rem;
}

.badge-item-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: 132px;
}

.badge-logo {
    width: min(92px, 44%);
    height: auto;
    display: block;
}

.badge-item h3,
.review-video-card h3,
.hiring-card h3 {
    margin: 0;
    font-size: 1.15rem;
}

.badge-item p,
.review-video-card p,
.hiring-card p {
    margin: 0.45rem 0 0;
    color: rgba(47, 55, 83, 0.74);
}

.portfolio-grid {
    margin-top: 1.1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 170px;
    gap: 0.9rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    padding: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    background: #1a1f38;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(18, 22, 40, 0.14) 0%,
            rgba(18, 22, 40, 0.58) 52%,
            rgba(18, 22, 40, 0.92) 100%
        ),
        radial-gradient(
            circle at top right,
            rgba(238, 73, 104, 0.28),
            transparent 48%
        );
    z-index: 1;
    transition: opacity 0.28s ease;
}

.portfolio-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.45s ease;
}

.portfolio-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0.95rem 1rem 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.portfolio-item:hover img {
    transform: scale(1.5);
}

.portfolio-item:hover::after {
    opacity: 0.9;
}

.portfolio-item small {
    margin-top: 0.28rem;
    display: block;
    font-size: 0.74rem;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.01em;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item.wide {
    grid-column: span 2;
}

.portfolio-cards {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 220px));
    justify-content: center;
    gap: 0.65rem;
}

.portfolio-info-card {
    position: relative;
    overflow: hidden;
    padding: 0.82rem 0.88rem 0.8rem;
    border-radius: 1rem;
    border: 1px solid rgba(63, 13, 148, 0.2);
    background:
        radial-gradient(
            120% 120% at 0% 0%,
            rgba(238, 73, 104, 0.16),
            transparent 55%
        ),
        radial-gradient(
            110% 90% at 100% 100%,
            rgba(63, 13, 148, 0.13),
            transparent 58%
        ),
        rgba(255, 255, 255, 0.95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 14px 30px rgba(55, 64, 102, 0.11);
}

.portfolio-info-card::before {
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgba(238, 73, 104, 0.1),
        rgba(63, 13, 148, 0.1)
    );
    opacity: 1;
}

.portfolio-info-card:nth-child(1)::before {
    content: "💻";
}

.portfolio-info-card:nth-child(2)::before {
    content: "👥";
}

.portfolio-info-card:nth-child(3)::before {
    content: "😊";
}

.portfolio-info-card h3 {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(47, 55, 83, 0.74);
    font-weight: 700;
}

.portfolio-info-card p {
    margin: 0.45rem 0 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.28rem, 1.95vw, 1.62rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #1c2446;
    font-weight: 700;
}

.framework-box {
    padding: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1rem;
    align-items: center;
}

.framework-box img {
    width: 100%;
    border-radius: 0.8rem;
    min-height: 270px;
    object-fit: cover;
}

.hiring-card ul {
    list-style: none;
    padding: 0;
    margin: 0.65rem 0 1rem;
}

.hiring-card li {
    margin-bottom: 0.45rem;
    color: rgba(47, 55, 83, 0.8);
    font-size: 0.86rem;
}

.hiring-card li::before {
    content: "\2713";
    color: rgba(52, 211, 153, 0.95);
    margin-right: 0.5rem;
}

.hiring-card.featured {
    transform: translateY(-5px) scale(1.01);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 1rem;
}

.faq-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 0.8rem;
    align-items: start;
}

.faq-contact-layout .faq-column,
.faq-contact-layout .contact-column {
    min-width: 0;
}

.faq-contact-layout .contact-column {
    position: sticky;
    top: 72px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.faq-item {
    padding: 0.15rem;
}

.faq-item.active {
    background: rgba(63, 13, 148, 0.04);
    border-radius: 1rem;
}

.faq-item button {
    width: 100%;
    border: 0;
    background: transparent;
    color: #252c4d;
    text-align: left;
    padding: 0.8rem 0.95rem;
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.12rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-item button span {
    transition: 0.22s ease;
}

.faq-item.active button span {
    transform: rotate(45deg);
}

.faq-item p {
    margin: 0;
    max-height: 0;
    overflow: hidden;
    color: rgba(47, 55, 83, 0.75);
    transition: 0.3s ease;
    padding: 0 0.95rem;
}

.faq-item.active p {
    max-height: 160px;
    padding: 0 0.95rem 0.8rem;
}

.pricing-cta {
    position: relative;
    overflow: hidden;
    padding: 1.55rem 1.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    background:
        radial-gradient(
            120% 160% at 100% 0%,
            rgba(238, 73, 104, 0.12),
            transparent 38%
        ),
        radial-gradient(
            90% 120% at 0% 100%,
            rgba(63, 13, 148, 0.08),
            transparent 42%
        ),
        rgba(255, 255, 255, 0.95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 20px 48px rgba(55, 64, 102, 0.11);
}

.pricing-meta {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    max-width: 70rem;
}

.pricing-meta img {
    width: 124px;
    height: 124px;
    border-radius: 50%;
    object-fit: cover;
}

.pricing-meta h2 {
    margin: 0.3rem 0;
    font-size: clamp(1.8rem, 3.7vw, 2.8rem);
    line-height: 1.04;
    color: #171d38;
    text-wrap: balance;
}

.pricing-meta p {
    margin: 0.35rem 0;
    color: rgba(47, 55, 83, 0.86);
    max-width: 42rem;
    font-size: 0.98rem;
    line-height: 1.55;
}

.pricing-meta a {
    color: rgba(63, 13, 148, 0.9);
    font-weight: 600;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.pricing-cta > .btn {
    align-self: center;
    min-width: 180px;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(63, 13, 148, 0.18);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    min-height: 72px;
    color: rgba(47, 55, 83, 0.8);
}

.footer-inner a {
    color: rgba(63, 13, 148, 0.88);
    text-decoration: none;
}

.footer-inner a:hover {
    color: #ee4968;
}

body.modal-open {
    overflow: hidden;
}

.contact-form-launcher {
    justify-content: flex-start;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: none;
}

.contact-modal.show {
    display: block;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.contact-modal-dialog {
    position: relative;
    width: min(560px, calc(100% - 2rem));
    margin: 6vh auto;
    z-index: 2;
    padding: 1rem;
}

.contact-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.7rem;
    border: 0;
    background: transparent;
    color: rgba(31, 37, 64, 0.88);
    font-size: 1rem;
    cursor: pointer;
    z-index: 3;
}

.contact-modal .contact-form-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0.4rem 0.2rem 0.1rem;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: none;
}

.video-modal.show {
    display: block;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 1;
}

.video-modal-dialog {
    position: relative;
    width: min(920px, calc(100% - 2rem));
    margin: calc(6vh + 10px) auto;
    border-radius: 1rem;
    background: #08080f;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem;
    z-index: 2;
}

.video-modal-close {
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 5;
}

.video-modal-frame-wrap {
    position: relative;
    padding-top: 52%;
    z-index: 2;
}

.offer-popup {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: min(22rem, calc(100% - 2rem));
    padding: 0.85rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(63, 13, 148, 0.22);
    background:
        linear-gradient(
            135deg,
            rgba(63, 13, 148, 0.12),
            rgba(238, 73, 104, 0.13)
        ),
        #ffffff;
    box-shadow: 0 18px 45px rgba(61, 52, 106, 0.18);
    backdrop-filter: blur(10px);
    z-index: 170;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.98);
    transition: 0.28s ease;
}

.offer-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.offer-popup-close {
    position: absolute;
    top: 0.45rem;
    right: 0.52rem;
    border: 0;
    background: transparent;
    color: rgba(31, 37, 64, 0.72);
    font-size: 0.92rem;
    cursor: pointer;
}

.offer-popup-kicker {
    margin: 0;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.55rem;
    color: rgba(44, 39, 84, 0.65);
}

.offer-popup-title {
    margin: 0.18rem 0 0;
    font-size: 0.92rem;
    color: #1f2540;
    font-weight: 600;
}

.offer-popup-time {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.48rem;
    border: 1px solid rgba(63, 13, 148, 0.25);
    border-radius: 999px;
    padding: 0.32rem 0.55rem;
}

.offer-popup-time span {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(44, 39, 84, 0.72);
}

.offer-popup-time time {
    font-family: Consolas, monospace;
    color: #3f0d94;
    font-size: 0.82rem;
}

.offer-popup .btn {
    margin-top: 0.55rem;
    width: 100%;
    font-size: 0.76rem;
}

.scroll-top-btn {
    position: fixed;
    left: 1rem;
    bottom: 5.2rem;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(63, 13, 148, 0.24);
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgba(63, 13, 148, 0.96),
        rgba(238, 73, 104, 0.94)
    );
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(63, 13, 148, 0.28);
    cursor: pointer;
    z-index: 180;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.86);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        visibility 0.28s ease;
    pointer-events: none;
}

.scroll-top-btn span {
    display: inline-block;
    transform: translateY(-1px);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: scrollTopGlow 2.2s ease-in-out infinite;
}

.scroll-top-btn.show span {
    animation: scrollTopArrowNudge 1.35s ease-in-out infinite;
}

.scroll-top-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 18px 34px rgba(63, 13, 148, 0.32);
}

.scroll-top-btn:focus-visible {
    outline: none;
    animation: scrollTopFocusPulse 0.9s ease;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.9),
        0 0 0 7px rgba(63, 13, 148, 0.35),
        0 18px 34px rgba(63, 13, 148, 0.32);
}

#video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Visible by default (like home page); JS adds .reveal-pending before animating */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

.reveal.reveal-pending {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.reveal-pending.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes auroraFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    33% {
        transform: translate3d(8vw, -6vh, 0) scale(1.15);
    }
    66% {
        transform: translate3d(-6vw, 8vh, 0) scale(0.9);
    }
}

@keyframes bodyShapeDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -1.2vh, 0) scale(1.03);
    }
}

@keyframes scrollTopFocusPulse {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-1px) scale(1.06);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes scrollTopGlow {
    0%,
    100% {
        box-shadow: 0 14px 28px rgba(63, 13, 148, 0.28);
    }
    50% {
        box-shadow:
            0 16px 34px rgba(63, 13, 148, 0.34),
            0 0 0 5px rgba(63, 13, 148, 0.12);
    }
}

@keyframes scrollTopArrowNudge {
    0%,
    100% {
        transform: translateY(-1px);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes marqueeForward {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes marqueeReverse {
    from {
        transform: translateX(-20%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes techRowFloatLeft {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
}

@keyframes techRowFloatRight {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

@keyframes techIconPulse {
    0%,
    100% {
        transform: translateY(0) scale(1);
        border-color: rgba(63, 13, 148, 0.14);
    }
    50% {
        transform: translateY(-2px) scale(1.03);
        border-color: rgba(238, 73, 104, 0.34);
    }
}

@media (prefers-reduced-motion: reduce) {
    .move-left,
    .move-right,
    .logo-marquee-track,
    .tech-row,
    .scroll-top-btn.show,
    .scroll-top-btn.show span {
        animation: none !important;
    }
}

@media (max-width: 1199px) {
    .section {
        padding: 56px 0;
    }

    .hero-grid,
    .two-col-layout,
    .team-grid,
    .framework-box,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-contact-layout {
        grid-template-columns: 1fr;
    }

    .faq-contact-layout .contact-column {
        position: static;
        top: auto;
    }

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

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

    .portfolio-item.large,
    .portfolio-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 767px) {
    .cta-stats-row {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-stats-row .inline-cta {
        align-self: flex-start;
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }

    .inline-cta-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
    }

    .container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .nav-inner {
        min-height: 70px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.55rem 0;
    }

    .brand-logo {
        height: 36px;
        max-width: 11rem;
    }

    .header-cta-group {
        gap: 0.4rem;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-cta-group .btn {
        flex: 1 1 calc(50% - 0.3rem);
        min-width: 0;
    }

    .btn {
        font-size: 0.76rem;
        padding: 0.48rem 0.8rem;
    }

    .section {
        padding: 46px 0;
    }

    .hero-title {
        font-size: clamp(1.65rem, 9vw, 2.35rem);
        line-height: 1.1;
    }

    .section-heading {
        font-size: clamp(1.55rem, 8vw, 2.15rem);
        line-height: 1.12;
    }

    .section-heading.small span {
        display: block;
        margin-left: 0;
        margin-top: 0.22rem;
    }

    .logo-marquee-shell {
        width: calc(100% - 1.2rem);
    }

    .stats-grid,
    .dev-grid,
    .badge-grid,
    .video-review-grid,
    .hiring-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-auto-rows: 210px;
    }

    .logo-marquee-row img {
        max-height: 40px;
    }

    .tech-row img {
        height: 26px;
        max-width: min(5.6rem, 24vw);
    }

    .faq-item button {
        font-size: 0.98rem;
        padding: 0.78rem 0.82rem;
    }

    .faq-item.active p {
        padding: 0 0.82rem 0.82rem;
    }

    .pricing-cta,
    .pricing-meta,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-cta {
        padding: 1.2rem;
    }

    .pricing-cta::before {
        inset: 0.8rem;
    }

    .pricing-cta > .btn {
        align-self: stretch;
        min-width: 0;
    }

    .offer-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .offer-time-wrap {
        width: 100%;
    }

    .offer-popup {
        right: 0.7rem;
        left: 0.7rem;
        width: auto;
        bottom: 0.7rem;
    }

    .scroll-top-btn {
        left: 0.75rem;
        bottom: 5rem;
        width: 44px;
        height: 44px;
    }

    .contact-modal-dialog {
        margin: 5vh auto;
        padding: 0.82rem;
    }
}

@media (max-width: 991px) {
    .team-hover-modal {
        display: none;
    }
}

@media (max-width: 420px) {
    .header-cta-group .btn {
        flex-basis: 100%;
    }

    .offer-popup {
        left: 0.55rem;
        right: 0.55rem;
        bottom: 0.55rem;
    }

    .scroll-top-btn {
        left: 0.55rem;
        bottom: 4.85rem;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .offer-popup-title {
        font-size: 0.84rem;
        padding-right: 1.2rem;
    }

    .video-modal-dialog {
        width: calc(100% - 1rem);
        margin: 8vh auto;
        padding: 0.45rem;
    }

    .contact-modal-dialog {
        width: calc(100% - 1rem);
        margin: 6vh auto;
    }
}

/* =============================
   Service page scoped upgrades
   Applies only inside .service-page-wrap
   ============================= */
.service-page-wrap {
    --sp-space: clamp(36px, 6vw, 88px);
}

/* .service-page-wrap .section {
  padding-block: var(--sp-space);
} */

/* .service-page-wrap .container {
  width: min(1160px, calc(100% - clamp(1rem, 2.5vw, 2.5rem)));
} */

.service-page-wrap .hero-grid,
.service-page-wrap .two-col-layout,
.service-page-wrap .faq-layout,
.service-page-wrap .framework-box,
.service-page-wrap .team-grid {
    gap: clamp(1rem, 2.2vw, 2.1rem);
}

.service-page-wrap .offer-banner {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(238, 73, 104, 0.42);
    background:
        radial-gradient(
            140% 130% at 0% 0%,
            rgba(238, 73, 104, 0.22),
            transparent 56%
        ),
        radial-gradient(
            120% 120% at 100% 100%,
            rgba(63, 13, 148, 0.16),
            transparent 58%
        ),
        linear-gradient(
            135deg,
            rgba(63, 13, 148, 0.1),
            rgba(238, 73, 104, 0.14)
        ),
        rgba(255, 255, 255, 0.96);
    box-shadow:
        0 16px 38px rgba(238, 73, 104, 0.2),
        0 8px 18px rgba(63, 13, 148, 0.14);
}

.service-page-wrap .offer-banner::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.65) 0%,
        rgba(255, 255, 255, 0.14) 42%,
        rgba(255, 255, 255, 0.38) 100%
    );
    opacity: 0.5;
}

.service-page-wrap .offer-title {
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.service-page-wrap .offer-time-wrap {
    border-color: rgba(63, 13, 148, 0.28);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.96),
        rgba(247, 244, 255, 0.95)
    );
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.65),
        0 8px 18px rgba(63, 13, 148, 0.1);
}

.service-page-wrap .offer-time-wrap time {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.service-page-wrap .hero-title {
    font-size: clamp(1.6rem, 4.1vw, 3.4rem);
    line-height: 1.08;
}

.service-page-wrap .hero-sub,
.service-page-wrap .section-sub {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.65;
}

.service-page-wrap .feature-list.feature-list-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.1rem;
}

.service-page-wrap .hero-trust-line {
    margin: 0.5rem 0 0.25rem;
    font-size: clamp(1.08rem, 1.7vw, 1.24rem);
    line-height: 1.35;
    letter-spacing: 0.04em;
    color: rgba(31, 37, 64, 0.9);
}

.service-page-wrap .section-heading {
    font-size: clamp(1.6rem, 3.9vw, 3rem);
    line-height: 1.12;
}

.service-page-wrap .btn,
.service-page-wrap button {
    min-height: 44px;
}

.service-page-wrap .stats-grid {
    grid-template-columns: repeat(3, 85px);
    gap: 20px;
    max-width: max-content;
    margin-inline: 0;
}

.service-page-wrap .stats-grid .badge-item {
    width: 85px;
    min-height: 69px;
    max-height: 69px;
    padding: 0.35rem 0.28rem;
    justify-self: start;
    border-radius: 10px;
}

.service-page-wrap .stats-grid .badge-item-logo {
    gap: 0.16rem;
    min-height: 0;
}

.service-page-wrap .stats-grid .badge-logo {
    width: 56px;
    max-height: 24px;
    object-fit: contain;
}

.service-page-wrap .stats-grid .badge-item h3 {
    font-size: 0.52rem;
    line-height: 1.05;
}

.service-page-wrap .stats-grid .badge-item p {
    margin-top: 0.05rem;
    font-size: 0.42rem;
    line-height: 1.02;
}

.service-page-wrap .dev-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-page-wrap .badge-grid,
.service-page-wrap .video-review-grid,
.service-page-wrap .hiring-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-page-wrap .portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-page-wrap .portfolio-item.large {
    grid-column: span 2;
}

.service-page-wrap .portfolio-item.wide {
    grid-column: span 2;
}

.service-page-wrap .contact-modal-dialog {
    width: min(560px, calc(100% - 1rem));
    margin: 4vh auto;
}

.service-page-wrap .contact-modal .contact-form-panel h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.85rem);
}

.service-page-wrap .contact-modal .contact-form-panel label {
    margin-block: 0.35rem 0.2rem;
}

.service-page-wrap .contact-modal .contact-form-panel textarea {
    min-height: 110px;
}

@media (max-width: 1199px) {
    .service-page-wrap .hero-grid,
    .service-page-wrap .two-col-layout,
    .service-page-wrap .framework-box,
    .service-page-wrap .team-grid,
    .service-page-wrap .faq-layout {
        grid-template-columns: 1fr;
    }

    .service-page-wrap .ceo-column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .service-page-wrap .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .service-page-wrap .dev-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-page-wrap .badge-grid,
    .service-page-wrap .video-review-grid,
    .service-page-wrap .hiring-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-page-wrap .pricing-cta,
    .service-page-wrap .pricing-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-page-wrap .faq-contact-layout {
        grid-template-columns: 1fr;
    }

    .service-page-wrap .faq-contact-layout .contact-column {
        position: static;
        top: auto;
    }

    .service-page-wrap .pricing-cta > .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .service-page-wrap .section {
        padding-block: clamp(32px, 8vw, 56px);
    }

    /* Mobile: CEO video + quote above team cards; desktop/tablet order unchanged */
    .service-page-wrap .team-grid {
        display: flex;
        flex-direction: column;
    }

    .service-page-wrap .stats-grid,
    .service-page-wrap .dev-grid,
    .service-page-wrap .badge-grid,
    .service-page-wrap .video-review-grid,
    .service-page-wrap .hiring-grid,
    .service-page-wrap .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .service-page-wrap .ceo-column {
        grid-template-columns: 1fr;
        order: -1;
    }

    .service-page-wrap .portfolio-grid {
        grid-auto-rows: 210px;
    }

    .service-page-wrap .portfolio-item.large,
    .service-page-wrap .portfolio-item.wide {
        grid-column: span 1;
    }

    .service-page-wrap .offer-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .service-page-wrap .contact-modal-dialog {
        width: calc(100% - 0.75rem);
        margin: 2.5vh auto;
        padding: 0.6rem;
    }

    .service-page-wrap .contact-modal .contact-form-panel h2 {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .service-page-wrap .contact-modal .contact-form-panel textarea {
        min-height: 90px;
    }
}

@media (max-width: 480px) {
    .service-page-wrap .container {
        width: calc(100% - 0.8rem);
    }

    .service-page-wrap .hero-title {
        font-size: clamp(1.55rem, 9vw, 1.95rem);
    }

    .service-page-wrap .section-heading {
        font-size: clamp(1.35rem, 8.5vw, 1.8rem);
    }

    .service-page-wrap .contact-modal-dialog {
        width: calc(100% - 0.5rem);
        margin: 1.5vh auto;
    }

    .service-page-wrap .contact-modal .contact-form-panel input,
    .service-page-wrap .contact-modal .contact-form-panel textarea {
        padding: 0.62rem 0.78rem;
    }
}

/* Extra mobile-first hardening for this page */
.service-page-wrap .hero-form-col .contact-form-panel,
.service-page-wrap #contact-form-bottom .contact-form-panel {
    width: min(100%, 860px);
}

@media (max-width: 1024px) {
    .service-page-wrap .hero-grid {
        grid-template-columns: 1fr;
    }

    .service-page-wrap .hero-form-col {
        max-width: 760px;
        width: 100%;
        margin-inline: auto;
    }

    .service-page-wrap .feature-list {
        gap: 0.55rem;
    }
}

@media (max-width: 767px) {
    .service-page-wrap .kicker,
    .service-page-wrap .tiny-label {
        letter-spacing: 0.05em;
        font-size: 0.78rem;
    }

    .service-page-wrap .pill {
        font-size: 0.75rem;
        padding: 0.38rem 0.72rem;
    }

    .service-page-wrap .hero-sub {
        font-size: 0.96rem;
        line-height: 1.6;
    }

    .service-page-wrap .feature-list li {
        font-size: 0.93rem;
        line-height: 1.45;
    }

    .service-page-wrap .feature-list.feature-list-two-col {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

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

    .service-page-wrap .stats-grid .stat-card {
        padding: 0.95rem;
    }

    .service-page-wrap .stats-grid .stat-card strong {
        font-size: 1.2rem;
    }

    .service-page-wrap .dev-card,
    .service-page-wrap .badge-item,
    .service-page-wrap .review-video-card,
    .service-page-wrap .hiring-card,
    .service-page-wrap .portfolio-item,
    .service-page-wrap .faq-item {
        border-radius: 0.95rem;
    }

    .service-page-wrap .logo-marquee-shell {
        width: calc(100% - 0.9rem);
    }

    .service-page-wrap .logo-marquee-row img {
        max-height: 34px;
    }

    .service-page-wrap .faq-item button {
        font-size: 0.95rem;
        padding: 0.74rem 0.8rem;
    }

    .service-page-wrap .faq-item.active p {
        padding: 0 0.8rem 0.8rem;
        font-size: 0.92rem;
    }

    .service-page-wrap .pricing-cta {
        padding: 1rem;
    }

    .service-page-wrap .pricing-meta img {
        width: 86px;
        height: 86px;
    }

    .service-page-wrap #contact-form-bottom .contact-form-panel {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .service-page-wrap .section {
        padding-block: 30px;
    }

    .service-page-wrap .hero-section {
        margin-top: 14px;
    }

    .service-page-wrap .hero-title {
        line-height: 1.12;
    }

    .service-page-wrap .offer-banner {
        padding: 0.88rem;
    }

    .service-page-wrap .offer-title {
        font-size: 0.95rem;
    }

    .service-page-wrap .offer-text {
        font-size: 0.86rem;
    }

    .service-page-wrap .contact-form-panel {
        padding: 0.9rem;
    }

    .service-page-wrap .contact-form-panel input,
    .service-page-wrap .contact-form-panel textarea {
        font-size: 0.95rem;
    }

    .service-page-wrap .contact-form-panel textarea {
        min-height: 88px;
    }

    .service-page-wrap .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Popup form usability: full access on all devices */
.service-page-wrap .contact-modal {
    z-index: 220;
}

.service-page-wrap .contact-modal-dialog {
    width: min(500px, calc(100% - 1rem));
    margin: 2vh auto;
    max-height: 96dvh;
    overflow: hidden;
    display: block;
    top: 75px;
}

.service-page-wrap .contact-modal .contact-form-panel {
    width: 100%;
    max-height: none;
    overflow: hidden;
    padding: 0.18rem 0.1rem 0.06rem;
    gap: 0.38rem;
}

.service-page-wrap .contact-modal .contact-form-panel h2 {
    font-size: clamp(1.22rem, 1.9vw, 1.65rem);
    margin-bottom: 0.12rem;
}

.service-page-wrap .contact-modal .form-intro {
    margin-bottom: 0.15rem;
    font-size: 0.82rem;
    line-height: 1.35;
}

.service-page-wrap .contact-modal .contact-form-panel label {
    margin-top: 0.12rem;
    margin-bottom: 0.04rem;
    gap: 0.2rem;
    font-size: 0.63rem;
}

.service-page-wrap .contact-modal .contact-form-panel input,
.service-page-wrap .contact-modal .contact-form-panel textarea {
    padding: 0.45rem 0.62rem;
    font-size: 0.84rem;
}

.service-page-wrap .contact-modal .contact-form-panel textarea {
    min-height: 58px;
    max-height: 58px;
}

.service-page-wrap .contact-modal .check-row {
    margin-top: 0.05rem;
    font-size: 0.7rem !important;
    line-height: 1.25;
}

.service-page-wrap .contact-modal .submit-btn {
    margin-top: 0.08rem;
}

@media (max-width: 767px) {
    .service-page-wrap .contact-modal-dialog {
        width: calc(100% - 0.65rem);
        margin: 1.2vh auto;
        max-height: 92dvh;
        padding: 0.72rem;
    }

    .service-page-wrap .contact-modal .contact-form-panel {
        max-height: none;
        padding: 0.2rem 0.15rem 0.1rem;
    }

    .service-page-wrap .contact-modal .contact-form-panel label {
        margin-top: 0.3rem;
        margin-bottom: 0.1rem;
    }

    .service-page-wrap .contact-modal .contact-form-panel input,
    .service-page-wrap .contact-modal .contact-form-panel textarea {
        padding: 0.58rem 0.75rem;
        font-size: 0.93rem;
    }

    .service-page-wrap .contact-modal .contact-form-panel textarea {
        min-height: 84px;
    }
}
