/* =========================================================
   PrimeShift Website
   Brand foundation, header and responsive hero
   ========================================================= */

/* ---------------------------------------------------------
   1. Brand variables
   --------------------------------------------------------- */

:root {
    --primary: #03203D;
    --primary-dark: #02172C;

    --secondary: #639CC5;
    --secondary-dark: #2F6E9E;

    --accent: #EB2F33;
    --accent-dark: #C8232A;

    --background: #f8fafc;
    --surface: #ffffff;

    --text: #1e293b;
    --text-muted: #64748b;
    --text-soft: #94a3b8;

    --border: #e5e7eb;
    --border-strong: #d7dde5;

    --font-primary: "DM Sans", sans-serif;

    --container-width: 1240px;

    --radius-small: 10px;
    --radius-medium: 14px;
    --radius-large: 20px;
    --radius-xlarge: 28px;
    --radius-pill: 999px;

    --shadow-small:
        0 8px 24px rgba(3, 32, 61, 0.08);

    --shadow-medium:
        0 18px 50px rgba(3, 32, 61, 0.12);

    --shadow-large:
        0 28px 70px rgba(3, 32, 61, 0.14);

    --transition:
        180ms ease;
}

/* ---------------------------------------------------------
   2. Reset
   --------------------------------------------------------- */

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

html {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;

    background: var(--background);
    color: var(--text);

    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.mobile-menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

/* ---------------------------------------------------------
   3. Shared layout
   --------------------------------------------------------- */

.container {
    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin-inline: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;
    padding: 12px 22px;

    border: 1px solid transparent;
    border-radius: var(--radius-medium);

    font-weight: 700;
    line-height: 1.2;
    text-align: center;

    cursor: pointer;

    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: var(--surface);

    box-shadow:
        0 14px 28px rgba(235, 47, 51, 0.26);
}

.button-primary:hover {
    background: var(--accent-dark);

    box-shadow:
        0 18px 34px rgba(200, 35, 42, 0.30);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(3, 32, 61, 0.14);
    color: var(--primary);

    box-shadow: var(--shadow-small);
    backdrop-filter: blur(12px);
}

.button-secondary:hover {
    background: var(--surface);
    border-color: rgba(3, 32, 61, 0.24);
}

.button-large {
    min-height: 56px;
    padding: 16px 25px;
}

.button-arrow {
    font-size: 20px;
    line-height: 1;
}

/* ---------------------------------------------------------
   4. Header
   --------------------------------------------------------- */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;

    background: rgba(248, 250, 252, 0.84);
    border-bottom: 1px solid transparent;

    backdrop-filter: blur(18px);

    transition:
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(3, 32, 61, 0.08);

    box-shadow:
        0 12px 30px rgba(3, 32, 61, 0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    min-height: 86px;
}

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

.brand-logo img {
    width: auto;
    height: 42px;
    object-fit: contain;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    margin-left: auto;
}

.nav-link {
    position: relative;

    padding: 31px 0 28px;

    color: #475569;

    font-size: 15px;
    font-weight: 600;

    transition: color var(--transition);
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;

    width: 0;
    height: 2px;
    margin: auto;

    background: var(--secondary);
    border-radius: var(--radius-pill);

    content: "";

    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-cta {
    min-height: 46px;
    padding: 11px 20px;

    font-size: 14px;
}

.mobile-menu-button {
    display: none;
    position: relative;

    width: 46px;
    height: 46px;
    padding: 0;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;

    cursor: pointer;
}

.mobile-menu-button span {
    position: absolute;
    left: 12px;

    width: 20px;
    height: 2px;

    background: var(--primary);
    border-radius: var(--radius-pill);

    transition:
        transform var(--transition),
        opacity var(--transition),
        top var(--transition);
}

.mobile-menu-button span:nth-child(1) {
    top: 15px;
}

.mobile-menu-button span:nth-child(2) {
    top: 21px;
}

.mobile-menu-button span:nth-child(3) {
    top: 27px;
}

.mobile-menu-button.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

.mobile-navigation {
    display: none;

    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    box-shadow:
        0 18px 40px rgba(3, 32, 61, 0.08);
}

.mobile-navigation.active {
    display: block;
}

.mobile-navigation-inner {
    display: flex;
    flex-direction: column;

    padding-top: 18px;
    padding-bottom: 24px;
}

.mobile-nav-link {
    padding: 14px 4px;

    border-bottom: 1px solid rgba(229, 231, 235, 0.76);
    color: var(--primary);

    font-weight: 600;
}

.mobile-nav-cta {
    width: 100%;
    margin-top: 20px;
}

/* ---------------------------------------------------------
   5. Hero section
   --------------------------------------------------------- */

.hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 165px 0 105px;

    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(99, 156, 197, 0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 30%,
            rgba(3, 32, 61, 0.10),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            var(--background) 100%
        );
}

.hero-background-decoration {
    position: absolute;
    z-index: -1;

    border-radius: 50%;

    pointer-events: none;
}

.hero-decoration-one {
    top: 120px;
    right: -140px;

    width: 420px;
    height: 420px;

    background:
        radial-gradient(
            circle,
            rgba(99, 156, 197, 0.12),
            rgba(99, 156, 197, 0)
        );
}

.hero-decoration-two {
    bottom: -210px;
    left: -150px;

    width: 460px;
    height: 460px;

    background:
        radial-gradient(
            circle,
            rgba(3, 32, 61, 0.10),
            rgba(3, 32, 61, 0)
        );
}

.hero-container {
    display: grid;
    grid-template-columns:
        minmax(0, 0.94fr)
        minmax(0, 1.06fr);

    align-items: center;
    gap: clamp(44px, 5vw, 80px);
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 610px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 24px;
    padding: 8px 14px;

    background: rgba(99, 156, 197, 0.09);
    border: 1px solid rgba(99, 156, 197, 0.18);
    border-radius: var(--radius-pill);
    color: var(--secondary-dark);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;

    background: var(--secondary);
    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(99, 156, 197, 0.11);
}

.hero-title {
    margin-bottom: 24px;

    color: var(--primary);

    font-size: clamp(52px, 4.9vw, 72px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.03;
}

.hero-title span {
    color: var(--secondary);
}

.hero-description {
    max-width: 600px;
    margin-bottom: 32px;

    color: var(--text-muted);

    font-size: 19px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 30px;
}

.hero-trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 22px;
}

.trust-point {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #475569;

    font-size: 14px;
    font-weight: 600;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 20px;
    height: 20px;

    background: rgba(99, 156, 197, 0.12);
    border-radius: 50%;
    color: var(--secondary-dark);

    font-size: 12px;
    font-weight: 700;
}

/* ---------------------------------------------------------
   6. Hero dashboard visual
   --------------------------------------------------------- */

.hero-visual {
    position: relative;

    width: 100%;
    min-width: 0;
    max-width: 650px;
    margin-left: auto;
}

.performance-card {
    position: relative;

    width: 100%;
    min-width: 0;
    padding: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.99),
            rgba(248, 250, 252, 0.96)
        );

    border: 1px solid rgba(3, 32, 61, 0.10);
    border-radius: var(--radius-xlarge);

    box-shadow:
        0 28px 70px rgba(3, 32, 61, 0.14);
}

.performance-card::before {
    position: absolute;
    z-index: -1;
    right: -22px;
    bottom: -24px;

    width: 94%;
    height: 92%;

    background:
        linear-gradient(
            135deg,
            rgba(3, 32, 61, 0.06),
            rgba(99, 156, 197, 0.08)
        );

    border-radius: var(--radius-xlarge);

    content: "";
}

.performance-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 26px;
}

.performance-card-label {
    display: block;

    margin-bottom: 5px;

    color: var(--text-soft);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.performance-card-header h2 {
    margin: 0;

    color: var(--primary);

    font-size: 21px;
    line-height: 1.3;
}

.performance-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;

    padding: 7px 10px;

    background: rgba(99, 156, 197, 0.10);
    border-radius: var(--radius-pill);
    color: var(--secondary-dark);

    font-size: 12px;
    font-weight: 700;
}

.performance-status span {
    width: 7px;
    height: 7px;

    background: var(--secondary);
    border-radius: 50%;
}

.performance-main-metric {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 18px;
}

.main-metric-content {
    min-width: 0;
}

.metric-label {
    display: block;

    margin-bottom: 4px;

    color: var(--text-muted);

    font-size: 13px;
    font-weight: 600;
}

.metric-value-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 9px;
}

