/* ==========================================================================
   AI Leadership 2026 - Complete Site Stylesheet
   ==========================================================================
   Table of Contents:
   1.  CSS Variables & Reset
   2.  Typography
   3.  Layout & Container
   4.  Header & Navigation
   5.  Hero Section
   6.  Section System
   7.  Buttons
   8.  Problem Cards
   9.  Solution Cards
   10. Methodology Section
   11. Team Section
   12. Services Overview (B2B / B2C Split)
   13. Media Coverage
   14. Social Proof
   15. Final CTA Section
   16. Footer
   17. Contact Popup
   18. Page-Specific Styles
   19. Utility Classes
   20. Animations
   21. Responsive - Intermediate (<=1024px)
   22. Responsive - Tablets (<=768px)
   23. Responsive - Phones (<=480px)
   ========================================================================== */


/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */

:root {
    --primary: #0F2B4C;
    --primary-light: #1A3D6D;
    --secondary: #E85D2A;
    --secondary-light: #FF7A45;
    --accent: #4F7CAC;
    --text: #1A1A2E;
    --text-light: #5A6070;
    --text-muted: #8B92A0;
    --bg-light: #F5F6F8;
    --bg-white: #FFFFFF;
    --bg-dark: #0F2B4C;
    --success: #2ECC71;
    --border: #E2E5EA;
    --border-light: #F0F1F3;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(15, 43, 76, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 43, 76, 0.08);
    --shadow-lg: 0 8px 30px rgba(15, 43, 76, 0.12);
    --shadow-xl: 0 16px 48px rgba(15, 43, 76, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-full: 50%;
    --transition: 0.3s ease;
}

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

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

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

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

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

ul, ol {
    list-style: none;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}


/* ==========================================================================
   2. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

strong {
    font-weight: 600;
}


/* ==========================================================================
   3. Layout & Container
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}


/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.logo img {
    height: 38px;
    width: auto;
}

.logo-highlight {
    color: var(--secondary);
}

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

.nav-item,
.has-dropdown {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
    background: rgba(232, 93, 42, 0.05);
}

/* Dropdown */
.has-dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform var(--transition);
}

.has-dropdown:hover > .nav-link::after {
    transform: rotate(-135deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: max-content;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 100;
}

.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--secondary);
}

/* Header CTA */
.header .cta-button {
    margin-left: 1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* ==========================================================================
   5. Hero Section
   ========================================================================== */

.hero {
    position: relative;
    background: var(--bg-dark);
    color: #fff;
    padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
    overflow: hidden;
}

/* Dot pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 720px;
}

.hero h1,
.hero h2,
.hero h3 {
    color: #fff;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin-bottom: 2.25rem;
    max-width: 600px;
}

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


/* ==========================================================================
   6. Section System
   ========================================================================== */

.section-white {
    background: var(--bg-white);
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-light {
    background: var(--bg-light);
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-dark {
    background: var(--bg-dark);
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #fff;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    background: rgba(232, 93, 42, 0.08);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-dark .section-badge {
    color: var(--secondary-light);
    background: rgba(232, 93, 42, 0.15);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-light);
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================================
   7. Buttons
   ========================================================================== */

.btn-primary,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 2px 8px rgba(232, 93, 42, 0.25);
    white-space: nowrap;
}

.btn-primary:hover,
.cta-button:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 42, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    white-space: nowrap;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    background: transparent;
    border: 2px solid var(--secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    white-space: nowrap;
}

.btn-outline-secondary:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contact-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* ==========================================================================
   8. Problem Cards
   ========================================================================== */

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

.problem-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.problem-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: rgba(220, 53, 69, 0.1);
    color: #DC3545;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.problem-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}


/* ==========================================================================
   9. Solution Cards
   ========================================================================== */

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

.solution-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.solution-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: rgba(79, 124, 172, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.solution-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.solution-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}


/* ==========================================================================
   10. Methodology Section
   ========================================================================== */

.methodology {
    background: var(--bg-dark);
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    color: #fff;
}

.methodology h2,
.methodology h3 {
    color: #fff;
}

.methodology p {
    color: rgba(255, 255, 255, 0.8);
}

.methodology-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

/* Arrow connectors between steps (desktop only) */
.methodology-cards::before,
.methodology-cards::after {
    content: '';
    position: absolute;
    top: 36px;
    width: calc((100% - 3 * 33.333%) / 2 + 2rem);
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.methodology-cards::before {
    left: calc(33.333% - 1rem);
}

.methodology-cards::after {
    left: calc(66.666% - 1rem);
}

.methodology-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(4px);
    transition: background var(--transition), transform var(--transition);
}

.methodology-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
}

.methodology-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.methodology-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}


