/* ==========================================================================
   SANIMEDIA — Design System v3.0
   Premium Healthcare Communication
   Palette: #102751 (navy) · #938459 (gold) · #FFFFFF · #050A0F (black)
   Fonts: League Spartan (headings) · Tajawal (body/UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
    /* ── Core Palette ── */
    --navy:          #0A1835;
    --navy-deep:     #040A18;
    --navy-mid:      #122955;
    --navy-glass:    rgba(10, 24, 53, 0.88);
    --navy-subtle:   rgba(10, 24, 53, 0.06);
    --navy-border:   rgba(10, 24, 53, 0.10);

    --gold:          #938459;
    --gold-light:    #C4A96E;
    --gold-dim:      rgba(147,132,89,0.20);
    --gold-glow:     rgba(147,132,89,0.32);
    --gold-subtle:   rgba(147,132,89,0.08);
    --gold-border:   rgba(147,132,89,0.30);
    --gold-gradient:  linear-gradient(135deg, #938459, #C4A96E, #D4BC7E, #C4A96E, #938459);

    --white:         #FFFFFF;
    --white-90:      rgba(255,255,255,0.90);
    --white-60:      rgba(255,255,255,0.60);
    --white-20:      rgba(255,255,255,0.12);
    --white-08:      rgba(255,255,255,0.06);

    /* ── Glass presets ── */
    --glass-light:   rgba(255,255,255,0.72);
    --glass-dark:    rgba(8,14,26,0.60);
    --glass-border:  rgba(255,255,255,0.18);

    /* ── Premium Shadows ── */
    --sh-premium:    0 20px 60px rgba(5,10,15,0.18), 0 8px 24px rgba(5,10,15,0.08);
    --sh-gold-lg:    0 12px 40px rgba(147,132,89,0.35), 0 4px 16px rgba(147,132,89,0.15);
    --glow-gold:     0 0 80px rgba(196,169,110,0.15), 0 0 40px rgba(147,132,89,0.08);

    --black:         #050A0F;

    /* ── Text ── */
    --text:          #0C1A36;
    --text-body:     #3A4A6B;
    --text-muted:    #4E5E80;
    --text-light:    rgba(255,255,255,0.92);
    --text-light-2:  rgba(255,255,255,0.70);

    /* ── Typography ── */
    --f-head:  'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --f-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* ── Layout ── */
    --max-w:     1280px;
    --nav-h:     68px;
    --sec-py:    8rem;
    --sec-py-sm: 5rem;
    --radius:    12px;
    --radius-lg: 20px;

    /* ── Shadows ── */
    --sh-xs:   0 2px 8px rgba(5,10,15,0.05);
    --sh-sm:   0 4px 16px rgba(5,10,15,0.08);
    --sh-md:   0 12px 40px rgba(5,10,15,0.10);
    --sh-lg:   0 24px 64px rgba(5,10,15,0.14);
    --sh-gold: 0 8px 32px rgba(147,132,89,0.28);

    /* ── Motion ── */
    --ease:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
    --fast:     0.22s;
    --med:      0.45s;
    --slow:     0.75s;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes spinCW  { to { transform: rotate(360deg);  } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-18px); }
}

@keyframes floatDelay {
    0%, 100% { transform: translateY(-8px); }
    50%       { transform: translateY(10px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(147,132,89,0), 0 0 20px rgba(147,132,89,0.06); }
    50%       { box-shadow: 0 0 0 14px rgba(147,132,89,0), 0 0 50px rgba(147,132,89,0.22); }
}

@keyframes shimmerGold {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(48px); }
    to   { opacity: 1; transform: none; }
}

@keyframes heroInRight {
    from { opacity: 0; transform: translateX(60px) scale(0.94); }
    to   { opacity: 1; transform: none; }
}

@keyframes particleUp {
    0%   { transform: translateY(0)    scale(1);   opacity: 0.3; }
    100% { transform: translateY(-80px) scale(0);  opacity: 0; }
}

@keyframes barFill {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.6); opacity: 0.5; }
}

@keyframes lineGrow {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0% 0 0); }
}

@keyframes cardHoverIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

@keyframes btnShimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

@keyframes revealFromLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: none; }
}

@keyframes revealFromRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: none; }
}

@keyframes scaleReveal {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes progressGlow {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    overflow-x: hidden;
}

body {
    font-family: var(--f-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-body);
    background-color: #fafbfd;
    background-image: 
        radial-gradient(rgba(147,132,89,0.025) 1px, transparent 1px),
        radial-gradient(rgba(16,39,81,0.015) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

main {
    overflow-x: hidden;
    width: 100%;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
input, select, textarea { outline: none; }

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), #D4BC7E, var(--gold-light), var(--gold));
    background-size: 300% 100%;
    z-index: 999;
    width: 0%;
    transition: width 0.08s linear;
    animation: shimmerGold 3s linear infinite;
    box-shadow: 0 0 12px rgba(196,169,110,0.5), 0 0 4px rgba(196,169,110,0.3);
}
.scroll-progress::after {
    content: '';
    position: absolute;
    right: 0; top: -2px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 16px rgba(196,169,110,0.8), 0 0 6px rgba(196,169,110,0.5);
    animation: progressGlow 1.5s ease-in-out infinite;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }
}

.text-center { text-align: center; }

/* Section header */
.section-header {
    max-width: 680px;
    margin-bottom: 4rem;
}
.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--f-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.section-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1.5px;
    background: var(--gold);
    flex-shrink: 0;
}

