:root {
    --bg: #f5f9ff;
    --card: #ffffff;
    --ink: #0f2242;
    --muted: #5c7198;
    --line: #d9e4f7;
    --shadow-soft: 0 14px 30px rgba(16, 48, 97, 0.1);
    --shadow-strong: 0 26px 65px rgba(15, 45, 92, 0.18);
    --radius-xl: 24px;
    --scroll-ratio: 0;
}

body.landing-modern {
    background: var(--bg);
    color: var(--ink);
}

.landing-modern,
.landing-modern * {
    cursor: default;
}

.landing-modern a,
.landing-modern button,
.landing-modern [role="button"] {
    cursor: pointer;
}

.intro-line {
    margin-inline: auto;
    max-width: 88ch;
    font-size: 1.03rem;
    width: 100%;
    text-align: center;
}

.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ambient-shape {
    position: absolute;
    border-radius: 999px;
    filter: blur(36px);
    opacity: .48;
}

.ambient-a {
    width: 520px;
    height: 520px;
    top: -160px;
    right: -120px;
    background: radial-gradient(circle at 40% 40%, rgba(18, 77, 166, .38), rgba(18, 77, 166, .06));
    transform: translateY(calc(var(--scroll-ratio) * 140px));
}

.ambient-b {
    width: 420px;
    height: 420px;
    top: 28%;
    left: -120px;
    background: radial-gradient(circle at 50% 50%, rgba(227, 124, 34, .32), rgba(227, 124, 34, .08));
    transform: translateY(calc(var(--scroll-ratio) * -100px));
}

.ambient-c {
    width: 540px;
    height: 540px;
    bottom: -220px;
    right: 16%;
    background: radial-gradient(circle at 50% 50%, rgba(51, 120, 205, .26), rgba(51, 120, 205, .06));
    transform: translateY(calc(var(--scroll-ratio) * 70px));
}

.modern-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.modern-header .navbar { padding: 0.82rem 0; }

.modern-header .nav-link {
    color: var(--ink);
    font-weight: 600;
}

.hero-wrap {
    padding-top: 94px;
    padding-bottom: 10px;
}

.hero-pro {
    position: relative;
    border-radius: var(--radius-xl);
    border: 1px solid #cadaf5;
    background: linear-gradient(145deg, #09234a, #15386f 44%, #1f4f94);
    color: #fff;
    box-shadow: var(--shadow-strong);
    padding: 24px;
    overflow: hidden;
}

.hero-pro::before {
    content: "";
    position: absolute;
    inset: -30% -10% auto auto;
    width: 500px;
    height: 500px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.26), rgba(255,255,255,0));
    pointer-events: none;
}

.hero-carousel-pro {
    position: relative;
    min-height: 62vh;
}

.hero-slide-pro {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(18px) scale(.985);
    transition: opacity .65s ease, transform .65s ease;
    pointer-events: none;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
    align-items: stretch;
}

.hero-slide-pro.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.hero-copy {
    padding: clamp(14px, 3vw, 28px);
    align-self: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.12);
    padding: 7px 14px;
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-size: clamp(2rem, 3.8vw, 4.1rem);
    line-height: 1.04;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-subtitle {
    color: #e5efff;
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    max-width: 60ch;
    margin-bottom: 24px;
}

.hero-visual {
    border-radius: 18px;
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: 0 20px 55px rgba(6, 20, 44, .42);
    position: relative;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(15, 41, 82, 0) 20%, rgba(8, 24, 50, .45) 100%);
}

.hero-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.hero-dots { display: flex; gap: 8px; }

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.65);
    background: rgba(255,255,255,.25);
    cursor: pointer;
}

.hero-dot.is-active {
    width: 28px;
    background: #fff;
    border-color: #fff;
}

.hero-arrow {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.12);
    color: #fff;
}

.btn-modern,
.btn-modern-outline {
    border-radius: 12px;
    font-weight: 700;
    padding: 11px 20px;
}

.btn-modern {
    background: var(--adv-orange);
    color: #fff;
    border: 1px solid transparent;
}

.btn-modern:hover { color: #fff; background: color-mix(in srgb, var(--adv-orange) 84%, black); }

.btn-modern-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(255,255,255,.08);
}