/* ==========================================================================
   11. Team Section
   ========================================================================== */

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

.team-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    transition: box-shadow var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--bg-light);
}

.team-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.team-card .team-title {
    font-size: 0.95rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card .team-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.team-card .social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-card .social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: background var(--transition), color var(--transition);
}

.team-card .social-links a:hover {
    background: var(--primary);
    color: #fff;
}

/* Together section */
.team-together {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.team-together h3 {
    margin-bottom: 0.75rem;
}

.team-together p {
    max-width: 640px;
    margin: 0 auto;
}


/* ==========================================================================
   12. Services Overview (B2B / B2C Split)
   ========================================================================== */

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

.service-block {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: box-shadow var(--transition);
}

.service-block:hover {
    box-shadow: var(--shadow-lg);
}

.service-block .block-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* B2B accent */
.service-block.b2b .block-icon {
    background: rgba(15, 43, 76, 0.08);
    color: var(--primary);
}

/* B2C accent */
.service-block.b2c .block-icon {
    background: rgba(232, 93, 42, 0.08);
    color: var(--secondary);
}

.service-block h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-block ul {
    margin-bottom: 1.5rem;
}

.service-block ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: var(--radius-full);
    background: var(--accent);
}

.service-block.b2c ul li::before {
    background: var(--secondary);
}


/* ==========================================================================
   13. Media Coverage
   ========================================================================== */

.media-coverage {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.media-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.media-card a {
    display: block;
}

.media-image {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}


/* ==========================================================================
   14. Social Proof / Testimonials – 2026 Marquee Design
   ========================================================================== */

.social-proof {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    overflow: hidden;
}

.social-proof .container {
    margin-bottom: 3rem;
    text-align: center;
}

/* Marquee wrapper with edge fade */
.testimonials-marquee {
    position: relative;
}

.testimonials-marquee::before,
.testimonials-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 20%, transparent);
}

.testimonials-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 20%, transparent);
}

/* Tracks */
.marquee-track {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    width: max-content;
    padding: 0.5rem 0;
}

.marquee-track--left {
    animation: marquee-scroll-left 55s linear infinite;
}

.marquee-track--right {
    animation: marquee-scroll-right 55s linear infinite;
    margin-top: 1.25rem;
}

.marquee-track:hover,
.marquee-track:focus-within {
    animation-play-state: paused;
}

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

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

/* Cards */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 1.75rem;
    width: 390px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
    cursor: default;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(232, 93, 42, 0.4);
    transform: translateY(-3px);
}

/* Quote text */
.testimonial-quote {
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 5.5rem;
    line-height: 0.8;
    color: var(--secondary);
    opacity: 0.55;
    position: absolute;
    top: -0.5rem;
    left: -0.35rem;
    font-family: Georgia, serif;
    pointer-events: none;
}

/* Author row */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
    margin-top: auto;
}

/* Avatar circle */
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 0 12px rgba(0,0,0,0.3);
}

.testimonial-info {
    min-width: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.87rem;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1.3;
    transition: color 0.2s;
}

.testimonial-name:hover {
    color: var(--secondary-light);
}