.section-title {
    font-family: var(--f-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1.2rem;
}
.section-title em {
    font-style: normal;
    background: var(--gold-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

.section-desc {
    font-family: var(--f-body);
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.78;
    max-width: 560px;
}
.section-header.text-center .section-desc {
    margin: 0 auto;
}

/* On-dark overrides — manual class */
.on-dark .section-tag   { color: var(--gold-light); }
.on-dark .section-tag::before { background: var(--gold-light); }
.on-dark .section-title { color: var(--white); }
.on-dark .section-desc  { color: var(--text-light-2); }

/* Auto dark-section header text — clients / process / why-us / transform */
.clients-section .section-tag,
.process-section .section-tag,
.why-us-section  .section-tag { color: var(--gold-light); }

.clients-section .section-tag::before,
.process-section .section-tag::before,
.why-us-section  .section-tag::before { background: var(--gold-light); }

.clients-section .section-title,
.process-section .section-title,
.why-us-section  .section-title { color: var(--white); }

.clients-section .section-desc,
.process-section .section-desc,
.why-us-section  .section-desc { color: rgba(255,255,255,0.70); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    will-change: opacity, transform;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* Directional reveals */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    will-change: opacity, transform;
}
.reveal-left.revealed {
    opacity: 1;
    transform: none;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    will-change: opacity, transform;
}
.reveal-right.revealed {
    opacity: 1;
    transform: none;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    will-change: opacity, transform;
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays — for grid items */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.44s; }
.reveal-delay-5 { transition-delay: 0.58s; }
.reveal-delay-6 { transition-delay: 0.72s; }
.reveal-delay-7 { transition-delay: 0.86s; }
.reveal-delay-8 { transition-delay: 1.00s; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--f-head);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 0.82rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--med) var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity var(--fast);
}
.btn:hover::after { opacity: 1; }

.btn-sm  { padding: 0.65rem 1.4rem; font-size: 0.76rem; }
.btn-md  { padding: 0.82rem 1.75rem; }
.btn-lg  { padding: 1rem 2.2rem; font-size: 0.86rem; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(147,132,89,0.20);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, #D4BC7E 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--sh-gold-lg);
}
.btn-gold:hover::after {
    opacity: 0;
}
/* Shimmer sweep on gold buttons */
.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-25deg);
    transition: none;
    z-index: 1;
}
.btn-gold:hover::before {
    animation: btnShimmer 0.6s var(--ease) forwards;
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}
.btn-navy:hover {
    background: var(--navy-mid);
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

.btn-ghost-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost-white:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.65);
    transform: translateY(-2px);
}

.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy-border);
}
.btn-outline-navy:hover {
    background: var(--navy-subtle);
    border-color: var(--navy);
}

/* Nav CTA button */
.btn-nav {
    display: inline-flex;
    align-items: center;
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    border: 1.5px solid transparent;
    transition: all var(--fast) var(--ease);
    cursor: pointer;
}

/* Submit glow */
.btn-submit-glow {
    display: block;
    width: 100%;
    padding: 1.15rem 2rem;
    font-family: var(--f-head);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 40%, #D4BC7E 60%, var(--gold-light) 80%, var(--gold) 100%);
    background-size: 300% 100%;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--med) var(--ease);
    margin-top: 0.5rem;
    animation: shimmerGold 3s linear infinite;
    box-shadow: 0 4px 20px rgba(147,132,89,0.25);
    position: relative;
    overflow: hidden;
}
.btn-submit-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
}
.btn-submit-glow:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--sh-gold-lg);
}
.btn-submit-glow:hover::before {
    animation: btnShimmer 0.6s var(--ease) forwards;
}

/* ==========================================================================
   CUSTOM LOGO "E" ANIMATION
   ========================================================================== */
.custom-e-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.custom-e {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    height: 0.75em;
    width: 0.48em;
    margin: 0 0.02em;
    vertical-align: middle;
    position: relative;
    top: -0.04em;
}
.custom-e span {
    display: block;
    height: 0.12em;
    background: currentColor;
    border-radius: 1px;
    transition: transform var(--med) var(--ease), opacity var(--med) var(--ease);
}
.custom-e span:nth-child(1) { width: 100%; }
.custom-e span:nth-child(2) { width: 75%; }
.custom-e span:nth-child(3) { width: 100%; }

.nav-logo:hover .custom-e span:nth-child(1) { transform: translateX(3px); }
.nav-logo:hover .custom-e span:nth-child(2) { transform: translateX(-2px); }
.nav-logo:hover .custom-e span:nth-child(3) { transform: translateX(3px); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background 0.5s var(--ease),
                box-shadow 0.5s var(--ease),
                border-color 0.5s var(--ease);
    border-bottom: 1px solid transparent;
}
.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent 95%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(32px) saturate(1.8);
    -webkit-backdrop-filter: blur(32px) saturate(1.8);
    box-shadow: 0 1px 0 rgba(16,39,81,0.06), 0 8px 32px rgba(16,39,81,0.06);
}
.navbar.scrolled::after {
    opacity: 0.35;
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-head);
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    transition: opacity var(--fast);
}
.nav-logo:hover { opacity: 0.85; }

