/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-wrapper {
    position: relative;
}

body {
    background-color: #0A0A0A;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Lora', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-bottom: 2px solid transparent;
}


.header.header-hidden {
    transform: translateY(-100%);
}

.header.header-scrolled {
    background-color: #F0EDE8;
    border-bottom-color: #D5D0CA;
}

.header.header-scrolled .nav a,
.header.header-scrolled .nav .nav-vertical-label {
    color: #0A0A0A;
}

.header.header-scrolled .nav a:hover,
.header.header-scrolled .nav .nav-vertical-label:hover {
    color: #666;
}

.header.header-scrolled .header-connect-btn {
    color: #0A0A0A;
    border-color: rgba(0, 0, 0, 0.25);
}

.header.header-scrolled .connect-arrow {
    background: #0A0A0A;
    color: #FFFFFF;
}

.header.header-scrolled .header-connect-btn:hover {
    background: #0A0A0A;
    color: #FFFFFF;
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 3rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav {
    margin-left: auto;
    display: flex;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

.nav-glider {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: #cc3247;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 151;
}

.nav ul li {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.nav a,
.nav .nav-vertical-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #E0E0E0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    padding-bottom: 2.5rem;
    margin-bottom: -2.5rem;
    cursor: pointer;
}

/* Dot indicator */
@keyframes dot-drop {
    0%   { opacity: 0; transform: translateY(-8px); }
    60%  { opacity: 1; transform: translateY(2px); }
    80%  { transform: translateY(-1px); }
    100% { opacity: 1; transform: translateY(0); }
}

.nav-dot {
    opacity: 0;
    font-size: 0.65rem;
    flex-shrink: 0;
    display: inline-block;
}
.has-dropdown.is-open .nav-dot {
    animation: dot-drop 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.nav a:hover,
.nav .nav-vertical-label:hover {
    color: #FFFFFF;
}

/* Reset mega-menu links to default */
.mega-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    padding-bottom: 0;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: baseline;
    gap: 0;
    padding: 0.45rem 0;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.15s ease, gap 0.2s ease;
}
.mega-menu a::before {
    content: '•';
    font-size: 0.65rem;
    opacity: 0;
    transform: translateY(-8px);
    flex-shrink: 0;
    display: inline-block;
    width: 0;
    overflow: hidden;
    transition: gap 0.2s ease, width 0.2s ease;
}
.mega-menu a:hover {
    color: rgba(255, 255, 255, 0.9);
    gap: 0.5rem;
}
.mega-menu a:hover::before {
    width: 0.65rem;
    animation: dot-drop 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Mega Menu — narrow dark dropdown */
.mega-menu {
    position: fixed;
    width: 240px;
    background-color: #1A1A1A;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: none;
    padding: 1.25rem 1.5rem 1.5rem;
    z-index: 150;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;
    background: transparent;
}

.has-dropdown.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}


.has-dropdown>a svg,
.has-dropdown>.nav-vertical-label svg {
    transition: transform 0.3s ease;
}

.has-dropdown.is-open>a svg,
.has-dropdown.is-open>.nav-vertical-label svg {
    transform: rotate(180deg);
}

.has-dropdown {
    position: relative;
}


.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: inherit;
    text-decoration: none;
    padding: 0.4rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    transition: all 0.3s ease;
    opacity: 0.8;
}
.lang-switcher:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}
.header.header-scrolled .lang-switcher,
.light-theme .lang-switcher {
    border-color: rgba(10, 10, 10, 0.25);
    color: #0A0A0A;
}
.header.header-scrolled .lang-switcher:hover,
.light-theme .lang-switcher:hover {
    background: rgba(10, 10, 10, 0.08);
}

.header-connect-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    color: #FFFFFF;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}
.header-connect-btn:hover {
    background: #FFFFFF;
    color: #0A0A0A;
    border-color: #FFFFFF;
}
.connect-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #FFFFFF;
    color: #0A0A0A;
    border-radius: 50%;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
.header-connect-btn:hover .connect-arrow {
    background: #0A0A0A;
    color: #FFFFFF;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #FFFFFF;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

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

.mobile-menu-overlay .logo {
    color: #0A0A0A;
    font-size: 1.4rem;
    font-weight: 600;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #0A0A0A;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mobile-menu-nav {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 3rem;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.mobile-menu-nav li {
    margin-bottom: 2rem;
}

.mobile-menu-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0A0A0A;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -0.01em;
    display: block;
}

.mobile-menu-nav a:hover {
    opacity: 0.6;
}

.mobile-menu-footer {
    padding-bottom: 2rem;
}

.mobile-social-links {
    display: flex;
    gap: 1.5rem;
}

.mobile-social-links a {
    color: #0A0A0A;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #0A0A0A;
}

.hero-slides {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide video {
    width: 100%; height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero-contact-btn {
    position: absolute;
    z-index: 5;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border: 1px solid #FFFFFF;
    border-radius: 999px;
    color: #FFFFFF;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.hero-contact-btn:hover {
    background: #FFFFFF;
    color: #0A0A0A;
}

.hero-center {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: max-content;
    max-width: 90vw;
    height: auto;
    padding: 0;
    box-sizing: border-box;
}

.hero-label-fixed {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
    order: unset;
}

.hero-label {
    order: unset;
    margin-bottom: 0;
}

.hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-client-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    order: unset;
    align-self: auto;
    margin: 0;
    display: block;
    gap: 0;
    padding: 0;
    justify-content: initial;
    transform: none;
}

.hero-client-logo .client-icon {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    flex-shrink: initial;
}

.hero-client-logo .client-icon.active {
    opacity: 1;
}

.hero-name-container {
    height: 21rem;
    width: 28rem;
    overflow: hidden;
    order: unset;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.25) 18%, black 38%, black 62%, rgba(0,0,0,0.25) 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.25) 18%, black 38%, black 62%, rgba(0,0,0,0.25) 82%, transparent 100%);
}

