/* =========================================================
   XANORA AI — HEADING ACCENT SYSTEM
   Major headings use black text with a deliberate blue phrase.
========================================================= */

.section-heading h1 span,
.section-heading h2 span,
.section-title h2 span,
.who-title span,
.problems-section .problem-title span,
.final-cta h2 span,
.form-modal-header h2 span,
.about-hero h1 span,
.about-cta h2 span,
.services-hero h1 span,
.services-approach h2 span,
.services-cta h2 span,
.contact-hero h1 span,
.contact-cta h2 span {
    color: var(--heading-accent);
}



/* =========================================================
   XANORA AI — GLOBAL STYLES
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
font-family:Arial, Helvetica, sans-serif;
    background: var(--page-background);
    color:var(--text-primary);
    line-height:1.7;
}



/* =========================================================
   XANORA AI — DESIGN TOKENS
   Single source of truth for the visual system
========================================================= */

:root {
    --surface-white: #ffffff;
    --brand-primary: #2563eb;
    --brand-hover: #1d4ed8;
    --brand-accent: #60a5fa;
    --heading-accent: var(--brand-primary);
    --brand-rgb: 37, 99, 235;

    --text-primary: #1f2937;
    --text-strong: #334155;
    --text-secondary: #64748b;
    --text-list: #475569;
    --text-muted: #94a3b8;

    --page-background: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --surface-blue: #eef5ff;
    --surface-elevated: #ffffff;
    --surface-card: #ffffff;
    --surface-hover: #f1f5f9;

    --border: #e2e8f0;
    --border-blue: #dbeafe;

    --footer-bg: #10182b;
}

/* =========================================================
   SHARED — ANIMATIONS
========================================================= */

/* =========================================================
   ANIMATION — FLOAT
========================================================= */

@keyframes float{

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-10px);

    }

    100% {

        transform: translateY(0);

    }

}

/* =========================================================
   ANIMATION — GLOW
========================================================= */

@keyframes pulseGlow {

    0% {

        box-shadow:
            0 0 30px rgba(var(--brand-rgb),.25);

    }

    50% {

        box-shadow:
            0 0 55px rgba(var(--brand-rgb),.45);

    }

    100% {

        box-shadow:
            0 0 30px rgba(var(--brand-rgb),.25);

    }

}



/* =========================================================
   NAVIGATION
========================================================= */

header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;

    transition: transform 0.3s ease;
}

header.nav-hidden {
    transform: translateY(-100%);
}

@media (max-width: 700px) {

    .mobile-menu-panel.nav-hidden {
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

}

.navbar {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 16px 30px;

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

   
    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);

    border: 1px solid rgba(255, 255, 255, 0.35);


    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);

    border-radius: 999px;
   
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.logo span {
    color: var(--brand-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand-primary);
}

.nav-links .active {
    color: var(--brand-primary);
    font-weight: 700;
}

.nav-button {
    background: var(--brand-primary);
    color: white;

    padding: 12px 22px;
    border-radius: 999px;

    text-decoration: none;
    font-weight: 600;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.20);
}



/* =========================================================
   HOME / INDEX PAGE — DESKTOP
========================================================= */

/* =========================================================
   HERO — DESKTOP
========================================================= */

/* =========================================================
   HERO SECTION
========================================================= */

#hero {
    background: var(--page-background);

    min-height: calc(100vh - 110px);
    padding: 80px 5% 60px;

    display: flex;
    align-items: center;
}


/* =========================================================
   HERO CONTAINER
========================================================= */

.hero-container {

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 80px;

}


/* =========================================================
   HERO LEFT
========================================================= */

.hero-left {

    flex: 1;

    max-width: 700px;

}


/* =========================================================
   HERO RIGHT
========================================================= */

.hero-right {
    flex: 1;
    max-width: 560px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;
}

/* =========================================================
   HERO SERVICE CIRCLES
========================================================= */

.hero-service-circles {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;

    gap: 16px;

    margin-top: 60px;
}

/* =========================================================
   HERO BADGE
========================================================= */

.hero-badge{

    display: inline-block;

    background: var(--surface-blue);

    color: var(--brand-primary);

    padding: 10px 18px;

    border-radius: 999px;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 25px;

}


/* =========================================================
   HERO HEADING
========================================================= */

.hero-left h1 {
    font-size: clamp(52px, 5vw, 72px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.hero-left h1 span{
   color:var(--brand-primary);

}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-description {
    max-width: 680px;

    font-size: 19px;
    line-height: 1.75;

    color: var(--text-secondary);

    margin-bottom: 38px;
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;

}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.primary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: var(--brand-primary);

    color: var(--surface-white);

    padding: 15px 30px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;

    box-shadow:
        0 8px 22px rgba(var(--brand-rgb), 0.18);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

}

.primary-btn:hover {

    transform: translateY(-3px);

    background: var(--brand-hover);

    box-shadow:
        0 12px 28px rgba(var(--brand-rgb), 0.25);

}


/* =========================================================
   SECONDARY BUTTON
========================================================= */

.secondary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 255, 255, 0.45);

    color: var(--brand-primary);

    padding: 13px 28px;

    border: 2px solid rgba(var(--brand-rgb), 0.65);

    border-radius: 999px;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;

}

.secondary-btn:hover {

    transform: translateY(-3px);

    background: var(--brand-primary);

    color: var(--surface-white);

}
/* =========================================================
   HERO FEATURES
========================================================= */

.hero-features {

    display: flex;

    align-items: center;

    gap: 28px;

    margin-top: 40px;

    flex-wrap: wrap;

}


/* =========================================================
   HERO FEATURE ITEM
========================================================= */

.hero-features div {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 15px;

    font-weight: 600;

    color: var(--text-primary);

    line-height: 1.2;

    white-space: nowrap;

}


/* =========================================================
   HERO FEATURE ICON
========================================================= */

.hero-features svg {

    width: 19px;

    height: 19px;

    color: var(--brand-primary);

    flex-shrink: 0;

}

/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual{

    position:relative;

    width: 510px;

    height:450px;

    margin:0 auto 110px;

    display:flex;

    justify-content:center;

    align-items:center;

    animation:float 6s ease-in-out infinite;

}

/* =========================================================
   AI NETWORK — INFINITY SYSTEM
========================================================= */

.ai-network {
    position: relative;
    width: 480px;
    height: 390px;
    flex-shrink: 0;
    overflow: visible;
    transform: translateX(-20px);
}


/* =========================================================
   INFINITY PATH
========================================================= */

.infinity-path {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: visible;

    z-index: 1;

    pointer-events: none;
}

.infinity-path path {
    fill: none;

    stroke: rgba(var(--brand-rgb), 0.14);
    stroke-width: 2;

    stroke-linecap: round;

    stroke-dasharray: 18 14;

    animation: infinityFlow 7s linear infinite;
}


/* Moving infinity line */

@keyframes infinityFlow {

    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -320;
    }

}


/* =========================================================
   AI CORE
========================================================= */

.ai-core {

    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 92px;
    height: 92px;

    border-radius: 50%;

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

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 4px;

    color: white;

    z-index: 100;

    box-shadow:
        0 0 45px rgba(var(--brand-rgb), .35);

    animation: pulseGlow 4s ease-in-out infinite;
}


.ai-core svg {

    width: 30px;
    height: 30px;

}


.ai-core span {

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .5px;

    white-space: nowrap;

}


/* =========================================================
   AI NODES
========================================================= */

.ai-node {

    position: absolute;

    width: 150px;
    height: auto;

    border-radius: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    text-align: center;

    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 10;
    color: var(--brand-primary);
    min-height: 0;

    transform: translate(-50%, -50%);

}


.ai-node svg {

    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px; 
    padding: 11px;
    box-sizing: border-box;
    background: var(--surface-white);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(var(--brand-rgb), 0.12);

}


.ai-node span {

    position: static;

    display: block;

    width: max-content;

    text-align: center;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.2;

    color: #334155;

    white-space: nowrap;
    margin: 0;
    padding: 0;

}
/* =========================================================
   XANORA AI — DATA PARTICLE
========================================================= */

.data-particle {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--brand-primary);

    box-shadow:
        0 0 7px rgba(var(--brand-rgb), 0.85),
        0 0 15px rgba(var(--brand-rgb), 0.40);

    pointer-events: none;

    z-index: 30;

    transform-origin: center center;

    will-change:
        transform,
        opacity;
}


/* =========================================================
   PARTICLE ENERGY TRAIL
========================================================= */

.data-particle::before {
    content: "";

    position: absolute;

    width: 22px;
    height: 3px;

    top: 50%;
    right: 100%;

    transform: translateY(-50%);

    border-radius: 999px;

    background: linear-gradient(
        to left,
        rgba(var(--brand-rgb), 0.55),
        rgba(var(--brand-rgb), 0)
    );

    filter: blur(0.5px);

    pointer-events: none;
}


/* Small bright core */

.data-particle::after {
    content: "";

    position: absolute;

    width: 3px;
    height: 3px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: var(--surface-white);

    opacity: 0.85;

    pointer-events: none;
}

/* =========================================================
   HERO SERVICE CIRCLE
========================================================= */

