/* ============================================= */
/* CSS RESET + GLOBAL BEHAVIOR
/* ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    font-size: 100%;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--body-text);
    background-color: var(--body-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    background: transparent;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 0.25rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

table {
    border-collapse: collapse;
    width: 100%;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

.sr-only {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    padding: 0;
    margin: -0.0625rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ============================================= */
/* CUSTOM PROPERTIES (ROOT)
/* ============================================= */

:root {
    --primary: #0066cc;
    --secondary: #00a650;
    --complementary: #f5f0e6;
    --accent: #e07a5f;
    --body-text: #1a1a1a;
    --neutral: #f8f7f4;
    --body-bg: #ffffff;
    --ecommerce-accent: #ff9900;
    --healthcare-accent: #00a5b5;
    --ld-accent: #4a6fa5;
    --creatives-accent: #ca7ead;
}

[data-theme="dark"] {
    --primary: #4da6ff;
    --secondary: #4ade80;
    --complementary: #2a2a2a;
    --accent: #ff8c7a;
    --body-text: #f5f5f5;
    --neutral: #333333;
    --body-bg: #1a1a1a;
}

.container {
    width: min(100% - 2rem, 80rem);
    margin-inline: auto;
}

/* ============================================= */
/* HEADER & NAVIGATION
/* ============================================= */

.header {
    background-color: var(--body-bg);
    border-bottom: 1px solid var(--neutral);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(1rem) saturate(180%);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem;
    max-width: 80rem;
    margin-inline: auto;
    gap: 0.25rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover,
.logo:focus-visible {
    transform: translateY(-0.125rem);
}

.logo-svg {
    width: 2.625rem;
    height: 2.625rem;
    flex-shrink: 0;
}

.logo-svg #logo-path {
    fill: var(--primary);
    transition: fill 0.3s ease;
}

.logo:hover .logo-svg #logo-path {
    fill: #0052a3;
}

.logo-text {
    white-space: nowrap;
}

/* Desktop Navigation */
.nav-list {
    display: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    font-weight: 500;
    margin-left: auto;
}

.nav-list a {
    color: var(--body-text);
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-list a:hover,
.nav-list a:focus-visible {
    color: var(--primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -0.1875rem;          /* was -3px */
    left: 50%;
    width: 0;
    height: 0.15625rem;          /* was 2.5px */
    background: var(--primary);
    transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-50%);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a[aria-current="page"]::after,
.nav-list a.active::after {
    width: 100%;
    left: 50%;
}

.nav-list a[aria-current="page"],
.nav-list a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-list a:focus-visible {
    outline: 3px solid var(--primary);     
    outline-offset: 0.5rem;                
    border-radius: 0.375rem;               
}

/* Desktop CTA */
.desktop-cta {
    display: none;
    margin-left: 2rem;
}

.desktop-cta .btn-primary {
    padding: 0.65rem 1.25rem;
    font-size: 1.0625rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 9999px;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 102, 204, 0.2);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-cta .btn-primary:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1.5625rem rgba(0, 102, 204, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--body-text);
    min-width: 2.75rem;     
    min-height: 2.75rem;    
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-icon {
    display: block;
    width: 1.75rem;         
    height: 0.1875rem;      
    background: var(--body-text);
    position: relative;
    transition: all 0.12s linear;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 1.75rem;         
    height: 0.1875rem;      
    background: var(--body-text);
    transition: all 0.12s linear;
}

.hamburger-icon::before { top: -0.5625rem; }   
.hamburger-icon::after  { bottom: -0.5625rem; } 

.mobile-menu-btn.open .hamburger-icon {
    background: transparent;
}

.mobile-menu-btn.open .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.open .hamburger-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
}

.mobile-menu-content {
    background: var(--body-bg);
    width: 92%;
    max-width: 420px;
    border-radius: 1.25rem;
    padding: 2.75rem 2rem 3rem;
    position: relative;
    box-shadow: 0 1.5625rem 3.75rem -0.9375rem rgb(0 0 0 / 0.35);
    transform: scale(0.92) translateY(1.25rem);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu.open .mobile-menu-content {
    transform: scale(1) translateY(0);
}

.mobile-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.85rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--body-text);
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close-btn:hover,
.mobile-close-btn:focus-visible {
    color: var(--primary);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 3rem;
    text-align: center;
}

.mobile-nav-list a {
    font-size: 1.35rem;
    color: var(--body-text);
    padding: 0.75rem 0;
    display: block;
    position: relative;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-list a:hover,
.mobile-nav-list a:focus-visible {
    color: var(--primary);
}

.mobile-nav-list a[aria-current="page"],
.mobile-nav-list a.active {
    color: var(--primary);
    font-weight: 700;
}

.mobile-nav-list a[aria-current="page"]::after,
.mobile-nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    width: 100%;
    height: 0.21875rem;
    background: var(--primary);
    transform: translateX(-50%);
}

.mobile-nav-list a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 0.5rem;
    border-radius: 0.5rem;
}