.hero-name-track {
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-name-track span {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    height: 5.4rem;
    line-height: 5.4rem;
    white-space: nowrap;
    opacity: 1;
    transition: color 0.4s ease;
}

.hero-name-track span.active {
    color: #fff;
    position: relative;
    opacity: 1;
}

.hero-brand-icons {
    display: none;
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    gap: 0.5rem;
    align-items: center;
}

.hero-brand-icons img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-brand-icons img.active {
    opacity: 1;
}

.hero-brand-icons img[alt="Nivea"] {
    background-color: #003399;
    object-fit: cover;
}

.hero-pause {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
}

.cta-primary {
    background-color: #FFFFFF;
    color: #0A0A0A;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.2s;
}

.cta-primary:hover {
    background-color: #E0E0E0;
}

.cta-outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #444;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
}

.cta-outline:hover {
    border-color: #fff;
}

/* Mega Menu Content */
.mega-menu-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mega-menu feature items — Harvey style */
.mega-menu .features-list {
    gap: 0.5rem;
}

.mega-menu .feature-item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    column-gap: 0;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mega-menu .feature-item h3 {
    grid-column: 1;
    grid-row: 1;
    color: #000000;
    margin-bottom: 0;
}

.mega-menu .feature-item p {
    grid-column: 1 / -1;
    grid-row: 2;
    color: #888888;
    font-size: 0.85rem;
    margin-top: 0.15rem;
    margin-bottom: 0;
}

.mega-menu .feature-item .arrow {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    color: #000000;
    font-size: 1rem;
    line-height: 1;
    margin-left: 0.4rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mega-menu .feature-item:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Dim on hover — mega-menu */
.mega-menu .features-list:hover .feature-item {
    opacity: 0.3;
}

.mega-menu .features-list:hover .feature-item:hover {
    opacity: 1;
}

/* Mega-menu multimedia */
.mega-menu .video-placeholder {
    background-color: #F5F5F5;
}

.mega-menu .video-caption h4 {
    color: #000000;
}

.mega-menu .video-caption p {
    color: #888888;
}

.mega-menu-multimedia {
    transition: opacity 0.3s ease;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #F0F0F0;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.video-caption h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-caption p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Social Proof Carousel */
.social-proof {
    position: relative;
    width: 100%;
    background: #0A0A0A;
    padding: 2rem 0;
}

.social-proof-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    padding: 0 3rem;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    margin-right: 2rem;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-carousel {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    animation: scroll 120s linear infinite;
}

.client-logo img {
    height: 30px;
    width: auto;
    opacity: 0.9;
}



@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Hero Responsive */
@media (max-width: 768px) {
    .hero-center {
        top: 0;
        left: 0;
        transform: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 7rem 1.5rem 0;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        max-width: none;
    }

    .hero-label-fixed {
        display: contents;
    }

    .hero-label {
        font-size: 1.4rem;
        color: #fff;
        order: 1;
        margin-bottom: -0.8rem;
    }

    .hero-client-logo {
        order: 3;
        align-self: flex-start;
        margin-top: auto;
        margin-bottom: 7rem;
        width: max-content;
        height: 44px;
        display: flex;
        gap: 1.2rem;
        background: none;
        overflow: visible;
        border-radius: 0;
        justify-content: flex-start;
        padding: 0;
        margin-left: calc(50vw - 22px);
        transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    }

    .hero-client-logo .client-icon {
        position: relative;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        flex-shrink: 0;
        opacity: 0.35;
        transition: opacity 0.5s ease;
    }

    .hero-client-logo .client-icon.active {
        opacity: 1;
    }

    .hero-name-container {
        height: auto;
        width: auto;
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
        order: 2;
    }

    .hero-name-track {
        position: relative;
        transform: none !important;
        transition: none !important;
    }

    .hero-name-track span {
        position: absolute;
        top: 0;
        left: 0;
        font-size: 1.8rem;
        height: auto;
        line-height: 1.2;
        font-weight: 600;
        opacity: 0;
        transition: opacity 0.5s ease;
        color: #fff;
    }

    .hero-name-track span.active {
        position: relative;
        opacity: 1;
    }

    .hero-pause {
        left: auto;
        right: 1.5rem;
        bottom: 2rem;
        top: auto;
        transform: none;
    }

    .hero-contact-btn {
        display: none;
    }

    .hero-brand-icons {
        display: none;
    }
}

/* Intro Text Section */
/* Offerings Section — monks style */
.offerings-section {
    background-color: #F0EDE8;
    color: #000000;
    padding: 6rem 0 8rem;
}

.offerings-heading {
    font-family: 'Helvetica', 'Helvetica Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #0A0A0A;
    line-height: 1.1;
    max-width: 100%;
    margin: 0 0 4rem;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.offering-card {
    position: relative;
    text-decoration: none;
    color: #0A0A0A;
    display: flex;
    flex-direction: column;
}

.offering-number {
    font-family: 'Lora', serif;
    font-size: clamp(5rem, 8vw, 8rem);
    font-weight: 700;
    color: rgba(0, 0, 0, 0.06);
    line-height: 0.8;
    text-align: right;
    margin-bottom: -2rem;
    position: relative;
    z-index: 0;
}

.offering-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background-color: #E0E0E0;
}

.offering-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    margin-top: 1rem;
}

.offering-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0A0A0A;
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offering-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #0A0A0A;
    border-radius: 50%;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.offering-card:hover .offering-arrow {
    background: #0A0A0A;
    color: #FFFFFF;
}

.offering-card:hover .offering-image {
    opacity: 0.9;
}

.offering-card:nth-child(2) {
    margin-top: 5rem;
}

.offering-card:nth-child(3) {
    margin-top: 3rem;
}

.offering-card:nth-child(4) {
    margin-top: 8rem;
}

@media (max-width: 1200px) {
    .offerings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .offerings-heading {
        font-size: 1.8rem;
    }
}

/* AI / Tech Section — monks style */
.ai-section {
    background-color: #F0EDE8;
    padding: 8rem 0;
}

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

.ai-heading {
    font-family: 'Helvetica', 'Helvetica Neue', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #0A0A0A;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.ai-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #444;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.ai-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.6rem;
    background: #0A0A0A;
    color: #FFFFFF;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ai-cta:hover {
    background: #333;
}

.ai-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #FFFFFF;
    color: #0A0A0A;
    border-radius: 50%;
    font-size: 0.8rem;
}

.ai-visual-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background-color: #D0C8BC;
}