.hero-service-circles .floating-card {

    width: 165px;
    height: 165px;

    flex: 0 0 165px;

    background: rgba(255, 255, 255, 0.82);

    border: 1px solid rgba(var(--brand-rgb), 0.16);

    border-radius: 50%;

    padding: 20px 16px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow:
        0 12px 35px rgba(var(--brand-rgb), 0.08);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* =========================================================
   SERVICE CIRCLE ICON
========================================================= */

.hero-service-circles .card-icon {

    width: 42px;
    height: 42px;

    border-radius: 50%;

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

    background: var(--surface-blue);

    color: var(--brand-primary);

    margin-bottom: 8px;
}

.hero-service-circles .card-icon svg {

    width: 21px;
    height: 21px;
}


/* =========================================================
   SERVICE CIRCLE TITLE
========================================================= */

.hero-service-circles .floating-card h3 {

    margin: 0 0 6px;

    font-size: 16px;

    line-height: 1.2;

    font-weight: 700;

    color: var(--text-primary);
}


/* =========================================================
   SERVICE CIRCLE DESCRIPTION
========================================================= */

.hero-service-circles .floating-card p {

    margin: 0;

    font-size: 11px;

    line-height: 1.4;

    color: var(--text-secondary);

    max-width: 125px;
}


/* =========================================================
   SERVICE CIRCLE HOVER
========================================================= */

.hero-service-circles .floating-card:hover {

    transform: translateY(-6px);

    border-color: rgba(var(--brand-rgb), 0.35);

    box-shadow:
        0 18px 45px rgba(var(--brand-rgb), 0.14);
}


/* =========================================================
   CARD TITLE
========================================================= */

.card-title{

    display:flex;

    align-items:center;

    gap:14px;

    margin-bottom:18px;

}

.card-title svg{

    width:28px;

    height:28px;

    color:var(--brand-primary);

}

.card-title h3{

    font-size:24px;

    font-weight:700;

    color:var(--text-primary);

    margin:0;

}

.floating-card p{

    color:var(--text-secondary);

    line-height:1.8;

    font-size:16px;

}




/* =========================================================
   HERO — AI SYSTEM ADDITIONS / PRESERVED OVERRIDES
========================================================= */

/* =========================================================
   XANORA AI — NETWORK SVG
========================================================= */

.network-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.network-svg path {
    fill: none;
    stroke: var(--brand-primary);
    stroke-width: 1.5;
    stroke-dasharray: 6 8;
    stroke-linecap: round;
}

.visible-loop,
.visible-vertical {
    fill: none;
}

/* =========================================================
   XANORA AI — CORRECT NODE ANCHORS
   The icon itself is the path anchor.
========================================================= */

.ai-node-1 {
    left: 10% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.ai-node-2 {
    left: 50% !important;
    top: 18% !important;
    transform: translate(-50%, -50%) !important;
    flex-direction: column-reverse !important;
}

.ai-node-3 {
    left: 90% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.ai-node-4 {
    left: 50% !important;
    top: 82% !important;
    transform: translate(-50%, -50%) !important;
    flex-direction: column !important;
}

/* =========================================================
   XANORA AI — CORE MUST COVER PARTICLES
========================================================= */
.ai-core {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 100 !important;
}

.data-particles {
    position: absolute !important;
    z-index: 20 !important;
}

/* =========================================================
   WHY XANORA AI
========================================================= */

.why-xanora{

    max-width:1200px;

    margin:80px auto ;

    padding:20px;

}

.section-heading{

    text-align:center;

    margin-bottom:55px;

}

.section-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 20px;

    border-radius:999px;

    background:#e4efff;

    color:var(--brand-primary);

    border:1px solid #cfe0ff;

    font-family:inherit;

    font-size:15px;

    line-height:1;

    font-weight:700;

    letter-spacing:0.06em;

    margin-bottom:20px;

}

.section-heading h2{

    font-size:40px;

    margin-bottom:18px;

    color:var(--text-primary);

}

.section-heading p{

    max-width:700px;

    margin:auto;

    color:var(--text-secondary);

    font-size:18px;

    line-height:1.7;

}

.why-xanora .section-heading {
    margin-bottom: 50px;
}

.why-xanora .why-grid {
    gap: 24px;
}

.why-xanora .why-card {
    padding: 32px;
}

/* =========================================================
   WHY GRID
========================================================= */

.why-grid{

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:30px;

}

.why-card{

    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);

    transition: transform 0.3s ease;

}

.why-card:hover{

    transform:translateY(-8px);

}

.why-card svg{

    width:36px;

    height:36px;

    color:var(--brand-primary);

    margin-bottom:20px;

}

.why-card h3{

    margin-bottom:15px;

    color:var(--text-primary);

}

.why-card p{

    color:var(--text-secondary);

    line-height:1.7;

}

/* =========================================================
   SERVICES PREVIEW
========================================================= */

.services-preview {

    padding: 60px 8%;

    background: var(--page-background);

}

.section-title{

    text-align:center;

    max-width:760px;

    margin:0 auto 40px;

}

.section-title > span{

    display:inline-block;

    padding:10px 22px;

    border-radius:50px;

    background:var(--surface-blue);

    color:var(--brand-primary);

    font-weight:600;

    margin-bottom:20px;

}

.section-title h2 {

    font-size:40px;

    line-height:1.2;

    color: var(--text-primary);

    margin-bottom:18px;

}

.section-title p{

    font-size:18px;

    color:var(--text-secondary);

    line-height:1.7;

}

/* =========================================================
   SERVICES GRID
========================================================= */

.services-grid{

    display:grid;

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

    gap:30px;

}

.service-card{

    background:white;

    border-radius:22px;

    padding:38px;

    box-shadow:
        0 15px 45px rgba(0,0,0,.07);

    transition:
         transform 0.35s ease,
         box-shadow 0.35s ease;


}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:
        0 30px 60px rgba(var(--brand-rgb),.15);

}

.service-card i{

    font-size:34px;

    color:var(--brand-primary);

    margin-bottom:25px;

}

.service-card h3{

    font-size:26px;

    margin-bottom:15px;

    color:var(--text-primary);

}

.service-card p{

    color:var(--text-secondary);

    line-height:1.8;

}

/* =========================================================
   SERVICES ORBIT
========================================================= */

.services-orbit {
    position: relative;
    width: min(100%, 1050px);
    height: 700px;
    margin: 20px auto 0;
} 

/* Central visual */

.services-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 190px;
    height: 190px;

    border-radius: 50%;
    background: var(--surface-white);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow:
        0 20px 60px rgba(var(--brand-rgb),.12);

    border: 1px solid var(--border-blue);

    z-index: 3;
}

.services-center .center-icon {
    width: 48px;
    height: 48px;

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

    border-radius: 50%;

    background: var(--surface-blue);
    color: var(--brand-primary);

    font-size: 24px;
    margin-bottom: 12px;
}

.services-center h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text-primary);
}

.services-center h3 span {
    color: var(--brand-primary);
}

.services-center p {
    margin: 8px 0 0;

    font-size: 13px;
    line-height: 1.5;

    color: var(--text-secondary);
}


/* Orbit ring */

.orbit-ring {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 430px;
    height: 430px;

    transform: translate(-50%, -50%);

    border: 1px dashed rgba(var(--brand-rgb),.35);

    border-radius: 50%;
}


/* Service cards */

.service-orbit-card {
    position: absolute;

    width: 280px;
    min-height: 115px;

    padding: 22px 24px;

    background: var(--surface-white);

    border-radius: 20px;

    border: 1px solid var(--border);

    box-shadow:
        0 15px 45px rgba(0,0,0,.06);

    display: flex;
    align-items: flex-start;
    gap: 18px;

    z-index: 2;

    transition:
         transform 0.3s ease,
         box-shadow 0.3s ease;
}
.service-top-left:hover,
.service-top-right:hover,
.service-bottom-left:hover,
.service-bottom-right:hover {
    transform: translateY(-5px);

    box-shadow:
        0 25px 55px rgba(var(--brand-rgb),.12);
}

.service-middle-left:hover {
    transform: translateY(calc(-50% - 5px));

    box-shadow:
        0 25px 55px rgba(var(--brand-rgb),.12);
}

.service-middle-right:hover {
    transform: translateY(calc(-50% - 5px));

    box-shadow:
        0 25px 55px rgba(var(--brand-rgb),.12);
}

.service-orbit-card i {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

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

    border-radius: 50%;

    background: var(--surface-blue);

    color: var(--brand-primary);

    font-size: 18px;
}

.service-orbit-card h3 {
    margin: 2px 0 8px;

    font-size: 18px;
    line-height: 1.3;

    color: var(--text-primary);
}

.service-orbit-card p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.55;
}


/* Positioning */

.service-top-left {
    top: 35px;
    left: 120px;
}

.service-top-right {
    top: 35px;
    right: 120px;
}

.service-middle-left {
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
}

.service-middle-right {
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
}

.service-bottom-left {
    bottom: 35px;
    left: 120px;
}

.service-bottom-right {
    bottom: 35px;
    right: 120px;
}



/* =========================================================
   SERVICES ORBIT — DOTS
========================================================= */

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-primary);
    box-shadow: 0 0 0 3px #ffffff,
                0 0 10px rgba(var(--brand-rgb),.25);
}

.dot-1 {
    top: 9%;
    left: 19%;
}

.dot-2 {
    top: 9%;
    right: 19%;
}

.dot-3 {
    top: 50%;
    left: -4px;
    transform: translateY(-50%);
}

.dot-4 {
    top: 50%;
    right: -4px;
    transform: translateY(-50%);
}

.dot-5 {
    bottom: 9%;
    left: 19%;
}

.dot-6 {
    bottom: 9%;
    right: 19%;
}

/* =========================================================
   OUR PROCESS
========================================================= */

.process{

    padding:90px 8%;

    background:var(--surface-soft);

}

.process-subtitle{

    max-width:760px;

    margin-left:auto;

    margin-right:auto;

}

.process-grid{

    position:relative;

    display:grid;

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

    gap:24px;

    margin-top: 30px;

}

.process-grid::before{
    content:"";
    position:absolute;
    top:28px;
    left:10%;
    right:10%;
    height:2px;
    background: #c8daf4;
    z-index:0;
}

.process-card{

    position:relative;

    background: var(--surface-white);

    border-radius:20px;

    padding:30px 26px;

    text-align:left;

    z-index:1;

    box-shadow:
        0 12px 35px rgba(0,0,0,.05);

    border:1px solid var(--border);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}

.process-card:hover{

    transform:translateY(-6px);

    box-shadow:
        0 25px 60px rgba(var(--brand-rgb),.15);

}


/* =========================================================
   PROCESS NUMBER
========================================================= */

.number{

    width:56px;

    height:56px;

    border-radius:50%;

    background:var(--brand-primary);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

    font-weight:700;

    margin-bottom:22px;

}

.process-card h3{

    font-size:22px;

    color:var(--text-primary);

    margin-bottom:14px;

}

.process-card p{
    color:var(--text-secondary);
    font-size: 15px;
    line-height:1.65;

}

/* =========================================================
   WHO CAN BENEFIT
========================================================= */

.who-section{
    padding:90px 8% 65px;
    background: var(--surface-white);
    text-align:center;
}

.who-title {
    font-size:40px;
    line-height:1.2;
    color: var(--text-primary);
    margin:25px auto 20px;
    font-weight:700;
}

.who-grid{
    display:grid;
    grid-template-columns:
        repeat(2,1fr);
    gap:24px;
    margin-top:38px;

}

.section-description{
    max-width:760px;
    margin:0 auto;
    color:var(--text-secondary);
    font-size:18px;
    line-height:1.75;
}

.who-card{

    background: var(--surface-white);

    border-radius:22px;

    padding:26px 28px;

    text-align:left;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

    box-shadow:
        0 15px 45px rgba(0,0,0,.05);

}