.hero-kpis { margin-top: 34px; }

.kpi-card {
    background: #fff;
    border: 1px solid #d6e3f7;
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    position: relative;
    overflow: hidden;
    --mx: 50%;
    --my: 50%;
    transition: border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

.kpi-card::before {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;
    background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
    filter: blur(16px);
    opacity: 0;
    transition: opacity .35s ease;
}

.kpi-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .38;
    pointer-events: none;
    transition: opacity .35s ease;
    background: radial-gradient(340px circle at var(--mx) var(--my), rgba(24, 84, 168, 0.2), rgba(24, 84, 168, 0)),
        radial-gradient(380px circle at var(--mx) var(--my), rgba(216, 106, 14, 0.18), rgba(216, 106, 14, 0));
}

.kpi-card:hover {
    border-color: #c4d9f5;
}

.kpi-card:hover::before { opacity: .72; }
.kpi-card:hover::after { opacity: .74; }

.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--adv-blue), #25549a);
    color: #fff;
    margin-bottom: 10px;
}

.kpi-value { font-size: 2rem; font-weight: 700; color: #11294f; line-height: 1; }
.kpi-label { color: var(--muted); font-size: .92rem; margin-top: 8px; }

.kpi-meta {
    margin-top: 10px;
    color: #748fbb;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.section-modern { padding: 92px 0; }

.section-title-modern {
    font-size: clamp(1.72rem, 2.55vw, 2.8rem);
    font-weight: 700;
    color: #11294f;
    margin-bottom: 14px;
}

.section-copy-modern { color: var(--muted); max-width: 70ch; }

.mission-vision-section .section-title-modern,
.mission-vision-section .section-copy-modern {
    text-align: center;
}

.mission-vision-section .section-copy-modern {
    margin-inline: auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.diagram-stage {
    position: relative;
    margin-inline: auto;
    max-width: 620px;
    padding: 8px 0 12px;
}

.diagram-stage::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 88%;
    height: 88%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(17, 77, 166, 0.14), rgba(17, 77, 166, 0));
    pointer-events: none;
}

.cyber-diagram {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: transparent;
    overflow: hidden;
    width: min(560px, 100%);
    margin-inline: auto;
    min-height: 300px;
}

.cyber-diagram::before,
.cyber-diagram::after {
    content: "";
    position: absolute;
    inset: 6% 6%;
    border-radius: 50%;
    border: 1px dashed #c2d5ef;
    opacity: 0.65;
    animation: spin-slow 28s linear infinite;
}

.cyber-diagram::after {
    inset: 14% 14%;
    animation-direction: reverse;
    animation-duration: 24s;
    opacity: 0.45;
}

.diagram-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.diagram-ring.ring-outer {
    width: 82%;
    height: 82%;
    border-color: rgba(23, 73, 150, 0.3);
}

.diagram-ring.ring-mid {
    width: 62%;
    height: 62%;
    border-color: rgba(216, 106, 14, 0.32);
}

.diagram-ring.ring-inner {
    width: 42%;
    height: 42%;
    border-color: rgba(23, 73, 150, 0.25);
}

.diagram-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 104px;
    height: 104px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d4e1f6;
    box-shadow: 0 12px 26px rgba(17, 53, 106, 0.18);
    display: grid;
    place-items: center;
    text-align: center;
    z-index: 3;
}

.diagram-core-logo {
    width: 72%;
    height: auto;
    object-fit: contain;
}

.diagram-node {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 150px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-152px) rotate(calc(-1 * var(--angle)));
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #d2e1f8;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 10px 18px rgba(16, 48, 97, 0.12);
    z-index: 4;
    animation: float-node 4.5s ease-in-out infinite;
}

.diagram-node h4 {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #143563;
    text-align: center;
    line-height: 1.28;
}

.diagram-node:nth-child(6) { animation-delay: .35s; }
.diagram-node:nth-child(7) { animation-delay: .7s; }
.diagram-node:nth-child(8) { animation-delay: 1.05s; }
.diagram-node:nth-child(9) { animation-delay: 1.4s; }
.diagram-node:nth-child(10) { animation-delay: 1.75s; }