@media (max-width: 768px) {
    .ai-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Legacy intro styles */
.intro-text {
    background-color: #F0EDE8;
    color: #000000;
    padding: 8rem 0;
}

.intro-heading {
    font-size: 2.2rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.intro-heading span {
    color: #888888;
}

/* Features Section */
.features {
    background-color: #F0EDE8;
    color: #000000;
    padding: 8rem 0;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list:hover .feature-item {
    opacity: 0.3;
}

.features-list .feature-item:hover {
    opacity: 1;
}

.features-list .feature-item {
    transition: opacity 0.3s ease;
    cursor: pointer;
    padding: 1rem 0;
}

/* Use Cases Section */
/* We Build / Think / Execute Section */
.we-section {
    background-color: #0A0A0A;
    color: #FFFFFF;
    padding: 8rem 0;
    overflow: hidden;
}

.we-container {
    display: flex;
    align-items: center;
    gap: 6rem;
    min-height: 280px;
}

.we-left {
    flex: 0 0 auto;
}

.we-big {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 5.5rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    display: block;
    letter-spacing: -0.02em;
}

.we-center {
    flex: 1;
    position: relative;
    height: 110px;
    display: flex;
    align-items: center;
}

.we-verb {
    font-family: 'Times New Roman', Times, serif;
    font-size: 5.5rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1;
    position: absolute;
    opacity: 0;
    animation: cycleItem 9s infinite;
    white-space: nowrap;
}

.we-verb:nth-child(1) { animation-delay: 0s; }
.we-verb:nth-child(2) { animation-delay: 3s; }
.we-verb:nth-child(3) { animation-delay: 6s; }

.we-right {
    flex: 0 0 300px;
    position: relative;
    height: 110px;
    display: flex;
    align-items: center;
}

.we-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #888888;
    line-height: 1.75;
    position: absolute;
    opacity: 0;
    animation: cycleItem 9s infinite;
    margin: 0;
}

.we-text:nth-child(1) { animation-delay: 0s; }
.we-text:nth-child(2) { animation-delay: 3s; }
.we-text:nth-child(3) { animation-delay: 6s; }

@keyframes cycleItem {
    0%   { opacity: 0; }
    4%   { opacity: 1; }
    29%  { opacity: 1; }
    33%  { opacity: 0; }
    100% { opacity: 0; }
}

@media (max-width: 900px) {
    .we-big { font-size: 11rem; }
    .we-verb { font-size: 4rem; }
    .we-right { flex: 1; }
}

@media (max-width: 768px) {
    .we-container {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        gap: 2rem;
    }
    .we-big { font-size: 7rem; }
    .we-center { height: 75px; width: 100%; }
    .we-verb { font-size: 3.2rem; }
    .we-right { flex: 0 0 auto; height: 100px; width: 100%; }
}

/* Testimonials Section */
.testimonials {
    background-color: #FFFFFF;
    color: #000000;
    padding: 6rem 0;
}

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

.testimonial-card {
    padding: 2.5rem;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #222222;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 2.5rem;
    font-family: 'Lora', serif;
    color: #CCCCCC;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.testimonial-author {
    border-top: 1px solid #EAEAEA;
    padding-top: 1.5rem;
}

.testimonial-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #888888;
}

/* ===== CLIENT STORIES SECTION ===== */
.client-stories {
    background: #1A1A1A;
    padding: 10rem 0;
    overflow: hidden;
}

.client-stories-container {
    position: relative;
    min-height: 700px;
}

.client-stories-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    margin-bottom: 3rem;
}

.client-stories-list {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.client-story-item {
    display: block;
    text-decoration: none;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    transition: opacity 0.3s ease;
}

.client-story-item:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.client-story-item h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    line-height: 1.15;
    margin: 0;
    transition: color 0.3s ease;
}

.client-story-item:hover h3 {
    color: #FFFFFF;
}

.client-stories-list:hover .client-story-item:not(:hover) h3 {
    color: rgba(255,255,255,0.3);
}

.client-stories-image {
    position: absolute;
    right: 12%;
    top: 50%;
    margin-top: -240px;
    width: 480px;
    height: 480px;
    z-index: 1;
    overflow: visible;
}

.client-stories-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    filter: grayscale(50%) brightness(0.6);
    opacity: 0.6;
    transition: filter 0.5s ease, opacity 0.5s ease, width 0.5s ease, height 0.5s ease, margin 0.5s ease;
}

.carousel-item.is-active {
    width: 540px;
    height: 540px;
    margin-top: -30px;
    margin-left: -30px;
    filter: grayscale(10%) brightness(0.9);
    opacity: 1;
}

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

/* Diagonal strip: each item offset 350px right + 350px up from previous */
.carousel-item[data-index="0"] { left: -1200px; top: -1200px; transform: rotate(2deg); }
.carousel-item[data-index="1"] { left: -600px; top: -600px; transform: rotate(4deg); }
.carousel-item[data-index="2"] { left: 0; top: 0; transform: rotate(6deg); }
.carousel-item[data-index="3"] { left: 600px; top: 600px; transform: rotate(8deg); }
.carousel-item[data-index="4"] { left: 1200px; top: 1200px; transform: rotate(10deg); }

@media (max-width: 768px) {
    .client-stories-list {
        max-width: 100%;
    }
    .client-stories-image {
        display: none;
    }
    .client-story-item h3 {
        font-size: 1.5rem;
    }
}

/* ===== REPORTS SECTION ===== */
.reports-section {
    background-color: #F0EDE8;
    padding: 6rem 0;
}

.reports-container {
    position: relative;
}

.reports-image-outer {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.reports-image-wrapper {
    width: 1000px;
    max-width: 95vw;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    will-change: width;
}

.reports-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.reports-image-wrapper:hover .reports-image {
    transform: scale(1.08);
}

.reports-content {
    max-width: 700px;
    margin: 0 auto;
}

.reports-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0A0A0A;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.reports-title {
    font-family: 'Lora', serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 500;
    color: #0A0A0A;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.reports-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
}

/* ===== ARTICLES SECTION ===== */
.articles-section {
    background-color: #F0EDE8;
    padding: 6rem 0;
}

.articles-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.article-card {
    display: block;
}

.article-card:nth-child(1) { width: 38%; }
.article-card:nth-child(2) { width: 17%; }
.article-card:nth-child(3) { width: 22%; }

.article-image-wrapper {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 0;
}

.article-card:nth-child(1) .article-image-wrapper { height: auto; aspect-ratio: 16 / 9; }
.article-card:nth-child(2) .article-image-wrapper { height: auto; aspect-ratio: 1 / 1; }
.article-card:nth-child(3) .article-image-wrapper { height: auto; aspect-ratio: 1 / 1; }

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 0;
}