.navbar.scrolled .nav-logo { color: var(--navy); }

.nav-logo-img {
    height: 38px;
    width: 109px;
    display: block;
    object-fit: contain;
    transition: filter var(--med) var(--ease), transform var(--med) var(--ease);
}

/* On transparent navbar, since background is dark, we filter the logo image to be pure white */
.navbar:not(.scrolled) .nav-logo-img {
    filter: brightness(0) invert(1);
}

/* Footer logo sits on a dark background, so make it white as well */
footer .nav-logo-img {
    filter: brightness(0) invert(1);
}

.nav-logo-icon {
    width: 30px;
    height: 30px;
    color: var(--white);
    transition: color var(--med) var(--ease-std);
}
.navbar.scrolled .nav-logo-icon { color: var(--navy); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-family: var(--f-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    transition: all var(--fast) var(--ease);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: translateX(-50%);
    transition: width var(--med) var(--ease);
    border-radius: 2px;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 70%; }

.navbar.scrolled .nav-link { color: var(--text-muted); }
.navbar.scrolled .nav-link:hover { color: var(--navy); }
.navbar.scrolled .nav-link::after { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.navbar .btn-nav {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    border-color: transparent;
    margin-left: 0.75rem;
    box-shadow: 0 4px 16px rgba(147,132,89,0.18);
    position: relative;
    overflow: hidden;
}
.navbar .btn-nav::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-25deg);
}
.navbar .btn-nav:hover {
    background: linear-gradient(135deg, var(--gold-light), #D4BC7E);
    transform: translateY(-2px);
    box-shadow: var(--sh-gold-lg);
}
.navbar .btn-nav:hover::before {
    animation: btnShimmer 0.6s var(--ease) forwards;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 210;
}
.mobile-nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--med) var(--ease);
}
.mobile-nav-toggle span:nth-child(1) { width: 24px; }
.mobile-nav-toggle span:nth-child(2) { width: 18px; }
.mobile-nav-toggle span:nth-child(3) { width: 24px; }
.navbar.scrolled .mobile-nav-toggle span { background: var(--navy); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 75% 30%, rgba(26,53,96,0.6) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(147,132,89,0.1) 0%, transparent 45%),
        linear-gradient(145deg, rgba(5,10,15,0.92) 0%, rgba(8,17,30,0.85) 30%, rgba(16,39,81,0.7) 65%, rgba(13,34,64,0.95) 100%),
        url('images/hero_bg.png') center/cover no-repeat;
}

/* Decorative circles */
.hero-section::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    border: 1px solid rgba(147,132,89,0.06);
    top: -200px; right: -120px;
    pointer-events: none;
    animation: float 14s ease-in-out infinite;
}
.hero-section::after {
    content: '';
    position: absolute;
    width: 450px; height: 450px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.04);
    bottom: 80px; left: -160px;
    pointer-events: none;
    animation: floatDelay 18s ease-in-out infinite 3s;
}

.hero-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 5rem;
    padding-top: calc(var(--nav-h) + 4rem);
    padding-bottom: 5rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: heroIn 1s var(--ease) 0.1s both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.4rem;
}
.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px; height: 1.5px;
    background: var(--gold-light);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--f-head);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 1.6rem;
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, #C4A96E, #D4BC7E, #E0CC90, #D4BC7E, #C4A96E);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    position: relative;
}

.hero-desc {
    font-family: var(--f-body);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(255,255,255,0.80);
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero visual — card cluster */
.hero-visual {
    position: relative;
    z-index: 2;
    height: 440px;
    animation: heroInRight 1s var(--ease) 0.4s both;
}

.hv-card {
    position: absolute;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform var(--slow) var(--ease), box-shadow var(--slow) var(--ease);
}

.hv-card.primary {
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 280px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 1.8rem;
    animation: float 7s ease-in-out infinite 0.5s;
}

.hv-card.secondary {
    bottom: 60px; left: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(147,132,89,0.14);
    border: 1px solid rgba(147,132,89,0.28);
    padding: 1.1rem 1.4rem;
    width: 200px;
    animation: float 9s ease-in-out infinite 1.5s;
}

.hv-card.tertiary {
    bottom: 20px; right: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 1.1rem 1.4rem;
    width: 185px;
    animation: floatDelay 11s ease-in-out infinite 0.8s;
}

.hvc-trend {
    font-family: var(--f-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #4ade80;
    margin-bottom: 0.6rem;
}

.hvc-main-metric {
    font-family: var(--f-head);
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.hvc-label {
    font-family: var(--f-body);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.60);
    margin-bottom: 0.25rem;
}

.hvc-source {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.55);
    font-family: var(--f-body);
    margin-bottom: 1rem;
}

.hvc-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 44px;
    margin-top: 0.5rem;
}
.hvc-bar {
    flex: 1;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    transition: background var(--fast);
}
.hvc-bar.active { background: var(--gold); }