.who-card:hover{

    transform:translateY(-6px);

    box-shadow:
        0 25px 55px rgba(var(--brand-rgb),.10);

}

.who-icon{

    width:62px;

    height:62px;

    border-radius:50%;

    background:var(--brand-primary);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:26px;

    color:white;

    margin-bottom:20px;

}

.who-card h3{

    font-size:24px;

    margin-bottom:12px;

     color: var(--text-primary);

}

.who-card p{

    line-height:1.75;

    color:var(--text-secondary);

}

/* =========================================================
   COMMON CHALLENGES
========================================================= */

.problems-section{

    padding:40px 8% 100px;

    background: var(--surface-white);

    text-align:center;

}

.problems-section .problem-title {

    font-size:40px;

    line-height:1.2;

    color: var(--text-primary);

    margin:25px auto 20px;

    font-weight:700;

}

.problems-section .section-description{

    max-width:760px;

    margin:0 auto;

    color:var(--text-secondary);

    font-size:20px;

    line-height:1.8;

}

.problems-grid{

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:24px;

    margin-top:38px;

}

.problem-card{

    background: var(--surface-white);

    border-radius:22px;

    padding:32px;

    text-align:left;

    border:1px solid var(--border);

    box-shadow:
        0 15px 45px rgba(0,0,0,.05);

    transition:

        transform .3s ease,
        box-shadow .3s ease;
}

.problem-card:hover{

    transform:translateY(-6px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.08);

}


.problem-card h3{

    font-size:24px;

    line-height:1.3;

    color:var(--text-primary);

    margin-bottom:14px;

}

.problem-card p{

    color:var(--text-secondary);

    font-size:17px;

    line-height:1.8;

    margin:0;

}

.problem-icon{

    width:62px;
    height:62px;

    border-radius:50%;

    background:var(--brand-primary);

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

    margin-bottom:20px;

}

.problem-icon svg{

    width:29px;
    height:29px;

    fill:none;
    stroke: var(--surface-white);
    stroke-width:1.8;

    stroke-linecap:round;
    stroke-linejoin:round;

}

/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding: 75px 8%;
    background: var(--page-background);
    text-align: center;
}

.final-cta-content {
    max-width: 850px;
    margin: 0 auto;
}

.final-cta .section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px;

    border-radius: 999px;

    background: var(--surface-blue);
    color: var(--brand-primary);

    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
}

.final-cta h2 {
    margin: 28px auto 20px;

    font-size: 52px;
    line-height: 1.15;
    font-weight: 700;

    color: var(--text-primary);
}

.final-cta h2 span {
    color: var(--heading-accent);
}

.final-cta p {
    max-width: 720px;
    margin: 0 auto;

    color: var(--text-secondary);

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

.final-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin-top: 35px;
}

.final-cta .primary-btn,
.final-cta .secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 170px;
    padding: 15px 28px;

    border-radius: 999px;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.final-cta .primary-btn {
    background: var(--brand-primary);
    color: var(--surface-white);

    box-shadow: 0 10px 25px rgba(var(--brand-rgb),.18);
}

.final-cta .secondary-btn {
    background: var(--surface-white);
    color: var(--brand-primary);

    border: 1px solid var(--border-blue);
}

.final-cta .primary-btn:hover,
.final-cta .secondary-btn:hover {
    transform: translateY(-3px);
}

.final-cta .primary-btn:hover {
    box-shadow: 0 15px 35px rgba(var(--brand-rgb),.25);
}

.final-cta .secondary-btn:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
}



/* =========================================================
   SHARED — FOOTER — DESKTOP
========================================================= */

/* =========================================================
   SITE FOOTER
========================================================= */

.site-footer {
    background: var(--footer-bg);
    color: var(--surface-white);
    padding: 70px 8% 0;
}


/* Main footer */

.footer-main {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        1.7fr
        1fr
        1.2fr
        1.3fr;

    gap: 60px;

    padding-bottom: 55px;
}


/* Brand */

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

.footer-logo {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--surface-white);

    font-size: 25px;
    font-weight: 800;

    letter-spacing: .3px;

    text-decoration: none;
}

.footer-logo span {
    color: var(--brand-primary);
}

.footer-brand p {
    margin: 0;

    color: #aab4c7;

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


/* Footer columns */

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

.footer-column h3 {
    margin: 0 0 20px;

    color: var(--surface-white);

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

.footer-column a {
    margin-bottom: 12px;

    color: #aab4c7;

    font-size: 15px;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-column a:hover {
    color: var(--surface-white);
    transform: translateX(2px);
}


/* Contact text */

.footer-contact-text {
    max-width: 250px;

    margin: 0 0 20px;

    color: #aab4c7;

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


/* Footer CTA */

.footer-cta {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    padding: 11px 18px;

    background: var(--brand-primary);

    border-radius: 999px;

    color: var(--surface-white);

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

    margin: 0;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.footer-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(var(--brand-rgb),.25);
}

.footer-cta svg {
    width: 16px;
    height: 16px;
}


/* Bottom bar */

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;

    min-height: 70px;

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

    gap: 20px;

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

.footer-bottom p {
    margin: 0;

    color: #7f8ba3;

    font-size: 13px;
}

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

.footer-bottom-links a {
    color: #7f8ba3;

    font-size: 13px;

    text-decoration: none;

    transition: color .2s ease;
}

.footer-bottom-links a:hover {
    color: var(--surface-white);
}

/* =========================================================
   ABOUT PAGE
========================================================= */

/* =========================
   ABOUT HERO
========================= */

.about-hero {
    padding: 100px 8% 180px;
    background: var(--page-background);
    text-align: center;
}

.about-hero .section-heading {
    max-width: 850px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 60px;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 25px auto;
    font-weight: 700;
}

.about-hero h1 span {
    color: var(--heading-accent);
}

.about-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1.8;
}


/* =========================
   SHARED SECTION HEADING
========================= */

.about-story .section-heading,
.about-beliefs .section-heading,
.about-capabilities .section-heading,
.about-process .section-heading,
.about-future .section-heading {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-story .section-badge,
.about-beliefs .section-badge,
.about-capabilities .section-badge,
.about-vision .section-badge,
.about-process .section-badge,
.about-future .section-badge,
.about-cta .section-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--surface-blue);
    color: var(--brand-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Better contrast on blue-background sections */
.about-story .section-badge,
.about-capabilities .section-badge,
.about-process .section-badge,
.about-cta .section-badge {
    background: var(--surface-white);
    color: var(--brand-primary);
}

/* =========================
   WHY XANORA AI EXISTS
========================= */

.about-story {
    padding: 80px 8%;
    background: var(--page-background);
}

.about-story h2 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 25px auto 30px;
    font-weight: 700;
}

.about-story p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.85;
}


/* =========================
   BELIEFS
========================= */

.about-beliefs {
    padding: 80px 8%;
    background: var(--page-background);
    text-align: center;
}

.about-beliefs h2 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 25px auto 30px;
    font-weight: 700;
}

.about-beliefs h2 span {
    color: var(--brand-primary);
}

.about-beliefs > .section-heading > p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.85;
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.belief-card {
    background: var(--surface-white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 32px;
    text-align: left;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.belief-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(var(--brand-rgb), 0.10);
}

.belief-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--surface-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 24px;
}

.belief-icon svg {
    width: 24px;
    height: 24px;
}

.belief-card h3 {
    font-size: 23px;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.belief-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}


/* =========================
   WHAT XANORA AI IS
========================= */

.about-capabilities {
    padding: 100px 8%;
    background: var(--page-background);
}

.about-capabilities h2 {
    font-size: 52px;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 25px auto 30px;
    font-weight: 700;
}

.about-capabilities h2 span {
    color: var(--brand-primary);
}

.about-capabilities > .section-heading > p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.85;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1050px;
    margin: 50px auto 0;
}

.capability-card {
    background: var(--surface-white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px 30px;
    min-height: 200px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.capability-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(var(--brand-rgb), 0.10);
}

.capability-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--surface-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.capability-icon svg {
    width: 23px;
    height: 23px;
}

.capability-card h3 {
    font-size: 23px;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.capability-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}


/* =========================
   OUR VISION
========================= */

.about-vision {
    padding: 100px 8%;
    background: var(--page-background);
}

.vision-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-vision h2 {
    font-size: 52px;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 25px auto 30px;
    font-weight: 700;
}

.about-vision p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.85;
}



/* =========================================================
   ABOUT VISION — HEADING ACCENT
========================================================= */

.about-vision h2 span {
    color: var(--heading-accent);
}

/* =========================
   HOW WE WORK
========================= */

.about-process {
    padding: 100px 8%;
    background: var(--page-background);
}

.about-process h2 {
    font-size: 52px;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 25px auto 30px;
    font-weight: 700;
}

.about-process h2 span {
    color: var(--brand-primary);
}

.about-process > .section-heading > p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.85;
}

.about-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    max-width: 1150px;
    margin: 60px auto 0;
}

.about-process-card {
    background: var(--surface-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 22px;
    min-height: 260px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(var(--brand-rgb), 0.10);
}

.about-process-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 22px;
}

.about-process-card h3 {
    font-size: 21px;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.about-process-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}


/* =========================
   WHAT WE ARE BUILDING
========================= */

.about-future {
    padding: 100px 8%;
    background: var(--page-background);
}

.about-future h2 {
    font-size: 52px;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 25px auto 30px;
    font-weight: 700;
}

.about-future h2 span {
    color: var(--brand-primary);
}

.about-future p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.85;
}


/* =========================
   FINAL CTA
========================= */

.about-cta {
    padding: 100px 8%;
    background: var(--page-background);
    text-align: center;
}

.about-cta-content {
    max-width: 760px;
    margin: 0 auto;
}

.about-cta h2 {
    font-size: 52px;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 25px auto 20px;
    font-weight: 700;
}

.about-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
    font-size: 19px;
    line-height: 1.75;
}



/* =========================================================
   ABOUT PAGE — SPACING & STICKY NAV FIX
   This affects ONLY the About page.
========================================================= */

/* About page detection */
body:has(.about-hero) {

    /*
       Keeps content from feeling cramped against
       the sticky navigation.
    */
    scroll-padding-top: 130px;
}

/* =========================================================
   ABOUT SECTION HEADINGS
========================================================= */

body:has(.about-hero) .section-heading {

    max-width: 900px;

    margin-left: auto;
    margin-right: auto;

}


/* Give headings more breathing room */