.article-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0A0A0A;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.article-title {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    color: #0A0A0A;
    line-height: 1.3;
    margin: 0.5rem 0;
}

.article-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666666;
    margin: 0;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .article-card:nth-child(2),
    .article-card:nth-child(3) {
        margin-top: 0;
    }
}

/* ===== EN EL RADAR SECTION ===== */
.radar-section {
    background-color: #F0EDE8;
    padding: 6rem 0 7rem;
}

.radar-title {
    font-family: 'Lora', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: #0A0A0A;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.radar-list {
    display: flex;
    flex-direction: column;
}

.radar-item {
    display: grid;
    grid-template-columns: 120px 1fr 100px 160px;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid #D5D0CA;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.radar-item:last-child {
    border-bottom: 1px solid #D5D0CA;
}

.radar-item:hover {
    opacity: 0.6;
}

.radar-type {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #888888;
    font-weight: 400;
}

.radar-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: baseline;
}

.radar-headline {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0A0A0A;
}

.radar-sub {
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #0A0A0A;
}

.radar-time {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #888888;
    text-align: right;
}

.radar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #0A0A0A;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    justify-self: end;
    white-space: nowrap;
}

.radar-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #FFFFFF;
    color: #0A0A0A;
    border-radius: 50%;
    font-size: 0.75rem;
}

/* ===== CTA CONNECT SECTION ===== */
.cta-connect {
    background-color: #F0EDE8;
    padding: 6rem 0 5rem;
}

.cta-connect-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-connect-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A1A1A;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

.cta-connect-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.1;
    margin-bottom: 3rem;
    text-align: center;
}

.cta-you {
    display: inline;
}

.cta-connect-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

.cta-connect-btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1A1A1A;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: background 0.3s ease;
}

.cta-connect-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1A1A1A;
    color: #FFFFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    margin-left: 4px;
    transition: background 0.3s ease;
}

.cta-connect-btn:hover .cta-connect-btn-text,
.cta-connect-btn:hover .cta-connect-btn-arrow {
    background: #333;
}

/* ===== CHAPTERS SECTION ===== */
.chapters-section {
    background: #F0EDE8;
    color: #000000;
    padding: 0 0 10rem 0;
}

.chapter-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 6rem 0;
    border-right: none;
}

.chapter-left {
    padding-right: 4rem;
    border-right: 1px solid #E0E0E0;
}

.chapter-right {
    padding-left: 4rem;
}

.chapter-hr {
    border: none;
    border-top: 1px solid #E0E0E0;
    margin: 0 0 2rem 0;
}

.chapter-left h3 {
    font-family: 'Lora', serif;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: #000000;
    max-width: 500px;
    margin: 0 0 2.5rem 0;
}

.chapter-mockup {
    background: #1A1A1A;
    border-radius: 12px;
    height: 400px;
    width: 100%;
    margin-left: -2rem;
    width: calc(100% + 2rem);
}

.chapter-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 3rem 0;
}

.chapter-features {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.chapter-feature {
    padding: 1.5rem 0;
}

.chapter-feature h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    margin: 0 0 0.4rem 0;
}

.chapter-feature p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .chapter-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .chapter-left {
        padding-right: 0;
        border-right: none;
    }

    .chapter-right {
        padding-left: 0;
    }

    .chapter-mockup {
        margin-left: 0;
        width: 100%;
        height: 260px;
    }

    .chapter-left h3 {
        font-size: 2rem;
    }
}

.cta-banner--light {
    background-color: #FFFFFF;
    border-top: 1px solid #EAEAEA;
}

.cta-banner--light h2 {
    color: #0A0A0A;
}

.cta-primary--dark {
    background: #0A0A0A;
    color: #FFFFFF;
}

.cta-primary--dark:hover {
    background: #1A1A1A;
}