.hvc-icon-wrap {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hvc-s-value {
    font-family: var(--f-head);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
}
.hvc-s-label {
    font-family: var(--f-body);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

/* Hero proof bar */
.hero-proof-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(5,10,15,0.5);
    backdrop-filter: blur(12px);
    padding: 1.4rem 0;
    position: relative;
    z-index: 2;
}

.proof-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.proof-num {
    font-family: var(--f-head);
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--gold-light);
    letter-spacing: -0.03em;
    line-height: 1;
}

.proof-text {
    font-family: var(--f-body);
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    max-width: 100px;
    line-height: 1.3;
}

.proof-sep {
    width: 1px; height: 32px;
    background: rgba(255,255,255,0.10);
    flex-shrink: 0;
}

/* ==========================================================================
   VALUE PROPOSITION
   ========================================================================== */
.value-section {
    background: transparent;
    padding: var(--sec-py) 0;
    position: relative;
}
/* Ambient radial glow behind value section */
.value-section::before {
    content: '';
    position: absolute;
    top: -20%; left: 50%;
    width: 800px; height: 800px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(147,132,89,0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--navy-border);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.value-pillar {
    background: var(--white);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background var(--med) var(--ease), box-shadow var(--med) var(--ease), transform var(--med) var(--ease);
}
.value-pillar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    opacity: 0;
    transition: opacity var(--med) var(--ease);
}
.value-pillar:hover {
    background: #fafbfd;
    box-shadow: 0 8px 40px rgba(16,39,81,0.06);
    transform: translateY(-2px);
}
.value-pillar:hover::before { opacity: 1; }

.vp-num {
    font-family: var(--f-head);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(16,39,81,0.04);
    line-height: 1;
    position: absolute;
    top: 1rem; right: 1.5rem;
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
    transition: color var(--med) var(--ease);
}
.value-pillar:hover .vp-num { color: rgba(147,132,89,0.06); }

.vp-icon-wrap {
    width: 46px; height: 46px;
    border-radius: 12px;
    border: 1px solid var(--navy-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--gold-subtle);
    transition: border-color var(--med), background var(--med);
}
.value-pillar:hover .vp-icon-wrap {
    border-color: var(--gold-border);
    background: var(--gold-dim);
}

.vp-title {
    font-family: var(--f-head);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.vp-desc {
    font-family: var(--f-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.72;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-section {
    background: transparent;
    padding: var(--sec-py) 0;
    position: relative;
}
/* Premium gold gradient divider at top */
.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(80%, 900px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(147,132,89,0.25), rgba(196,169,110,0.35), rgba(147,132,89,0.25), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5px;
    background: var(--navy-border);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2.2rem;
    position: relative;
    overflow: hidden;
    transition: background var(--med) var(--ease), transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), #D4BC7E);
    transition: width var(--med) var(--ease);
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 0%, rgba(147,132,89,0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--med) var(--ease);
    pointer-events: none;
}
.service-card:hover {
    background: #fcfbf8;
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(16,39,81,0.08);
}
.service-card:hover::before { width: 100%; }
.service-card:hover::after { opacity: 1; }

.service-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--gold-subtle);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
    transition: background var(--med), box-shadow var(--med), transform var(--med), border-color var(--med);
}
.service-card:hover .service-icon {
    background: var(--gold-dim);
    box-shadow: 0 6px 24px rgba(147,132,89,0.22);
    transform: translateY(-2px) scale(1.05);
    border-color: var(--gold);
}

.service-card h3 {
    font-family: var(--f-head);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.7rem;
}

.service-card p {
    font-family: var(--f-body);
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.service-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.service-bullets li {
    font-family: var(--f-body);
    font-size: 0.83rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}
.service-bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5em;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

/* ==========================================================================
   CLIENTS — dark navy
   ========================================================================== */
.clients-section {
    background: var(--navy);
    padding: var(--sec-py) 0;
    position: relative;
    overflow: hidden;
}
.clients-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
    background-size: 48px 48px;
    pointer-events: none;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.client-card {
    background: rgba(255,255,255,0.03);
    padding: 2.2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background var(--med) var(--ease), box-shadow var(--med) var(--ease);
    position: relative;
}
.client-card:hover {
    background: rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.client-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
    opacity: 0;
    transition: opacity var(--med) var(--ease);
}
.client-card:hover::after { opacity: 1; }

.client-icon-wrap {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--gold-subtle);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
    transition: background var(--med), box-shadow var(--med), transform var(--med);
}
.client-card:hover .client-icon-wrap {
    background: rgba(147,132,89,0.20);
    box-shadow: 0 4px 16px rgba(147,132,89,0.20);
    transform: scale(1.05);
}

.client-label {
    font-family: var(--f-head);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--white);
}

.client-desc {
    font-family: var(--f-body);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
}

/* ==========================================================================
   PROCESS — black
   ========================================================================== */
.process-section {
    background: var(--black);
    padding: var(--sec-py) 0;
    position: relative;
    overflow: hidden;
}
.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(147,132,89,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147,132,89,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.process-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.process-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 22px; left: 0; right: 0;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0 0.5rem;
    text-align: center;
    position: relative;
    transition: opacity var(--fast);
}
.timeline-step:not(.active) { opacity: 0.4; }
.timeline-step:hover:not(.active) { opacity: 0.75; }