.metric-value-row strong {
    color: var(--primary);

    font-size: 42px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.metric-improvement {
    padding-bottom: 4px;

    color: var(--secondary-dark);

    font-size: 13px;
    font-weight: 700;
}

.metric-period {
    flex: 0 0 auto;

    padding-bottom: 4px;

    color: var(--text-soft);

    font-size: 12px;
    font-weight: 600;
}

.performance-chart {
    position: relative;
    overflow: hidden;

    width: 100%;
    height: 210px;
    margin-bottom: 22px;

    background:
        linear-gradient(
            180deg,
            rgba(248, 250, 252, 0.76),
            rgba(255, 255, 255, 0.30)
        );

    border-radius: var(--radius-large);
}

.performance-chart svg {
    position: absolute;
    z-index: 2;
    inset: 0;

    width: 100%;
    height: 100%;
}

.chart-grid-line {
    position: absolute;
    z-index: 1;
    right: 0;
    left: 0;

    height: 1px;

    background: rgba(3, 32, 61, 0.07);
}

.chart-line-one {
    top: 22%;
}

.chart-line-two {
    top: 44%;
}

.chart-line-three {
    top: 66%;
}

.chart-line-four {
    top: 88%;
}

.chart-area {
    fill: url("#chartAreaGradient");
}

.chart-line {
    fill: none;
    stroke: var(--secondary);
    stroke-linecap: round;
    stroke-width: 5;
}

.performance-chart circle {
    fill: var(--surface);
    stroke: var(--secondary);
    stroke-width: 4;
}

.performance-bottom-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.performance-small-card {
    min-width: 0;
    padding: 15px;

    background: var(--surface);
    border: 1px solid rgba(3, 32, 61, 0.08);
    border-radius: var(--radius-medium);

    box-shadow:
        0 7px 20px rgba(3, 32, 61, 0.05);
}

.performance-small-card span {
    display: block;

    min-height: 31px;
    margin-bottom: 6px;

    color: var(--text-muted);

    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
}

.performance-small-card strong {
    display: block;

    margin-bottom: 4px;

    color: var(--primary);

    font-size: 18px;
    line-height: 1.25;
}

.performance-small-card small {
    color: var(--secondary-dark);

    font-size: 11px;
    font-weight: 700;
}

/* Insight cards are inside the dashboard, not floating outside it. */

.performance-insights {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: 12px;
}

.performance-insight {
    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 0;
    padding: 13px 15px;

    background:
        linear-gradient(
            135deg,
            rgba(248, 250, 252, 0.95),
            rgba(255, 255, 255, 1)
        );

    border: 1px solid rgba(3, 32, 61, 0.08);
    border-radius: 16px;

    box-shadow:
        0 7px 20px rgba(3, 32, 61, 0.05);
}

.floating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    background: rgba(99, 156, 197, 0.12);
    border-radius: 12px;
    color: var(--secondary-dark);

    font-size: 17px;
    font-weight: 700;
}

.performance-insight span {
    display: block;

    color: var(--text-soft);

    font-size: 11px;
    font-weight: 600;
}

.performance-insight strong {
    display: block;

    color: var(--primary);

    font-size: 14px;
}

/* ---------------------------------------------------------
   7. Shared section headings
   --------------------------------------------------------- */

.section-heading {
    margin-bottom: 54px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 18px;

    color: var(--secondary-dark);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-eyebrow span {
    display: block;

    width: 24px;
    height: 2px;

    background: var(--secondary);
    border-radius: var(--radius-pill);
}

.section-heading-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(320px, 0.75fr);

    align-items: end;
    gap: 60px;
}

.section-title {
    max-width: 720px;
    margin-bottom: 0;

    color: var(--primary);

    font-size: clamp(40px, 4.2vw, 58px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.section-title span {
    color: var(--secondary);
}

.section-description {
    max-width: 520px;
    margin-bottom: 3px;

    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.75;
}

/* ---------------------------------------------------------
   8. Services
   --------------------------------------------------------- */

.services-section {
    position: relative;

    padding: 120px 0;

    background: var(--surface);
    border-top: 1px solid rgba(3, 32, 61, 0.06);
}

.services-section::before {
    position: absolute;
    top: 70px;
    right: 0;

    width: 320px;
    height: 320px;

    background:
        radial-gradient(
            circle,
            rgba(99, 156, 197, 0.07),
            rgba(99, 156, 197, 0)
        );

    content: "";
    pointer-events: none;
}

.services-heading {
    position: relative;
    z-index: 1;
}

.services-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 100%;
    padding: 28px;

    overflow: hidden;

    background:
        linear-gradient(
            160deg,
            #ffffff 0%,
            #fbfcfd 100%
        );

    border: 1px solid rgba(3, 32, 61, 0.09);
    border-radius: 24px;

    box-shadow:
        0 14px 40px rgba(3, 32, 61, 0.07);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: rgba(99, 156, 197, 0.22);

    box-shadow:
        0 24px 55px rgba(3, 32, 61, 0.11);
}

.service-card-featured {
    background:
        linear-gradient(
            155deg,
            rgba(3, 32, 61, 1) 0%,
            rgba(2, 23, 44, 1) 100%
        );

    border-color: rgba(3, 32, 61, 0.95);

    box-shadow:
        0 24px 60px rgba(3, 32, 61, 0.20);
}

.service-card-featured::before {
    position: absolute;
    top: -80px;
    right: -60px;

    width: 230px;
    height: 230px;

    background:
        radial-gradient(
            circle,
            rgba(99, 156, 197, 0.28),
            rgba(99, 156, 197, 0)
        );

    content: "";
    pointer-events: none;
}

.service-card-top {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 34px;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    background: rgba(99, 156, 197, 0.10);
    border: 1px solid rgba(99, 156, 197, 0.14);
    border-radius: 16px;
    color: var(--secondary-dark);
}

.service-icon svg {
    width: 25px;
    height: 25px;
}

.service-icon-primary {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.14);
    color: #7AAFD6;
}

.service-tag {
    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    background: rgba(99, 156, 197, 0.16);
    border: 1px solid rgba(140, 190, 226, 0.20);
    border-radius: var(--radius-pill);
    color: #9CC8E6;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-card-content {
    position: relative;
    z-index: 1;

    flex: 1;
}

.service-number {
    display: block;

    margin-bottom: 12px;

    color: var(--text-soft);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
}

.service-card-featured .service-number {
    color: rgba(255, 255, 255, 0.46);
}

.service-card h3 {
    margin-bottom: 16px;

    color: var(--primary);

    font-size: 25px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.service-card-featured h3 {
    color: var(--surface);
}

.service-card p {
    margin-bottom: 24px;

    color: var(--text-muted);

    font-size: 15px;
    line-height: 1.7;
}

.service-card-featured p {
    color: rgba(255, 255, 255, 0.70);
}

.service-list {
    display: grid;
    gap: 11px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.service-list li {
    position: relative;

    padding-left: 25px;

    color: #475569;

    font-size: 14px;
    font-weight: 500;
}

.service-list li::before {
    position: absolute;
    top: 3px;
    left: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    background: rgba(99, 156, 197, 0.11);
    border-radius: 50%;
    color: var(--secondary-dark);

    content: "✓";

    font-size: 10px;
    font-weight: 700;
}

.service-card-featured .service-list li {
    color: rgba(255, 255, 255, 0.78);
}

.service-card-featured .service-list li::before {
    background: rgba(99, 156, 197, 0.22);
    color: #A9CFEA;
}

.service-link {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 32px;
    padding-top: 20px;

    border-top: 1px solid rgba(3, 32, 61, 0.09);
    color: var(--primary);

    font-size: 14px;
    font-weight: 700;
}

.service-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    background: rgba(99, 156, 197, 0.10);
    border-radius: 50%;
    color: var(--secondary-dark);

    font-size: 17px;

    transition:
        transform var(--transition),
        background-color var(--transition);
}

.service-link:hover span {
    transform: translateX(4px);

    background: rgba(99, 156, 197, 0.16);
}

.service-card-featured .service-link {
    border-top-color: rgba(255, 255, 255, 0.12);
    color: var(--surface);
}

.service-card-featured .service-link span {
    background: rgba(255, 255, 255, 0.10);
    color: #A9CFEA;
}

.services-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin-top: 28px;
    padding: 24px 28px;

    background: var(--background);
    border: 1px solid rgba(3, 32, 61, 0.08);
    border-radius: 20px;
}

.services-bottom-content {
    display: flex;
    align-items: center;
    gap: 17px;
}

.services-bottom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 46px;
    height: 46px;

    background: rgba(99, 156, 197, 0.11);
    border-radius: 14px;
    color: var(--secondary-dark);
}

.services-bottom-icon svg {
    width: 22px;
    height: 22px;
}

.services-bottom strong {
    display: block;

    margin-bottom: 3px;

    color: var(--primary);

    font-size: 16px;
}

.services-bottom p {
    margin: 0;

    color: var(--text-muted);

    font-size: 14px;
}

/* ---------------------------------------------------------
   Services responsive
   --------------------------------------------------------- */

@media (max-width: 1024px) {
    .services-section {
        padding: 100px 0;
    }

    .section-heading-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .section-description {
        max-width: 700px;
    }

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

    .service-card-featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .services-section {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-title {
        font-size: clamp(36px, 10vw, 46px);
    }

    .section-description {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card-featured {
        grid-column: auto;
    }

    .service-card {
        padding: 24px;
    }

    .service-card h3 {
        font-size: 23px;
    }

    .services-bottom {
        align-items: stretch;
        flex-direction: column;

        padding: 22px;
    }

    .services-bottom .button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 35px;
    }

    .service-card {
        padding: 21px;
        border-radius: 20px;
    }

    .service-card-top {
        margin-bottom: 28px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
    }

    .services-bottom-content {
        align-items: flex-start;
    }
}

/* ---------------------------------------------------------
   9. Case study
   --------------------------------------------------------- */

.case-study-section {
    position: relative;
    overflow: hidden;

    padding: 120px 0;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(99, 156, 197, 0.10),
            transparent 28%
        ),
        linear-gradient(
            150deg,
            var(--primary) 0%,
            var(--primary-dark) 100%
        );
}

.case-study-section::before {
    position: absolute;
    top: -180px;
    left: -180px;

    width: 480px;
    height: 480px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0)
        );

    content: "";
    pointer-events: none;
}

