/* ============================================ */
/* DINAMYS 2.0 — Unified Design System          */
/* ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --navy: #1a1a2e;
    --blue-800: #2d2d44;
    --blue-700: #3d3d56;
    --blue-600: #b8860b;
    --blue-500: #c9a84c;
    --blue-400: #d4b96a;
    --blue-300: #e0ca88;
    --blue-200: #ecdba6;
    --blue-100: #f5ecd0;
    --blue-50: #faf6eb;
    --white: #ffffff;
    --gray-50: #faf8f5;
    --gray-100: #f5f0e8;
    --gray-200: #e8e0d4;
    --gray-300: #d5cdc1;
    --gray-400: #a89f94;
    --gray-500: #7a7268;
    --gray-600: #5c5549;
    --gray-700: #3e3832;
    --gray-800: #2a2520;
    --gray-900: #1a1612;
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-50);
    --bg-accent: var(--blue-50);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-400);
    --border: var(--gray-200);
    --accent: var(--blue-600);
    --accent-hover: var(--blue-500);
    --brand-teal: #4BAEC0;
    --brand-orange: #E8932A;
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.25rem;
    --font-size-6xl: 4rem;
    --font-size-7xl: 5rem;
    --section-padding: 120px;
    --container-max: 1200px;
    --gap: 32px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .08);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, .1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s cubic-bezier(.4, 0, .2, 1);
    --transition-base: 0.3s cubic-bezier(.4, 0, .2, 1);
    --transition-smooth: 0.6s cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* ---------- Container & Section ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    position: relative;
    padding: var(--section-padding) 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 72px;
}

.section-divider {
    width: 100%;
    height: 1.5px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--brand-orange) 25%,
        var(--brand-teal) 75%,
        transparent 100%
    );
    border: none;
    margin: 0;
    opacity: 0.4;
}

.section-label {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-teal);
    margin-bottom: 16px;
}

.section-title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-desc {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

/* ============================================ */
/* SPLASH SCREEN                                */
/* ============================================ */
#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.splash-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.splash-logo-img {
    max-height: 120px;
    width: auto;
}

/* ============================================ */
/* NAVBAR                                       */
/* ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
    opacity: 0;
    pointer-events: none;
}

.navbar.visible {
    opacity: 1;
    pointer-events: auto;
}

.navbar.scrolled {
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(26, 26, 46, .08);
}

/* Subpage navbar */
.subpage .navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(26, 26, 46, .08);
}

.subpage .navbar .nav-links a {
    color: var(--gray-600);
}

.subpage .navbar .nav-links a:hover,
.subpage .navbar .nav-links a.active {
    color: var(--text-primary);
}


.subpage .navbar .nav-cta {
    background: var(--blue-600);
    color: var(--white) !important;
    border: none;
}

.subpage .navbar .nav-cta:hover {
    background: var(--blue-500) !important;
}

.subpage .navbar .nav-hamburger span {
    background: var(--navy);
}

.subpage .navbar.scrolled {
    background: #fff;
}

.subpage .navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.subpage .navbar.scrolled .nav-links a:hover,
.subpage .navbar.scrolled .nav-links a.active {
    color: var(--text-primary);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0;
}

.nav-logo-img {
    height: 56px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    object-fit: contain;
}

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

.nav-links a {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-600);
    letter-spacing: .01em;
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: all var(--transition-base) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--blue-700) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 26, 46, .3);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-links {
    text-align: center;
}

.mobile-menu-links li {
    margin-bottom: 24px;
}

.mobile-menu-links a {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--navy);
    transition: color var(--transition-fast);
}

.mobile-menu-links a:hover {
    color: var(--blue-500);
}

/* ============================================ */
/* HERO                                         */
/* ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* KPMG-style rotating line */
.hl-rotate-wrap {
    display: block;
    overflow-x: clip;
    overflow-y: visible;
    padding-bottom: 0.2em;
}

.hero-rotate-line {
    display: block;
    will-change: transform, filter, opacity;
}