.step-circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-head);
    font-size: 0.85rem;
    font-weight: 800;
    color: rgba(255,255,255,0.50);
    transition: all var(--med) var(--ease);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.timeline-step.active .step-circle {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    box-shadow: 0 0 0 6px rgba(147,132,89,0.15), var(--sh-gold);
}

.step-title {
    font-family: var(--f-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.68);
    line-height: 1.4;
    text-align: center;
}
.timeline-step.active .step-title { color: var(--gold-light); }

.process-details-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    transition: opacity var(--fast), transform var(--fast);
    backdrop-filter: blur(12px);
}

.p-details-header { margin-bottom: 1rem; }

.p-step-badge {
    display: inline-flex;
    font-family: var(--f-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-subtle);
    border: 1px solid var(--gold-border);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
}

.process-details-card h3 {
    font-family: var(--f-head);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 0.9rem;
}

.process-details-card p {
    font-family: var(--f-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 680px;
}

.p-step-deliverable {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-body);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    padding: 0.85rem 1.2rem;
    background: rgba(147,132,89,0.10);
    border-radius: 8px;
    border: 1px solid rgba(147,132,89,0.22);
}
.p-step-deliverable strong {
    color: var(--gold-light);
    font-weight: 600;
    flex-shrink: 0;
}

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
.case-studies-section {
    background: transparent;
    padding: var(--sec-py) 0;
    position: relative;
}
/* Premium gold gradient divider at top */
.case-studies-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(80%, 900px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(147,132,89,0.25), rgba(196,169,110,0.35), rgba(147,132,89,0.25), transparent);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.case-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--navy-border);
    transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--med) var(--ease);
    background: var(--white);
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-premium);
    border-color: rgba(147,132,89,0.15);
}

.case-visual-header {
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    background-size: cover;
    background-position: center;
}
.case-visual-header::before {
    content: '';
    position: absolute;
    inset: 0;
}

.case-visual-1 {
    background: url('images/case_ortho.png') center/cover no-repeat;
}
.case-visual-1::before {
    background: linear-gradient(to top, rgba(5,10,15,0.85) 0%, rgba(16,39,81,0.2) 100%);
}
.case-visual-2 {
    background: url('images/case_aesthetic.png') center/cover no-repeat;
}
.case-visual-2::before {
    background: linear-gradient(to top, rgba(5,10,15,0.85) 0%, rgba(16,39,81,0.2) 100%);
}