/* Footer Section */
.footer {
    background-color: #0D0D0D;
    border-top: 1px solid #1A1A1A;
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Main row: logo | nav | cta */
.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo a {
    display: block;
    line-height: 0;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.45rem 1rem;
    border-radius: 2rem;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.footer-cta:hover {
    border-color: rgba(255,255,255,0.6);
}

.footer-cta-arrow {
    font-size: 0.8rem;
}

/* Bottom row: copyright | social | legal */
.footer-bottom {
    border-top: 1px solid #1A1A1A;
    padding-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #555;
    margin: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social-icon:hover {
    color: #fff;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-legal a {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #999;
}

/* Pill Section */
@keyframes pill-gradient-move {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.pill-section {
    background: #F0EDE8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    padding: 10rem 2rem;
}

.pill-tagline {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0A0A0A;
    text-align: center;
    max-width: 1000px;
    line-height: 1.15;
    margin: 0;
}

.pill-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(10,10,10,0.55);
    text-align: center;
    max-width: 560px;
    line-height: 1.7;
    margin: 0;
}

.pill-rings-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1040px;
    height: 310px;
}

.pill-ring {
    position: absolute;
    border-radius: 9999px;
    border: 1.5px solid rgba(0,0,0,0.07);
    pointer-events: none;
    box-shadow: 0 6px 28px rgba(0,0,0,0.06);
}

.pill-ring-1 {
    width: 680px;
    height: 120px;
    background: linear-gradient(90deg, #A8C4F0, #E8C4E0, #A8C4F0);
    background-size: 200% 100%;
    animation: pill-gradient-move 40s ease-in-out infinite;
    border: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}
.pill-ring-2 { width: 780px;  height: 180px; }
.pill-ring-3 { width: 900px;  height: 240px; }
.pill-ring-4 { width: 1040px; height: 310px; }

.pill-inner {
    position: relative;
    z-index: 1;
    background: transparent;
    border-radius: 9999px;
    width: 620px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo floats above ring-1, between ring-1 top and ring-2 top */
/* wrapper=310px, ring-1 top=95px, ring-2 top=65px → center of gap = 80px */
.pill-logo {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    background: #F0EDE8;
    padding: 4px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-logo img {
    height: 20px;
    width: auto;
    filter: brightness(0) saturate(100%);
}

.pill-services {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: nowrap;
}

.pill-services span {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(10,10,10,0.8);
    white-space: nowrap;
}

.pill-plus {
    color: rgba(10,10,10,0.3) !important;
    font-weight: 300 !important;
    font-size: 1rem !important;
}

@media (max-width: 900px) {
    .pill-rings-wrap {
        transform: scale(0.65);
        margin-top: -54px;
        margin-bottom: -54px;
    }
}
@media (max-width: 600px) {
    .pill-rings-wrap {
        transform: scale(0.38);
        margin-top: -96px;
        margin-bottom: -96px;
    }
    .pill-tagline {
        font-size: 1.4rem;
        padding: 0 1rem;
    }
    .pill-sub {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
    .pill-section {
        gap: 2rem;
        padding: 6rem 1.5rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-connect-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Light Theme for subpages */
.light-theme {
    background-color: #FFFFFF;
    color: #0A0A0A;
}

.light-theme .header {
    background-color: #FFFFFF;
    border-bottom-color: #EAEAEA;
}

.light-theme .header:hover,
.light-theme .header.menu-active {
    background-color: #FFFFFF;
    border-bottom-color: #EAEAEA;
}

.light-theme .logo,
.light-theme .nav a,
.light-theme .nav .nav-vertical-label,
.light-theme .login a,
.light-theme .mobile-menu-btn {
    color: #0A0A0A;
}

.light-theme .nav a:hover,
.light-theme .nav .nav-vertical-label:hover,
.light-theme .login a:hover {
    color: #444444;
}


.light-theme .nav-glider {
    background-color: #cc3247;
}

.light-theme .header-connect-btn {
    color: #0A0A0A;
    border-color: rgba(10,10,10,0.25);
}
.light-theme .header-connect-btn:hover {
    background: #0A0A0A;
    color: #FFFFFF;
    border-color: #0A0A0A;
}
.light-theme .header-connect-btn .connect-arrow {
    background: #0A0A0A;
    color: #FFFFFF;
}

/* mega-menu links are always white regardless of header scroll state */
.header.header-scrolled .mega-menu a,
.light-theme .mega-menu a {
    color: #FFFFFF;
}
.header.header-scrolled .mega-menu a:hover,
.light-theme .mega-menu a:hover {
    color: #FFFFFF;
    opacity: 0.65;
}

.light-theme main {
    padding-top: 15rem;
    min-height: 80vh;
    text-align: center;
}

.light-theme h1 {
    font-size: 3rem;
    font-weight: 500;
}

/* ============================================
   VERTICAL LANDING PAGES (/think/, /tech/, etc.)
   ============================================ */

/* Service Hero */
.service-hero {
    padding: 12rem 0 6rem 0;
    text-align: center;
    background-color: #FFFFFF;
}

.service-hero .breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 2rem;
}

.service-hero .breadcrumb a {
    color: #888888;
    transition: color 0.2s ease;
}

.service-hero .breadcrumb a:hover {
    color: #0A0A0A;
}

.service-hero .breadcrumb span {
    margin: 0 0.5rem;
    color: #CCCCCC;
}

.service-hero h1 {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #0A0A0A;
}

.service-hero .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #888888;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.4;
}

.service-hero .description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666666;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    padding: 8rem 0;
    background-color: #FFFFFF;
}

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

.service-card {
    padding: 3rem;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: #0A0A0A;
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #0A0A0A;
}

.service-card p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.service-card .card-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0A0A0A;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-card:hover .card-link {
    gap: 0.6rem;
}

/* Methodology */
.methodology {
    padding: 8rem 0;
    background-color: #F0EDE8;
}

.methodology h2 {
    font-size: 2.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4rem;
    color: #0A0A0A;
}

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

.methodology-step {
    text-align: center;
    position: relative;
}

.methodology-step-number {
    font-family: 'Lora', serif;
    font-size: 3rem;
    color: #CCCCCC;
    margin-bottom: 1rem;
    line-height: 1;
}

.methodology-step h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #0A0A0A;
}

.methodology-step p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

.methodology-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    right: -1.5rem;
    width: 3rem;
    height: 1px;
    background-color: #EAEAEA;
}

/* Client Logos Grid */
.client-logos-grid {
    padding: 8rem 0;
    background-color: #FFFFFF;
}

.client-logos-grid h2 {
    font-size: 2.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4rem;
    color: #0A0A0A;
}

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

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    transition: border-color 0.3s ease;
}

.logo-item:hover {
    border-color: #444444;
}

.logo-item img {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

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

/* Vertical Landing Responsive */
@media (max-width: 1024px) {
    .service-hero {
        padding: 10rem 0 4rem 0;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

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

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

@media (max-width: 768px) {
    .service-hero {
        padding: 8rem 0 3rem 0;
    }

    .service-hero h1 {
        font-size: 1.8rem;
    }

    .methodology-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .methodology-step {
        text-align: left;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
        align-items: start;
    }

    .methodology-step-number {
        grid-row: 1 / 3;
        font-size: 2.5rem;
    }

    .methodology-step p {
        max-width: none;
        margin: 0;
    }

    .methodology-step:not(:last-child)::after {
        display: none;
    }

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

/* ============================================
   SUBPAGE — Harvey-style redesign
   ============================================ */

/* 1. Hero */
.subpage-hero {
    padding: 12rem 0 4rem;
    text-align: left;
    background: #FFFFFF;
}

.subpage-hero .breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 2rem;
}

.subpage-hero .breadcrumb a {
    color: #888888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.subpage-hero .breadcrumb a:hover {
    color: #0A0A0A;
}

.subpage-hero .breadcrumb span {
    margin: 0 0.5rem;
    color: #CCCCCC;
}

.subpage-hero .breadcrumb .current {
    color: #0A0A0A;
    font-weight: 500;
}

.subpage-hero h1 {
    font-family: 'Lora', serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.15;
    max-width: 900px;
    margin: 0;
    color: #0A0A0A;
}

/* 2. Showcase */
.subpage-showcase {
    background: #FFFFFF;
    padding: 4rem 0;
    text-align: center;
}

.subpage-showcase .showcase-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #1A1A1A;
}

/* 2b. Claim */
.subpage-claim {
    background: #FFFFFF;
    padding: 6rem 0;
}

.claim-title {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.1;
    color: #0A0A0A;
    margin: 0 0 4rem;
}

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

.claim-card-media {
    aspect-ratio: 1/1;
    background: #1A1A1A;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.claim-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0A0A0A;
    margin: 0 0 0.6rem;
}

.claim-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .claim-title {
        font-size: 2.5rem;
    }
    .claim-cards {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* 3. Split sections — 2 columns with stacked features */
.subpage-split {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.subpage-split .split-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
}

.subpage-split.reversed .split-grid {
    grid-template-columns: 1fr 1.4fr;
}

.split-media {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #0A0A0A;
}

.split-media-light {
    background: #F0F0F0;
}

.feature-stack {
    display: flex;
    flex-direction: column;
}

.feature-stack-item {
    padding: 2rem 0;
    border-bottom: 1px solid #EAEAEA;
}

.feature-stack-item:first-child {
    padding-top: 0;
}

.feature-stack-item:last-child {
    border-bottom: none;
}

.feature-stack-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #0A0A0A;
}

.feature-stack-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666666;
}

/* 4. Capabilities */
.subpage-capabilities {
    padding: 6rem 0;
    background-color: #F0EDE8;
}

.subpage-capabilities h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.3;
    margin-bottom: 3rem;
    color: #0A0A0A;
}

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

.capability-card {
    padding: 2rem;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    background: #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.capability-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0A0A0A;
}

.capability-card p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* 5. Projects */
.subpage-projects {
    padding: 6rem 0;
    background-color: #F0EDE8;
}

.subpage-projects h2 {
    font-family: 'Lora', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: #0A0A0A;
}

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

.subpage-project-card {
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subpage-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.subpage-project-card .project-image {
    width: 100%;
    aspect-ratio: 16/10;
    background-color: #1A1A1A;
}

.subpage-project-card .project-body {
    padding: 1.5rem;
}

.subpage-project-card .project-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888888;
    margin-bottom: 0.5rem;
}

.subpage-project-card .project-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0A0A0A;
}

.subpage-project-card .project-body p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* Homepage projects grid — 3 columns, title below image */
.projects-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card-home {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card-home .project-image {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #1A1A1A;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.project-card-home:hover .project-image {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.project-image-overlay {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: contain;
    background: #1A1A1A;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    flex-shrink: 0;
    padding: 8px;
}

.project-overlay-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.project-overlay-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.project-overlay-sector {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-card-home .project-meta {
    padding: 1rem 0 0;
}

.project-card-home .project-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888888;
    margin-bottom: 0.4rem;
}

.project-card-home .project-meta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #0A0A0A;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .projects-grid-home {
        grid-template-columns: 1fr;
    }
}