.hero-rotate-line.swipe-out {
    animation: hero-swipe-out 0.38s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

.hero-rotate-line.swipe-in {
    animation: hero-swipe-in 0.38s cubic-bezier(0, 0.55, 0.45, 1) forwards;
}

@keyframes hero-swipe-out {
    from { transform: translateX(0);     filter: blur(0px);  opacity: 1; }
    to   { transform: translateX(-100px); filter: blur(14px); opacity: 0; }
}

@keyframes hero-swipe-in {
    from { transform: translateX(100px);  filter: blur(14px); opacity: 0; }
    to   { transform: translateX(0);     filter: blur(0px);  opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px 8px 12px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 100px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--blue-700);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-orange);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-headline {
    margin-bottom: 28px;
}


.headline-line {
    display: block;
    font-size: var(--font-size-6xl);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.035em;
    color: var(--navy);
}

.headline-accent {
    background: linear-gradient(
        105deg,
        #b8860b 0%,
        #b8860b 20%,
        #f5e4a3 42%,
        #d4b96a 52%,
        #b8860b 70%,
        #b8860b 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
    animation: gold-shimmer 6s ease-in-out infinite alternate;
}

@keyframes gold-shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 100% center; }
}

.hero-sub {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 16px;
}

.hero-sub-secondary {
    font-size: var(--font-size-base);
    color: var(--gray-500);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    display: none;
}

/* Sub-page hero */
.small-hero {
    min-height: 400px;
    padding: 120px 20px 80px;
    background: var(--gray-50);
    color: var(--text-primary);
    text-align: center;
    justify-content: center;
}

.small-hero {
    min-height: auto;
    padding-top: 200px;
    padding-bottom: 120px;
}

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

.hero-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-600);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--navy);
    animation: fadeInUp 1s ease-out .2s backwards;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out .4s backwards;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(184, 134, 11, .06) 0%, transparent 60%);
    pointer-events: none;
}

/* Premium light section — B2B multinational style */
.dark-section {
    background: var(--gray-50) !important;
    color: var(--text-primary) !important;
}

.dark-section .section-title,
.dark-section h2,
.dark-section h3 {
    color: var(--text-primary) !important;
}

.dark-section p,
.dark-section .number-label,
.dark-section .number-desc,
.dark-section .numbers-attribution {
    color: var(--text-secondary) !important;
}

.dark-section .number-value {
    color: var(--navy) !important;
}

.dark-section .number-suffix {
    color: var(--blue-600) !important;
}

.dark-section .value-card,
.dark-section .number-card {
    background: var(--white) !important;
    border-color: rgba(184, 134, 11, .2) !important;
    box-shadow: 0 2px 12px rgba(26, 26, 46, .06) !important;
}

.dark-section .case-tag {
    background: rgba(184, 134, 11, .1) !important;
    color: var(--blue-700) !important;
}

.dark-section .case-attribution {
    background: var(--white) !important;
    border: 1px solid var(--gray-100) !important;
    box-shadow: 0 2px 12px rgba(26, 26, 46, .06) !important;
    padding: 20px 24px !important;
}

.dark-section .numbers-attribution {
    color: var(--text-secondary) !important;
    font-size: 18px !important;
    line-height: 1.6;
}

/* Premium light section — values variant */
.soft-dark-section {
    background: var(--white) !important;
    color: var(--text-primary) !important;
}

.soft-dark-section .section-title,
.soft-dark-section h2,
.soft-dark-section h3 {
    color: var(--text-primary) !important;
}

.soft-dark-section p {
    color: var(--text-secondary) !important;
}

.soft-dark-section .value-card {
    background: var(--white) !important;
    border-color: rgba(184, 134, 11, .2) !important;
    box-shadow: 0 2px 12px rgba(26, 26, 46, .06) !important;
}

/* ============================================ */
/* BUTTONS                                      */
/* ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(10, 22, 40, .15);
}

.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(10, 22, 40, .2);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover {
    border-color: var(--gray-400);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ============================================ */