.case-visual-label {
    position: relative;
    z-index: 1;
    font-family: var(--f-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(5,10,15,0.5);
    border: 1px solid rgba(147,132,89,0.3);
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.case-body { padding: 2rem; }

.case-name {
    font-family: var(--f-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.case-title {
    font-family: var(--f-head);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 1.4rem;
    line-height: 1.3;
}

.case-metrics {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.case-metric {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.case-metric-value {
    font-family: var(--f-head);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--navy);
    line-height: 1;
}

.case-metric-label {
    font-family: var(--f-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.case-quote {
    font-family: var(--f-body);
    font-size: 0.92rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.85rem;
    padding-left: 1rem;
    border-left: 2px solid var(--gold-border);
}

.case-author {
    font-family: var(--f-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-body);
}

/* ==========================================================================
   TRANSFORMATION SECTION — black, new dynamic section
   ========================================================================== */
.transform-section {
    background: var(--black);
    padding: var(--sec-py) 0;
    position: relative;
    overflow: hidden;
}
/* Grid overlay */
.transform-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(147,132,89,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147,132,89,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
/* Radial glow from center — animated */
.transform-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 40%, rgba(147,132,89,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(147,132,89,0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 20%, rgba(196,169,110,0.03) 0%, transparent 40%);
    pointer-events: none;
}

.ts-header {
    margin-bottom: 4.5rem;
    position: relative;
    z-index: 2;
}
.ts-title {
    font-family: var(--f-head);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.2rem;
}
.ts-title em {
    font-style: normal;
    background: linear-gradient(135deg, #C4A96E, #D4BC7E, #E0CC90, #D4BC7E, #C4A96E);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    position: relative;
}
.ts-sub {
    font-family: var(--f-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Comparison layout */
.ts-comparison {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Column — before / after */
.ts-col {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.ts-col-badge {
    display: inline-flex;
    font-family: var(--f-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.75rem;
}
.ts-badge-dim {
    color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
}
.ts-badge-gold {
    color: var(--gold-light);
    background: var(--gold-subtle);
    border: 1px solid var(--gold-border);
}

.ts-m-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ts-m-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    border-radius: 10px;
}

.ts-before .ts-m-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
}

.ts-after .ts-m-item {
    background: rgba(147,132,89,0.08);
    border: 1px solid rgba(147,132,89,0.20);
    transition: background var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.ts-after .ts-m-item:hover {
    background: rgba(147,132,89,0.13);
    box-shadow: 0 4px 20px rgba(147,132,89,0.15);
}

.ts-m-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ts-m-icon.dim { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.35); }
.ts-m-icon.gold { background: var(--gold-subtle); color: var(--gold-light); }

.ts-m-text { display: flex; flex-direction: column; gap: 0.1rem; }

.ts-m-val {
    font-family: var(--f-head);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    display: block;
}
.ts-m-val.dim   { color: rgba(255,255,255,0.22); }
.ts-m-val.bright { color: var(--white); }

.ts-m-label {
    font-family: var(--f-body);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    display: block;
}
.ts-before .ts-m-label { color: rgba(255,255,255,0.42); }
.ts-after  .ts-m-label { color: rgba(255,255,255,0.72); }

/* Engine — center column */
.ts-engine-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.ts-engine {
    position: relative;
    width: 160px;
    height: 160px;
}

.ts-ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    border: 1px solid;
}
.ts-r1 {
    width: 80px; height: 80px;
    margin: -40px 0 0 -40px;
    border-color: rgba(147,132,89,0.6);
    animation: spinCW 5s linear infinite;
}
.ts-r2 {
    width: 120px; height: 120px;
    margin: -60px 0 0 -60px;
    border-color: rgba(147,132,89,0.3);
    border-style: dashed;
    animation: spinCCW 9s linear infinite;
}
.ts-r3 {
    width: 160px; height: 160px;
    margin: -80px 0 0 -80px;
    border-color: rgba(147,132,89,0.12);
    animation: spinCW 16s linear infinite;
}
.ts-r4 {
    width: 200px; height: 200px;
    margin: -100px 0 0 -100px;
    border-color: rgba(147,132,89,0.05);
    border-style: dashed;
    animation: spinCCW 28s linear infinite;
}

.ts-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(147,132,89,0.12);
    border: 1.5px solid rgba(147,132,89,0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 2;
}

.ts-engine-label {
    font-family: var(--f-head);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
}

/* Progress bars */
.ts-bars {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 3rem;
    padding: 2.5rem 3rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
}

.ts-bar-item { display: flex; flex-direction: column; gap: 0.6rem; }

.ts-bar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.ts-bar-top span:first-child {
    font-family: var(--f-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.80);
    font-weight: 500;
}

.ts-bar-val {
    font-family: var(--f-head);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--gold-light);
    flex-shrink: 0;
}

.ts-bar-track {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
}

.ts-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 4px;
    width: 0;
    transform-origin: left;
    transition: width 1.6s var(--ease);
}

.ts-bar-item:nth-child(1) .ts-bar-fill { transition-delay: 0.05s; }
.ts-bar-item:nth-child(2) .ts-bar-fill { transition-delay: 0.20s; }
.ts-bar-item:nth-child(3) .ts-bar-fill { transition-delay: 0.35s; }
.ts-bar-item:nth-child(4) .ts-bar-fill { transition-delay: 0.50s; }

.reveal.revealed .ts-bar-fill { width: var(--w); }

/* ==========================================================================
   WHY-US — navy
   ========================================================================== */
.why-us-section {
    background: var(--navy);
    padding: var(--sec-py) 0;
    position: relative;
    overflow: hidden;
}
.why-us-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.04);
    top: -150px; right: -100px;
    pointer-events: none;
    animation: float 16s ease-in-out infinite 2s;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2.2rem;
    position: relative;
    overflow: hidden;
    transition: background var(--med) var(--ease), transform var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--med) var(--ease);
}
/* Inner radial glow on hover */
.why-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at 50% 80%, rgba(147,132,89,0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--med) var(--ease);
    pointer-events: none;
}
.why-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), #D4BC7E);
    opacity: 0;
    transition: opacity var(--med) var(--ease);
}
.why-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    border-color: rgba(147,132,89,0.20);
}
.why-card:hover::before { opacity: 1; }
.why-card:hover::after { opacity: 1; }

.why-icon-wrap {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: rgba(147,132,89,0.12);
    border: 1px solid rgba(147,132,89,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: background var(--med), box-shadow var(--med), transform var(--med), border-color var(--med);
}
.why-card:hover .why-icon-wrap {
    background: rgba(147,132,89,0.25);
    box-shadow: 0 8px 28px rgba(147,132,89,0.25);
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(147,132,89,0.5);
}

.why-num {
    font-family: var(--f-head);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 0.65rem;
    opacity: 0.8;
}

.why-card h3 {
    font-family: var(--f-head);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.why-card p {
    font-family: var(--f-body);
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

/* ==========================================================================
   TESTIMONIALS — white
   ========================================================================== */
.testimonials-section {
    background: transparent;
    padding: var(--sec-py) 0;
    position: relative;
}
/* Ambient glow behind testimonials */
.testimonials-section::before {
    content: '';
    position: absolute;
    bottom: 0; left: 30%;
    width: 600px; height: 600px;
    background: radial-gradient(ellipse, rgba(147,132,89,0.035) 0%, transparent 65%);
    pointer-events: none;
}
/* Premium gold gradient divider at top */
.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(80%, 900px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(147,132,89,0.25), rgba(196,169,110,0.35), rgba(147,132,89,0.25), transparent);
}

.testimonial-slider-container { max-width: 780px; margin: 0 auto; }

.testimonial-slider { position: relative; min-height: 260px; }

.testimonial-slide {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(16, 39, 81, 0.06);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3.5rem 3rem;
    box-shadow: var(--sh-premium);
    animation: cardHoverIn 0.5s var(--ease) both;
    position: relative;
    overflow: hidden;
}
/* Decorative quote mark */
.testimonial-slide::before {
    content: '\201C';
    position: absolute;
    top: -10px; right: 30px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 8rem;
    line-height: 1;
    color: rgba(147,132,89,0.07);
    pointer-events: none;
}
.testimonial-slide.active { display: flex; }

.t-stars {
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 2px;
}

.t-quote {
    font-family: var(--f-body);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.82;
    color: var(--text-body);
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    position: relative;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.t-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-head);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.t-name {
    font-family: var(--f-head);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    font-style: normal;
    display: block;
    letter-spacing: -0.01em;
}

.t-role {
    font-family: var(--f-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--navy-border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--fast) var(--ease);
}
.slider-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
    transform: scale(1.1);
}

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

.dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--navy-border);
    cursor: pointer;
    transition: all var(--med) var(--ease);
}
.dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-section {
    background: transparent;
    padding: var(--sec-py) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--sh-lg);
    border: 1px solid var(--navy-border);
}