.mission-card {
    background: linear-gradient(165deg, #ffffff, #f7fbff);
    border: 1px solid #d7e4f6;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 22px;
}

.mission-card h3 {
    font-size: 1.14rem;
    margin-bottom: 8px;
    color: #123160;
}

.mission-card p { color: var(--muted); margin-bottom: 0; }

.mission-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mission-duo .mission-card {
    background: linear-gradient(155deg, #ffffff, #f5f9ff);
    border: 1px solid #d5e3f7;
    position: relative;
    padding: 20px;
    transition: box-shadow .35s ease, border-color .35s ease, background .35s ease;
    overflow: hidden;
    --mx: 50%;
    --my: 50%;
}

.mission-duo .mission-card::before {
    content: "";
    position: absolute;
    inset: -18%;
    pointer-events: none;
    background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
    filter: blur(14px);
    opacity: 0;
    transition: opacity .35s ease;
}

.mission-duo .mission-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.mission-duo .mission-card:nth-child(1) {
    background: linear-gradient(155deg, #f8fbff, #eef5ff);
    border-color: #cddff7;
}

.mission-duo .mission-card:nth-child(2) {
    background: linear-gradient(155deg, #fffaf4, #fff2df);
    border-color: #f1d6b3;
}

.mission-duo .mission-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .35;
    transition: opacity .35s ease;
    pointer-events: none;
}

.mission-duo .mission-card:nth-child(1)::after {
    background: radial-gradient(360px circle at var(--mx) var(--my), rgba(24, 84, 168, 0.14), rgba(24, 84, 168, 0));
}

.mission-duo .mission-card:nth-child(2)::after {
    background: radial-gradient(360px circle at var(--mx) var(--my), rgba(216, 106, 14, 0.14), rgba(216, 106, 14, 0));
}

.mission-duo .mission-card:hover {
    box-shadow: 0 18px 34px rgba(16, 48, 97, 0.14);
}

.mission-duo .mission-card:hover::before {
    opacity: .55;
}

.mission-duo .mission-card:hover::after {
    opacity: .55;
}

@keyframes float-node {
    0%, 100% { transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-152px) rotate(calc(-1 * var(--angle))) translateY(0); }
    50% { transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-152px) rotate(calc(-1 * var(--angle))) translateY(-6px); }
}

.strategy-quote {
    margin-inline: auto;
    max-width: 980px;
    padding: 24px 30px;
    border-radius: 18px;
    border: 1px solid #d2e1f7;
    background: linear-gradient(150deg, #ffffff, #f4f9ff);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.strategy-quote::before {
    content: "\201C";
    position: absolute;
    left: 16px;
    top: 4px;
    font-size: 3.2rem;
    color: rgba(20, 66, 131, 0.22);
    line-height: 1;
}

.strategy-quote p {
    margin: 0;
    text-align: center;
    color: #173767;
    font-size: clamp(1.03rem, 1.6vw, 1.32rem);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.soc-pillar {
    background: #fff;
    border: 1px solid #d7e3f5;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 20px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color .35s ease, box-shadow .35s ease, background .35s ease;
    --mx: 50%;
    --my: 50%;
}

.soc-pillar::before {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;
    background: radial-gradient(340px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    filter: blur(16px);
    opacity: 0;
    transition: opacity .35s ease;
}

.soc-pillar .icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, #e8f1ff, #f7fbff);
    color: #1b4c92;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
    border: 1px solid #d2e2f8;
    transition: transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
}

.kpi-card:hover .kpi-icon {
    background: linear-gradient(145deg, #1a4b93, #2d66be);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.soc-pillar h4 {
    font-size: 1.08rem;
    margin-bottom: 8px;
    color: #11294f;
}

.soc-pillar p { color: var(--muted); margin-bottom: 0; }

.soc-pillar::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .28;
    pointer-events: none;
    transition: opacity .35s ease;
    background: radial-gradient(360px circle at var(--mx) var(--my), rgba(24, 84, 168, 0.12), rgba(24, 84, 168, 0)),
        radial-gradient(420px circle at var(--mx) var(--my), rgba(216, 106, 14, 0.1), rgba(216, 106, 14, 0));
}

.soc-pillar:hover {
    border-color: #c4d9f5;
    box-shadow: 0 20px 36px rgba(15, 45, 92, 0.14);
}

.soc-pillar:hover::before {
    opacity: .5;
}

.soc-pillar:hover::after {
    opacity: .5;
}

.soc-pillar:hover .icon {
    background: linear-gradient(145deg, #1a4b93, #2d66be);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.service-card {
    background: #fff;
    border: 1px solid #d8e4f5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: transform .35s ease, box-shadow .35s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 45, 92, .14);
}

.service-media {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-body { padding: 20px; }
.service-title { font-size: 1.2rem; color: #11294f; margin-bottom: 8px; }
.service-copy { color: var(--muted); }

.solution-highlight {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 20px;
    background: linear-gradient(160deg, #ffffff, #f6faff);
    border: 1px solid #d8e4f7;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

#solutionsCarousel,
#solutionsCarousel .carousel-inner,
#solutionsCarousel .carousel-item {
    background: transparent !important;
}

#solutionsCarousel .carousel-inner {
    height: auto;
    overflow: hidden;
}

#solutionsCarousel .carousel-item {
    min-height: auto !important;
    height: auto !important;
    padding: 0;
    transition: transform .75s ease-in-out;
}

.solution-logo-wrap {
    background: linear-gradient(140deg, #eef4ff, #f9fbff);
    display: grid;
    place-items: center;
    min-height: 250px;
    padding: 24px;
}

.solution-logo {
    width: min(100%, 260px);
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(17, 53, 106, 0.12));
}

.solution-copy-wrap {
    padding: 28px;
    align-self: center;
}

.solution-copy-wrap h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #123160;
}

.solution-copy-wrap p {
    color: var(--muted);
    margin-bottom: 18px;
}

.solutions-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.solutions-controls .hero-arrow {
    border-color: #c2d6f3;
    background: #fff;
    color: #18488f;
}

.solutions-controls .hero-arrow:hover {
    background: #eef4ff;
}

.client-wall {
    border: 1px solid #d7e3f5;
    border-radius: 18px;
    padding: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

.client-wall::before,
.client-wall::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.client-wall::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.client-wall::after {
    right: 0;
    background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.client-track {
    display: flex;
    gap: 36px;
    width: max-content;
    animation: client-marquee 34s linear infinite;
}

.client-logo {
    width: 136px;
    height: 64px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e7eefb;
    padding: 8px;
}

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

.contact-panel {
    background: linear-gradient(165deg, #ffffff, #f6faff);
    border: 1px solid #d8e4f7;
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.contact-actions .btn-modern,
.contact-actions .btn-modern-outline { width: 100%; }

.contact-actions .btn-modern-outline {
    border-color: #bfd0ee;
    color: #19427f;
    background: #f0f6ff;
}

.map-shell {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #d8e4f7;
    box-shadow: var(--shadow-soft);
}

.map-shell iframe {
    width: 100%;
    height: 336px;
    border: 0;
}

.footer-modern {
    border-top: 1px solid #d6e3f7;
    background: #f8fbff;
    color: #14315f;
}

.footer-modern a,
.footer-modern .text-light-emphasis { color: #5571a1 !important; }

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .hero-slide-pro {
        grid-template-columns: 1fr;
    }

    .hero-carousel-pro { min-height: 78vh; }
    .hero-visual { min-height: 250px; }
    .hero-copy { padding: 14px; }
    .mission-duo { grid-template-columns: 1fr; }
    .solution-highlight { grid-template-columns: 1fr; }
    .solution-copy-wrap { padding: 22px; }
    .cyber-diagram { min-height: 260px; }
    .diagram-node {
        width: 126px;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-112px) rotate(calc(-1 * var(--angle)));
    }
    @keyframes float-node {
        0%, 100% { transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-112px) rotate(calc(-1 * var(--angle))) translateY(0); }
        50% { transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-112px) rotate(calc(-1 * var(--angle))) translateY(-4px); }
    }
    .strategy-quote { padding: 20px 18px; }
    .section-modern { padding: 70px 0; }
}