body:has(.about-hero) .section-heading h1,
body:has(.about-hero) .section-heading h2 {

    margin-top: 26px;
    margin-bottom: 30px;

}


/* Keep paragraphs readable */

body:has(.about-hero) .section-heading p {

    max-width: 820px;

    margin-left: auto;
    margin-right: auto;

}


/* =========================================================
   ABOUT PAGE — BELIEF CARDS
========================================================= */

body:has(.about-beliefs) .beliefs-grid {

    margin-top: 40px;

}


/* =========================================================
   ABOUT PAGE — CAPABILITY CARDS
========================================================= */

body:has(.about-capabilities) .capabilities-grid {

    margin-top: 55px;

}


/* =========================================================
   ABOUT PAGE — PROCESS CARDS

========================================================= */

body:has(.about-process) .about-process-grid {

    margin-top: 55px;

}


/* =========================================================
   MOBILE
========================================================= */



/* =========================================================
   SERVICES PAGE
========================================================= */


/* =========================
   SERVICES HERO
========================= */

.services-hero {
    padding: 150px 8% 120px;
    background: var(--page-background);
    text-align: center;
}

.services-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.services-hero h1 {
    margin: 28px auto 25px;
    max-width: 850px;

    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.08;
    letter-spacing: -2px;

    color: var(--text-primary);
}

.services-hero h1 span {
    color: var(--heading-accent);
}

.services-hero p {
    max-width: 760px;
    margin: 0 auto;

    color: var(--text-secondary);
    font-size: 19px;
    line-height: 1.8;
}

.services-hero-actions {
    margin-top: 38px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* =========================
   SERVICES INTRO
========================= */

.services-intro {
    padding: 120px 8% 70px;
    background: var(--page-background);
    text-align: center;
}

.services-intro .section-heading {
    max-width: 850px;
    margin: 0 auto;
}

.services-intro h2 {
    margin: 25px auto 25px;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.15;

    color: var(--text-primary);
}

.services-intro h2 span {
    color: var(--brand-primary);
}

.services-intro p {
    max-width: 760px;
    margin: 0 auto;

    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.85;
}


/* =========================
   SERVICES LIST
========================= */

.services-list {
    padding: 80px 8% 130px;
    background: var(--page-background);
}

.services-grid-page {
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}


/* =========================
   SERVICE DETAIL CARD
========================= */

.service-detail-card {
    position: relative;

    background: var(--surface-white);

    border: 1px solid var(--border);
    border-radius: 26px;

    padding: 38px;

    box-shadow: 0 18px 50px rgba(31, 41, 55, 0.055);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

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

    border-color: rgba(var(--brand-rgb), 0.25);

    box-shadow:
        0 25px 65px rgba(31, 41, 55, 0.08),
        0 10px 35px rgba(var(--brand-rgb), 0.07);
}


/* subtle blue accent */

.service-detail-card::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    background: var(--brand-primary);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.35s ease;
}

.service-detail-card:hover::after {
    transform: scaleX(1);
}


/* =========================
   SERVICE ICON
========================= */

.service-detail-icon {
    width: 64px;
    height: 64px;

    border-radius: 50%;

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

    background: var(--brand-primary);
    color: var(--surface-white);

    font-size: 23px;

    margin-bottom: 25px;

    box-shadow: 0 12px 25px rgba(var(--brand-rgb), 0.18);
}

.service-detail-icon i {
    line-height: 1;
}


/* =========================
   SERVICE NUMBER
========================= */

.service-number {
    position: absolute;

    top: 28px;
    right: 32px;

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

    color: var(--text-muted);

    letter-spacing: 1px;
}


/* =========================
   SERVICE TEXT
========================= */

.service-detail-card h2 {
    margin: 0 0 15px;

    color: var(--text-primary);

    font-size: 28px;
    line-height: 1.2;
}

.service-detail-card .service-lead {
    margin: 0 0 18px;

    color: var(--text-strong);

    font-size: 17px;
    line-height: 1.7;

    font-weight: 600;
}

.service-detail-card > p:not(.service-lead) {
    margin: 0;

    color: var(--text-secondary);

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


/* =========================
   SERVICE FEATURES
========================= */

.service-detail-card ul {
    margin: 25px 0 0;
    padding: 0;

    list-style: none;

    display: grid;
    gap: 12px;
}

.service-detail-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: var(--text-list);

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

.service-detail-card li i {
    color: var(--brand-primary);

    font-size: 14px;

    margin-top: 3px;
}


/* =========================
   OUR APPROACH
========================= */

.services-approach {
    padding: 130px 8%;

    background: var(--page-background);
}

.services-approach-content {
    max-width: 1150px;
    margin: 0 auto;
}

.services-approach .section-heading {
    max-width: 800px;
    margin: 0 auto 65px;

    text-align: center;
}

.services-approach h2 {
    margin: 25px auto 25px;

    color: var(--text-primary);

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.15;
}

.services-approach h2 span {
    color: var(--heading-accent);
}

.services-approach .section-heading p {
    color: var(--text-secondary);

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


/* =========================
   APPROACH GRID
========================= */

.approach-grid {
    display: grid;

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

    gap: 22px;
}

.approach-item {
    padding: 32px 25px;

    text-align: center;

    background: var(--surface-soft);

    border: 1px solid var(--border);
    border-radius: 22px;
}

.approach-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 22px;

    border-radius: 50%;

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

    background: var(--surface-blue);
    color: var(--brand-primary);

    font-size: 20px;
}

.approach-item h3 {
    margin: 0 0 12px;

    color: var(--text-primary);

    font-size: 21px;
}

.approach-item p {
    margin: 0;

    color: var(--text-secondary);

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


/* =========================
   SERVICES CTA
========================= */

.services-cta {
    padding: 130px 8%;

    background: var(--page-background);

    text-align: center;
}

.services-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-cta h2 {
    margin: 25px auto 22px;

    color: var(--text-primary);

    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.12;
}

.services-cta h2 span {
    color: var(--heading-accent);
}

.services-cta p {
    max-width: 700px;
    margin: 0 auto;

    color: var(--text-secondary);

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

.services-cta .primary-btn {
    display: inline-flex;

    margin-top: 34px;
}

/* =========================================================
   SERVICES PAGE RESPONSIVE
========================================================= */

.service-detail-card.service-highlight {
    border-color: var(--brand-primary);

    box-shadow:
        0 0 0 4px rgba(var(--brand-rgb),.10),
        0 25px 65px rgba(31,41,55,.08);
}

/* Temporary highlight line */
.service-detail-card.service-highlight::after {
    transform: scaleX(1);
}

/* =========================================================
   CONTACT PAGE
========================================================= */

/* =========================
   CONTACT HERO
========================= */

.contact-hero {

    padding: 120px 8% 90px;

    background: var(--page-background);

    text-align: center;

}

.contact-hero-content {

    max-width: 850px;

    margin: 0 auto;

}

.contact-hero h1 {

    margin: 28px auto 25px;

    font-size: clamp(48px, 6vw, 72px);

    line-height: 1.1;

    color: var(--text-primary);

}

.contact-hero h1 span {

    color: var(--heading-accent);

}

.contact-hero p {

    max-width: 720px;

    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 19px;

    line-height: 1.8;

}


/* =========================
   CONTACT SECTION
========================= */

.contact-section {

    padding: 110px 8%;

    background: var(--page-background);

}

.contact-container {

    max-width: 1150px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 70px;

    align-items: start;

}


/* =========================
   CONTACT INTRO
========================= */

.contact-intro h2 {

    margin: 25px 0;

    color: var(--text-primary);

    font-size: 48px;

    line-height: 1.15;

}

.contact-intro h2 span {

    color: var(--brand-primary);

}

.contact-intro > p {

    max-width: 540px;

    margin: 0 0 20px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.8;

}


/* =========================
   CONTACT DETAILS
========================= */

.contact-detail {

    display: flex;

    align-items: flex-start;

    gap: 16px;

    margin-top: 28px;

}

.contact-detail-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-blue);
    color: var(--brand-primary);
}

.contact-detail span {

    display: block;

    margin-bottom: 5px;

    color: var(--text-primary);

    font-size: 14px;

    font-weight: 700;

}

.contact-detail a {

    color: var(--brand-primary);

    font-size: 16px;

    text-decoration: none;

}

.contact-detail a:hover {

    text-decoration: underline;

}

.contact-detail p {

    margin: 0;

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 1.6;

}


/* =========================
   CONTACT FORM
========================= */

.contact-form-wrapper {

    padding: 38px;

    background: var(--surface-white);

    border: 1px solid var(--border);

    border-radius: 26px;

    box-shadow:
        0 18px 50px rgba(31, 41, 55, 0.06);

}

.contact-form {

    display: grid;

    gap: 20px;

}

.form-row {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

}

.form-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}

.form-group label {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--surface-white);

    color: var(--text-primary);

    font-family: inherit;

    font-size: 15px;

    padding: 14px 16px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}

.form-group input::placeholder,
.form-group textarea::placeholder {

    color: var(--text-muted);

}

.form-group textarea {

    resize: vertical;

    min-height: 150px;

}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: var(--brand-primary);

    box-shadow:
        0 0 0 3px rgba(var(--brand-rgb), 0.08);

}

.contact-submit {

    border: none;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 5px;

}

.form-note {

    margin: 0;

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.6;

    text-align: center;

}


/* =========================
   CONTACT CTA
========================= */

.contact-cta {

    padding: 120px 8%;

    background: var(--page-background);

    text-align: center;

}

.contact-cta-content {

    max-width: 760px;

    margin: 0 auto;

}

.contact-cta h2 {

    margin: 25px auto 20px;

    color: var(--text-primary);

    font-size: 52px;

    line-height: 1.15;

}

.contact-cta h2 span {

    color: var(--heading-accent);

}

.contact-cta p {

    max-width: 650px;

    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 18px;

    line-height: 1.8;

}

/* =========================================================
   SHARED — FORM MODALS — DESKTOP
========================================================= */

/* ==========================================
   XANORA AI — FORM MODALS
========================================== */

body.modal-open {
    overflow: hidden;
}


/* ==========================================
   MODAL BACKDROP
========================================== */

.form-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 30px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.form-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.form-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(5, 8, 20, 0.78);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* ==========================================
   MODAL CONTENT
========================================== */

.form-modal-content {
    position: relative;

    width: min(680px, 100%);
    max-height: 90vh;

    overflow-y: auto;

    padding: 42px;

    background: var(--surface-white);

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);

    transform: translateY(20px) scale(0.98);

    transition:
        transform 0.25s ease;
}