.testimonial-name .li-icon {
    font-size: 0.73rem;
    opacity: 0.55;
    flex-shrink: 0;
}

.testimonial-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.2rem;
    line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none !important;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .testimonial-card {
        width: 340px;
    }
}


/* ==========================================================================
   15. Final CTA Section
   ========================================================================== */

.final-cta {
    background: var(--bg-dark);
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    color: #fff;
    margin-bottom: 1.25rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}


/* ==========================================================================
   16. Footer
   ========================================================================== */

.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-section p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-light);
}

.footer-section .social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-section .social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: background var(--transition), color var(--transition);
}

.footer-section .social-links a:hover {
    background: var(--secondary);
    color: #fff;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}


/* ==========================================================================
   17. Contact Popup
   ========================================================================== */

.contact-popup {
    position: fixed;
    inset: 0;
    background: rgba(15, 43, 76, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
}

.contact-popup-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
}

.contact-popup.active .contact-popup-content {
    transform: scale(1) translateY(0);
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: background var(--transition), color var(--transition);
}

.close-popup:hover {
    background: var(--border);
    color: var(--text);
}

.contact-popup h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-right: 2rem;
    color: var(--text);
}

.popup-field {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-white);
    margin-bottom: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.popup-field:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 124, 172, 0.12);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.contact-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-method-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    text-align: left;
    width: 100%;
    font-family: inherit;
}

.contact-method-btn:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    background: var(--bg-light);
}

.contact-method-btn.email:hover {
    border-color: var(--primary);
}

.contact-method-btn.call:hover {
    border-color: var(--success);
}

.contact-method-btn.whatsapp:hover {
    border-color: #25D366;
}

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method-btn.email .method-icon {
    background: rgba(15, 43, 76, 0.08);
    color: var(--primary);
}

.contact-method-btn.call .method-icon {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success);
}

.contact-method-btn.whatsapp .method-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.method-content {
    flex: 1;
}

.method-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.method-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.back-to-options {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    transition: color var(--transition);
}

.back-to-options:hover {
    color: var(--primary);
}

.contact-info-content {
    text-align: center;
    padding: 1rem 0;
}

.phone-number-with-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-photo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--bg-light);
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.01em;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    background: rgba(79, 124, 172, 0.08);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: background var(--transition), color var(--transition);
}

.copy-btn:hover {
    background: rgba(79, 124, 172, 0.16);
    color: var(--primary);
}

.contact-info-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
}

#contactForm .contact-btn {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

#contactForm .contact-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}


/* ==========================================================================
   18. Page-Specific Styles
   ========================================================================== */

/* Subpage hero (smaller) */
.page-hero {
    position: relative;
    background: var(--bg-dark);
    color: #fff;
    padding: clamp(6rem, 10vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.page-hero h1 {
    color: #fff;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

/* Content sections for subpages */
.content-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

/* Phase cards (B2B methodology) */
.phase-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: box-shadow var(--transition);
}

.phase-card:hover {
    box-shadow: var(--shadow-md);
}

.phase-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.phase-card .phase-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.phase-card ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.phase-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--accent);
}

/* Workshop structure (B2C) */
.workshop-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.workshop-structure .workshop-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: box-shadow var(--transition);
}

.workshop-structure .workshop-item:hover {
    box-shadow: var(--shadow-md);
}

.workshop-structure .workshop-item h4 {
    margin-bottom: 0.5rem;
}

/* Value cards (About page) */
.value-card {
    background: #FFF5EE;
    border: 1px solid #FDDCC4;
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(232, 93, 42, 0.12);
}

.value-card .value-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: rgba(232, 93, 42, 0.12);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1.25rem;
}

.value-card h3 {
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Contact form inline (Contact page) */
.contact-form-inline {
    max-width: 640px;
    margin: 0 auto;
}

.contact-form-inline .form-group {
    margin-bottom: 1.25rem;
}

.contact-form-inline label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.contact-form-inline input,
.contact-form-inline textarea,
.contact-form-inline select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.contact-form-inline input:focus,
.contact-form-inline textarea:focus,
.contact-form-inline select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 124, 172, 0.12);
}