/* AI SERVICES CARDS                            */
/* ============================================ */
.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ai-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.ai-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.ai-card:hover::before {
    opacity: 1;
}

.ai-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.ai-card-icon svg {
    width: 100%;
    height: 100%;
}

.ai-card-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.ai-card-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Funnel arrow */
.funnel-arrow {
    text-align: center;
    margin-top: 48px;
    color: var(--gray-300);
}

.funnel-arrow svg {
    width: 32px;
    height: 32px;
}

/* ============================================ */
/* BENCHMARK TABLE                              */
/* ============================================ */
.benchmark-section {
    background: var(--gray-50);
}

.benchmark-header {
    text-align: center;
    margin-bottom: 48px;
}

.benchmark-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--navy);
}

.benchmark-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.benchmark-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.benchmark-table th,
.benchmark-table td {
    padding: 20px 24px;
    text-align: left;
    font-size: var(--font-size-sm);
}

.benchmark-table thead th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    letter-spacing: .02em;
}

.benchmark-table thead th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}

.benchmark-table thead th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

.benchmark-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--transition-fast);
}

.benchmark-table tbody tr:hover {
    background: var(--gray-50);
}

.benchmark-table tbody tr:last-child {
    border-bottom: none;
}

.param-label {
    font-weight: 600;
    color: var(--navy);
}

.traditional {
    color: var(--gray-500);
}

.ai-driven {
    color: var(--blue-600);
    font-weight: 600;
}

.sub-text {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

.benchmark-closing {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 40px auto 0;
    line-height: 1.7;
}

/* Benchmark mobile cards */
.benchmark-cards {
    display: none;
}

.benchmark-card-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.benchmark-card-item h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.benchmark-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.benchmark-old,
.benchmark-new {
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

.benchmark-old {
    background: var(--gray-50);
    color: var(--gray-500);
}

.benchmark-new {
    background: var(--blue-50);
    color: var(--blue-600);
    font-weight: 600;
}

.benchmark-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* ============================================ */
/* SERVICES BRIEF                               */
/* ============================================ */
.services-brief-section {
    background: var(--white);
}

.services-brief-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-brief-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-smooth);
    position: relative;
}

.service-brief-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.service-brief-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--brand-teal);
}

.service-brief-icon svg {
    width: 100%;
    height: 100%;
}

.service-brief-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-brief-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-brief-link {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--blue-600);
    transition: color var(--transition-fast);
}

.service-brief-link:hover {
    color: var(--blue-500);
}

/* ============================================ */
/* TESTIMONIALS                                 */
/* ============================================ */
.testimonials-section {
    background: var(--gray-50);
    padding: var(--section-padding) 0;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    padding-left: 24px;
    border-left: 3px solid var(--blue-400);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.testimonial-name {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--navy);
}

.testimonial-role {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* ============================================ */
/* NUMBERS / STATS SECTION                      */
/* ============================================ */
.numbers-section {
    background: var(--gray-50);
    padding: var(--section-padding) 0;
}

.numbers-scroll-area {
    position: relative;
    height: 250vh;
}

.numbers-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 40px;
}

.numbers-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.infra-diagram {
    position: relative;
}

.infra-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.infra-node {
    opacity: 0;
    transform: translateY(10px);
}

.infra-line {
    stroke-dashoffset: 200;
    opacity: 0;
}

.data-dot {
    opacity: 0;
    transform: scale(0);
}

.numbers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.number-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.number-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg);
}

.number-card:hover::before {
    opacity: 1;
}