.contact-info {
    background: var(--navy);
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}
.contact-info::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.04);
    bottom: -100px; right: -80px;
    pointer-events: none;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(147,132,89,0.12);
    border: 1px solid rgba(147,132,89,0.25);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: dotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.contact-info h2 {
    font-family: var(--f-head);
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.1rem;
}

.contact-info > p {
    font-family: var(--f-body);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.72;
    margin-bottom: 2rem;
}

.contact-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.c-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-family: var(--f-body);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
}
.c-bullet svg { flex-shrink: 0; margin-top: 1px; }

.contact-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 1.75rem 0;
}

.contact-reassurance {
    font-family: var(--f-body);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.65;
}

/* Contact form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    padding: 3.5rem 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-family: var(--f-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid var(--navy-border);
    border-radius: var(--radius);
    font-family: var(--f-body);
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color var(--med) var(--ease), box-shadow var(--med) var(--ease), background-color var(--med) var(--ease), transform var(--fast);
    -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(147,132,89,0.10), 0 4px 16px rgba(16,39,81,0.05);
    transform: translateY(-1px);
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2368789A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-feedback-message {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 1.4rem;
    background: rgba(16,39,81,0.05);
    border: 1px solid rgba(16,39,81,0.12);
    border-radius: var(--radius);
    font-family: var(--f-body);
    font-size: 0.95rem;
    color: var(--navy);
    margin-top: 1rem;
}
.form-feedback-message.hidden { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background: var(--navy-deep);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-tagline {
    font-family: var(--f-body);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.7;
    max-width: 260px;
    margin-top: 0.5rem;
}

.footer-col h4 {
    font-family: var(--f-head);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.90);
    margin-bottom: 1.2rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col ul li a {
    font-family: var(--f-body);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.62);
    transition: color var(--fast);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-copyright {
    font-family: var(--f-body);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.52);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    font-family: var(--f-body);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.52);
    transition: color var(--fast);
}
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ==========================================================================
   MOBILE CTA STRIP
   ========================================================================== */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 400;
    padding: 10px 16px 14px;
    background: rgba(4,10,24,0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
}
.mcta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    background: var(--gold);
    color: var(--white);
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 10px;
    transition: background var(--fast), transform var(--fast);
    -webkit-tap-highlight-color: transparent;
}
.mcta-btn:active {
    background: var(--gold-light);
    transform: scale(0.98);
}

/* ==========================================================================
   RESPONSIVE — 1080px
   ========================================================================== */