.contact-form-inline textarea {
    min-height: 140px;
    resize: vertical;
}

/* Extended bio (About page) */
.bio-extended {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.bio-extended img {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 4px solid var(--bg-light);
}

.bio-extended h3 {
    margin-bottom: 0.25rem;
}

.bio-extended .bio-role {
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.bio-extended p {
    font-size: 0.95rem;
    color: var(--text-light);
}


/* ==========================================================================
   19. Utility Classes
   ========================================================================== */

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

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }


/* ==========================================================================
   20. Animations
   ========================================================================== */

.fade-in-element {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   21. Responsive - Intermediate (<=1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .methodology-cards::before,
    .methodology-cards::after {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .media-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Testimonials: switch to swipeable single-row on tablet */
    .testimonials-marquee::before,
    .testimonials-marquee::after {
        width: 60px;
    }

    .testimonial-card {
        width: 340px;
    }
}


/* ==========================================================================
   22. Responsive - Tablets (<=768px)
   ========================================================================== */

@media (max-width: 768px) {
    /* Header mobile */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1005;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 0.75rem 1.5rem;
    }

    .nav-link.active {
        background: none;
    }

    .has-dropdown > .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        display: none;
    }

    .has-dropdown > .nav-link {
        pointer-events: auto;
    }

    .header .cta-button {
        margin-left: 0;
        margin-top: 1rem;
    }

    /* Allow buttons to wrap text on mobile */
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-outline-secondary,
    .cta-button {
        white-space: normal;
    }

    /* Grid fallbacks */
    .problem-cards,
    .solution-cards,
    .methodology-cards {
        grid-template-columns: 1fr;
    }

    .team-grid,
    .services-split {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Bio extended */
    .bio-extended {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bio-extended img {
        margin: 0 auto;
    }

    /* Contact popup tablet */
    .contact-popup-content {
        width: 92%;
        padding: 2rem;
    }

    /* Utility */
    .hidden-mobile {
        display: none !important;
    }

    /* Testimonials: horizontal snap scroll, single row */
    .testimonials-marquee::before,
    .testimonials-marquee::after {
        display: none;
    }

    .marquee-track--left,
    .marquee-track--right {
        animation: none;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem 1.25rem 1.25rem;
        gap: 1rem;
        scrollbar-width: none;
        margin-top: 0;
    }

    .marquee-track--right {
        margin-top: 1rem;
    }

    .marquee-track--left::-webkit-scrollbar,
    .marquee-track--right::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        width: 82vw;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 1.25rem;
    }

    .testimonial-card[aria-hidden="true"] {
        display: none;
    }
}

/* Show on mobile only (above 769px hide) */
@media (min-width: 769px) {
    .hidden-desktop {
        display: none !important;
    }
}


/* ==========================================================================
   23. Responsive - Phones (<=480px)
   ========================================================================== */

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

    .hero {
        padding: clamp(6rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        text-align: center;
        width: 100%;
        white-space: normal;
    }

    .team-photo {
        width: 140px;
        height: 140px;
    }

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

    .section-header {
        margin-bottom: 2rem;
    }

    .testimonial-card {
        width: 88vw;
    }

    .marquee-track--left {
        padding: 0.5rem 1rem 1rem;
    }

    /* Contact popup phone adjustments */
    .contact-popup-content {
        padding: 1.75rem 1.25rem;
        width: 95%;
        border-radius: var(--radius-sm);
    }

    .contact-popup h2 {
        font-size: 1.25rem;
    }

    /* Stack form fields vertically on mobile */
    #contactForm div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    #billingFields div[style*="gap:16px"] {
        flex-wrap: wrap;
    }

    .phone-number {
        font-size: 1.25rem;
    }

    .contact-method-btn {
        padding: 0.75rem 1rem;
    }

    .method-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}
