/* ==========================================================================
   TACTICAL MARKETING — Complete Design System
   Matches Flagpole Agency aesthetic: dark, premium, high-converting
   ========================================================================== */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
    --font-primary: 'Poppins', 'Open Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* ── LIGHT MODE COLORS ── */
    --color-bg:       #FFFFFF;
    --color-surface:  #F8FAFC;
    --color-surface2: #F1F5F9;
    --color-border:   rgba(0, 0, 0, 0.08);

    --color-primary:  #2563EB;
    --color-primary-h: #1D4ED8;
    --color-accent:   #7C3AED;
    --color-gold:     #D97706;
    --color-emerald:  #059669;
    --color-red:      #DC2626;
    --color-teal:     #0284C7;

    --color-text:     #0F172A;
    --color-muted:    #475569;
    --color-dim:      #94A3B8;

    /* Spacing */
    --section-py: 6rem;
    --container-w: 1200px;
    --container-w-lg: 1400px;

    /* Border radius */
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-card: 0 8px 30px -4px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 8px 32px rgba(37, 99, 235, 0.25);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; user-select: none; pointer-events: none; -webkit-user-drag: none; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── UTILITIES ── */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
}

.container.bigger { max-width: var(--container-w-lg); }

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

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ── SECTION HEADINGS ── */
.section-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.15;
}

/* Accent underline on section headings */
.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
    margin: 1rem auto 0;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: var(--color-primary-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.65rem 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--color-border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: var(--container-w-lg);
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Force logo to be navbar-sized regardless of original dimensions */
.navbar-brand img,
.navbar-brand .custom-logo,
.navbar-brand figure img,
.navbar-brand .custom-logo-link img {
    max-height: 44px !important;
    width: auto !important;
    height: 44px !important;
    object-fit: contain;
    display: block;
}

.navbar-brand figure,
.navbar-brand .custom-logo-link {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.site-name-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.nav-menu-wrapper { display: flex; align-items: center; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li { display: flex; align-items: center; }

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.06);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-line {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
    flex-shrink: 0;
}

.mobile-toggle.open .burger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open .burger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.open .burger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0; right: -100%;
    width: min(340px, 85vw);
    height: 100vh;
    background: #FFFFFF;
    z-index: 1100;
    padding: 5rem 2rem 2rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--color-border);
    box-shadow: -4px 0 30px rgba(0,0,0,0.1);
}

.mobile-nav-drawer.open { right: 0; }

.mobile-close-btn {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.mobile-close-btn:hover { background: rgba(255,255,255,0.15); }

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    margin: 0; padding: 0;
}

.mobile-nav-links a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--color-muted);
    transition: all 0.2s;
}

.mobile-nav-links a:hover {
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.06);
}

.mobile-cta {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-backdrop.show {
    opacity: 1;
    pointer-events: all;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #EFF6FF 0%, #FFFFFF 50%, #F5F3FF 100%);
}

/* Radial background glow */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content-wrap { width: 100%; }

.hero-heading {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-align: center;
    padding: 0 clamp(1rem, 5vw, 4rem);
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #0F172A 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-container { padding-top: 0; }

.hero-paragraphs {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.small-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-muted);
    line-height: 1.6;
}

.big-text {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.8;
}

/* Hero Illustration Blocks */
.hero-illustrations { margin-top: 2rem; }

.illustrations-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.illustrations-row.smaller { margin-bottom: 1.5rem; }

/* Small platform blocks */
.illustration-block-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    min-width: 130px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.illustration-block-small:hover {
    transform: translateY(-4px);
}

.illustration-block-small.blue {
    background: #EFF6FF;
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}

.illustration-block-small.main {
    background: #F5F3FF;
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 4px 16px rgba(124,58,237,0.08);
}

.illustration-block-small.green {
    background: #ECFDF5;
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 4px 16px rgba(16,185,129,0.08);
}

.illustration-icon { font-size: 2.5rem; }
.illustration-text { font-size: 0.8rem; font-weight: 600; color: var(--color-muted); }

/* Large illustration blocks */
.illustration-block {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.illustration-block:hover { transform: translateY(-6px); }

.illustration-block.red {
    background: #FEF2F2;
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: 0 4px 20px rgba(220,38,38,0.06);
}
.illustration-block.yellow {
    background: #FFFBEB;
    border-color: rgba(217, 119, 6, 0.2);
    box-shadow: 0 4px 20px rgba(217,119,6,0.06);
}

.illustration-text { font-size: 0.85rem; font-weight: 600; color: var(--color-muted); }

.illustration-graphic { width: 100%; max-height: 120px; }
.illustration-graphic svg { width: 100%; height: auto; }

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    background: var(--color-primary);
    padding: 4rem 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-block {
    padding: 2rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: #fff;
}

.stat-block:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-suffix { font-size: 0.7em; }

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    line-height: 1.4;
}

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

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.client-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: block;
    cursor: pointer;
}

.client-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.25);
    transform: translateY(-6px);
}

.client-image-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.client-brand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.client-card:hover .client-brand-img { transform: scale(1.04); }

.client-logo-wrap {
    padding: 1rem 1.5rem;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
}

.client-logo-wrap img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.9);
}

.clients-empty-state {
    text-align: center;
    padding: 3rem;
    background: rgba(37, 99, 235, 0.05);
    border: 2px dashed rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-xl);
    color: var(--color-muted);
}

.clients-empty-state a { color: var(--color-primary); text-decoration: underline; }

/* ==========================================================================
   LOGO MARQUEE
   ========================================================================== */