.number-value {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.number-label {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.number-desc {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.number-suffix {
    font-size: inherit;
}

/* Case attribution */
.case-attribution {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.case-attribution-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.numbers-attribution {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================ */
/* TECHNOLOGY SECTION                           */
/* ============================================ */
.technology-section {
    padding-bottom: 0;
}

.tech-panels-wrapper {
    position: relative;
}

.tech-panel {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(40px);
    border-top: 1px solid var(--gray-100);
}

.tech-panel:first-child {
    border-top: none;
}

.tech-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-panel-content {
    max-width: 520px;
}

.tech-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    color: var(--blue-600);
}

.tech-icon svg {
    width: 100%;
    height: 100%;
}

.tech-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--navy);
    margin-bottom: 20px;
}

.tech-desc {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
}

.tech-desc:last-of-type {
    margin-bottom: 24px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--blue-50);
    color: var(--blue-700);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid var(--blue-100);
    transition: all .3s ease;
}

.tech-tag:hover {
    background: var(--blue-600);
    color: #fff;
    border-color: var(--blue-600);
}

.tech-panel-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    position: relative;
}

.tech-visual-element {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Orbit rings */
.orbit-ring {
    position: absolute;
    border: 1.5px solid var(--blue-100);
    border-radius: 50%;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: orbit-spin 20s linear infinite;
}

.ring-1::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--blue-400);
    border-radius: 50%;
}

.ring-2 {
    width: 260px;
    height: 260px;
    animation: orbit-spin 30s linear infinite reverse;
}

.ring-2::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    width: 8px;
    height: 8px;
    background: var(--blue-300);
    border-radius: 50%;
}

.ring-3 {
    width: 300px;
    height: 300px;
    border-style: dashed;
    opacity: .5;
    animation: orbit-spin 40s linear infinite;
}

.orbit-center {
    width: 80px;
    height: 80px;
    color: var(--blue-600);
    z-index: 1;
}

.orbit-center svg {
    width: 100%;
    height: 100%;
}

/* Code block */
.code-block {
    background: var(--navy);
    border-radius: var(--radius-md);
    padding: 32px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 14px;
    line-height: 2;
    box-shadow: var(--shadow-xl);
    min-width: 320px;
}

.code-line {
    white-space: nowrap;
}

.code-indent {
    padding-left: 20px;
}

.code-indent2 {
    padding-left: 40px;
}

.code-keyword {
    color: #c792ea;
}

.code-type {
    color: #82aaff;
}

.code-name {
    color: #c3e88d;
}

.code-block .code-line {
    color: #a6accd;
}

/* DB visual */
.db-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.db-cylinder {
    width: 120px;
    height: 50px;
    background: linear-gradient(180deg, var(--blue-100), var(--blue-50));
    border: 2px solid var(--blue-200);
    border-radius: 60px/20px;
    position: relative;
}

.db-cylinder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -2px;
    right: -2px;
    height: 20px;
    border: 2px solid var(--blue-200);
    border-radius: 60px/20px;
    background: var(--blue-50);
}

.db-1 {
    opacity: .6;
}

.db-2 {
    opacity: .8;
}

.db-3 {
    opacity: 1;
}

.db-connector {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--blue-200);
    z-index: -1;
}

/* ============================================ */
/* SOLUTIONS SECTION                            */
/* ============================================ */
.solutions-section {
    background: var(--gray-50);
}

.solutions-grid {
    display: grid;
    gap: 24px;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 56px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: start;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--blue-500), var(--blue-300));
    transition: height var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.solution-card:hover::after {
    height: 100%;
}

.solution-number {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    color: var(--blue-100);
    line-height: 1;
    letter-spacing: -.05em;
}

.solution-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--navy);
    margin-bottom: 16px;
}

.solution-desc {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
}

.solution-highlight {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--blue-700);
    padding: 12px 16px;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--blue-500);
    margin-top: 8px;
}

.solution-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon-wrap {
    width: 100px;
    height: 100px;
    color: var(--blue-300);
    opacity: .6;
}

.solution-icon-wrap svg {
    width: 100%;
    height: 100%;
}

/* ============================================ */
/* CLIENTS SECTION                              */
/* ============================================ */
.clients-section {
    background: var(--white);
}

.clients-logos,
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    background: var(--gray-50);
    color: var(--gray-400);
    transition: all var(--transition-smooth);
}

.client-logo svg {
    width: 160px;
    height: 50px;
}

.client-logo img {
    max-width: 160px;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .6;
    transition: all .6s cubic-bezier(.16, 1, .3, 1);
}