.form-modal.active .form-modal-content {
    transform: translateY(0) scale(1);
}


/* ==========================================
   CLOSE BUTTON
========================================== */

.form-modal-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 42px;
    height: 42px;

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

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;

    background: var(--surface-soft);

    color: #222;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.form-modal-close:hover {
    background: var(--surface-hover);
    transform: rotate(5deg);
}


/* ==========================================
   MODAL HEADER
========================================== */

.form-modal-header {
    margin-bottom: 30px;

    padding-right: 45px;
}


.form-modal-header .section-badge {
    display: inline-block;

    margin-bottom: 14px;
}


.form-modal-header h2 {
    margin: 0 0 14px;

    font-size: clamp(2rem, 5vw, 3rem);

    line-height: 1.08;
}


.form-modal-header h2 span {
    display: inline;
}


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

    color: var(--text-secondary);

    line-height: 1.7;
}


/* ==========================================
   FORM LAYOUT
========================================== */

.consultation-form {
    display: flex;
    flex-direction: column;

    gap: 20px;
}


.form-field {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.form-field label {
    font-size: 0.92rem;
    font-weight: 600;

    color: #222;
}


.form-field label span {
    color: var(--text-muted);
}


.form-field label small {
    font-weight: 400;
    color: var(--text-muted);
}


/* ==========================================
   INPUTS
========================================== */

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

    box-sizing: border-box;

    padding: 14px 16px;

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

    background: var(--surface-white);

    color: #222;

    font-family: inherit;
    font-size: 0.95rem;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brand-primary);

    box-shadow:
        0 0 0 3px rgba(var(--brand-rgb), 0.08);
}


.form-field textarea {
    min-height: 120px;

    resize: vertical;
}


.form-field select {
    cursor: pointer;
}


/* ==========================================
   RADIO OPTIONS
========================================== */

.form-options {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;
}


.option-card {
    position: relative;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 13px 14px;

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

    background: var(--surface-white);

    cursor: pointer;

    transition:
        border-color 0.2s ease;
}


.option-card:hover {
    border-color: var(--text-muted);
}


.option-card input {
    width: auto;
    margin: 0;
}


.option-card span {
    font-size: 0.9rem;
}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.form-submit {
    width: 100%;

    margin-top: 6px;

    border: none;

    cursor: pointer;

    justify-content: center;
}

/* =========================================================
   TABLET — MAX WIDTH 701PX TO 1000PX
========================================================= */

/* =========================================================
   FOOTER
========================================================= */

@media (max-width: 900px) {

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

    .footer-brand {
        grid-column: 1 / -1;
    }

}




/* =========================================================
   HOME / INDEX — GENERAL
========================================================= */

@media (max-width:1000px){

    .navbar{

        width:92%;

    }

    .hero-container{

        flex-direction:column;

        text-align:center;

    }

    .hero-left{

        width:100%;

    }

    .hero-right{

        width:100%;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-features{

        justify-content:center;

    }

    .services-grid{

        grid-template-columns:
            repeat(2,1fr);

    }

    .process-grid{

        grid-template-columns:
            repeat(2,1fr);

    }

}

/* =========================================================
   HOME / INDEX — HERO SERVICE CIRCLES
========================================================= */

@media (max-width: 1000px) {

    .hero-service-circles {
        gap: 14px;
    }

    .hero-service-circles .floating-card {
        width: 150px;
        height: 150px;
        flex-basis: 150px;
    }
}

/* =========================================================
   HOME / INDEX — SERVICES ORBIT
========================================================= */

@media (max-width: 900px) {

    .services-orbit {
        height: auto;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 20px;

        padding: 20px 0;
    }

    .orbit-ring {
        display: none;
    }

    .services-center {
        position: relative;

        top: auto;
        left: auto;

        transform: none;

        grid-column: 1 / -1;

        margin: 0 auto 20px;
    }

    .service-orbit-card {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;

        width: auto;
    }
}

/* =========================================================
   ABOUT PAGE
========================================================= */

@media (max-width: 1000px) {

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

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

}

/* =========================================================
   SERVICES PAGE
========================================================= */

@media (max-width: 900px) {

    .services-grid-page {
        grid-template-columns: 1fr;
    }

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

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

/* =========================================================
   CONTACT PAGE
========================================================= */

@media (max-width: 900px) {

    .contact-container {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .contact-intro {

        max-width: 750px;

        margin: 0 auto;

    }

}

/* =========================================================
   MOBILE — MAX WIDTH 700PX AND BELOW
========================================================= */

/* =========================================================
   HOME / INDEX — FINAL CTA
========================================================= */

@media (max-width: 600px) {

    .final-cta {
        padding: 75px 6%;
    }

    .final-cta h2 {
        font-size: 38px;
    }

    .final-cta p {
        font-size: 17px;
    }

    .final-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .final-cta .primary-btn,
    .final-cta .secondary-btn {
        width: 100%;
        max-width: 320px;
    }
}

/* =========================================================
   FOOTER — 600PX
========================================================= */

@media (max-width: 600px) {

    .site-footer {
        padding: 55px 6% 25px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;

        padding-bottom: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-column h3 {
        margin-bottom: 15px;
    }

    .footer-bottom {
        min-height: auto;

        padding: 22px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 12px;
    }

}

/* =========================================================
   FOOTER — 420PX
========================================================= */

@media (max-width: 420px) {

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

}

/* =========================================================
   HOME / INDEX — GENERAL — 700PX
========================================================= */

@media (max-width:700px){


    #hero{

        padding:70px 5%;

    }

    .hero-left h1{

        font-size:44px;

    }

    .hero-description{

        font-size:17px;

    }

    .hero-visual{

        width:280px;

        height:280px;

    }

    .why-grid{

        grid-template-columns:1fr;

    }

    .services-grid{

        grid-template-columns:1fr;

    }

    .process-grid{

        grid-template-columns:1fr;

    }

    .who-grid{

        grid-template-columns:1fr;

    }

    .problems-grid{

        grid-template-columns:1fr;

    }

    .section-title h2 {

        font-size:38px;

    
    color: var(--text-primary);
}

    .section-heading h2{

        font-size:34px;

    }

    .who-title,
    .problems-section .problem-title {

        font-size:38px;

    
    color: var(--text-primary);
}

    .hero-features{

        flex-direction:column;

        align-items:center;

    }

}

/* =========================================================
   HOME / INDEX — HERO SERVICE CIRCLES — 700PX
========================================================= */

@media (max-width: 700px) {

    .hero-service-circles {
        flex-wrap: wrap;
        max-width: 360px;
    }

    .hero-service-circles .floating-card {
        width: 145px;
        height: 145px;
        flex-basis: 145px;
    }
}

/* =========================================================
   HOME / INDEX — SERVICES ORBIT — 600PX
========================================================= */

@media (max-width: 600px) {

    .services-orbit {
        grid-template-columns: 1fr;
    }

    .services-center {
        grid-column: auto;
    }

    .service-orbit-card {
        width: 100%;
    }
}

/* =========================================================
   ABOUT PAGE — 700PX
========================================================= */

@media (max-width: 700px) {

    .about-hero h1 {
        font-size: 42px;
    }

    .about-hero p {
        font-size: 17px;
    }


    .about-story h2,
    .about-beliefs h2,
    .about-capabilities h2,
    .about-vision h2,
    .about-process h2,
    .about-future h2 {
        font-size: 38px;
    }


    .about-story p,
    .about-beliefs > .section-heading > p,
    .about-capabilities > .section-heading > p,
    .about-vision p,
    .about-process > .section-heading > p,
    .about-future p {
        font-size: 16px;
    }


    .beliefs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }


    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }


    .about-process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }


    .about-process-card {
        min-height: auto;
    }


    .about-cta h2 {
        font-size: 40px;
    }

}

/* =========================================================
   HOME / INDEX — SECTION HEADINGS — 480PX
========================================================= */

@media (max-width: 480px) {

    .who-title,
    .problems-section .problem-title,
    .section-title h2 {
        font-size:34px;
    
    color: var(--text-primary);
}

}


/* =========================================================
   ABOUT PAGE — 480PX
========================================================= */

@media (max-width: 480px) {

    .about-hero h1 {
        font-size: 36px;
    }

    .about-story h2,
    .about-beliefs h2,
    .about-capabilities h2,
    .about-vision h2,
    .about-process h2,
    .about-future h2,
    .about-cta h2 {
        font-size: 34px;
    }

    .belief-card,
    .capability-card,
    .about-process-card {
        padding: 26px;
    }

}

/* =========================================================
   ABOUT PAGE — SPACING / STICKY NAV — 700PX
========================================================= */

@media (max-width: 700px) {

    body:has(.about-hero) {

        scroll-padding-top: 180px;

    }


    body:has(.about-hero) .about-hero {

        padding: 110px 6% 85px;

    }


    body:has(.about-story) .about-story {

        padding: 90px 6%;

    }


    body:has(.about-beliefs) .about-beliefs {

        padding: 90px 6%;

    }


    body:has(.about-capabilities) .about-capabilities {

        padding: 90px 6%;

    }


    body:has(.about-vision) .about-vision {

        padding: 90px 6%;

    }


    body:has(.about-process) .about-process {

        padding: 90px 6%;

    }


    body:has(.about-future) .about-future {

        padding: 90px 6%;

    }


    body:has(.about-cta) .about-cta {

        padding: 90px 6%;

    }


    body:has(.about-hero) .section-heading h1,
    body:has(.about-hero) .section-heading h2 {

        margin-top: 22px;
        margin-bottom: 24px;

    }
}

/* =========================================================
   SERVICES PAGE — 600PX
========================================================= */