/* 6. FAQ */
.subpage-faq {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.subpage-faq .faq-inner {
    max-width: 800px;
}

.subpage-faq h2 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #0A0A0A;
}

.subpage-faq details {
    border-bottom: 1px solid #EAEAEA;
    padding: 1.5rem 0;
}

.subpage-faq details:first-of-type {
    border-top: 1px solid #EAEAEA;
}

.subpage-faq summary {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    color: #0A0A0A;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subpage-faq summary::-webkit-details-marker {
    display: none;
}

.subpage-faq summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #888888;
    flex-shrink: 0;
    margin-left: 1rem;
}

.subpage-faq details[open] summary::after {
    content: '−';
}

.subpage-faq details[open] summary {
    margin-bottom: 1rem;
}

.subpage-faq details p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666666;
    padding-right: 2rem;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== SCROLL FEATURES ===== */
.scroll-features {
    background: #0A0A0A;
    padding: 6rem 0;
}

.scroll-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding: 10rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid #1E1E1E;
}

.scroll-block:first-child {
    border-top: none;
}

.scroll-block-media {
    aspect-ratio: 1/1;
    background: #1A1A1A;
    border-radius: 12px;
}

.scroll-block-text h3 {
    font-family: 'Lora', serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0 0 1.5rem;
}

.scroll-block-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #888888;
    line-height: 1.65;
    margin: 0 0 2rem;
    max-width: 380px;
}

.scroll-cta {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    border: 1px solid #333333;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

.scroll-cta:hover {
    border-color: #FFFFFF;
}

@media (max-width: 768px) {
    .scroll-block,
    .scroll-block.reversed {
        grid-template-columns: 1fr;
        padding: 5rem 1.5rem;
        gap: 2.5rem;
    }

    .scroll-block.reversed .scroll-block-media {
        order: -1;
    }

    .scroll-block-text h3 {
        font-size: 2.5rem;
    }
}

/* ===== SOFTWARE STACK ===== */
.software-stack {
    background: #0A0A0A;
    color: #FFFFFF;
}

.software-stack-inner {
    display: flex;
    gap: 8rem;
    align-items: flex-start;
    padding: 10rem 0;
}

.software-sticky-col {
    flex: 0 0 40%;
    position: sticky;
    top: 40vh;
    align-self: flex-start;
}

.software-sticky-col h2 {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
}

.software-scroll-col {
    flex: 0 0 55%;
}

.software-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666666;
    margin: 0 0 1.5rem;
}

.software-list {
    display: flex;
    flex-direction: column;
}

.software-list hr {
    border: none;
    border-top: 1px solid #222222;
    margin: 0;
}

.software-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 0.75rem;
    cursor: default;
    transition: background 0.15s ease;
    border-radius: 6px;
}

.software-row:hover {
    background: #111111;
}

.software-icon {
    width: 40px;
    height: 40px;
    background: #1A1A1A;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.software-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.software-row span {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #FFFFFF;
}

.software-divider {
    border: none;
    border-top: 1px solid #333333;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .software-stack-inner {
        flex-direction: column;
        gap: 3rem;
        padding: 5rem 0;
    }

    .software-sticky-col {
        position: static;
        flex: none;
    }

    .software-sticky-col h2 {
        font-size: 2.5rem;
    }
}

/* Subpage Responsive */
@media (max-width: 1024px) {
    .subpage-hero h1 {
        font-size: 3rem;
    }

    .subpage-split .split-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .subpage-split.reversed .split-grid {
        grid-template-columns: 1fr;
    }

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

    .subpage-projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 8rem 0 3rem;
    }

    .subpage-hero h1 {
        font-size: 2.2rem;
    }

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

    .container {
        padding: 0 1.5rem;
    }
}

