:root {
    --state-navy: #061a3a;
    --state-blue: #1769ff;
    --state-blue-soft: #eaf2ff;
    --state-red: #ef3340;
    --state-red-soft: #fbecee;
    --state-ink: #0b1424;
    --state-muted: #667085;
    --state-paper: #f7f9fc;
}

html { scroll-behavior: smooth; }

/* Hero enquiry panel */
.header-ca .main-box { min-height: 760px; }
.header-ca .right-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.header-ca .right-column > div:not(.hero-tech-card) { display: none; }
.hero-enquiry {
    width: 100%;
    min-height: 518px;
    padding: 22px 20px;
    border: 1px solid rgba(6, 26, 58, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(6, 26, 58, .10);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
}
.hero-enquiry::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -85px;
    top: -75px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(23,105,255,.14), rgba(239,51,64,.12));
}
.hero-enquiry > * { position: relative; z-index: 1; }
.hero-enquiry-kicker,
.state-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--state-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hero-enquiry-kicker::before,
.state-section-kicker::before,
.projects-slider-section .section-kicker::before,
.pricing-v2 .pricing-kicker::before,
.pricing-v2 .pricing-kicker::after { display: none !important; }
.hero-enquiry h2 {
    margin: 10px 0 8px;
    color: var(--state-ink);
    font-size: clamp(27px, 2.2vw, 34px);
    line-height: 1.08;
    letter-spacing: -.04em;
}
.hero-enquiry > p { margin-bottom: 13px; color: var(--state-muted); font-size: 13px; line-height: 1.45; }
.hero-enquiry-form { display: grid; gap: 8px; }
.hero-enquiry-form .field-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.hero-enquiry-form input,
.hero-enquiry-form select,
.hero-enquiry-form textarea {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid #d9e0ea;
    border-radius: 10px;
    background: linear-gradient(180deg, #fbfcfe, #f5f8fb);
    color: var(--state-ink);
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.hero-enquiry-form textarea { min-height: 68px; resize: vertical; }
.hero-enquiry-form input:focus,
.hero-enquiry-form select:focus,
.hero-enquiry-form textarea:focus {
    border-color: var(--state-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23,105,255,.11);
}
.hero-enquiry-form button,
.state-primary-button {
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(110deg, var(--state-red), #dd2333 45%, var(--state-blue));
    background-size: 180% 100%;
    font-weight: 800;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background-position .4s ease;
}
.hero-enquiry-form button:hover,
.state-primary-button:hover {
    color: #fff;
    transform: translateY(-2px);
    background-position: 100% 0;
    box-shadow: 0 12px 28px rgba(23,105,255,.22);
}
.hero-enquiry-note { margin: 9px 0 0 !important; font-size: 11px !important; }

/* Restored technology carousel below the compact enquiry form. */
.header-ca .hero-tech-card {
    display: block;
    min-height: 232px;
    margin-top: 0 !important;
    flex: 0 0 232px;
    background: linear-gradient(145deg, #ff443c 0%, #d91f31 100%);
}

/* Selected work */
.projects-slider-section {
    background: linear-gradient(145deg, #f9fbff, #f3f6fb) !important;
}
.projects-heading-row { align-items: flex-end; }
.project-slide-card { border-radius: 24px; }
.project-slide-image { height: 330px; }
.project-slide-image img {
    object-position: center top;
    filter: saturate(.96) contrast(1.03);
}
.project-slide-image img.project-logo-image { object-position: center; }
.project-slide-card:hover .project-slide-image img { transform: scale(1.055) rotate(.4deg); }
.project-slide-number { background: rgba(6,26,58,.68); }
.project-slide-content { padding: 25px; }
.project-slide-content h5 { font-size: 24px; letter-spacing: -.025em; }
.project-slide-tags span:first-child { color: #b6202b; background: var(--state-red-soft); }
.project-slide-tags span:nth-child(2) { color: #0957d9; background: var(--state-blue-soft); }

/* Process */
.process-ca { position: relative; overflow: hidden; }
.process-ca::after {
    content: "";
    position: absolute;
    inset: auto -110px -180px auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23,105,255,.10), transparent 66%);
    pointer-events: none;
}
.process-visual {
    position: relative;
    padding: 20px;
    border-radius: 28px;
    background: linear-gradient(145deg, #fff, #eef4ff);
    border: 1px solid rgba(23,105,255,.12);
    box-shadow: 0 24px 60px rgba(6,26,58,.09);
}
.process-visual img { width: 100%; animation: processFloat 5.5s ease-in-out infinite; }
.process-ca .accordion-item.active { border-color: rgba(239,51,64,.45); }
.process-ca .accordion-item.active .accordion-button { color: var(--state-red); }

/* Pricing */
.pricing-v2 { background: linear-gradient(150deg, #061a3a, #0a2854) !important; color: #fff; }
.pricing-v2 .sec-head h2,
.pricing-v2 .pricing-intro { color: #fff; }
.pricing-v2 .pricing-intro { opacity: .72; }
.pricing-v2 .pricing-kicker { color: #ff7b84; }
.pricing-v2 .pricing-kicker::before,
.pricing-v2 .pricing-kicker::after { background: linear-gradient(90deg, var(--state-red), var(--state-blue)); }
.pricing-card { min-height: 575px; border-radius: 24px; }
.pricing-price-row { display: flex; align-items: flex-end; gap: 5px; }
.pricing-was { margin-left: 8px; color: var(--card-muted); font-size: 14px; text-decoration: line-through; }
.pricing-all-link { margin-top: 28px; text-align: center; }
.pricing-all-link a { color: #fff; border-color: rgba(255,255,255,.35); }
.pricing-all-link a:hover { color: var(--state-navy); background: #fff; }

/* Reviews */
.state-reviews {
    background: #fff;
    overflow: hidden;
}
.legacy-testimonials { display: none !important; }
.legacy-contact { display: none !important; }
.state-review-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 38px;
}
.state-review-head p { max-width: 520px; margin: 0; color: var(--state-muted); }
.state-review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.state-review-card {
    position: relative;
    padding: 28px;
    border: 1px solid #e6ebf2;
    border-radius: 20px;
    background: var(--state-paper);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.state-review-card:nth-child(2n) { background: #fff7f8; }
.state-review-card:hover { transform: translateY(-6px); border-color: rgba(23,105,255,.25); box-shadow: 0 20px 44px rgba(6,26,58,.10); }
.state-review-stars { display: flex; gap: 4px; margin-bottom: 18px; color: #ffb020; font-size: 13px; }
.state-review-quote { color: var(--state-ink); font-size: 20px; line-height: 1.55; letter-spacing: -.015em; }
.state-review-person { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.state-review-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.state-review-person strong { display: block; color: var(--state-ink); }
.state-review-person span { color: var(--state-muted); font-size: 13px; }

/* FAQs */
.faq-custom {
    position: relative;
    background: linear-gradient(145deg, #061a3a, #0a2854) !important;
    overflow: hidden;
}
.faq-custom::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -210px;
    top: -250px;
    border-radius: 50%;
    border: 70px solid rgba(23,105,255,.12);
    pointer-events: none;
}
.faq-custom .container { position: relative; z-index: 1; }
.faq-shell {
    display: grid;
    grid-template-columns: minmax(260px, .82fr) minmax(0, 1.55fr);
    gap: 18px;
    align-items: start;
}
.faq-intro-panel {
    min-height: 520px;
    padding: 42px 38px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(145deg, var(--state-red), #d92135 52%, #b91427);
    box-shadow: 0 26px 58px rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: sticky;
    top: 22px;
    overflow: hidden;
}
.faq-intro-panel::before {
    content: "FAQ";
    position: absolute;
    top: 12px;
    left: 28px;
    color: rgba(255,255,255,.08);
    font-size: clamp(86px, 9vw, 145px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.09em;
}
.faq-intro-panel > * { position: relative; z-index: 1; }
.faq-intro-panel .state-section-kicker { color: rgba(255,255,255,.74); }
.faq-intro-panel h2 {
    margin: 16px 0 18px;
    color: #fff;
    font-size: clamp(38px, 4vw, 58px);
    line-height: .98;
    letter-spacing: -.055em;
}
.faq-intro-panel p {
    margin: 0;
    max-width: 390px;
    color: rgba(255,255,255,.8);
    font-size: 15px;
    line-height: 1.65;
}
.faq-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 28px;
}
.faq-topic-list span {
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.faq-list-panel {
    padding: 18px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 26px 60px rgba(0,0,0,.17);
}
.faq-list-head {
    min-height: 54px;
    padding: 4px 10px 16px;
    border-bottom: 1px solid #e8ecf2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.faq-list-head strong {
    color: var(--state-ink);
    font-size: 14px;
    letter-spacing: .01em;
}
.faq-list-head span {
    color: var(--state-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}
.faq-custom .accordion { display: grid; gap: 0; }
.faq-custom .accordion-item {
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e8ecf2 !important;
    border-radius: 0 !important;
    overflow: hidden;
    background: #fff !important;
    box-shadow: none !important;
}
.faq-custom .accordion-item:last-child { border-bottom: 0 !important; }
.faq-custom .accordion-button {
    min-height: 82px;
    padding: 16px 12px !important;
    color: var(--state-ink) !important;
    background: #fff !important;
    font-size: 16px;
    font-weight: 800;
    box-shadow: none !important;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: center;
}
.faq-custom .accordion-button::after {
    grid-column: 3;
    margin-left: 0;
}
.faq-number {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: var(--state-blue);
    background: var(--state-blue-soft);
    font-size: 11px;
    font-weight: 900;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}
.faq-question { grid-column: 2; }
.faq-custom .accordion-button:not(.collapsed) { color: var(--state-red) !important; }
.faq-custom .accordion-button:not(.collapsed) .faq-number {
    color: #fff;
    background: var(--state-red);
    transform: rotate(-6deg);
}
.faq-custom .accordion-body {
    padding: 0 62px 26px 72px !important;
    color: #566173;
    background: #fff;
    font-size: 15px;
    line-height: 1.75;
}

@keyframes processFloat {
    0%, 100% { transform: translateY(0) rotate(-.4deg); }
    50% { transform: translateY(-10px) rotate(.4deg); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .process-visual img { animation: none; }
}

@media (max-width: 1199px) {
    .header-ca .main-box { min-height: 660px; }
    .hero-enquiry { min-height: 418px; padding: 18px 16px; }
    .header-ca .hero-tech-card { min-height: 232px; flex-basis: 232px; }
    .hero-enquiry-form .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
    .header-ca .right-column { margin-top: 12px; }
    .hero-enquiry { min-height: auto; padding: 28px; }
    .header-ca .hero-tech-card { min-height: 232px; flex-basis: auto; }
    .hero-enquiry-form .field-row { grid-template-columns: 1fr 1fr; }
    .state-review-head { align-items: flex-start; flex-direction: column; }
    .faq-shell { grid-template-columns: 1fr; }
    .faq-intro-panel { min-height: 360px; position: relative; top: auto; }
}

@media (max-width: 767px) {
    .header-ca .main-box { min-height: 560px; }
    .hero-enquiry { padding: 26px 18px; border-radius: 16px; }
    .hero-enquiry-form .field-row,
    .state-review-grid { grid-template-columns: 1fr; }
    .project-slide-image { height: 280px; }
    .state-review-card { padding: 22px; }
    .state-review-quote { font-size: 18px; }
    .faq-custom { padding: 28px 0 !important; }
    .faq-intro-panel { min-height: 320px; padding: 30px 24px; border-radius: 20px; }
    .faq-list-panel { padding: 10px 14px; border-radius: 20px; }
    .faq-list-head { padding: 8px 4px 12px; }
    .faq-custom .accordion-button {
        min-height: 76px;
        padding: 13px 4px !important;
        grid-template-columns: 38px minmax(0, 1fr) 20px;
        gap: 10px;
        font-size: 14px;
    }
    .faq-number { width: 36px; height: 36px; border-radius: 11px; }
    .faq-custom .accordion-body { padding: 0 24px 22px 52px !important; font-size: 14px; }
}