.case-study-header {
    position: relative;
    z-index: 1;

    margin-bottom: 56px;
}

.case-study-eyebrow {
    color: #9CC8E6;
}

.case-study-heading-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(320px, 0.75fr);

    align-items: end;
    gap: 60px;
}

.case-study-title {
    color: var(--surface);
}

.case-study-title span {
    color: #7AAFD6;
}

.case-study-description {
    color: rgba(255, 255, 255, 0.68);
}

.case-study-card {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        minmax(0, 1.03fr)
        minmax(390px, 0.97fr);

    overflow: hidden;

    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 30px;

    box-shadow:
        0 35px 90px rgba(1, 14, 28, 0.30);
}

.case-study-content {
    display: flex;
    flex-direction: column;

    padding: 44px;
}

.case-study-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    margin-bottom: 44px;
}

.case-study-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.case-study-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 54px;
    height: 54px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    border-radius: 16px;
    color: var(--surface);

    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.case-study-brand span {
    display: block;

    margin-bottom: 1px;

    color: var(--text-soft);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.case-study-brand strong {
    display: block;

    color: var(--primary);

    font-size: 16px;
}

.case-study-industry {
    padding: 7px 12px;

    background: rgba(3, 32, 61, 0.06);
    border-radius: var(--radius-pill);
    color: var(--text-muted);

    font-size: 11px;
    font-weight: 700;
}

.case-study-intro {
    margin-bottom: 34px;
}

.case-study-label {
    display: block;

    margin-bottom: 10px;

    color: var(--secondary-dark);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-study-intro h3 {
    max-width: 580px;
    margin-bottom: 16px;

    color: var(--primary);

    font-size: clamp(27px, 2.5vw, 37px);
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.case-study-intro p {
    max-width: 610px;
    margin-bottom: 0;

    color: var(--text-muted);

    font-size: 15px;
    line-height: 1.75;
}

.case-study-actions {
    display: grid;
    gap: 14px;
}

.case-study-action-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;

    padding: 17px;

    background: var(--background);
    border: 1px solid rgba(3, 32, 61, 0.07);
    border-radius: 16px;
}

.case-study-action-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: rgba(99, 156, 197, 0.11);
    border-radius: 13px;
    color: var(--secondary-dark);

    font-size: 11px;
    font-weight: 700;
}

.case-study-action-item strong {
    display: block;

    margin-bottom: 3px;

    color: var(--primary);

    font-size: 14px;
}

.case-study-action-item p {
    margin: 0;

    color: var(--text-muted);

    font-size: 13px;
    line-height: 1.55;
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 28px;
    padding-top: 20px;

    border-top: 1px solid rgba(3, 32, 61, 0.08);
    color: var(--primary);

    font-size: 14px;
    font-weight: 700;
}

.case-study-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: rgba(99, 156, 197, 0.10);
    border-radius: 50%;
    color: var(--secondary-dark);

    font-size: 18px;

    transition:
        transform var(--transition),
        background-color var(--transition);
}

.case-study-link:hover span {
    transform: translateX(4px);

    background: rgba(99, 156, 197, 0.17);
}

.case-study-results {
    position: relative;

    padding: 44px;

    background:
        linear-gradient(
            155deg,
            #f8fafc 0%,
            #EEF3F8 100%
        );

    border-left: 1px solid rgba(3, 32, 61, 0.08);
}

.case-study-results::before {
    position: absolute;
    right: -80px;
    bottom: -100px;

    width: 300px;
    height: 300px;

    background:
        radial-gradient(
            circle,
            rgba(99, 156, 197, 0.13),
            rgba(99, 156, 197, 0)
        );

    content: "";
    pointer-events: none;
}

.case-study-results > * {
    position: relative;
    z-index: 1;
}

.case-study-results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 34px;
}

.case-study-results-header span {
    display: block;

    margin-bottom: 4px;

    color: var(--text-soft);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.case-study-results-header h3 {
    margin: 0;

    color: var(--primary);

    font-size: 22px;
    letter-spacing: -0.02em;
}

.case-study-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;

    padding: 7px 10px;

    background: rgba(99, 156, 197, 0.11);
    border-radius: var(--radius-pill);
    color: var(--secondary-dark);

    font-size: 11px;
    font-weight: 700;
}

.case-study-status span {
    width: 7px;
    height: 7px;
    margin: 0;

    background: var(--secondary);
    border-radius: 50%;
}

.case-study-main-result {
    margin-bottom: 22px;
    padding: 26px;

    background:
        linear-gradient(
            145deg,
            var(--primary) 0%,
            var(--primary-dark) 100%
        );

    border-radius: 21px;

    box-shadow:
        0 18px 45px rgba(3, 32, 61, 0.18);
}

.case-study-main-result > span {
    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.case-study-main-result strong {
    display: block;

    margin-bottom: 7px;

    color: #86B8DD;

    font-size: 38px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.case-study-main-result p {
    margin: 0;

    color: rgba(255, 255, 255, 0.70);

    font-size: 13px;
    line-height: 1.65;
}

.case-study-result-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 22px;
}

.case-study-result-card {
    min-width: 0;
    padding: 17px;

    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(3, 32, 61, 0.08);
    border-radius: 16px;

    box-shadow:
        0 7px 20px rgba(3, 32, 61, 0.05);
}

.case-study-result-card span {
    display: block;

    margin-bottom: 5px;

    color: var(--text-soft);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.case-study-result-card strong {
    display: block;

    margin-bottom: 3px;

    color: var(--primary);

    font-size: 16px;
}

.case-study-result-card small {
    color: var(--text-muted);

    font-size: 11px;
}

.case-study-progress {
    margin-bottom: 22px;
    padding: 18px;

    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(3, 32, 61, 0.07);
    border-radius: 16px;
}

.case-study-progress-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 12px;
}

.case-study-progress-heading span {
    color: var(--text-muted);

    font-size: 11px;
    font-weight: 600;
}

.case-study-progress-heading strong {
    color: var(--primary);

    font-size: 11px;
}

.case-study-progress-track {
    overflow: hidden;

    height: 7px;

    background: rgba(3, 32, 61, 0.09);
    border-radius: var(--radius-pill);
}

.case-study-progress-track span {
    display: block;

    width: 72%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--secondary),
            #74c96e
        );

    border-radius: inherit;
}

.case-study-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 16px;

    background: rgba(99, 156, 197, 0.08);
    border: 1px solid rgba(99, 156, 197, 0.13);
    border-radius: 15px;
}

.case-study-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 29px;
    height: 29px;

    background: rgba(99, 156, 197, 0.14);
    border-radius: 9px;
    color: var(--secondary-dark);

    font-size: 13px;
    font-weight: 700;
}

.case-study-note p {
    margin: 2px 0 0;

    color: #426045;

    font-size: 12px;
    line-height: 1.55;
}

.case-study-footer {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    margin-top: 34px;
    padding: 24px 28px;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
}

.case-study-footer p {
    max-width: 710px;
    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 1.65;
}

/* ---------------------------------------------------------
   Case study responsive
   --------------------------------------------------------- */

@media (max-width: 1024px) {
    .case-study-section {
        padding: 100px 0;
    }

    .case-study-heading-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .case-study-description {
        max-width: 720px;
    }

    .case-study-card {
        grid-template-columns: 1fr;
    }

    .case-study-results {
        border-top: 1px solid rgba(3, 32, 61, 0.08);
        border-left: 0;
    }
}

@media (max-width: 720px) {
    .case-study-section {
        padding: 80px 0;
    }

    .case-study-header {
        margin-bottom: 38px;
    }

    .case-study-content,
    .case-study-results {
        padding: 28px;
    }

    .case-study-brand-row {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 34px;
    }

    .case-study-intro h3 {
        font-size: 28px;
    }

    .case-study-footer {
        align-items: stretch;
        flex-direction: column;

        padding: 22px;
    }

    .case-study-footer .button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .case-study-content,
    .case-study-results {
        padding: 21px;
    }

    .case-study-card {
        border-radius: 22px;
    }

    .case-study-action-item {
        grid-template-columns: 36px 1fr;

        padding: 14px;
    }

    .case-study-action-number {
        width: 36px;
        height: 36px;
    }

    .case-study-results-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .case-study-result-grid {
        grid-template-columns: 1fr;
    }

    .case-study-main-result {
        padding: 22px;
    }

    .case-study-main-result strong {
        font-size: 34px;
    }

    .case-study-progress-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* ---------------------------------------------------------
   10. About / Why PrimeShift
   --------------------------------------------------------- */

.about-section {
    position: relative;
    overflow: hidden;

    padding: 120px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            var(--background) 100%
        );
}

.about-section::before {
    position: absolute;
    top: 80px;
    left: -180px;

    width: 430px;
    height: 430px;

    background:
        radial-gradient(
            circle,
            rgba(99, 156, 197, 0.08),
            rgba(99, 156, 197, 0)
        );

    content: "";
    pointer-events: none;
}

.about-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(420px, 1.08fr);

    align-items: start;
    gap: clamp(55px, 7vw, 100px);
}

.about-title {
    margin-bottom: 26px;
}

.about-description {
    max-width: 630px;
    margin-bottom: 17px;

    color: var(--text-muted);

    font-size: 16px;
    line-height: 1.78;
}

.about-principles {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-top: 34px;
}