@media (max-width: 1080px) {
    :root { --sec-py: 6rem; }

    .hero-container {
        grid-template-columns: 1fr;
        padding-top: calc(var(--nav-h) + 3rem);
        padding-bottom: 4rem;
    }

    .hero-visual {
        height: 320px;
        max-width: 440px;
        margin: 0 auto;
        width: 100%;
    }
    .hv-card.primary {
        width: 240px;
        left: 50%;
        transform: translateX(-50%);
    }
    .hv-card.secondary { left: 0; bottom: 30px; width: 170px; }
    .hv-card.tertiary  { right: 0; bottom: 0; width: 165px; }

    .clients-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { padding: 2.5rem 2.5rem; }

    .ts-comparison { grid-template-columns: 1fr 140px 1fr; gap: 1.5rem; }
    .ts-engine { width: 120px; height: 120px; }
    .ts-r1 { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
    .ts-r2 { width: 90px; height: 90px; margin: -45px 0 0 -45px; }
    .ts-r3 { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
    .ts-r4 { display: none; }
}

/* ==========================================================================
   RESPONSIVE — 768px
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --sec-py: 4.5rem;
        --nav-h:  62px;
    }

    body { padding-bottom: 72px; }

    .nav-logo-img {
        height: 32px;
        width: 92px;
    }

    /* Disable animation stagger delays on mobile for smoother scrolling experience */
    .reveal-delay-1,
    .reveal-delay-2,
    .reveal-delay-3,
    .reveal-delay-4,
    .reveal-delay-5,
    .reveal-delay-6,
    .reveal-delay-7,
    .reveal-delay-8 {
        transition-delay: 0s !important;
    }

    /* Constrain SVG icons on mobile to prevent stretching in some mobile browsers */
    .service-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    .client-icon-wrap svg {
        width: 18px !important;
        height: 18px !important;
    }
    .vp-icon-wrap svg {
        width: 20px !important;
        height: 20px !important;
    }
    .why-icon-wrap svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* Nav mobile */
    .nav-menu {
        display: none;
        position: fixed;
        top: var(--nav-h); left: 0; right: 0; bottom: 0;
        background: rgba(4,10,24,0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 2rem;
        z-index: 190;
    }
    .nav-menu.active { display: flex; }

    .nav-link {
        font-family: var(--f-head);
        font-size: 1.4rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        color: rgba(255,255,255,0.85);
        padding: 0.85rem 1.5rem;
        width: 100%;
        text-align: center;
        border-radius: var(--radius);
    }
    .nav-link::after { display: none; }
    .navbar.scrolled .nav-link { color: rgba(255,255,255,0.85); }

    .navbar .btn-nav {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
        text-align: center;
        justify-content: center;
        font-size: 1rem;
        max-width: 320px;
        margin-top: 1rem;
    }

    .mobile-nav-toggle { display: flex; }
    .mobile-cta-bar { display: block; }

    /* Hero */
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-desc  { font-size: 0.98rem; }
    .hero-ctas  { flex-direction: column; align-items: flex-start; }
    .hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }

    .hero-visual { display: none; }

    .proof-items { gap: 1rem; }
    .proof-sep   { display: none; }
    .proof-items { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; }
    .proof-num   { font-size: 1.2rem; }

    /* Sections */
    .section-title { font-size: clamp(1.7rem, 6vw, 2.4rem); }

    .value-grid { grid-template-columns: 1fr; }
    .value-pillar { padding: 2.2rem 1.75rem; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card  { padding: 1.75rem 1.5rem; }

    .clients-grid  { grid-template-columns: repeat(2, 1fr); }
    .client-card   { padding: 1.5rem; }

    .process-timeline {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    .process-timeline::before { display: none; }
    .timeline-step {
        flex-direction: row;
        text-align: left;
        padding: 0.75rem 0;
        gap: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .timeline-step:last-child { border-bottom: none; }
    .step-title { text-align: left; }
    .process-details-card { padding: 2rem 1.5rem; }

    .case-studies-grid { grid-template-columns: 1fr; }
    .case-visual-header { height: 160px; }

    /* Transform section */
    .ts-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ts-engine-wrap {
        order: -1;
        padding: 1.5rem 0;
    }
    .ts-engine { width: 120px; height: 120px; }
    .ts-r1 { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
    .ts-r2 { width: 90px; height: 90px; margin: -45px 0 0 -45px; }
    .ts-r3 { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
    .ts-r4, .ts-r3 { display: none; }

    .ts-bars {
        grid-template-columns: 1fr;
        padding: 1.75rem;
    }

    .why-grid { grid-template-columns: 1fr; }
    .why-card  { padding: 2rem 1.75rem; }

    .testimonial-slide { padding: 2rem 1.5rem; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { padding: 2.2rem 1.75rem; }
    .contact-form-container { padding: 2.2rem 1.75rem; }
    .form-row { grid-template-columns: 1fr; }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
}

/* ==========================================================================
   RESPONSIVE — 480px
   ========================================================================== */
@media (max-width: 480px) {
    .clients-grid { grid-template-columns: 1fr; }
    .proof-items  { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
    .proof-item   { flex-direction: column; gap: 0.25rem; text-align: center; }
    .proof-text   { max-width: 130px; }
    .footer-top   { grid-template-columns: 1fr; }

    .ts-comparison { gap: 1.5rem; }
    .ts-m-item { padding: 0.9rem 1rem; }
    .ts-m-val  { font-size: 1.25rem; }

    .sim-select-btn {
        padding: 0.65rem 0.5rem;
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   INTERACTIVE SIMULATOR (Luxury Widget)
   ========================================================================== */
.ts-simulator-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--sh-lg);
}

.simulator-header {
    margin-bottom: 3rem;
}

.simulator-badge {
    font-family: var(--f-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.simulator-title {
    font-family: var(--f-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.simulator-desc {
    font-family: var(--f-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.simulator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.sim-inputs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sim-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sim-group label {
    font-family: var(--f-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sim-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sim-val-display {
    font-family: var(--f-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-light);
}

/* Specialty button selectors */
.sim-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.sim-select-btn {
    font-family: var(--f-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--fast) var(--ease);
}

.sim-select-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.15);
}

.sim-select-btn.active {
    background: var(--gold-subtle);
    border-color: var(--gold);
    color: var(--gold-light);
    box-shadow: 0 4px 16px rgba(147, 132, 89, 0.15);
}

/* Range Sliders styling */
.sim-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: background var(--fast);
}

.sim-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold-light);
    border: 2px solid var(--white);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(147, 132, 89, 0.5);
    transition: transform 0.1s;
}

.sim-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.sim-outputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.sim-output-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color var(--med) var(--ease);
}

.sim-output-card:hover {
    border-color: rgba(147, 132, 89, 0.15);
}

.sim-output-label {
    font-family: var(--f-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.sim-output-value {
    font-family: var(--f-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    transition: color var(--med);
}

.sim-output-value.highlight {
    color: var(--gold-light);
}

.sim-output-value.glow {
    text-shadow: 0 0 10px rgba(196, 169, 110, 0.3);
}

.sim-action {
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .simulator-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .ts-simulator-container {
        padding: 2.2rem 1.75rem;
    }
}