/* ============================================
   CLIENTS / CASE STUDIES PAGE
   ============================================ */

/* Case Studies Grid — 2 columns for detailed cards */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.case-study-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.case-study-client {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0A0A0A;
}

.case-study-vertical {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #888888;
    border-left: 1px solid #EAEAEA;
    padding-left: 0.75rem;
}

.case-study-details {
    margin-top: 1rem;
}

.case-study-details dt {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888888;
    margin-bottom: 0.25rem;
}

.case-study-details dd {
    font-size: 0.9rem;
    color: #444444;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.case-study-details dd:last-child {
    margin-bottom: 0;
}

/* Clients page — larger logos grid (6 columns) */
.logos-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

/* Case Studies & Logos Responsive */
@media (max-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }

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

/* ============================================
   INSIGHTS
   ============================================ */

/* Journal Hero — v2 */
.journal-hero {
    padding: 12rem 0 4rem;
}

.journal-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.journal-hero h1,
.light-theme .journal-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem) !important;
    font-weight: 800 !important;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #0A0A0A;
    max-width: 65%;
    text-transform: uppercase;
}

.journal-hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    max-width: 280px;
    padding-top: 1rem;
}

.journal-hero-image {
    padding: 0 0 6rem;
}

.journal-hero-image-inner {
    background-color: #F2F2F2;
    border-radius: 12px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.journal-hero-image-inner img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
    .journal-hero {
        padding: 10rem 0 3rem;
    }

    .journal-hero-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .journal-hero h1 {
        max-width: 100%;
        font-size: 2.5rem;
    }

    .journal-hero-desc {
        max-width: 100%;
    }

    .journal-hero-image-inner {
        min-height: 300px;
    }
}

.insights-hero {
    padding: 12rem 0 4rem;
    text-align: center;
}

.insights-hero h1 {
    font-size: 3.5rem;
    font-weight: 500;
    color: #0A0A0A;
}

/* Filters */
.insights-filters {
    padding: 0 0 3rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.insights-filters button {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.4rem;
    border: 1px solid #EAEAEA;
    border-radius: 100px;
    background: transparent;
    color: #666666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.insights-filters button:hover {
    border-color: #0A0A0A;
    color: #0A0A0A;
}

.insights-filters button.active {
    background-color: #0A0A0A;
    border-color: #0A0A0A;
    color: #FFFFFF;
}

/* Featured Article */
.insights-featured {
    padding: 0 0 4rem;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.featured-card-image {
    width: 100%;
    min-height: 360px;
    background-color: #F0F0F0;
    background-size: cover;
    background-position: center;
}

.featured-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.featured-card-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888888;
    margin-bottom: 1rem;
}

.featured-card-body h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #0A0A0A;
    line-height: 1.3;
}

.featured-card-body p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-card-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #AAAAAA;
}

/* Article Grid */
.insights-grid {
    padding: 0 0 6rem;
}

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

.article-card {
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
}

.article-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #F0F0F0;
}

.article-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888888;
    margin-bottom: 0.75rem;
}

.article-card-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0A0A0A;
    line-height: 1.4;
}

.article-card-body p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.article-card-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #AAAAAA;
}

.article-card-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0A0A0A;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease;
}

.article-card:hover .article-card-link {
    gap: 0.5rem;
}

/* Newsletter */
.insights-newsletter {
    background-color: #F0EDE8;
    padding: 6rem 0;
    text-align: center;
}

.insights-newsletter h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #0A0A0A;
}

.insights-newsletter p {
    font-size: 0.95rem;
    color: #666666;
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    gap: 0.75rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 0.85rem 1.2rem;
    border: 1px solid #EAEAEA;
    border-radius: 4px;
    background: #FFFFFF;
    color: #0A0A0A;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: #0A0A0A;
}

.newsletter-form button {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.85rem 1.5rem;
    background-color: #0A0A0A;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
    background-color: #1A1A1A;
}

/* Insights Responsive */
@media (max-width: 1024px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-card-body {
        padding: 2rem;
    }

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

@media (max-width: 768px) {
    .insights-hero {
        padding: 10rem 0 3rem;
    }

    .insights-hero h1 {
        font-size: 2.5rem;
    }

    .insights-grid-inner {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .featured-card-body h2 {
        font-size: 1.4rem;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* Contact Hero */
.contact-hero {
    padding: 12rem 0 4rem;
    text-align: center;
    background-color: #FFFFFF;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 500;
    color: #0A0A0A;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: #888888;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Contact Content */
.contact-content {
    padding: 4rem 0 6rem;
    background-color: #FFFFFF;
}

.contact-content-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 6rem;
    align-items: start;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0A0A0A;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    border: 1px solid #EAEAEA;
    border-radius: 4px;
    background-color: #FFFFFF;
    color: #0A0A0A;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0A0A0A;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #CCCCCC;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23888888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    align-self: flex-start;
    padding: 1rem 3rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 0.5rem;
}

.contact-info-block h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888888;
    margin-bottom: 0.75rem;
}

.contact-info-block p {
    font-size: 0.95rem;
    color: #0A0A0A;
    line-height: 1.6;
}

.contact-info-block a {
    color: #0A0A0A;
    transition: color 0.2s ease;
}

.contact-info-block a:hover {
    color: #888888;
}

.contact-social {
    display: flex;
    gap: 1rem;
}

.contact-social a {
    color: #0A0A0A;
    transition: color 0.2s ease;
}

.contact-social a:hover {
    color: #888888;
}

/* Map Placeholder */
.contact-map {
    background-color: #F0EDE8;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #EAEAEA;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #888888;
}

/* Contact Responsive */
@media (max-width: 1024px) {
    .contact-content-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

@media (max-width: 768px) {
    .contact-hero {
        padding: 10rem 0 3rem;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

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

    .map-placeholder {
        height: 280px;
    }
}

/* =============================================
   LEGAL PAGES — Override light-theme defaults
   ============================================= */

/* Override the centered text from .light-theme main */
.light-theme main.legal-page {
    text-align: left;
    padding: 10rem 0 6rem;
    min-height: 80vh;
}

.legal-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
}

/* Header */
.legal-header {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E5E5E5;
}

.legal-header h1 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #0A0A0A;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.legal-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
    display: block;
    text-align: center;
    margin-bottom: 3rem;
}

/* TOC / Índice */
.legal-toc {
    background-color: #F0EDE8;
    border: 1px solid #EEE;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.legal-toc > p {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 2rem;
}

.legal-toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 0.6rem;
    break-inside: avoid;
}

.legal-toc ol li a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.legal-toc ol li a::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-size: 0.75rem;
    font-weight: 600;
    color: #BBB;
    min-width: 1.5rem;
}

.legal-toc ol li a:hover {
    color: #0A0A0A;
}

/* Sections */
.legal-section {
    margin-bottom: 3rem;
    text-align: left;
}

.legal-section + .legal-section {
    padding-top: 1rem;
    border-top: 1px solid #F0F0F0;
}

.legal-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #0A0A0A;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    text-align: left;
}