.about-principle {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    min-width: 0;
    padding: 17px;

    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(3, 32, 61, 0.08);
    border-radius: 16px;

    box-shadow:
        0 8px 24px rgba(3, 32, 61, 0.05);
}

.about-principle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    background: rgba(99, 156, 197, 0.10);
    border-radius: 12px;
    color: var(--secondary-dark);
}

.about-principle-icon svg {
    width: 20px;
    height: 20px;
}

.about-principle strong {
    display: block;

    margin-bottom: 4px;

    color: var(--primary);

    font-size: 14px;
}

.about-principle p {
    margin: 0;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.55;
}

.about-button {
    margin-top: 30px;
}

.about-process {
    position: relative;

    padding: 38px;

    background:
        linear-gradient(
            150deg,
            var(--primary) 0%,
            var(--primary-dark) 100%
        );

    border-radius: 28px;

    box-shadow:
        0 30px 75px rgba(3, 32, 61, 0.20);
}

.about-process::before {
    position: absolute;
    top: -80px;
    right: -70px;

    width: 240px;
    height: 240px;

    background:
        radial-gradient(
            circle,
            rgba(99, 156, 197, 0.24),
            rgba(99, 156, 197, 0)
        );

    content: "";
    pointer-events: none;
}

.about-process > * {
    position: relative;
    z-index: 1;
}

.about-process-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 34px;
}

.about-process-label {
    display: block;

    margin-bottom: 8px;

    color: #8DBCE0;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-process-header h3 {
    max-width: 470px;
    margin: 0;

    color: var(--surface);

    font-size: clamp(26px, 2.5vw, 34px);
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.about-process-badge {
    flex: 0 0 auto;

    padding: 7px 11px;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-pill);
    color: rgba(255, 255, 255, 0.76);

    font-size: 11px;
    font-weight: 700;
}

.process-list {
    display: grid;
    gap: 0;
}

.process-item {
    position: relative;

    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 17px;

    padding: 0 0 27px;
}

.process-item:not(:last-child)::after {
    position: absolute;
    top: 46px;
    bottom: 5px;
    left: 24px;

    width: 1px;

    background:
        linear-gradient(
            180deg,
            rgba(140, 190, 226, 0.55),
            rgba(255, 255, 255, 0.09)
        );

    content: "";
}

.process-number {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    background: rgba(99, 156, 197, 0.15);
    border: 1px solid rgba(140, 190, 226, 0.19);
    border-radius: 15px;
    color: #9CC8E6;

    font-size: 11px;
    font-weight: 700;
}

.process-content {
    padding-top: 2px;
}

.process-content > span {
    display: block;

    margin-bottom: 3px;

    color: #8DBCE0;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.process-content h4 {
    margin-bottom: 5px;

    color: var(--surface);

    font-size: 16px;
    line-height: 1.35;
}

.process-content p {
    max-width: 490px;
    margin: 0;

    color: rgba(255, 255, 255, 0.60);

    font-size: 13px;
    line-height: 1.6;
}

.about-process-footer {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 4px;
    padding: 16px;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;
}

.about-process-footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 29px;
    height: 29px;

    background: rgba(99, 156, 197, 0.18);
    border-radius: 9px;
    color: #9CC8E6;

    font-size: 13px;
    font-weight: 700;
}

.about-process-footer p {
    margin: 3px 0 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 12px;
    line-height: 1.55;
}

.about-credentials {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    margin-top: 65px;

    overflow: hidden;

    background: var(--surface);
    border: 1px solid rgba(3, 32, 61, 0.08);
    border-radius: 21px;

    box-shadow:
        0 15px 45px rgba(3, 32, 61, 0.07);
}

.about-credential {
    min-width: 0;
    padding: 23px 25px;
}

.about-credential:not(:last-child) {
    border-right: 1px solid rgba(3, 32, 61, 0.08);
}

.about-credential span {
    display: block;

    margin-bottom: 5px;

    color: var(--text-soft);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-credential strong {
    display: block;

    color: var(--primary);

    font-size: 14px;
    line-height: 1.45;
}

/* ---------------------------------------------------------
   About responsive
   --------------------------------------------------------- */

@media (max-width: 1080px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-content {
        max-width: 780px;
    }

    .about-process {
        width: min(100%, 780px);
    }

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

    .about-credential:nth-child(2) {
        border-right: 0;
    }

    .about-credential:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(3, 32, 61, 0.08);
    }
}

@media (max-width: 720px) {
    .about-section {
        padding: 80px 0;
    }

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

    .about-process {
        padding: 28px;
        border-radius: 23px;
    }

    .about-process-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-process-header h3 {
        font-size: 28px;
    }

    .about-credentials {
        margin-top: 45px;
    }

    .about-credential {
        padding: 20px;
    }
}

@media (max-width: 520px) {
    .about-process {
        padding: 21px;
    }

    .process-item {
        grid-template-columns: 42px 1fr;
        gap: 13px;
    }

    .process-number {
        width: 42px;
        height: 42px;
    }

    .process-item:not(:last-child)::after {
        top: 40px;
        left: 20px;
    }

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

    .about-credential,
    .about-credential:nth-child(2) {
        border-right: 0;
    }

    .about-credential:not(:last-child) {
        border-bottom: 1px solid rgba(3, 32, 61, 0.08);
    }
}

/* ---------------------------------------------------------
   11. Contact
   --------------------------------------------------------- */

.contact-section {
    position: relative;
    overflow: hidden;

    padding: 120px 0;

    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(99, 156, 197, 0.11),
            transparent 30%
        ),
        linear-gradient(
            150deg,
            var(--primary) 0%,
            var(--primary-dark) 100%
        );
}

.contact-section::before {
    position: absolute;
    right: -170px;
    bottom: -210px;

    width: 500px;
    height: 500px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0)
        );

    content: "";
    pointer-events: none;
}

.contact-shell {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(430px, 1.1fr);

    align-items: center;
    gap: clamp(55px, 7vw, 100px);
}

.contact-eyebrow {
    color: #9CC8E6;
}

.contact-title {
    max-width: 680px;
    margin-bottom: 25px;

    color: var(--surface);
}

.contact-title span {
    color: #7AAFD6;
}

.contact-description {
    max-width: 620px;
    margin-bottom: 32px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 17px;
    line-height: 1.75;
}

.contact-benefits {
    display: grid;
    gap: 14px;

    margin-bottom: 34px;
}

.contact-benefit {
    display: flex;
    align-items: center;
    gap: 13px;
}

.contact-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    background: rgba(99, 156, 197, 0.18);
    border: 1px solid rgba(140, 190, 226, 0.18);
    border-radius: 11px;
    color: #A9CFEA;

    font-size: 13px;
    font-weight: 700;
}

.contact-benefit strong {
    display: block;

    color: var(--surface);

    font-size: 14px;
}

.contact-benefit span {
    display: block;

    color: rgba(255, 255, 255, 0.56);

    font-size: 12px;
}

.contact-direct-options {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.contact-direct-item {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
    padding: 15px;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;

    transition:
        background-color var(--transition),
        transform var(--transition),
        border-color var(--transition);
}

.contact-direct-item:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.16);
}

.contact-direct-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    background: rgba(99, 156, 197, 0.17);
    border-radius: 12px;
    color: #9CC8E6;
}

.contact-direct-icon svg {
    width: 20px;
    height: 20px;
}