.mobile-cta .btn-primary {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
    text-align: center;
    display: block;
    margin-top: 1rem;
}

/* ============================================= */
/* HERO SECTION
/* ============================================= */

.hero {
    position: relative;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 1.75rem 1rem 5rem;
    background: linear-gradient(135deg, 
        var(--neutral) 0%, 
        var(--body-bg) 50%, 
        #f8f7f4 100%);
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 102, 204, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 166, 80, 0.06) 0%, transparent 50%);
    opacity: 0.6;
    z-index: -1;
    animation: subtleShift 25s ease infinite alternate;
}

@keyframes subtleShift {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(1.25rem, -0.9375rem) rotate(1deg); }
}

.hero-grid {
    display: grid;
    gap: 3.25rem;
    align-items: start;
    width: 100%;
    max-width: 80rem;
    margin-inline: auto;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        align-items: center;
    }
}

/* Hero Text Stack & Vertical Switching */
.hero-text-stack {
    position: relative;
    min-height: clamp(19.375rem, 46vh, 28.75rem);
    margin-bottom: clamp(1.5rem, 2.5vw, 1.75rem);
}

.hero-block {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: 
        opacity 420ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 720ms cubic-bezier(0.23, 1, 0.32, 1);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: clamp(1.75rem, 5.5vw, 5rem);
    padding-right: clamp(1rem, 3vw, 3rem);
    padding-bottom: 1rem;
}

/* Intro animation states — preserved exactly */
.hero-block.intro-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(1.25rem) translateX(1.25rem);
    z-index: 4;
}

.hero-block.intro-secondary {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(6.25rem) translateX(2.5rem);
    z-index: 3;
}

.hero-block.intro-tertiary {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(11.25rem) translateX(5rem);
    z-index: 2;
}

.hero-block.intro-quaternary {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(16.25rem) translateX(7.5rem);
    z-index: 1;
}

.hero-block.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 4;
    transform: translateY(0) translateX(0);
    transition: 
        opacity 650ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 720ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Subtitle handling */
.hero-block.intro-visible .hero-subtitle,
.hero-block.intro-secondary .hero-subtitle,
.hero-block.intro-tertiary .hero-subtitle,
.hero-block.intro-quaternary .hero-subtitle {
    opacity: 0;
    display: none;
}

.hero-block.active .hero-subtitle {
    opacity: 1;
    display: block;
    transition: opacity 480ms ease 200ms;
}

.hero-block:not(.intro-visible):not(.intro-secondary):not(.intro-tertiary):not(.intro-quaternary):not(.active) {
    opacity: 0;
    transform: translateY(2.5rem);
}