.legal-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    text-align: left;
}

.legal-section p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 0.8rem;
    text-align: left;
}

.legal-section ul,
.legal-section ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-section li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 0.4rem;
}

.legal-section a {
    color: #1a365d;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(26, 54, 93, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.legal-section a:hover {
    text-decoration-color: #1a365d;
}

/* Data block (company info) */
.legal-data-block {
    background-color: #F0EDE8;
    border-left: 3px solid #0A0A0A;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0 2rem;
    border-radius: 0 6px 6px 0;
    text-align: left;
}

.legal-data-block dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.5rem 1.5rem;
    margin: 0;
}

.legal-data-block dt {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.legal-data-block dd {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #333;
    margin: 0;
}

/* Cookie table */
.legal-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    border-radius: 8px;
    border: 1px solid #EEE;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-align: left;
}

.legal-table thead {
    background-color: #F0EDE8;
}

.legal-table th {
    text-align: left;
    padding: 0.875rem 1.25rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.75rem;
    border-bottom: 1px solid #EEE;
}

.legal-table td {
    padding: 0.875rem 1.25rem;
    color: #444;
    border-bottom: 1px solid #F5F5F5;
    line-height: 1.5;
    vertical-align: top;
}

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

.legal-table tbody tr:hover {
    background-color: #F0EDE8;
}

.legal-table td:first-child {
    font-weight: 700;
    color: #666;
    width: 30%;
}

/* Cookie badges */
.cookie-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.cookie-badge--necessary { background-color: #E8F5E9; color: #2E7D32; }
.cookie-badge--analytics { background-color: #FFF3E0; color: #E65100; }
.cookie-badge--marketing { background-color: #E3F2FD; color: #1565C0; }
.cookie-badge--preferences { background-color: #F3E5F5; color: #7B1FA2; }

/* Responsive */
@media (max-width: 768px) {
    .light-theme main.legal-page {
        padding: 8rem 0 4rem;
    }

    .legal-container {
        padding: 0 1.5rem;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-toc ol {
        columns: 1;
    }

    .legal-data-block dl {
        grid-template-columns: 1fr;
    }

    .legal-data-block dt {
        margin-top: 0.75rem;
    }

    .legal-data-block dt:first-child {
        margin-top: 0;
    }

    .legal-section h2 {
        font-size: 1.2rem;
    }
}

/* ============================================
   PROJECT CARD CLIENT BADGE (Saffron-style)
   ============================================ */

.project-card-home .project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
    pointer-events: none;
    z-index: 1;
}

.project-client-badge {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-client-badge .badge-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 7px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.project-client-badge .badge-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    display: block;
    line-height: 1.2;
}

.project-client-badge .badge-sector {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.7);
    display: block;
    line-height: 1.2;
}

/* Vertical hub labels — non-clickable nav items */
.nav-vertical-label {
  cursor: default;
}

/* Work page */
.work-page {
  background-color: #F0EDE8;
  color: #0A0A0A;
}
.work-page .header:not(.header-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}
.work-page .header:not(.header-scrolled) .nav-vertical-label,
.work-page .header:not(.header-scrolled) .header-connect-btn {
  color: #0A0A0A !important;
  border-color: rgba(10,10,10,0.15) !important;
}
.work-page .header:not(.header-scrolled) .logo-img {
  filter: brightness(1) saturate(1) invert(0);
}

/* Nav coming soon items */
.nav-coming-soon {
    position: relative;
    display: block;
    color: rgba(255,255,255,0.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    cursor: default;
}
.nav-coming-soon-label {
    display: none;
    position: absolute;
    left: calc(100% + 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    background: #CC2936;
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
    pointer-events: none;
}
.nav-coming-soon:hover {
    color: rgba(255,255,255,0.8);
}
.nav-coming-soon:hover .nav-coming-soon-label {
    display: block;
}

/* Work page — force uniform beige background on all sections */
.work-page .subpage-split,
.work-page .subpage-hero,
.work-page .subpage-showcase,
.work-page .subpage-gallery,
.work-page .cta-banner--light {
  background-color: #F0EDE8;
}
.work-page .cta-banner--light {
  border-top-color: rgba(10,10,10,0.1);
}

/* Work page — hover media */
.work-hover-media {
  position: fixed;
  width: 320px;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  pointer-events: none;
  z-index: 999;
  display: none;
}
/* =============================================
   EMPRESA PAGE — Header cream para unificar con el fondo
   ============================================= */
.empresa-page .header,
.empresa-page .header.header-scrolled,
.empresa-page .header.menu-active {
    background-color: #F0EDE8 !important;
    border-bottom-color: transparent !important;
}
.empresa-page .nav .nav-vertical-label,
.empresa-page .logo {
    color: #0A0A0A !important;
}
.empresa-page .nav .nav-vertical-label:hover {
    color: #444444 !important;
}
.empresa-page .mega-menu a {
    color: rgba(255, 255, 255, 0.5) !important;
}
.empresa-page .mega-menu a:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}
.empresa-page .header-connect-btn {
    color: #0A0A0A !important;
    border-color: rgba(10, 10, 10, 0.25) !important;
}
.empresa-page .connect-arrow {
    background: #0A0A0A !important;
    color: #FFFFFF !important;
}
.empresa-page .mobile-menu-btn {
    color: #0A0A0A !important;
}