.logo-marquee-section {
    padding: 3rem 0;
    background: #FFFFFF;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.logo-marquee-wrapper {
    position: relative;
    overflow: hidden;
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 5;
    pointer-events: none;
}

.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #FFFFFF, transparent);
}

.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #FFFFFF, transparent);
}

@keyframes logoMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-marquee-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: max-content;
    gap: 4rem;
    padding: 0.5rem 2rem;
    animation: logoMarquee 30s linear infinite;
    will-change: transform;
}

.logo-marquee-track:hover { animation-play-state: paused; }

.logo-marquee-item { flex-shrink: 0; display: flex; align-items: center; }

.logo-marquee-item img {
    height: 65px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.logo-marquee-item:hover img {
    transform: scale(1.08);
}

/* ==========================================================================
   FOUNDERS / ABOUT SECTION
   ========================================================================== */
.founders-section { background: var(--color-surface); }

.founders-camera {
    border-radius: var(--radius-xl);
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    overflow: hidden;
    padding: 3rem;
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.founders-bio {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #334155;
}

.founders-photos-col {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: center;
}

.founder-photo-wrap {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.founder-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.founder-photo-1 { object-position: top center; }
.founder-photo-2 { object-position: top center; height: 260px; }

.founder-photo-placeholder {
    flex: 1;
    height: 260px;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--color-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem;
}
.founder-photo-placeholder span { font-size: 2rem; }

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.testimonials-section { background: var(--color-bg); }

.testimonials-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    padding-bottom: 4rem;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 3rem;
}

.testimonial-block {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-img-wrap {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15);
}

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

.testimonial-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface2);
    font-size: 2.5rem;
    border: 3px solid var(--color-border);
    box-shadow: none;
}

.testimonial-content { flex: 1; }

.testimonial-stars {
    color: var(--color-gold);
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
    font-style: normal;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-style: normal;
    display: block;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.slider-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: var(--radius-full);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section { background: var(--color-surface); }

.contact-heading { text-align: center; margin-bottom: 2.5rem; }

.calendly-wrap {
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    background: #fff;
}

/* Calendly widget container */
.calendly-inline-widget {
    display: block;
    width: 100%;
}

/* Calendly placeholder when URL not set */
.calendly-not-set {
    max-width: 600px;
    margin: 0 auto;
}

.calendly-placeholder {
    text-align: center;
    padding: 4rem 3rem;
    background: #FFFFFF;
    border: 2px dashed rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.calendly-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }

.calendly-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.calendly-placeholder p {
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #0F172A;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 4rem 0 2rem;
    color: #F8FAFC;
}

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

.footer-header {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1.25rem;
}

.footer-header-small { margin-top: 2rem; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.2s ease;
    padding: 0.3rem 0;
}

.footer-link:hover { color: #FFFFFF; transform: translateX(4px); }

.footer-logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-col img { max-height: 60px; width: auto; }

.footer-site-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
}

.footer-logo-col img {
    filter: brightness(10) !important;
    opacity: 0.9;
}

.footer-email {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color 0.2s;
    word-break: break-all;
}
.footer-email:hover { color: var(--color-primary); }

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    transition: all 0.2s ease;
}

.social-icon-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.tm-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.tm-lightbox.open { display: flex; }

.tm-lightbox-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 90vw;
    max-height: 90vh;
}

.tm-lb-img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    pointer-events: all;
}

.tm-lb-close {
    position: absolute;
    top: -52px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tm-lb-close:hover { background: rgba(255, 255, 255, 0.3); }

.tm-lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10000;
}

.tm-lb-nav:hover { background: var(--color-primary); border-color: var(--color-primary); }

.tm-lb-prev { left: 1.5rem; }
.tm-lb-next { right: 1.5rem; }

.tm-lb-counter {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.js-animate, .js-stat-block, .js-animate-hero {
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-animate.visible,
.js-stat-block.visible,
.js-animate-hero.visible {
    opacity: 1 !important;
    transform: none !important;
}

[data-anim="fade-up"]       { transform: translateY(50px); }
[data-anim="slide-up"]      { transform: translateY(40px); }
[data-anim="slide-left"]    { transform: translateX(-60px); }
[data-anim="slide-right"]   { transform: translateX(60px); }
[data-anim="slide-left-far"]  { transform: translateX(-120px); }
[data-anim="slide-right-far"] { transform: translateX(120px); }
[data-anim="slide-up-far"]    { transform: translateY(100px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .founders-grid { grid-template-columns: 1fr; }
    .founders-photos-col { justify-content: center; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    :root { --section-py: 4rem; }

    .nav-menu-wrapper { display: none; }
    .mobile-toggle { display: flex; }

    .hero-heading { font-size: clamp(2rem, 8vw, 3.5rem); }
    .hero-paragraphs { grid-template-columns: 1fr; gap: 1rem; }

    .illustration-block { min-width: 160px; }

    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

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

    .testimonial-block { flex-direction: column; align-items: center; text-align: center; }
    .testimonial-img-wrap { width: 100px; height: 100px; }

    .slider-prev { left: 0.5rem; }
    .slider-next { right: 0.5rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-logo-col { order: -1; }

    .tm-lb-prev { left: 0.5rem; }
    .tm-lb-next { right: 0.5rem; }
}

@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr 1fr; }
    .illustration-block-small { min-width: 100px; padding: 1rem; }
    .hero-heading { font-size: clamp(1.75rem, 8vw, 2.8rem); }
}