@media (max-width: 600px) {

    .services-hero {
        padding: 110px 6% 90px;
    }

    .services-hero h1 {
        letter-spacing: -1px;
    }

    .services-intro {
        padding: 90px 6% 50px;
    }

    .services-list {
        padding: 55px 6% 90px;
    }

    .service-detail-card {
        padding: 30px 25px;
        border-radius: 22px;
    }

    .service-detail-card h2 {
        font-size: 25px;
    }

    .services-approach {
        padding: 90px 6%;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .services-cta {
        padding: 90px 6%;
    }

}

/* =========================================================
   CONTACT PAGE — 600PX
========================================================= */

@media (max-width: 600px) {

    .contact-hero {

        padding: 110px 6% 80px;

    }

    .contact-section {

        padding: 80px 6%;

    }

    .contact-intro h2 {

        font-size: 38px;

    }

    .contact-form-wrapper {

        padding: 25px 20px;

        border-radius: 22px;

    }

    .form-row {

        grid-template-columns: 1fr;

    }

    .contact-cta {

        padding: 90px 6%;

    }

    .contact-cta h2 {

        font-size: 40px;

    }

}

/* =========================================================
   SHARED — FORM MODALS — 700PX
========================================================= */

@media (max-width: 700px) {

    .form-modal {
        padding: 14px;
    }


    .form-modal-content {
        max-height: 94vh;

        padding: 30px 22px;

        border-radius: 20px;
    }


    .form-modal-header {
        padding-right: 38px;
    }


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


    .form-modal-close {
        top: 14px;
        right: 14px;
    }

}


.section-title h2 span {
    color: var(--heading-accent);
}


.section-heading h2 span {
    color: var(--heading-accent);
}


.who-title span {
    color: var(--heading-accent);
}


.problems-section .problem-title span {
    color: var(--heading-accent);
}

/* =========================================================
   FINAL — UNIVERSAL PAGE BACKGROUND SYSTEM
   Index / About / Services / Contact
   One page background across the entire website.
========================================================= */

:root {
    --page-background: #ffffff;
}

body {
    background: var(--page-background);
}

#hero,
.services-preview,
.process,
.who-section,
.problems-section,
.final-cta,

.about-hero,
.about-story,
.about-beliefs,
.about-capabilities,
.about-vision,
.about-process,
.about-future,
.about-cta,

.services-hero,
.services-intro,
.services-list,
.services-approach,
.services-cta,

.contact-hero,
.contact-section,
.contact-cta {
    background: var(--page-background) !important;
}

/* =========================================================
   LIGHT MODE — PREMIUM SURFACE HIERARCHY
   Page canvas stays universally white.
   Soft blue is reserved for supporting components.
========================================================= */

.why-card,
.service-card,
.process-card,
.who-card,
.problem-card,
.belief-card,
.capability-card,
.about-process-card,
.approach-card {
    background: var(--surface-soft);
}

.service-detail-card,
.contact-form-wrapper,
.form-modal-content {
    background: var(--surface-elevated);
}

.section-badge {
    background: var(--surface-blue);
    color: var(--brand-primary);
}



/* =========================================================
   LIGHT MODE — PREMIUM CARD DEPTH
   Distinguish cards from the universal page canvas.
========================================================= */

.why-card,
.service-card,
.process-card,
.who-card,
.problem-card,
.belief-card,
.capability-card,
.about-process-card,
.approach-item,
.service-detail-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.why-card:hover,
.service-card:hover,
.process-card:hover,
.who-card:hover,
.problem-card:hover,
.belief-card:hover,
.capability-card:hover,
.about-process-card:hover,
.approach-item:hover{
    transform: translateY(-5px);
    border-color: var(--border-blue);
    box-shadow:
        0 18px 45px rgba(var(--brand-rgb), 0.10);
}

/* =========================================================
   HOME — SERVICES / PROCESS HEADING LAYER
   Keep heading text above decorative circular graphics.
========================================================= */

.services-preview .section-title,
.process .section-title {
    position: relative;
    z-index: 5;
}

.services-preview .section-title h2,
.process .section-title h2 {
    position: relative;
    z-index: 6;
}

.services-orbit,
.process-grid {
    position: relative;
    z-index: 1;
}

.services-orbit {
    margin-top: 55px;
}

.process-grid {
    margin-top: 40px;
}

.orbit-ring {
    z-index: 0;
}

.services-center,
.service-orbit-card {
    z-index: 2;
}

/* =========================================================
   ABOUT — SECTION BADGE CONSISTENCY
========================================================= */

.about-story .section-badge,
.about-beliefs .section-badge,
.about-capabilities .section-badge,
.about-vision .section-badge,
.about-process .section-badge,
.about-future .section-badge,
.about-cta .section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface-blue);
    color: var(--brand-primary);
    border: 1px solid var(--border-blue);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* =========================================================
   FINAL — UNIVERSAL SECTION TITLE / BADGE SYSTEM
   Applies identically to Index, About, Services and Contact.
   This is the single authoritative rule.
========================================================= */

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;

    min-height: 42px;

    border-radius: 999px;

    background: #e4efff;
    color: var(--brand-primary);

    border: 1px solid #cfe0ff;

    font-family: inherit;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.06em;

    white-space: nowrap;

    margin-bottom: 20px;

    box-sizing: border-box;
}

/* The same specification must win inside every page-specific component. */
.about-hero .section-badge,
.about-story .section-badge,
.about-beliefs .section-badge,
.about-capabilities .section-badge,
.about-vision .section-badge,
.about-process .section-badge,
.about-future .section-badge,
.about-cta .section-badge,
.services-hero .section-badge,
.services-intro .section-badge,
.services-approach .section-badge,
.services-cta .section-badge,
.contact-hero .section-badge,
.contact-section .section-badge,
.contact-cta .section-badge,
.final-cta .section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;

    min-height: 42px;

    border-radius: 999px;

    background: #e4efff;
    color: var(--brand-primary);

    border: 1px solid #cfe0ff;

    font-family: inherit;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.06em;

    white-space: nowrap;

    margin-bottom: 20px;

    box-sizing: border-box;
}

/* =========================================================
   XANORA AI — DARK MODE
   FINAL THEME LAYER
   ---------------------------------------------------------
   Light mode remains the existing baseline.
   Dark mode uses deep navy, not black.
   Manual theme choice: [data-theme="dark"]
   System preference: @media (prefers-color-scheme: dark)
========================================================= */

/* =========================================================
   DARK MODE — DESIGN TOKENS
========================================================= */

[data-theme="dark"] {
    color-scheme: dark;

    --surface-white: #f8fafc;

    --brand-primary: #4f8cff;
    --brand-hover: #6aa0ff;
    --brand-accent: #7db2ff;
    --heading-accent: #60a5fa;
    --brand-rgb: 79, 140, 255;

    --text-primary: #f8fafc;
    --text-strong: #e2e8f0;
    --text-secondary: #b8c5d6;
    --text-list: #c5d0df;
    --text-muted: #8293a8;

    --page-background: #07111f;
    --surface: #0b1728;
    --surface-soft: #0d1d30;
    --surface-blue: #122a45;
    --surface-elevated: #102033;
    --surface-card: #102033;
    --surface-hover: #162b43;

    --border: #1e344d;
    --border-blue: #294f7d;

    --footer-bg: #040b14;
}

/* Follow the operating system only when the user has not
   explicitly selected a theme. JavaScript removes this
   automatic behavior once a manual preference exists. */

@media (prefers-color-scheme: dark) {

    html:not([data-theme]) {
        color-scheme: dark;
    }

    html:not([data-theme]) body {
        --page-background: #07111f;
        --surface: #0b1728;
        --surface-soft: #0d1d30;
        --surface-blue: #122a45;
        --surface-elevated: #102033;
        --surface-card: #102033;
        --surface-hover: #162b43;

        --brand-primary: #4f8cff;
        --brand-hover: #6aa0ff;
        --brand-accent: #7db2ff;
        --heading-accent: #60a5fa;
        --brand-rgb: 79, 140, 255;

        --text-primary: #f8fafc;
        --text-strong: #e2e8f0;
        --text-secondary: #b8c5d6;
        --text-list: #c5d0df;
        --text-muted: #8293a8;

        --border: #1e344d;
        --border-blue: #294f7d;
        --footer-bg: #040b14;
    }
}

/* =========================================================
   DARK MODE — GLOBAL CANVAS
========================================================= */

[data-theme="dark"] body {
    background: var(--page-background);
    color: var(--text-primary);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme]) body {
        background: #07111f;
        color: #f8fafc;
    }
}

/* =========================================================
   DARK MODE — NAVIGATION
========================================================= */

[data-theme="dark"] .navbar {
    background: rgba(7, 17, 31, 0.78);
    border-color: rgba(125, 178, 255, 0.18);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .logo,
[data-theme="dark"] .nav-links a {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links .active {
    color: var(--brand-accent);
}

[data-theme="dark"] .nav-button {
    color: #ffffff;
}

[data-theme="dark"] .nav-button:hover {
    box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.28);
}

/* =========================================================
   DARK MODE — THEME TOGGLE
========================================================= */

.theme-toggle {
    width: 42px;
    height: 42px;

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

    flex: 0 0 42px;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface-elevated);
    color: var(--text-primary);

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: var(--border-blue);
    box-shadow: 0 8px 22px rgba(var(--brand-rgb), 0.12);
}

.theme-toggle:focus-visible {
    outline: 3px solid rgba(var(--brand-rgb), 0.25);
    outline-offset: 3px;
}

.theme-toggle svg {
    width: 19px;
    height: 19px;
    pointer-events: none;
}

[data-theme="dark"] .theme-toggle {
    background: #102033;
    border-color: #294f7d;
    color: #f8fafc;
}

/* =========================================================
   DARK MODE — UNIVERSAL PAGE SURFACES
========================================================= */

[data-theme="dark"] #hero,
[data-theme="dark"] .services-preview,
[data-theme="dark"] .process,
[data-theme="dark"] .who-section,
[data-theme="dark"] .problems-section,
[data-theme="dark"] .final-cta,

[data-theme="dark"] .about-hero,
[data-theme="dark"] .about-story,
[data-theme="dark"] .about-beliefs,
[data-theme="dark"] .about-capabilities,
[data-theme="dark"] .about-vision,
[data-theme="dark"] .about-process,
[data-theme="dark"] .about-future,
[data-theme="dark"] .about-cta,

[data-theme="dark"] .services-hero,
[data-theme="dark"] .services-intro,
[data-theme="dark"] .services-list,
[data-theme="dark"] .services-approach,
[data-theme="dark"] .services-cta,

[data-theme="dark"] .contact-hero,
[data-theme="dark"] .contact-section,
[data-theme="dark"] .contact-cta {
    background: var(--page-background) !important;
}

/* =========================================================
   DARK MODE — SECTION BADGES
   Same universal geometry and typography as light mode.
   Only the tonal treatment changes.
========================================================= */