.client-logo:hover {
    color: var(--navy);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.clients-note {
    text-align: center;
    font-size: var(--font-size-base);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

/* ============================================ */
/* CONTACT SECTION                              */
/* ============================================ */
.contact-section {
    background: var(--gray-50);
    padding: var(--section-padding) 0;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-header {
    text-align: center;
    margin-bottom: 56px;
}

.contact-title {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.04em;
    color: var(--navy);
    margin-bottom: 20px;
}

.contact-title span {
    display: block;
}

.text-gradient {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-desc {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, .1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.form-option input[type="radio"] {
    display: none;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    text-align: center;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--gray-50);
}

.option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}
.form-option input[type="radio"]:checked + .option-card .option-icon {
    color: var(--brand-orange);
}

.option-text {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--gray-600);
    line-height: 1.3;
}

.form-option input[type="radio"]:checked+.option-card {
    border-color: var(--blue-500);
    background: var(--blue-50);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, .1);
}

.form-option input[type="radio"]:checked+.option-card .option-text {
    color: var(--blue-700);
}

.option-card:hover {
    border-color: var(--gray-300);
    background: var(--white);
}

.form-altro-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth), margin var(--transition-smooth);
    margin-top: 0;
}

.form-altro-wrapper.visible {
    max-height: 200px;
    margin-top: 16px;
}

.form-altro-wrapper textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
    resize: vertical;
}

.form-altro-wrapper textarea:focus {
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, .1);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
    font-size: var(--font-size-lg);
    margin-top: 8px;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}

.form-success {
    text-align: center;
    padding: 48px;
}

.form-success h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
}

/* ============================================ */
/* CASE HISTORY PAGE                            */
/* ============================================ */
.case-history-main {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.case-history-header {
    text-align: center;
    margin-bottom: 64px;
}

.case-history-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.03em;
    margin-bottom: 16px;
}

.case-history-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.case-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-feature-block {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-smooth);
}

.case-feature-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.feature-icon {
    width: 44px;
    height: 44px;
    color: var(--blue-600);
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Secondary cases */
.secondary-cases {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.secondary-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.secondary-case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-smooth);
}

.secondary-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.secondary-case-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.secondary-case-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.case-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--blue-50);
    color: var(--blue-600);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: 100px;
}

/* CTA section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, #2d2d44 100%);
    text-align: center;
}

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

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: #fff;
    margin-bottom: 32px;
    letter-spacing: -.03em;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--blue-600);
    color: #fff;
    border-radius: 100px;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    border: 2px solid var(--blue-600);
}

.cta-btn:hover {
    background: #fff;
    color: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

/* ============================================ */
/* CHI SIAMO PAGE                               */
/* ============================================ */
.values-section {
    padding: 100px 20px;
    background: var(--gray-50);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--blue-600);
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.tech-section {
    padding: 100px 20px;
    background: #fff;
}

.tech-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tech-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.tech-group {
    padding: 30px;
    background: var(--gray-50);
    border-radius: 8px;
    border-top: 3px solid var(--blue-600);
}

.tech-group h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.team-section {
    padding: 100px 20px;
    background: var(--gray-50);
}

.team-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.team-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.role-card {
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    transition: all .3s ease;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
}

.role-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.role-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

/* Chi siamo clients */
.clients-section-page {
    padding: 100px 20px;
    background: #fff;
}

.clients-container {
    max-width: 1000px;
    margin: 0 auto;
}

.clients-description {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Revolution section */
.revolution-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--navy) 0%, #2d2d44 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.revolution-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.revolution-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.revolution-subtitle {
    font-size: 20px;
    color: var(--blue-400);
    font-weight: 600;
    margin-bottom: 30px;
}

.revolution-description {
    font-size: 16px;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: var(--blue-600);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    transition: all .3s ease;
    border: 2px solid var(--blue-600);
}

.cta-button:hover {
    background: #fff;
    color: var(--blue-600);
}