.contact-direct-item span {
    display: block;

    margin-bottom: 2px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-direct-item strong {
    display: block;
    overflow: hidden;

    color: var(--surface);

    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-form-card {
    padding: 38px;

    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;

    box-shadow:
        0 35px 90px rgba(1, 14, 28, 0.30);
}

.contact-form-header {
    margin-bottom: 28px;
}

.contact-form-header > span {
    display: block;

    margin-bottom: 8px;

    color: var(--secondary-dark);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-form-header h3 {
    margin-bottom: 9px;

    color: var(--primary);

    font-size: 30px;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.contact-form-header p {
    margin: 0;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.65;
}

.contact-form {
    display: grid;
    gap: 17px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.form-field {
    min-width: 0;
}

.form-field label {
    display: block;

    margin-bottom: 7px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    background: var(--background);
    border: 1px solid rgba(3, 32, 61, 0.11);
    border-radius: 13px;
    color: var(--text);

    outline: none;

    transition:
        border-color var(--transition),
        background-color var(--transition),
        box-shadow var(--transition);
}

.form-field input,
.form-field select {
    height: 50px;
    padding: 0 14px;
}

.form-field textarea {
    min-height: 132px;
    padding: 13px 14px;

    line-height: 1.6;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-soft);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    background: var(--surface);
    border-color: rgba(99, 156, 197, 0.55);

    box-shadow:
        0 0 0 4px rgba(99, 156, 197, 0.09);
}

.contact-submit {
    width: 100%;
    margin-top: 2px;
}

.contact-form-note {
    margin: -3px 0 0;

    color: var(--text-soft);

    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

/* ---------------------------------------------------------
   12. Footer
   --------------------------------------------------------- */

.site-footer {
    padding: 72px 0 24px;

    background: #011426;
    color: var(--surface);
}

.footer-main {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.5fr)
        repeat(3, minmax(140px, 0.7fr));

    gap: 48px;

    padding-bottom: 52px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: inline-flex;

    margin-bottom: 18px;
}

.footer-logo img {
    width: auto;
    max-width: 260px;
    height: 58px;

    object-fit: contain;
}

.footer-brand p {
    margin: 0;

    color: rgba(255, 255, 255, 0.56);

    font-size: 14px;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.footer-column-title {
    margin-bottom: 6px;

    color: var(--surface);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column > span:not(.footer-column-title) {
    color: rgba(255, 255, 255, 0.58);

    font-size: 13px;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: #8DBCE0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.42);

    font-size: 12px;
}

.footer-legal {
    display: flex;
    gap: 22px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.48);

    font-size: 12px;

    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--surface);
}

/* ---------------------------------------------------------
   Contact and footer responsive
   --------------------------------------------------------- */

@media (max-width: 1080px) {
    .contact-shell {
        grid-template-columns: 1fr;
    }

    .contact-content {
        max-width: 760px;
    }

    .contact-form-card {
        width: min(100%, 780px);
    }

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

@media (max-width: 720px) {
    .contact-section {
        padding: 80px 0;
    }

    .contact-direct-options {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 28px;

        border-radius: 23px;
    }

    .contact-form-header h3 {
        font-size: 27px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-brand {
        max-width: 500px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .contact-form-card {
        padding: 21px;
    }

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

    .contact-title {
        font-size: 36px;
    }

    .footer-logo img {
        max-width: 220px;
        height: auto;
    }

    .footer-legal {
        flex-wrap: wrap;
    }
}

/* ---------------------------------------------------------
   Temporary sections
   --------------------------------------------------------- */

.placeholder-section {
    min-height: 320px;
    padding: 110px 0;

    background: var(--surface);
    border-top: 1px solid var(--border);
}

.placeholder-section:nth-child(even) {
    background: var(--background);
}

.placeholder-section p {
    margin: 0;

    color: var(--text-soft);

    text-align: center;
}

/* ---------------------------------------------------------
   8. Responsive
   --------------------------------------------------------- */

@media (max-width: 1180px) {
    .hero-container {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);

        gap: 36px;
    }

    .hero-title {
        font-size: clamp(48px, 4.7vw, 64px);
    }
}

@media (max-width: 1024px) {
    .desktop-navigation,
    .header-cta {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .header-container {
        min-height: 78px;
    }

    .brand-logo img {
        height: 38px;
    }

    .hero-section {
        min-height: auto;
        padding: 140px 0 88px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .hero-content {
        max-width: 760px;
        margin-inline: auto;

        text-align: center;
    }

    .hero-badge,
    .hero-actions,
    .hero-trust-points {
        justify-content: center;
    }

    .hero-title,
    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-visual {
        width: min(100%, 720px);
        max-width: 720px;
        margin-inline: auto;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(
            calc(100% - 32px),
            var(--container-width)
        );
    }

    .header-container {
        min-height: 72px;
    }

    .brand-logo img {
        width: auto;
        max-width: none;
        height: 27px;
    }

    .hero-section {
        padding: 122px 0 72px;
    }

    .hero-container {
        gap: 44px;
    }

    .hero-badge {
        margin-bottom: 20px;

        font-size: 12px;
    }

    .hero-title {
        margin-bottom: 20px;

        font-size: clamp(40px, 11vw, 52px);
        letter-spacing: -0.045em;
        line-height: 1.06;
    }

    .hero-description {
        margin-bottom: 27px;

        font-size: 17px;
        line-height: 1.65;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-trust-points {
        align-items: flex-start;
        flex-direction: column;

        width: fit-content;
        max-width: 100%;
        margin-inline: auto;
    }

    .performance-card {
        padding: 20px;

        border-radius: 22px;
    }

    .performance-card::before {
        display: none;
    }

    .performance-card-header {
        margin-bottom: 22px;
    }

    .performance-card-header h2 {
        font-size: 19px;
    }

    .metric-value-row strong {
        font-size: 38px;
    }

    .performance-chart {
        height: 175px;
    }

    .performance-bottom-grid {
        gap: 8px;
    }

    .performance-small-card {
        padding: 12px 10px;
    }

    .performance-small-card span {
        min-height: 29px;

        font-size: 10px;
    }

    .performance-small-card strong {
        font-size: 16px;
    }

    .performance-small-card small {
        font-size: 10px;
    }

    .performance-insights {
        gap: 8px;
    }

    .performance-insight {
        padding: 11px;
    }
}

@media (max-width: 520px) {
    .hero-title {
        font-size: 41px;
    }

    .performance-card {
        padding: 17px;
    }

    .performance-card-label {
        font-size: 10px;
    }

    .performance-card-header h2 {
        font-size: 17px;
    }

    .performance-status {
        padding: 6px 8px;

        font-size: 10px;
    }

    .performance-main-metric {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .metric-period {
        padding-bottom: 0;
    }

    .performance-chart {
        height: 145px;
    }

    .performance-bottom-grid,
    .performance-insights {
        grid-template-columns: 1fr;
    }

    .performance-small-card {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 3px 12px;

        padding: 14px;
    }

    .performance-small-card span {
        min-height: auto;
        margin-bottom: 0;
    }

    .performance-small-card strong {
        grid-column: 1;

        margin-bottom: 0;
    }

    .performance-small-card small {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 380px) {
    .container {
        width: min(
            calc(100% - 24px),
            var(--container-width)
        );
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .performance-card {
        padding: 15px;
    }
}

/* =========================================================
   Services entrance animations
   ========================================================= */

.js .services-section .section-eyebrow,
.js .services-section .section-title,
.js .services-section .section-description,
.js .services-section .service-card,
.js .services-section .services-bottom {
    opacity: 0;
    will-change: opacity, transform;
}

.js .services-section .section-eyebrow {
    transform: translateY(16px);
}

.js .services-section .section-title {
    transform: translateX(-30px);
}

.js .services-section .section-description {
    transform: translateX(30px);
}

.js .services-section .service-card {
    transform: translateY(38px) scale(0.98);
}

.js .services-section .services-bottom {
    transform: translateY(26px);
}

.js .services-section.services-visible .section-eyebrow,
.js .services-section.services-visible .section-title,
.js .services-section.services-visible .section-description,
.js .services-section.services-visible .service-card,
.js .services-section.services-visible .services-bottom {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.js .services-section.services-visible .section-eyebrow {
    transition:
        opacity 500ms ease,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .services-section.services-visible .section-title {
    transition:
        opacity 650ms ease 80ms,
        transform 750ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

.js .services-section.services-visible .section-description {
    transition:
        opacity 650ms ease 160ms,
        transform 750ms cubic-bezier(0.22, 1, 0.36, 1) 160ms;
}

.js .services-section.services-visible .service-card:nth-child(1) {
    transition:
        opacity 650ms ease 240ms,
        transform 750ms cubic-bezier(0.22, 1, 0.36, 1) 240ms;
}

.js .services-section.services-visible .service-card:nth-child(2) {
    transition:
        opacity 650ms ease 350ms,
        transform 750ms cubic-bezier(0.22, 1, 0.36, 1) 350ms;
}

.js .services-section.services-visible .service-card:nth-child(3) {
    transition:
        opacity 650ms ease 460ms,
        transform 750ms cubic-bezier(0.22, 1, 0.36, 1) 460ms;
}

.js .services-section.services-visible .services-bottom {
    transition:
        opacity 650ms ease 570ms,
        transform 750ms cubic-bezier(0.22, 1, 0.36, 1) 570ms;
}

/* =========================================================
   Case study entrance animations
   ========================================================= */

.js .case-study-section .case-study-eyebrow,
.js .case-study-section .case-study-title,
.js .case-study-section .case-study-description,
.js .case-study-section .case-study-card,
.js .case-study-section .case-study-content,
.js .case-study-section .case-study-results,
.js .case-study-section .case-study-footer {
    opacity: 0;
    will-change: opacity, transform;
}

.js .case-study-section .case-study-eyebrow {
    transform: translateY(16px);
}

.js .case-study-section .case-study-title {
    transform: translateX(-34px);
}

.js .case-study-section .case-study-description {
    transform: translateX(34px);
}

.js .case-study-section .case-study-card {
    transform: translateY(42px) scale(0.98);
}

.js .case-study-section .case-study-content {
    transform: translateX(-28px);
}

.js .case-study-section .case-study-results {
    transform: translateX(28px);
}

.js .case-study-section .case-study-footer {
    transform: translateY(28px);
}

.js .case-study-section.case-study-visible .case-study-eyebrow,
.js .case-study-section.case-study-visible .case-study-title,
.js .case-study-section.case-study-visible .case-study-description,
.js .case-study-section.case-study-visible .case-study-card,
.js .case-study-section.case-study-visible .case-study-content,
.js .case-study-section.case-study-visible .case-study-results,
.js .case-study-section.case-study-visible .case-study-footer {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.js .case-study-section.case-study-visible .case-study-eyebrow {
    transition:
        opacity 500ms ease,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .case-study-section.case-study-visible .case-study-title {
    transition:
        opacity 650ms ease 80ms,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

.js .case-study-section.case-study-visible .case-study-description {
    transition:
        opacity 650ms ease 160ms,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 160ms;
}

.js .case-study-section.case-study-visible .case-study-card {
    transition:
        opacity 700ms ease 240ms,
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1) 240ms;
}

.js .case-study-section.case-study-visible .case-study-content {
    transition:
        opacity 650ms ease 360ms,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 360ms;
}

.js .case-study-section.case-study-visible .case-study-results {
    transition:
        opacity 650ms ease 440ms,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 440ms;
}

.js .case-study-section.case-study-visible .case-study-footer {
    transition:
        opacity 650ms ease 680ms,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 680ms;
}

/* Internal result cards */

.js .case-study-section .case-study-action-item,
.js .case-study-section .case-study-main-result,
.js .case-study-section .case-study-result-card,
.js .case-study-section .case-study-progress,
.js .case-study-section .case-study-note {
    opacity: 0;
    transform: translateY(18px);
    will-change: opacity, transform;
}

.js .case-study-section.case-study-visible .case-study-action-item,
.js .case-study-section.case-study-visible .case-study-main-result,
.js .case-study-section.case-study-visible .case-study-result-card,
.js .case-study-section.case-study-visible .case-study-progress,
.js .case-study-section.case-study-visible .case-study-note {
    opacity: 1;
    transform: translateY(0);
}

.js .case-study-section.case-study-visible .case-study-action-item:nth-child(1) {
    transition:
        opacity 500ms ease 500ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 500ms;
}

.js .case-study-section.case-study-visible .case-study-action-item:nth-child(2) {
    transition:
        opacity 500ms ease 590ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 590ms;
}

.js .case-study-section.case-study-visible .case-study-action-item:nth-child(3) {
    transition:
        opacity 500ms ease 680ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 680ms;
}

.js .case-study-section.case-study-visible .case-study-main-result {
    transition:
        opacity 550ms ease 560ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 560ms;
}

.js .case-study-section.case-study-visible .case-study-result-card:nth-child(1) {
    transition:
        opacity 500ms ease 650ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 650ms;
}

.js .case-study-section.case-study-visible .case-study-result-card:nth-child(2) {
    transition:
        opacity 500ms ease 720ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 720ms;
}

.js .case-study-section.case-study-visible .case-study-result-card:nth-child(3) {
    transition:
        opacity 500ms ease 790ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 790ms;
}

.js .case-study-section.case-study-visible .case-study-result-card:nth-child(4) {
    transition:
        opacity 500ms ease 860ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 860ms;
}

.js .case-study-section.case-study-visible .case-study-progress {
    transition:
        opacity 500ms ease 930ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 930ms;
}

.js .case-study-section.case-study-visible .case-study-note {
    transition:
        opacity 500ms ease 1020ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 1020ms;
}

/* Progress bar starts empty */

.js .case-study-section .case-study-progress-track span {
    width: 0;
    transition: none;
}

.js .case-study-section.case-study-visible .case-study-progress-track span {
    width: 72%;

    transition:
        width 1100ms cubic-bezier(0.22, 1, 0.36, 1) 1050ms;
}

/* =========================================================
   About section entrance animations
   ========================================================= */

.js .about-section .section-eyebrow,
.js .about-section .about-title,
.js .about-section .about-description,
.js .about-section .about-principle,
.js .about-section .about-button,
.js .about-section .about-process,
.js .about-section .about-credential {
    opacity: 0;
    will-change: opacity, transform;
}

.js .about-section .section-eyebrow {
    transform: translateY(16px);
}

.js .about-section .about-title {
    transform: translateX(-34px);
}

.js .about-section .about-description {
    transform: translateY(20px);
}

.js .about-section .about-principle {
    transform: translateY(26px) scale(0.98);
}

.js .about-section .about-button {
    transform: translateY(20px);
}

.js .about-section .about-process {
    transform: translateX(42px) scale(0.98);
}

.js .about-section .about-credential {
    transform: translateY(22px);
}

.js .about-section.about-visible .section-eyebrow,
.js .about-section.about-visible .about-title,
.js .about-section.about-visible .about-description,
.js .about-section.about-visible .about-principle,
.js .about-section.about-visible .about-button,
.js .about-section.about-visible .about-process,
.js .about-section.about-visible .about-credential {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.js .about-section.about-visible .section-eyebrow {
    transition:
        opacity 500ms ease,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .about-section.about-visible .about-title {
    transition:
        opacity 650ms ease 90ms,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 90ms;
}

.js .about-section.about-visible .about-description:nth-of-type(1) {
    transition:
        opacity 600ms ease 180ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 180ms;
}

.js .about-section.about-visible .about-description:nth-of-type(2) {
    transition:
        opacity 600ms ease 250ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 250ms;
}

.js .about-section.about-visible .about-principle:nth-child(1) {
    transition:
        opacity 550ms ease 350ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 350ms;
}

.js .about-section.about-visible .about-principle:nth-child(2) {
    transition:
        opacity 550ms ease 430ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 430ms;
}

.js .about-section.about-visible .about-principle:nth-child(3) {
    transition:
        opacity 550ms ease 510ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 510ms;
}

.js .about-section.about-visible .about-principle:nth-child(4) {
    transition:
        opacity 550ms ease 590ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 590ms;
}

.js .about-section.about-visible .about-button {
    transition:
        opacity 550ms ease 680ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 680ms;
}

.js .about-section.about-visible .about-process {
    transition:
        opacity 700ms ease 220ms,
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1) 220ms;
}

/* Process steps */

.js .about-section .process-item,
.js .about-section .about-process-footer {
    opacity: 0;
    transform: translateY(18px);
    will-change: opacity, transform;
}

.js .about-section.about-visible .process-item,
.js .about-section.about-visible .about-process-footer {
    opacity: 1;
    transform: translateY(0);
}

.js .about-section.about-visible .process-item:nth-child(1) {
    transition:
        opacity 500ms ease 480ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 480ms;
}

.js .about-section.about-visible .process-item:nth-child(2) {
    transition:
        opacity 500ms ease 560ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 560ms;
}

.js .about-section.about-visible .process-item:nth-child(3) {
    transition:
        opacity 500ms ease 640ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 640ms;
}

.js .about-section.about-visible .process-item:nth-child(4) {
    transition:
        opacity 500ms ease 720ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 720ms;
}

.js .about-section.about-visible .about-process-footer {
    transition:
        opacity 500ms ease 820ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 820ms;
}

/* Credentials */

.js .about-section.about-visible .about-credential:nth-child(1) {
    transition:
        opacity 500ms ease 880ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 880ms;
}

.js .about-section.about-visible .about-credential:nth-child(2) {
    transition:
        opacity 500ms ease 950ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 950ms;
}

.js .about-section.about-visible .about-credential:nth-child(3) {
    transition:
        opacity 500ms ease 1020ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 1020ms;
}

.js .about-section.about-visible .about-credential:nth-child(4) {
    transition:
        opacity 500ms ease 1090ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 1090ms;
}

/* =========================================================
   Contact section entrance animations
   ========================================================= */

.js .contact-section .contact-eyebrow,
.js .contact-section .contact-title,
.js .contact-section .contact-description,
.js .contact-section .contact-benefit,
.js .contact-section .contact-direct-item,
.js .contact-section .contact-form-card {
    opacity: 0;
    will-change: opacity, transform;
}

.js .contact-section .contact-eyebrow {
    transform: translateY(16px);
}

.js .contact-section .contact-title {
    transform: translateX(-34px);
}

.js .contact-section .contact-description {
    transform: translateY(20px);
}

.js .contact-section .contact-benefit {
    transform: translateX(-22px);
}

.js .contact-section .contact-direct-item {
    transform: translateY(22px) scale(0.98);
}

.js .contact-section .contact-form-card {
    transform: translateX(44px) scale(0.98);
}

.js .contact-section.contact-visible .contact-eyebrow,
.js .contact-section.contact-visible .contact-title,
.js .contact-section.contact-visible .contact-description,
.js .contact-section.contact-visible .contact-benefit,
.js .contact-section.contact-visible .contact-direct-item,
.js .contact-section.contact-visible .contact-form-card {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.js .contact-section.contact-visible .contact-eyebrow {
    transition:
        opacity 500ms ease,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .contact-section.contact-visible .contact-title {
    transition:
        opacity 650ms ease 80ms,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

.js .contact-section.contact-visible .contact-description {
    transition:
        opacity 600ms ease 170ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 170ms;
}

.js .contact-section.contact-visible .contact-benefit:nth-child(1) {
    transition:
        opacity 500ms ease 280ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 280ms;
}

.js .contact-section.contact-visible .contact-benefit:nth-child(2) {
    transition:
        opacity 500ms ease 360ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 360ms;
}

.js .contact-section.contact-visible .contact-benefit:nth-child(3) {
    transition:
        opacity 500ms ease 440ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 440ms;
}

.js .contact-section.contact-visible .contact-direct-item:nth-child(1) {
    transition:
        opacity 550ms ease 540ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 540ms;
}

.js .contact-section.contact-visible .contact-direct-item:nth-child(2) {
    transition:
        opacity 550ms ease 620ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 620ms;
}

.js .contact-section.contact-visible .contact-form-card {
    transition:
        opacity 700ms ease 220ms,
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1) 220ms;
}

/* Contact form internals */

.js .contact-section .contact-form-header,
.js .contact-section .form-field,
.js .contact-section .contact-submit,
.js .contact-section .contact-form-note {
    opacity: 0;
    transform: translateY(18px);
    will-change: opacity, transform;
}

.js .contact-section.contact-visible .contact-form-header,
.js .contact-section.contact-visible .form-field,
.js .contact-section.contact-visible .contact-submit,
.js .contact-section.contact-visible .contact-form-note {
    opacity: 1;
    transform: translateY(0);
}

.js .contact-section.contact-visible .contact-form-header {
    transition:
        opacity 550ms ease 430ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 430ms;
}

.js .contact-section.contact-visible .contact-form-grid:nth-of-type(1) .form-field:nth-child(1) {
    transition:
        opacity 500ms ease 520ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 520ms;
}

.js .contact-section.contact-visible .contact-form-grid:nth-of-type(1) .form-field:nth-child(2) {
    transition:
        opacity 500ms ease 590ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 590ms;
}

.js .contact-section.contact-visible .contact-form-grid:nth-of-type(2) .form-field:nth-child(1) {
    transition:
        opacity 500ms ease 660ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 660ms;
}

.js .contact-section.contact-visible .contact-form-grid:nth-of-type(2) .form-field:nth-child(2) {
    transition:
        opacity 500ms ease 730ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 730ms;
}

.js .contact-section.contact-visible .contact-form > .form-field:nth-of-type(1) {
    transition:
        opacity 500ms ease 800ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 800ms;
}

.js .contact-section.contact-visible .contact-form > .form-field:nth-of-type(2) {
    transition:
        opacity 500ms ease 870ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 870ms;
}

.js .contact-section.contact-visible .contact-submit {
    transition:
        opacity 500ms ease 950ms,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 950ms;
}

.js .contact-section.contact-visible .contact-form-note {
    transition:
        opacity 450ms ease 1030ms,
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1) 1030ms;
}
/* ---------------------------------------------------------
   Nov 2026 update: e-invoicing timeline, more work, 6 services
--------------------------------------------------------- */

.performance-card .metric-value-row strong {
    font-size: 34px;
}

.einvoice-timeline {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    border-top: 1px solid var(--border);
}

.einvoice-timeline li {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-small);
}

.einvoice-timeline li.einvoice-highlight {
    background: rgba(99, 156, 197, 0.08);
    border-bottom-color: transparent;
}

.einvoice-date {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.einvoice-phase {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.einvoice-phase small {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.einvoice-tag {
    padding: 4px 10px;
    color: var(--primary);
    background: rgba(3, 32, 61, 0.07);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.einvoice-tag-live {
    color: var(--secondary-dark);
    background: rgba(99, 156, 197, 0.14);
}

.more-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.more-work-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
}

.more-work-industry {
    color: var(--secondary-dark);
    font-size: 13px;
    font-weight: 700;
}

.more-work-card h3 {
    margin: 0;
    color: var(--primary);
    font-size: 22px;
}

.more-work-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.more-work-card .service-link {
    margin-top: auto;
}

@media (max-width: 1024px) {
    .services-grid .service-card-featured {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    .services-grid .service-card-featured {
        grid-column: auto;
    }

    .more-work-grid {
        grid-template-columns: 1fr;
    }

    .einvoice-timeline li {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .einvoice-tag {
        display: none;
    }
}

/* Stop the hero decoration from adding sideways scroll on phones */
html,
body {
    overflow-x: clip;
}

/* ---------------------------------------------------------
   Multi-page update: operator strip, industries, detail pages
--------------------------------------------------------- */

.operator-strip {
    padding: 34px 0;
    background: var(--primary);
    color: #FFFFFF;
}

.operator-strip-title {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
}

.operator-strip-title strong {
    color: #FFFFFF;
}

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

.operator-stat strong {
    display: block;
    color: #FFFFFF;
    font-size: 28px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.operator-stat span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.4;
}

.service-title-link {
    color: inherit;
    text-decoration: none;
}

.service-title-link:hover {
    text-decoration: underline;
}

.industries-section {
    padding: 120px 0;
    background: var(--background-soft, #F3F7FB);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.industry-card,
.dp-card-link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    color: inherit;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.industry-card:hover,
.dp-card-link:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
}

.industry-card h3 {
    margin: 4px 0 0;
    color: var(--primary);
    font-size: 20px;
}

.dp-card-more {
    color: var(--secondary-dark);
    font-size: 14px;
    font-weight: 700;
}

/* Detail pages */

.dp-hero {
    padding: 150px 0 90px;
    background: linear-gradient(180deg, #F3F7FB 0%, #FFFFFF 100%);
}

.dp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.dp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--text-muted);
    font-size: 14px;
}

.dp-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.dp-breadcrumb a:hover {
    color: var(--primary);
}

.dp-badge {
    margin-bottom: 22px;
}

.dp-hero-title {
    margin: 0;
    color: var(--primary);
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.dp-hero-title span {
    display: block;
    color: var(--secondary);
}

.dp-hero-intro {
    margin: 24px 0 32px;
    max-width: 620px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}

.dp-glance,
.dp-operator {
    padding: 34px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large, 0 24px 60px rgba(3, 32, 61, 0.12));
}

.dp-glance {
    background: var(--surface);
    border: 1px solid var(--border);
}

.dp-operator {
    color: #FFFFFF;
    background: var(--primary);
}

.dp-glance-label {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dp-glance h2,
.dp-operator h2 {
    margin: 10px 0 18px;
    font-size: 24px;
    line-height: 1.25;
}

.dp-glance h2 {
    color: var(--primary);
}

.dp-operator p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.65;
}

.dp-glance-foot {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.dp-glance-foot span {
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
}

.dp-glance-foot p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.dp-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.dp-stat {
    padding: 16px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-small);
}

.dp-stat strong {
    display: block;
    color: #FFFFFF;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.dp-stat span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.4;
}

.dp-side-card {
    margin: 0;
}

.dp-side-note {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.dp-section {
    padding: 96px 0;
}

.dp-section-tint {
    background: #F3F7FB;
}

.dp-title {
    margin-bottom: 40px;
}

.dp-grid {
    display: grid;
    gap: 20px;
}

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

.dp-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
}

.dp-card h3 {
    margin: 8px 0 8px;
    color: var(--primary);
    font-size: 19px;
}

.dp-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.dp-card-pain {
    border-top: 3px solid var(--secondary);
}

.dp-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dp-step {
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
}

.dp-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--secondary-dark);
    background: rgba(99, 156, 197, 0.12);
    border-radius: var(--radius-small);
    font-size: 13px;
    font-weight: 700;
}

.dp-step-label {
    display: block;
    margin-top: 16px;
    color: var(--secondary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dp-step h3 {
    margin: 6px 0 8px;
    color: var(--primary);
    font-size: 18px;
}

.dp-step p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.dp-faq-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
}

.dp-faq {
    border-bottom: 1px solid var(--border);
}

.dp-faq summary {
    padding: 22px 0;
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.dp-faq summary::-webkit-details-marker {
    display: none;
}

.dp-faq summary::after {
    content: "+";
    float: right;
    color: var(--secondary);
    font-size: 22px;
    line-height: 1;
}

.dp-faq[open] summary::after {
    content: "–";
}

.dp-faq p {
    margin: 0 0 22px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.dp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.dp-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: var(--primary);
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.dp-chip svg {
    width: 18px;
    height: 18px;
    color: var(--secondary);
}

.dp-chip:hover {
    border-color: var(--secondary);
}

.footer-main-wide {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .industries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

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

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

@media (max-width: 720px) {
    .industries-section,
    .dp-section {
        padding: 72px 0;
    }

    .dp-hero {
        padding: 120px 0 64px;
    }

    .industries-grid,
    .operator-strip-grid,
    .dp-grid-3,
    .dp-steps,
    .dp-stats {
        grid-template-columns: 1fr;
    }

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

    .footer-main-wide {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------
   Nov 2026 build: hero stages, e-invoicing bar, proofs,
   tabs, team stories, legal pages, campaign mode
--------------------------------------------------------- */

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 2000;
    padding: 10px 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: var(--radius-small);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

.hero-stages-line {
    margin: -8px 0 30px;
    color: var(--primary);
    font-size: 17px;
}

.hero-stages-line strong {
    color: var(--secondary-dark);
}

/* Start · Scale · Fix card */
.stage-card {
    position: relative;
    z-index: 1;
    padding: 34px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: 0 24px 60px rgba(3, 32, 61, 0.12);
}

.stage-card-label {
    display: block;
    margin-bottom: 10px;
    color: var(--secondary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stage-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.stage-step {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.stage-item strong {
    display: block;
    color: var(--primary);
    font-size: 22px;
    letter-spacing: -0.02em;
}

.stage-item p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.55;
}

.stage-card-link {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 44px;
    margin-top: 14px;
    color: var(--secondary-dark);
    font-weight: 700;
    text-decoration: none;
}

/* E-invoicing bar */
.einvoice-bar {
    color: #FFFFFF;
    background: var(--primary);
}

.einvoice-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.einvoice-bar p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
}

.einvoice-bar strong {
    color: #FFFFFF;
}

.einvoice-bar-link {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* Industry proofs */
.industry-proofs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.industry-proof strong {
    display: block;
    color: var(--primary);
    font-size: 26px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.industry-proof small {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.service-limited {
    margin: 14px 0 0;
    color: var(--secondary-dark);
    font-size: 14px;
    font-weight: 600;
}

/* AI receptionist pilot strip */
.pilot-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    margin-top: 24px;
    padding: 20px 26px;
    background: var(--surface);
    border: 1px dashed var(--border-strong, #cbd5e1);
    border-radius: var(--radius-large);
}

.pilot-strip p {
    flex: 1 1 360px;
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
}

.pilot-strip p strong {
    color: var(--primary);
}

/* Our Work tabs */
.work-tabs {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 28px;
    padding: 6px;
    background: rgba(3, 32, 61, 0.06);
    border-radius: var(--radius-pill);
}

.work-tab {
    min-height: 44px;
    padding: 0 22px;
    color: var(--primary);
    background: transparent;
    border: 0;
    border-radius: var(--radius-pill);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.work-tab.is-active {
    color: #FFFFFF;
    background: var(--primary);
}

.work-panel[hidden] {
    display: none;
}

.work-panel-intro {
    margin: 0 0 22px;
    color: var(--text-muted);
    font-size: 16px;
}

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

.team-story {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
}

.team-story h3 {
    margin: 0;
    color: var(--primary);
    font-size: 20px;
    line-height: 1.3;
}

.team-story-number strong {
    display: block;
    color: var(--secondary-dark);
    font-size: 30px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.team-story-number span {
    color: var(--text-muted);
    font-size: 13px;
}

.team-story p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Service and industry pages */
.dp-operator-line {
    margin: -8px 0 18px;
    color: var(--secondary-dark);
    font-size: 15px;
    font-weight: 600;
}

.dp-proof-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dp-proof {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-small);
}

.dp-proof strong {
    display: block;
    color: #FFFFFF;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.dp-proof span {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.45;
}

/* Contact additions */
.contact-direct-options {
    flex-wrap: wrap;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-status {
    margin: 12px 0 0;
    font-size: 15px;
    font-weight: 600;
}

.form-status:empty {
    display: none;
}

.form-status.is-success {
    color: var(--secondary-dark);
}

.form-status.is-error {
    color: #b91c1c;
}

.contact-form-note a {
    color: inherit;
    text-decoration: underline;
}

.footer-cookie-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.footer-cookie-note a {
    color: rgba(255, 255, 255, 0.75);
}

/* Legal pages */
.legal-hero {
    padding-bottom: 40px;
}

.legal-container {
    max-width: 820px;
}

.legal-updated {
    margin: 16px 0 0;
    color: var(--text-muted);
}

.legal-body {
    padding-top: 30px;
}

.legal-body h2 {
    margin: 36px 0 10px;
    color: var(--primary);
    font-size: 22px;
}

.legal-body p,
.legal-body li {
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
}

.legal-body a {
    color: var(--secondary-dark);
}

/* Campaign mode (?c=1): no menu, no side links */
.campaign-mode .desktop-navigation,
.campaign-mode .mobile-menu-button,
.campaign-mode .mobile-navigation,
.campaign-mode .campaign-hide,
.campaign-mode .footer-main .footer-column:nth-child(2),
.campaign-mode .footer-main .footer-column:nth-child(3) {
    display: none !important;
}

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

@media (max-width: 720px) {
    .team-stories {
        grid-template-columns: 1fr;
    }

    .stage-card {
        padding: 24px;
    }

    .work-tabs {
        display: flex;
    }

    .work-tab {
        flex: 1 1 0;
        padding: 0 10px;
        font-size: 14px;
    }

    .einvoice-bar-link {
        width: 100%;
        justify-content: center;
    }
}

/* Footer: two columns on tablets, one on phones; long emails wrap */
.footer-column a,
.footer-column span {
    overflow-wrap: anywhere;
}

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

@media (max-width: 560px) {
    .footer-main.footer-main-wide {
        grid-template-columns: 1fr;
    }
}

/* Headline: second sentence on its own line */
.hero-title span {
    display: block;
}

/* Industry cards: proofs sit under the title, link at the bottom */
.industry-proofs {
    margin-top: 4px;
}

.industry-card .dp-card-more {
    margin-top: auto;
    padding-top: 6px;
}

@media (min-width: 1101px) {
    .industry-card h3 {
        min-height: 2.6em;
    }
}

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    text-wrap: balance;
}

/* Contact cards: email gets the full row, long text wraps inside the card */
.contact-direct-item > div:last-child {
    min-width: 0;
}

.contact-direct-item strong {
    overflow-wrap: anywhere;
}

.contact-direct-options .contact-direct-item:nth-child(3) {
    grid-column: 1 / -1;
}

@media (max-width: 560px) {
    .contact-direct-options {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------
   Language switch
--------------------------------------------------------- */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.lang-switch:hover {
    border-color: var(--secondary);
}

.lang-switch[lang="ar"] {
    font-family: "IBM Plex Sans Arabic", "DM Sans", sans-serif;
}

.header-actions {
    gap: 10px;
}

/* ---------------------------------------------------------
   Arabic (right-to-left)
--------------------------------------------------------- */
[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] button {
    font-family: "IBM Plex Sans Arabic", "DM Sans", sans-serif;
}

/* Arabic letters join, so letter spacing breaks words apart */
[dir="rtl"] * {
    letter-spacing: 0 !important;
}

/* Arabic needs more room above and below letters */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .dp-hero-title {
    line-height: 1.35;
}

[dir="rtl"] p,
[dir="rtl"] li {
    line-height: 1.85;
}

[dir="rtl"] .desktop-navigation {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .nav-link::after {
    right: 0;
    left: auto;
}

[dir="rtl"] .hero-visual {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .service-list li {
    padding-right: 25px;
    padding-left: 0;
}

[dir="rtl"] .service-list li::before {
    right: 0;
    left: auto;
}

[dir="rtl"] .case-study-results {
    border-right: 1px solid rgba(3, 32, 61, 0.08);
    border-left: 0;
}

[dir="rtl"] .process-item:not(:last-child)::after {
    right: 24px;
    left: auto;
}

[dir="rtl"] .dp-faq summary::after {
    float: left;
}

[dir="rtl"] .skip-link {
    right: 16px;
    left: auto;
}

[dir="rtl"] .einvoice-bar-link,
[dir="rtl"] .stage-card-link,
[dir="rtl"] .service-link,
[dir="rtl"] .dp-card-more {
    direction: rtl;
}

/* Emails, phone numbers and URLs stay left-to-right inside Arabic text */
[dir="rtl"] [dir="ltr"] {
    unicode-bidi: isolate;
}

[dir="rtl"] .legal-lang-note {
    margin-top: 36px;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 1024px) {
    [dir="rtl"] .case-study-results {
        border-right: 0;
    }

    [dir="rtl"] .process-item:not(:last-child)::after {
        right: 20px;
    }
}

@media (max-width: 720px) {
    .header-actions .lang-switch {
        min-height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }
}

/* ---------------------------------------------------------
   Floating WhatsApp button
--------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: #FFFFFF;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.06);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 22px;
}

@media (max-width: 720px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }

    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 16px;
    }
}

/* Leave room so the button never covers the last line of the footer */
.site-footer {
    padding-bottom: 96px;
}

/* ---------------------------------------------------------
   Blog
--------------------------------------------------------- */
.blog-hero {
    padding-bottom: 40px;
}

.blog-list-section {
    padding-top: 20px;
}

.blog-empty {
    max-width: 640px;
    padding: 28px;
    color: var(--text-muted);
    background: #F3F7FB;
    border-radius: var(--radius-large);
    font-size: 17px;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
}

.blog-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    background: #EEF2F6;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
}

.blog-card-body h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}

.blog-card-body h2 a {
    color: var(--primary);
    text-decoration: none;
}

.blog-card-body h2 a:hover {
    text-decoration: underline;
}

.blog-card-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.blog-card-body .dp-card-more {
    margin-top: auto;
    padding-top: 8px;
    text-decoration: none;
}

.blog-meta {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.blog-container {
    max-width: 780px;
}

.blog-post-hero {
    padding-bottom: 36px;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 12px;
    color: var(--secondary-dark);
    font-weight: 700;
    text-decoration: none;
}

.blog-post-hero .blog-meta {
    display: block;
    margin-top: 16px;
}

.blog-post-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 8px;
    border-radius: var(--radius-large);
}

.blog-body {
    padding-top: 32px;
    padding-bottom: 80px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.blog-body h2 {
    margin: 40px 0 12px;
    color: var(--primary);
    font-size: 26px;
    line-height: 1.3;
}

.blog-body p,
.blog-body ul {
    margin: 0 0 20px;
}

.blog-body a {
    color: var(--secondary-dark);
}

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

@media (max-width: 720px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-body {
        font-size: 17px;
    }
}

/* Header: links never wrap; below 1280px the menu button takes over */
.nav-link,
.header-cta,
.lang-switch {
    white-space: nowrap;
}

@media (max-width: 1279px) {
    .desktop-navigation,
    .header-cta {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }
}

/* Small phones: keep logo, language switch and menu inside the header */
@media (max-width: 420px) {
    .brand-logo img {
        height: 24px;
    }
}

@media (max-width: 420px) {
    .header-container {
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .brand-logo img {
        height: 19px;
    }

    .header-actions {
        gap: 8px;
    }

    .lang-switch {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Required-field marker on the contact form */
.field-req {
    color: var(--accent);
    font-weight: 700;
    margin-inline-start: 2px;
}

/* Confirmation shown after the contact form is sent */
.form-success {
    padding: 36px 28px;
    text-align: center;
    border: 1px solid rgba(99, 156, 197, 0.35);
    border-radius: var(--radius-large);
    background: #F3F7FB;
    outline: none;
}

.form-success[hidden] {
    display: none;
}

.form-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
}

.form-success h4 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    color: var(--primary);
}

.form-success p {
    max-width: 420px;
    margin: 0 auto 22px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary, #4b5563);
}

.form-success-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.form-success-again {
    padding: 6px 10px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    color: var(--secondary-dark);
    text-decoration: underline;
    cursor: pointer;
}

.contact-form[hidden] {
    display: none;
}