[data-theme="dark"] .section-badge,
[data-theme="dark"] .about-hero .section-badge,
[data-theme="dark"] .about-story .section-badge,
[data-theme="dark"] .about-beliefs .section-badge,
[data-theme="dark"] .about-capabilities .section-badge,
[data-theme="dark"] .about-vision .section-badge,
[data-theme="dark"] .about-process .section-badge,
[data-theme="dark"] .about-future .section-badge,
[data-theme="dark"] .about-cta .section-badge,
[data-theme="dark"] .services-hero .section-badge,
[data-theme="dark"] .services-intro .section-badge,
[data-theme="dark"] .services-approach .section-badge,
[data-theme="dark"] .services-cta .section-badge,
[data-theme="dark"] .contact-hero .section-badge,
[data-theme="dark"] .contact-section .section-badge,
[data-theme="dark"] .contact-cta .section-badge,
[data-theme="dark"] .final-cta .section-badge {
    background: #122a45 !important;
    color: #7db2ff !important;
    border-color: #294f7d !important;
}

/* =========================================================
   DARK MODE — HEADINGS / BODY TEXT
========================================================= */

[data-theme="dark"] .hero-left h1,
[data-theme="dark"] .section-heading h2,
[data-theme="dark"] .section-title h2,
[data-theme="dark"] .who-title,
[data-theme="dark"] .problems-section .problem-title,
[data-theme="dark"] .final-cta h2,
[data-theme="dark"] .about-hero h1,
[data-theme="dark"] .about-story h2,
[data-theme="dark"] .about-beliefs h2,
[data-theme="dark"] .about-capabilities h2,
[data-theme="dark"] .about-vision h2,
[data-theme="dark"] .about-process h2,
[data-theme="dark"] .about-future h2,
[data-theme="dark"] .about-cta h2,
[data-theme="dark"] .services-hero h1,
[data-theme="dark"] .services-approach h2,
[data-theme="dark"] .services-cta h2,
[data-theme="dark"] .contact-hero h1,
[data-theme="dark"] .contact-intro h2,
[data-theme="dark"] .contact-cta h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .hero-left h1 span,
[data-theme="dark"] .section-heading h1 span,
[data-theme="dark"] .section-heading h2 span,
[data-theme="dark"] .section-title h2 span,
[data-theme="dark"] .who-title span,
[data-theme="dark"] .problems-section .problem-title span,
[data-theme="dark"] .final-cta h2 span,
[data-theme="dark"] .about-hero h1 span,
[data-theme="dark"] .about-beliefs h2 span,
[data-theme="dark"] .about-capabilities h2 span,
[data-theme="dark"] .about-vision h2 span,
[data-theme="dark"] .about-process h2 span,
[data-theme="dark"] .about-future h2 span,
[data-theme="dark"] .about-cta h2 span,
[data-theme="dark"] .services-hero h1 span,
[data-theme="dark"] .services-approach h2 span,
[data-theme="dark"] .services-cta h2 span,
[data-theme="dark"] .contact-hero h1 span,
[data-theme="dark"] .contact-cta h2 span {
    color: var(--heading-accent);
}

[data-theme="dark"] .hero-description,
[data-theme="dark"] .section-heading p,
[data-theme="dark"] .section-title p,
[data-theme="dark"] .section-description,
[data-theme="dark"] .hero-service-circles .floating-card p,
[data-theme="dark"] .floating-card p {
    color: var(--text-secondary);
}

/* =========================================================
   DARK MODE — HERO
========================================================= */

[data-theme="dark"] .hero-badge {
    background: #122a45;
    color: #7db2ff;
}

[data-theme="dark"] .secondary-btn {
    background: rgba(16, 32, 51, 0.72);
    color: #7db2ff;
    border-color: rgba(var(--brand-rgb), 0.65);
}

[data-theme="dark"] .secondary-btn:hover {
    background: var(--brand-primary);
    color: #ffffff;
}

[data-theme="dark"] .hero-features div {
    color: var(--text-primary);
}

[data-theme="dark"] .ai-node {
    color: var(--brand-accent);
}

[data-theme="dark"] .ai-node svg {
    background: #102033;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .ai-node span {
    color: var(--text-strong);
}