/* Hero Typography */
.hero-title {
    font-size: clamp(1.85rem, 5.5vw, 3rem);
    line-height: 1.05;
    font-weight: 700;
    max-width: 18ch;
    margin-bottom: 1.5rem;
    color: var(--body-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Vertical-specific gradients */
[data-vertical="ecommerce"] .hero-title { background-image: linear-gradient(90deg, #ff9900 0%, #ff6b00 100%); }
[data-vertical="healthcare"] .hero-title { background-image: linear-gradient(90deg, #00a5b5 0%, #007a8a 100%); }
[data-vertical="ld"] .hero-title { background-image: linear-gradient(90deg, #4a6fa5 0%, #2c4a7a 100%); }
[data-vertical="creatives"] .hero-title { background-image: linear-gradient(90deg, #ca7ead 0%, #b35e92 100%); }

.hero-title:hover,
.hero-title:focus-visible {
    filter: brightness(1.12) saturate(1.25);
}

.hero-subtitle {
    display: flex;
    flex-direction: column;
    gap: clamp(1.1rem, 2vw, 1.25rem);
    font-size: clamp(1.12rem, 2.45vw, 1.32rem);
    line-height: 1.75;
    opacity: 0.94;
    width: 100%;
	max-width: 48ch;
	margin-top: 0.5rem;
}

.hero-subtitle span {
    position: relative;
    padding-left: clamp(2.1rem, 3.5vw, 2.5rem);
    color: var(--body-text);
    display: block;
    flex-shrink: 0;
}

.hero-subtitle span::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.15em;
    line-height: 1;
    opacity: 0.9;
    top: 0.05em;
}

/* Vertical-specific arrow colors */
[data-vertical="ecommerce"]   .hero-subtitle span::before { color: #ff9900; }
[data-vertical="healthcare"]  .hero-subtitle span::before { color: #00a5b5; }
[data-vertical="ld"]          .hero-subtitle span::before { color: #4a6fa5; }
[data-vertical="creatives"]   .hero-subtitle span::before { color: #ca7ead; }

/* Intro animation compatibility */
.hero-block.intro-visible .hero-subtitle,
.hero-block.intro-secondary .hero-subtitle,
.hero-block.intro-tertiary .hero-subtitle,
.hero-block.intro-quaternary .hero-subtitle {
    opacity: 0;
}

@media (min-width: 992px) {
    .hero-block {
        padding-left: clamp(3.25rem, 7.5vw, 7rem);
        padding-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        gap: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-block,
    .hero-title,
    .hero-subtitle span {
        transition-duration: 0.01ms;
    }
}

@media (forced-colors: active) {
    .hero-subtitle span::before {
        content: "•";
        color: CanvasText;
    }
}

/* ============================================= */
/* HERO VISUALS & VIDEO LAYER
/* ============================================= */

.video-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
    transition: opacity 400ms ease;
}

.visual-container {
    position: relative;
    height: 30rem;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 2.5rem 5rem -1.25rem rgb(0 0 0 / 0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-grid {
        align-items: start;
    }

    .hero-visual {
        align-self: start;
        margin-top: -0.35rem; 
    }
	
.visual-container {
        height: 28.75rem;           
        padding: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 1.5rem;      
        box-shadow: 0 2.5rem 5rem -1.25rem rgb(0 0 0 / 0.15);   
    }

.hero-logo {
        width: 100%;
        max-width: 23.75rem;        
        height: auto;
        margin: auto;
    }    

.hero-content {
        padding-bottom: 0;
    }
}	    

.visual-height-440 { height: 440dvh; }
.visual-height-450 { height: 450dvh; }
.visual-height-460 { height: 460dvh; }
.visual-height-470 { height: 470dvh; }
.visual-height-480 { height: 480dvh; }

@media (max-width: 991px) {
    .visual-container {
        height: 26.25rem;
    }
}

.pulsing-logo,
.between-logo {
    filter: drop-shadow(0 1.5625rem 2.5rem rgba(0, 102, 204, 0.22));
    object-fit: cover;
    border-radius: 1.5rem;
}

.pulsing-logo {
    transition: opacity 1800ms cubic-bezier(0.23, 1, 0.32, 1), 
                filter 1400ms ease;
}

.pulse-active {
    animation: logoPulseGlow 3.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes logoPulseGlow {
    0%, 100% {
        filter: drop-shadow(0 1.5625rem 2.5rem rgba(0, 102, 204, 0.22)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 2rem 3.4375rem rgba(0, 102, 204, 0.45)) brightness(1.08);
    }
}

.between-logo {
    transition: opacity 1600ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hero Action Button */
.hero-action-button-wrapper {
    margin-top: 2.25rem;
    opacity: 0;
    transform: translateY(0.75rem);
    transition: 
        opacity 600ms cubic-bezier(0.23, 1.0, 0.32, 1),
        transform 600ms cubic-bezier(0.23, 1.0, 0.32, 1);
}

.hero-action-button-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-action-button-wrapper .btn-secondary {
    background: linear-gradient(90deg, var(--ecommerce-accent), #ff6b00);
    color: #fff;
    border: none;
    box-shadow: 0 0.625rem 1.5625rem -0.5rem rgb(255 153 0 / 0.4);
    transition: 
        transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),
        filter 280ms ease,
        background-position 400ms ease;
    background-size: 200% 100%;
    background-position: left center;
    font-weight: 600;
}

[data-vertical="healthcare"] .hero-action-button-wrapper .btn-secondary {
    background: linear-gradient(90deg, var(--healthcare-accent), #007a8a);
    box-shadow: 0 0.625rem 1.5625rem -0.5rem rgb(0 165 181 / 0.4);
}

[data-vertical="ld"] .hero-action-button-wrapper .btn-secondary {
    background: linear-gradient(90deg, var(--ld-accent), #2c4a7a);
    box-shadow: 0 0.625rem 1.5625rem -0.5rem rgb(74 111 165 / 0.4);
}

[data-vertical="creatives"] .hero-action-button-wrapper .btn-secondary {
    background: linear-gradient(90deg, var(--creatives-accent), #b35e92);
    box-shadow: 0 0.625rem 1.5625rem -0.5rem rgb(202 126 173 / 0.4);
}

.hero-action-button-wrapper .btn-secondary:hover,
.hero-action-button-wrapper .btn-secondary:focus-visible {
    transform: translateY(-0.25rem);
    box-shadow: 0 1.125rem 2.1875rem -0.625rem rgb(0 0 0 / 0.25);
    filter: brightness(1.08) saturate(1.15);
    background-position: right center;
}

.hero-action-button-wrapper .btn-secondary:active {
    transform: translateY(-0.0625rem) scale(0.985);
    box-shadow: 0 0.5rem 1.25rem -0.5rem rgb(0 0 0 / 0.3);
}

/* Hero Action Button */
.hero-action-button-wrapper {
    margin-top: 2.25rem;
    opacity: 0;
    transform: translateY(0.75rem);
    transition: 
        opacity 600ms cubic-bezier(0.23, 1.0, 0.32, 1),
        transform 600ms cubic-bezier(0.23, 1.0, 0.32, 1);
}

.hero-action-button-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-action-button-wrapper .btn-secondary {
    background: linear-gradient(90deg, var(--ecommerce-accent), #ff6b00);
    color: #fff;
    border: none;
    box-shadow: 0 0.625rem 1.5625rem -0.5rem rgb(255 153 0 / 0.4);
    transition: 
        transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),
        filter 280ms ease,
        background-position 400ms ease;
    background-size: 200% 100%;
    background-position: left center;
    font-weight: 600;
}

[data-vertical="healthcare"] .hero-action-button-wrapper .btn-secondary {
    background: linear-gradient(90deg, var(--healthcare-accent), #007a8a);
    box-shadow: 0 0.625rem 1.5625rem -0.5rem rgb(0 165 181 / 0.4);
}

[data-vertical="ld"] .hero-action-button-wrapper .btn-secondary {
    background: linear-gradient(90deg, var(--ld-accent), #2c4a7a);
    box-shadow: 0 0.625rem 1.5625rem -0.5rem rgb(74 111 165 / 0.4);
}

[data-vertical="creatives"] .hero-action-button-wrapper .btn-secondary {
    background: linear-gradient(90deg, var(--creatives-accent), #b35e92);
    box-shadow: 0 0.625rem 1.5625rem -0.5rem rgb(202 126 173 / 0.4);
}

.hero-action-button-wrapper .btn-secondary:hover,
.hero-action-button-wrapper .btn-secondary:focus-visible {
    transform: translateY(-0.25rem);
    box-shadow: 0 1.125rem 2.1875rem -0.625rem rgb(0 0 0 / 0.25);
    filter: brightness(1.08) saturate(1.15);
    background-position: right center;
}

.hero-action-button-wrapper .btn-secondary:active {
    transform: translateY(-0.0625rem) scale(0.985);
    box-shadow: 0 0.5rem 1.25rem -0.5rem rgb(0 0 0 / 0.3);
}

/* Hero Badge + CTAs + Trust Bar */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2.25rem;
}

.btn-primary,
.btn-secondary {
    padding: 1.05rem 2.1rem;
    font-size: 1.08rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 28px -8px rgb(0 102 204 / 0.45);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 20px 40px -15px rgb(0 102 204 / 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--body-text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.trust {
    margin-top: 2.25rem;
    background-color: var(--primary);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0.85;
}

.trust-item {
    padding: 0.35rem 0.9rem;
    background: rgba(255,255,255,0.75);
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Desktop Visual (consolidated) */
.hero-visual {
    display: none;
}

@media (min-width: 992px) {
    .hero-visual {
        display: block;
        position: relative;
    }

    .visual-container {
        height: 30rem;
        padding: 2rem;
    }

    .hero-logo {
        width: 100%;
        max-width: 23.75rem;
        height: auto;
        filter: drop-shadow(0 1.5625rem 2.5rem rgba(0, 102, 204, 0.18));
        will-change: opacity, transform;
        opacity: 0;
        transform: scale(0.96);
        transition: opacity 0.01ms linear, transform 0.01ms linear;
    }

    .hero-logo:hover,
    .hero-logo:focus-visible {
        transform: scale(1.035);
        transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* ============================================= */
/* GENERAL SECTIONS
/* ============================================= */

.section {
    padding: 6rem 1rem;
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.section.reveal {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    margin-bottom: 3.5rem;
}

/* ============================================= */
/* INDUSTRY SECTION
/* ============================================= */

.industries-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
}

@media (min-width: 48rem) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.industry-card {
    background-color: var(--neutral);
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    border-left: 0.375rem solid var(--accent);
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.05);
    transition: 
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
        transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    opacity: 0;
    transform: translateY(1.875rem);
}

.industry-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover,
.industry-card:focus-visible {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.25rem 1.5625rem -0.3125rem rgb(0 0 0 / 0.1), 
                0 0.5rem 0.625rem -0.375rem rgb(0 0 0 / 0.1);
}

.ecommerce   { border-left-color: var(--ecommerce-accent); }
.healthcare  { border-left-color: var(--healthcare-accent); }
.ld          { border-left-color: var(--ld-accent); }
.creatives   { border-left-color: var(--creatives-accent); }

.industry-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.industry-card p {
    opacity: 0.85;
    line-height: 1.6;
}

/* ============================================= */
/* SERVICES SECTION
/* ============================================= */

.services-grid,
.process-steps {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.service-card,
.step {
    background-color: var(--neutral);
    padding: 2.25rem;
    border-radius: 0.75rem;
}

.contact-form {
    max-width: 38.75rem;
    margin: 3rem auto 0;
}

.form-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--neutral);
    border-radius: 0.5rem;
    font: inherit;
    background: var(--body-bg);
}

button[type="submit"] {
    margin-top: 2rem;
    width: 100%;
    padding: 1.25rem;
}


/* ============================================= */
/* FOOTER SECTION
/* ============================================= */

.footer {
    text-align: center;
    padding: 4rem 1rem 2rem;
    background-color: var(--neutral);
    font-size: 0.9375rem;
}

/* ============================================= */
/* MEDIA QUERIES + SAFEGUARDS
/* ============================================= */

@media (min-width: 48rem) {
    .nav-list { 
        display: flex; 
    }
    .mobile-menu-btn { 
        display: none; 
    }
    .desktop-cta {
        display: block;
    }
    .mobile-menu {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-block,
    .btn-primary,
    .btn-secondary,
    .hero-bg,
    .pulse-active,
    .hero-action-button-wrapper,
    .hero-action-button-wrapper .btn-secondary,
    .hero-logo {
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
        animation: none;
    }
    .hero-logo {
        opacity: 1;
        transform: scale(1);
    }
}

@media (forced-colors: active) {
    .hero-title {
        -webkit-text-fill-color: CanvasText;
        background-image: none;
        color: CanvasText;
    }
    .hero-action-button-wrapper .btn-secondary {
        background: ButtonText;
        color: ButtonFace;
        border: 2px solid ButtonText;
    }
    .hero-logo {
        filter: none;
    }
}