/* ============================================ */
/* PRIVACY PAGE                                 */
/* ============================================ */
.privacy-section {
    padding: var(--section-padding) 0;
}

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

.privacy-content h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--navy);
    margin: 40px 0 16px;
}

.privacy-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--navy);
    margin: 24px 0 12px;
}

.privacy-content p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.privacy-content li {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
    list-style: disc;
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
.footer {
    background: #f2f2f5;
    color: var(--text-primary);
    padding: 72px 0 32px;
    border-top: 1px solid rgba(60, 61, 77, .12);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 56px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-heading,
.footer-section-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-text,
.footer-contact-item,
.footer-address {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-text strong,
.footer-address strong {
    color: var(--text-primary);
    font-weight: 600;
}

.footer-text a,
.footer-contact-item a,
.footer-address a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-text a:hover,
.footer-contact-item a:hover {
    color: var(--navy);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--navy);
}

.footer-section p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-section h4 {
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul a {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.footer-section ul a:hover {
    color: var(--navy);
}

.footer-bottom {
    border-top: 1px solid rgba(60, 61, 77, .12);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p,
.footer-copyright {
    font-size: var(--font-size-xs);
    color: rgba(60, 61, 77, .45);
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width:1024px) {
    :root {
        --section-padding: 96px;
        --font-size-6xl: 3.25rem;
        --font-size-5xl: 2.75rem;
        --font-size-4xl: 2.25rem;
    }

    .numbers-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .numbers-scroll-area {
        height: 200vh;
    }

    .infra-svg {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }

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

    .tech-panel-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .tech-panel-visual {
        min-height: 250px;
    }

    .solution-card {
        grid-template-columns: auto 1fr;
        padding: 40px;
    }

    .solution-visual {
        display: none;
    }

    .footer-grid,
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }

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

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

@media (max-width:768px) {
    :root {
        --section-padding: 72px;
        --font-size-7xl: 3rem;
        --font-size-6xl: 2.5rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-section {
        padding-top: 120px;
        min-height: auto;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .numbers-scroll-area {
        height: auto;
    }

    .numbers-sticky {
        position: relative;
        height: auto;
        padding: 60px 0;
    }

    .infra-diagram {
        display: none;
    }

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

    .number-card {
        padding: 28px 20px;
        opacity: 1 !important;
        transform: none !important;
    }

    .number-value {
        font-size: var(--font-size-3xl);
    }

    .solution-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .solution-number {
        font-size: var(--font-size-4xl);
    }

    .clients-logos,
    .clients-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .contact-form {
        padding: 28px;
    }

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

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

    .footer-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

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

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

    .secondary-cases-grid {
        grid-template-columns: 1fr;
    }

    .small-hero {
        min-height: 350px;
    }

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

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

    .revolution-title {
        font-size: 28px;
    }

    .revolution-subtitle {
        font-size: 16px;
    }

    .benchmark-table-wrapper {
        display: none;
    }

    .benchmark-cards {
        display: block;
    }

    .team-roles {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width:480px) {
    :root {
        --font-size-6xl: 2rem;
        --font-size-5xl: 1.75rem;
        --section-padding: 56px;
    }

    .container {
        padding: 0 16px;
    }

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

    .clients-logos,
    .clients-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-wrapper {
        padding: 0 16px;
    }
}

/* ============================================ */
/* INDUSTRY SECTOR CARDS                        */
/* ============================================ */
.sectors-section {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.sectors-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(184, 134, 11, .08) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, .05) 0%, transparent 50%);
    pointer-events: none;
}

.sectors-section .section-label {
    color: var(--blue-400);
}

.sectors-section .section-title {
    color: var(--white);
}

.sectors-section .section-desc {
    color: rgba(255,255,255,.55);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.sector-card {
    position: relative;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(184, 134, 11, .18);
    border-radius: var(--radius-lg);
    padding: 40px 28px 36px;
    cursor: default;
    transition: all 0.45s cubic-bezier(.16, 1, .3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.sector-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(184, 134, 11, .12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sector-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-400), var(--blue-300));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.sector-card:hover {
    transform: translateY(-10px);
    border-color: rgba(184, 134, 11, .45);
    background: rgba(255,255,255,.06);
    box-shadow:
        0 20px 60px rgba(0,0,0,.35),
        0 0 40px rgba(184, 134, 11, .08),
        inset 0 1px 0 rgba(255,255,255,.06);
}

.sector-card:hover::before {
    opacity: 1;
}

.sector-card:hover::after {
    opacity: 1;
}

.sector-card:hover .sector-icon-wrap {
    transform: scale(1.08);
    box-shadow: 0 0 32px rgba(184,134,11,.25);
}

.sector-card:hover .sector-tag {
    background: rgba(184, 134, 11, .2);
    border-color: rgba(184, 134, 11, .4);
    color: var(--blue-300);
}

/* Icon wrapper */
.sector-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(184, 134, 11, .1);
    border: 1px solid rgba(184, 134, 11, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(.16, 1, .3, 1);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.sector-icon-wrap svg {
    width: 32px;
    height: 32px;
}

/* Card text */
.sector-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.sector-desc {
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,.5);
    line-height: 1.65;
    margin-bottom: 24px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.sector-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(184, 134, 11, .1);
    border: 1px solid rgba(184, 134, 11, .2);
    border-radius: 100px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--blue-400);
    letter-spacing: .05em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.sector-tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue-500);
    flex-shrink: 0;
}

/* Hover glow particles */
.sector-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sector-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--blue-400);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sector-card:hover .sector-particle {
    opacity: 1;
    animation: float-particle 3s ease-in-out infinite;
}

.sector-particle:nth-child(1) { top: 20%; left: 80%; animation-delay: 0s; }
.sector-particle:nth-child(2) { top: 60%; left: 90%; animation-delay: .5s; }
.sector-particle:nth-child(3) { top: 80%; left: 70%; animation-delay: 1s; }
.sector-particle:nth-child(4) { top: 40%; left: 85%; animation-delay: 1.5s; }

@keyframes float-particle {
    0%, 100% { transform: translateY(0) scale(1); opacity: .4; }
    50% { transform: translateY(-8px) scale(1.5); opacity: .9; }
}

/* Section note */
.sectors-note {
    text-align: center;
    margin-top: 52px;
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,.35);
    position: relative;
    z-index: 1;
}

.sectors-note strong {
    color: rgba(255,255,255,.6);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .sector-card {
        padding: 32px 24px;
    }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(26, 22, 18, 0.1);
}

.faq-item:first-child {
    border-top: 1px solid rgba(26, 22, 18, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 28px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-family);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-900);
    gap: 24px;
    transition: color var(--transition-base);
}

.faq-question:hover {
    color: var(--blue-600);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid currentColor;
    position: relative;
    transition: transform var(--transition-base), color var(--transition-base);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 10px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 10px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--blue-600);
}

.faq-item.open .faq-question {
    color: var(--blue-600);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer {
    max-height: 1200px;
}

.faq-answer p {
    color: #4a4540;
    font-size: 0.9375rem;
    line-height: 1.75;
    padding-bottom: 24px;
}

.faq-answer p + p {
    padding-top: 0;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 0.9375rem;
        padding: 22px 0;
    }

    .faq-answer p {
        font-size: 0.875rem;
    }
}

/* ============================================ */
/* COOKIE BANNER                                */
/* ============================================ */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 2px solid var(--blue-500);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-banner.cookie-banner-visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    color: #b0b0c8;
    line-height: 1.6;
    min-width: 260px;
}

.cookie-banner-text strong {
    color: #ffffff;
}

.cookie-banner-text a {
    color: var(--blue-500);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    color: #ffffff;
}

.cookie-btn {
    background: var(--blue-500);
    color: var(--navy);
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.cookie-btn:hover {
    background: var(--blue-600);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--gray-400);
    border: 1px solid var(--gray-600);
}

.cookie-btn-secondary:hover {
    background: var(--gray-700);
    color: var(--white);
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        padding: 16px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}
}