[data-theme="dark"] .hero-service-circles .floating-card {
    background: rgba(16, 32, 51, 0.88);
    border-color: rgba(var(--brand-rgb), 0.24);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .hero-service-circles .card-icon {
    background: #122a45;
    color: #7db2ff;
}

[data-theme="dark"] .hero-service-circles .floating-card h3 {
    color: var(--text-primary);
}

/* =========================================================
   DARK MODE — CARDS
========================================================= */

[data-theme="dark"] .why-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .process-card,
[data-theme="dark"] .who-card,
[data-theme="dark"] .problem-card,
[data-theme="dark"] .belief-card,
[data-theme="dark"] .capability-card,
[data-theme="dark"] .about-process-card,
[data-theme="dark"] .approach-card,
[data-theme="dark"] .approach-item,
[data-theme="dark"] .service-detail-card,
[data-theme="dark"] .service-orbit-card {
    background: var(--surface-elevated) !important;
    border-color: var(--border);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .why-card:hover,
[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .process-card:hover,
[data-theme="dark"] .who-card:hover,
[data-theme="dark"] .problem-card:hover,
[data-theme="dark"] .belief-card:hover,
[data-theme="dark"] .capability-card:hover,
[data-theme="dark"] .about-process-card:hover,
[data-theme="dark"] .approach-item:hover,
[data-theme="dark"] .service-detail-card:hover,
[data-theme="dark"] .service-orbit-card:hover {
    border-color: var(--border-blue);
    box-shadow:
        0 20px 50px rgba(var(--brand-rgb), 0.14);
}

[data-theme="dark"] .card-title h3,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .process-card h3,
[data-theme="dark"] .who-card h3,
[data-theme="dark"] .problem-card h3,
[data-theme="dark"] .belief-card h3,
[data-theme="dark"] .capability-card h3,
[data-theme="dark"] .about-process-card h3,
[data-theme="dark"] .service-detail-card h2,
[data-theme="dark"] .service-detail-card h3,
[data-theme="dark"] .approach-item h3,
[data-theme="dark"] .service-orbit-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .why-card p,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .process-card p,
[data-theme="dark"] .who-card p,
[data-theme="dark"] .problem-card p,
[data-theme="dark"] .belief-card p,
[data-theme="dark"] .capability-card p,
[data-theme="dark"] .about-process-card p,
[data-theme="dark"] .service-detail-card p,
[data-theme="dark"] .approach-item p,
[data-theme="dark"] .service-orbit-card p {
    color: var(--text-secondary);
}

/* =========================================================
   DARK MODE — ORBIT / NETWORK VISUALS
========================================================= */

[data-theme="dark"] .services-center {
    background: #102033;
    border-color: var(--border-blue);
    box-shadow:
        0 20px 60px rgba(var(--brand-rgb), 0.14);
}

[data-theme="dark"] .services-center .center-icon,
[data-theme="dark"] .service-orbit-card i {
    background: #122a45;
    color: #7db2ff;
}

[data-theme="dark"] .services-center h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .services-center p {
    color: var(--text-secondary);
}

[data-theme="dark"] .orbit-ring {
    border-color: rgba(var(--brand-rgb), 0.35);
}

[data-theme="dark"] .orbit-dot {
    background: var(--brand-primary);
    box-shadow:
        0 0 0 3px #07111f,
        0 0 10px rgba(var(--brand-rgb), 0.35);
}

[data-theme="dark"] .process-grid::before {
    background: #294f7d;
}

[data-theme="dark"] .network-svg path {
    stroke: #4f8cff;
}

[data-theme="dark"] .infinity-path path {
    stroke: rgba(var(--brand-rgb), 0.24);
}

/* =========================================================
   DARK MODE — ICONS / NUMBERS
========================================================= */

[data-theme="dark"] .number,
[data-theme="dark"] .who-icon,
[data-theme="dark"] .problem-icon,
[data-theme="dark"] .belief-icon,
[data-theme="dark"] .capability-icon {
    background: var(--brand-primary);
    color: #ffffff;
}

/* =========================================================
   DARK MODE — SERVICES PAGE
========================================================= */

[data-theme="dark"] .service-detail-card.service-highlight {
    border-color: var(--brand-primary);
    box-shadow:
        0 0 0 4px rgba(var(--brand-rgb), 0.12),
        0 25px 65px rgba(0, 0, 0, 0.28);
}

/* =========================================================
   DARK MODE — CONTACT / FORMS
========================================================= */

[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .form-modal-content {
    background: var(--surface-elevated);
    border-color: var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .form-group label {
    color: var(--text-primary);
}

[data-theme="dark"] .form-field label {
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: #0b1728;
    color: var(--text-primary);
    border-color: var(--border);
}

[data-theme="dark"] .form-field input[type="date"],
[data-theme="dark"] .form-field input[type="time"] {
    color-scheme: light;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-muted);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--brand-primary);
    box-shadow:
        0 0 0 3px rgba(var(--brand-rgb), 0.14);
}

[data-theme="dark"] .form-modal-overlay {
    background: rgba(1, 6, 14, 0.84);
}

[data-theme="dark"] .form-modal-close {
    color: var(--text-primary);
}

[data-theme="dark"] .form-modal-header h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .form-modal-header p,
[data-theme="dark"] .form-note {
    color: var(--text-secondary);
}

[data-theme="dark"] .form-option,
[data-theme="dark"] .form-options label {
    background: #0d1d30;
    border-color: var(--border);
    color: var(--text-primary);
}

/* =========================================================
   DARK MODE — CTA / BUTTONS
========================================================= */

[data-theme="dark"] .primary-btn,
[data-theme="dark"] .nav-button,
[data-theme="dark"] .footer-cta {
    background: var(--brand-primary);
    color: #ffffff;
}

[data-theme="dark"] .primary-btn:hover,
[data-theme="dark"] .nav-button:hover,
[data-theme="dark"] .footer-cta:hover {
    background: var(--brand-hover);
}

/* =========================================================
   DARK MODE — FOOTER
========================================================= */

[data-theme="dark"] .site-footer {
    background: var(--footer-bg);
}

[data-theme="dark"] .footer-brand p,
[data-theme="dark"] .footer-column a,
[data-theme="dark"] .footer-contact-text {
    color: #9eafc4;
}

[data-theme="dark"] .footer-column a:hover,
[data-theme="dark"] .footer-bottom-links a:hover {
    color: #f8fafc;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .footer-bottom p,
[data-theme="dark"] .footer-bottom-links a {
    color: #71839a;
}

/* =========================================================
   DARK MODE — LINKS / SELECTED TEXT
========================================================= */

[data-theme="dark"] a {
    -webkit-tap-highlight-color: rgba(var(--brand-rgb), 0.15);
}

[data-theme="dark"] ::selection {
    background: rgba(var(--brand-rgb), 0.35);
    color: #ffffff;
}

/* =========================================================
   DARK MODE — THEME TRANSITION
========================================================= */

html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

/* =========================================================
   DARK MODE — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html.theme-transition *,
    html.theme-transition *::before,
    html.theme-transition *::after {
        transition: none !important;
    }
}

/* =========================================================
   DARK MODE — MOBILE THEME TOGGLE
========================================================= */

@media (max-width: 1000px) {

    .theme-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

}

@media (max-width: 700px) {

    .theme-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

}

/* =========================================================
   LEGAL MODALS
========================================================= */

.legal-modal-content {
    width: min(900px, 92%);
    max-height: 90vh;
    overflow: hidden;

    display: flex;
    flex-direction: column;
}


.legal-modal-content .form-modal-header {
    flex-shrink: 0;
}


.legal-modal-body {
    overflow-y: auto;

    padding-right: 12px;

    margin-top: 25px;

    line-height: 1.8;
}


.legal-modal-body h2 {
    margin-top: 45px;
    margin-bottom: 18px;
}


.legal-modal-body h2:first-child {
    margin-top: 0;
}


.legal-modal-body h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}


.legal-modal-body p {
    margin-bottom: 18px;
}


.legal-modal-body ul {
    padding-left: 25px;
    margin-bottom: 22px;
}


.legal-modal-body li {
    margin-bottom: 8px;
}


.legal-modal-body a {
    color: var(--primary-blue);
    text-decoration: underline;
}


.legal-modal-body .legal-meta {
    margin-bottom: 35px;
    opacity: 0.75;
}


/* =========================================================
   LEGAL MODALS — MOBILE
========================================================= */

@media (max-width: 700px) {

    .legal-modal-content {
        width: 94%;
        max-height: 92vh;

        padding: 30px 22px;
    }


    .legal-modal-body {
        padding-right: 6px;

        margin-top: 20px;

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


    .legal-modal-body h2 {
        margin-top: 38px;
        margin-bottom: 15px;

        font-size: 26px;
    }


    .legal-modal-body h3 {
        margin-top: 28px;
        margin-bottom: 10px;

        font-size: 19px;
    }

}

/* =========================================================
   XANORA AI — FINAL MOBILE OVERRIDES
   Mobile navigation / spacing / hero network
   Desktop remains untouched
========================================================= */

@media (max-width: 700px) {

    /* =====================================================
       MOBILE PAGE WIDTH
    ===================================================== */

    body {
        margin: 0;
    }

    main,
    section,
    .hero-container,
    .hero-left,
    .hero-right {
        width: 100%;
        max-width: 100%;
    }


    /* =====================================================
       MOBILE NAVBAR
    ===================================================== */

    header {
        width: 100%;
    }

    .navbar {
        position: relative;

        width: calc(100% - 24px);
        max-width: none;

        margin: 12px auto 0;
        padding: 10px 14px;

        min-height: 54px;

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

        gap: 10px;

        overflow: visible;
    }

    .logo {
        flex: 0 0 auto;

        font-size: 22px;
        line-height: 1;

        white-space: nowrap;
        margin: 0;
    }

    /* Hide desktop navigation on mobile */
    .nav-links,
    .nav-button {
        display: none !important;
    }


    /* =====================================================
       RIGHT-SIDE CONTROLS
    ===================================================== */

    .navbar .theme-toggle,
    .mobile-menu-toggle {
        flex: 0 0 40px;

        width: 40px;
        height: 40px;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        padding: 0;
    }


    /* =====================================================
       MOBILE MENU BUTTON
    ===================================================== */

    .mobile-menu-toggle {
        border: 1px solid var(--border);
        border-radius: 50%;

        background: var(--surface-elevated);
        color: var(--text-primary);

        cursor: pointer;

        font-size: 22px;
        line-height: 1;

        transition:
            background-color .2s ease,
            color .2s ease,
            border-color .2s ease,
            transform .2s ease;
    }

    .mobile-menu-toggle:hover {
        transform: translateY(-1px);
        border-color: var(--border-blue);
    }


    /* =====================================================
       MOBILE MENU PANEL
    ===================================================== */

    .mobile-menu-panel {
        display: none;

        position: absolute;

        top: calc(100% + 10px);

        left: 0;
        right: 0;

        width: 100%;

        padding: 10px;

        background: var(--surface-elevated);

        border: 1px solid var(--border);

        border-radius: 18px;

        box-shadow:
            0 20px 45px rgba(15, 23, 42, 0.14);

        z-index: 1200;
    }

    .mobile-menu-panel.active {
        display: flex;

        flex-direction: column;

        gap: 4px;
    }

    .mobile-menu-panel a {
        display: block;

        width: 100%;

        padding: 12px 14px;

        border-radius: 12px;

        color: var(--text-primary);

        text-decoration: none;

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

        transition:
            background-color .2s ease,
            color .2s ease;
    }

    .mobile-menu-panel a:hover,
    .mobile-menu-panel a:focus-visible {
        background: var(--surface-blue);
        color: var(--brand-primary);
    }


    /* =====================================================
       DARK MODE — MOBILE NAVIGATION
    ===================================================== */

    [data-theme="dark"] .mobile-menu-toggle {
        background: #102033;
        border-color: #294f7d;
        color: #f8fafc;
    }

    [data-theme="dark"] .mobile-menu-panel {
        background: #102033;
        border-color: #294f7d;
    }

    [data-theme="dark"] .mobile-menu-panel a:hover,
    [data-theme="dark"] .mobile-menu-panel a:focus-visible {
        background: #122a45;
        color: #7db2ff;
    }


    /* =====================================================
       HERO — MOBILE SPACING
    ===================================================== */

    #hero {
        min-height: auto;

        padding:
            42px 16px 24px;
    }

    .hero-container {
        gap: 20px;
    }

    .hero-right {
        gap: 4px;
    }

    .hero-visual {
        width: min(100%, 330px);
        height: 320px;

        margin:
            0 auto 14px;
    }


    /* =====================================================
       AI NETWORK — MOBILE
    ===================================================== */

    .ai-network {
        width: min(92vw, 360px);
        height: 290px;

        max-width: 100%;

        margin: 0 auto;

        transform: none;
    }


    /* =====================================================
       MOBILE NODE POSITIONS
       
       1 = Intelligence
       2 = Automation
       3 = Development
       4 = Integration
    ===================================================== */

    .ai-node-1 {
        left: 12% !important;
        top: 50% !important;
    }

    .ai-node-2 {
        left: 50% !important;
        top: 15% !important;
    }

    .ai-node-3 {
        left: 88% !important;
        top: 50% !important;
    }

    .ai-node-4 {
        left: 50% !important;
        top: 85% !important;
    }


    /* =====================================================
       NODE SCALE
    ===================================================== */

    .ai-node {
        width: 120px;
    }

    .ai-node svg {
        width: 38px;
        height: 38px;

        min-width: 38px;
        min-height: 38px;

        padding: 9px;
    }

    .ai-node span {
        font-size: 13px;
    }


    /* =====================================================
       SERVICE CIRCLES
    ===================================================== */

    .hero-service-circles {
        width: 100%;
        max-width: 330px;

        margin-top: 4px;

        gap: 8px;
    }

    .hero-service-circles .floating-card {
        width: 140px;
        height: 140px;

        flex: 0 0 140px;
    }


    /* =====================================================
       MOBILE SECTION SPACING
    ===================================================== */

    .why-xanora {
        margin: 38px auto;
        padding: 10px 16px;
    }

    .services-preview {
        padding: 38px 16px;
    }

    .process {
        padding: 42px 16px;
    }

    .who-section {
        padding: 42px 16px 34px;
    }

    .problems-section {
        padding: 28px 16px 48px;
    }

    .final-cta {
        padding: 42px 16px;
    }


    /* =====================================================
       KEEP CONTENT INSIDE PHONE WIDTH
    ===================================================== */

    .services-grid,
    .why-grid,
    .process-grid,
    .who-grid,
    .problems-grid,
    .hero-features {
        width: 100%;
        max-width: 100%;
    }

}

/* =========================================================
   XANORA AI — FINAL MOBILE PAGE SPACING
   About / Services / Contact
   Desktop remains untouched
========================================================= */

@media (max-width: 700px) {

    /* =====================================================
       ABOUT PAGE
    ===================================================== */

    body:has(.about-hero) .about-hero {
        padding: 70px 6% 50px;
    }

    body:has(.about-story) .about-story {
        padding: 45px 6%;
    }

    body:has(.about-beliefs) .about-beliefs {
        padding: 45px 6%;
    }

    body:has(.about-capabilities) .about-capabilities {
        padding: 45px 6%;
    }

    body:has(.about-vision) .about-vision {
        padding: 45px 6%;
    }

    body:has(.about-process) .about-process {
        padding: 45px 6%;
    }

    body:has(.about-future) .about-future {
        padding: 45px 6%;
    }

    body:has(.about-cta) .about-cta {
        padding: 50px 6%;
    }


    /* =====================================================
       SERVICES PAGE
    ===================================================== */

    .services-hero {
        padding: 70px 6% 50px;
    }

    .services-intro {
        padding: 45px 6% 35px;
    }

    .services-list {
        padding: 40px 6% 50px;
    }

    .services-approach {
        padding: 45px 6%;
    }

    .services-cta {
        padding: 50px 6%;
    }


    /* =====================================================
       CONTACT PAGE
    ===================================================== */

    .contact-hero {
        padding: 70px 6% 50px;
    }

    .contact-section {
        padding: 45px 6%;
    }

    .contact-cta {
        padding: 50px 6%;
    }


    /* =====================================================
       MOBILE SECTION HEADING SPACING
    ===================================================== */

    body:has(.about-hero) .section-heading h1,
    body:has(.about-hero) .section-heading h2 {
        margin-top: 18px;
        margin-bottom: 18px;
    }

}

/* =========================================================
   MOBILE MENU — DESKTOP HIDDEN
   ========================================================= */

.mobile-menu-toggle,
.mobile-menu-panel {
    display: none !important;
}


/* =========================================================
   MOBILE — SHOW MENU CONTROLS
   ========================================================= */

@media (max-width: 700px) {

    .mobile-menu-toggle {
        display: inline-flex !important;
    }

    .mobile-menu-panel {
        display: none !important;
    }

    .mobile-menu-panel.active {
        display: flex !important;
        flex-direction: column;
    }

}