:root {
    --white: #FFFFFF;
    --black: #191818;
    --action-red: #F1361D;
    --hero-red: #FF6854;
    --warm-grey: #FAF8F5;
    --warm-grey-dark: #211F1C;
    --grey-text-dark: rgba(0, 0, 0, 0.45);
    --grey-text-light: rgba(255, 255, 255, 0.65);
    --dark-object: rgba(0, 0, 0, 0.1);
    --light-object: rgba(255, 255, 255, 0.2);

    --container-width: 1352px;
    --padding-xxl: 80px;
}

@font-face {
    font-family: 'Graphik-Regular';
    src: url('../fonts/graphik/Graphik-Regular-Web.woff2') format('woff2'),
         url('../fonts/graphik/Graphik-Regular-Web.woff') format('woff'),
         url('../fonts/graphik/Graphik-Regular-Web.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik-Medium';
    src: url('../fonts/graphik/Graphik-Medium-Web.woff2') format('woff2'),
         url('../fonts/graphik/Graphik-Medium-Web.woff') format('woff'),
         url('../fonts/graphik/Graphik-Medium-Web.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik-Semibold';
    src: url('../fonts/graphik/Graphik-Semibold-Web.woff2') format('woff2'),
         url('../fonts/graphik/Graphik-Semibold-Web.woff') format('woff'),
         url('../fonts/graphik/Graphik-Semibold-Web.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik-Bold';
    src: url('../fonts/graphik/Graphik-Bold-Web.woff2') format('woff2'),
         url('../fonts/graphik/Graphik-Bold-Web.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base reset */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Graphik-Regular', sans-serif;
    color: var(--black);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: calc(var(--container-width) + 2 * var(--padding-xxl));
    margin: 0 auto;
    padding: 0 var(--padding-xxl);
    width: 100%;
}

/* Header */
.header {
    width: 100%;
}

.global-header {
    height: 48px;
    background: var(--white);
    display: flex;
    align-items: center;
}

.global-header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.global-header__logo img {
    height: 28px;
}

.global-header__user {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-avatar {
    position: relative;
    width: 32px;
    height: 32px;
}

.user-avatar img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.user-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: url('imgassed.svg') no-repeat center;
    background-size: contain;
}

.user-name {
    font-size: 14px;
    line-height: 22px;
}

.hero-nav {
    background: var(--warm-grey);
    padding: 40px 0;
}

.hero-nav__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.brand-logo {
    font-size: 36px;
    line-height: 1.12;
    font-family: 'Graphik-Bold', sans-serif;
    font-weight: 700;
    letter-spacing: -0.72px;
}

.brand-logo__red {
    color: var(--action-red);
}

.brand-descriptor {
    font-size: 20px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    margin: 9px 0 0 0;
}

.nav-menu {
    display: flex;
    gap: 24px;
    opacity: 0.9;
}

.nav-menu__link {
    font-size: 18px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    text-decoration: none;
    line-height: 1.26;
}

/* Hero Section */
.hero-section {
    background: #FF6854 url('imgg.png') no-repeat center;
    background-size: cover;
    padding: 60px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 48px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    line-height: 1.02;
    color: var(--white);
    text-align: center;
    margin: 0 0 40px 0;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 330px);
    grid-template-rows: auto auto;
    gap: 20px;
    width: 680px;
    flex-shrink: 0;
}

.hero-card {
    background: var(--dark-object);
    border-radius: 24px;
    padding: 32px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-card--wide {
    grid-column: span 2;
}

.hero-card__icon img {
    width: 32px;
    height: 32px;
}

.hero-card__title {
    font-size: 24px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    line-height: 1.12;
    color: var(--white);
    margin: 0;
}

.hero-card__text {
    font-size: 18px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    line-height: 1.26;
    color: var(--grey-text-light);
    margin: 0;
}

.hero-mockup {
    flex: 1;
    display: flex;
    align-items: flex-start;
    align-self: flex-start;
    min-width: 700px;
    margin-right: -400px;
}

.hero-mockup img {
    width: 685px;
    height: auto;
    /* Maintain aspect ratio */
    display: block;
}

/* Challenges Section */
.challenges-section {
    background-color: #000000;
    padding: 32px 0 60px 0;
}

.challenges-header {
    margin-bottom: 24px;
}

.challenges-title {
    font-size: 36px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--action-red);
    text-align: center;
    margin: 0;
    letter-spacing: -0.01em;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.challenge-card {
    background: var(--light-object);
    border-radius: 24px;
    padding: 24px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.challenge-card__title {
    font-size: 24px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--white);
    margin: 0;
    letter-spacing: -0.01em;
}

.challenge-card__text {
    font-size: 18px;
    line-height: 1.26;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-light);
    margin: 0;
    letter-spacing: -0.01em;
}

.challenges-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid var(--light-object);
    padding-top: 24px;
    margin-bottom: 40px;
}

.stat-item {
    padding-left: 32px;
}

.stat-value {
    font-size: 36px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--action-red);
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.stat-desc {
    font-size: 24px;
    line-height: 1.26;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-light);
    margin: 0;
    letter-spacing: -0.01em;
}

.challenges-cta {
    display: flex;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 65px;
    padding: 0 40px;
    border-radius: 16px;
    font-size: 20px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
    border: none;
}

.btn--red {
    background-color: var(--action-red);
    color: var(--white);
}

.btn:hover {
    opacity: 0.9;
}

/* Solutions Section */
.solutions-section {
    background-color: var(--warm-grey);
    padding: 60px 0 80px 0;
}

.solutions-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.solutions-main-title {
    font-size: 48px;
    line-height: 1.02;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--black);
    margin: 0;
    letter-spacing: -0.01em;
}

.solutions-subtitle {
    font-size: 24px;
    line-height: 1.26;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.solution-card {
    background: var(--white);
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 60px;
}

.solution-card__title {
    font-size: 36px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--black);
    text-align: center;
    margin: 0;
    letter-spacing: -0.01em;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    /* Reduced gap to fit all items */
    flex-wrap: nowrap;
    /* Force single row */
    width: 100%;
}

.badge {
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    /* Restored to 18px as requested */
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    line-height: 1.26;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    background-color: rgba(133, 96, 60, 0.1);
    color: var(--black);
    transition: background-color 0.2s, color 0.2s;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}

.badge--active {
    background-color: var(--black);
    color: var(--white);
}

.tag-cloud-container {
    min-height: 200px;
}

.tag-cloud {
    background-color: var(--warm-grey);
    border-radius: 24px;
    padding: 40px 40px 60px 40px;
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    align-items: center;
}

.tag-cloud.active {
    display: flex;
}

.tag {
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    line-height: 1.26;
    color: var(--black);
    display: inline-block;
}

.tag--reg {
    font-weight: 400;
}

.tag--16 {
    font-size: 16px;
}

.tag--18 {
    font-size: 18px;
}

.tag--20 {
    font-size: 20px;
}

.tag--24 {
    font-size: 24px;
}

.experts-slider-wrapper,
.support-slider-wrapper,
.quote-slider-wrapper {
    position: relative;
}

.swiper {
    width: 100%;
    height: auto;
}

.experts-swiper,
.support-swiper {
    padding: 10px 0;
}

.swiper-slide {
    height: auto;
    display: flex;
    /* Force equal height for cards in row */
}

.expert-card {
    height: 100%;
    /* Stretch to fill slide */
    background-color: var(--warm-grey);
    border-radius: 24px;
    padding: 32px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

/* Quote slider arrows positioning (50% overlap) */
.quote-slider-wrapper .slider-controls {
    left: -32px;
    /* 50% of 64px button */
    right: -32px;
}

/* Adaptive Quote Padding for Laptops to prevent icon overlap */
@media (max-width: 1440px) and (min-width: 1025px) {
    .quote-content {
        padding: 0 240px 0 196px; /* Keeping standard side padding */
    }

    .quote-text-wrapper,
    .case-block .quote-text-wrapper {
        max-width: 755px !important; /* Specific limit requested by user */
    }

    .quote-block--white {
        width: 100%;
    }
}



.expert-card__photo img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
}

.expert-card__name {
    font-size: 24px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
}

.expert-card__company {
    font-size: 16px;
    line-height: 1.26;
    font-weight: 400;
    margin: 0;
}

.expert-card__text {
    font-size: 18px;
    line-height: 1.26;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: -32px;
    right: -32px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    width: 64px;
    height: 64px;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.slider-btn:focus,
.slider-btn:active {
    outline: none;
    box-shadow: none;
}

.slider-btn img {
    width: 100%;
    height: 100%;
}

.slider-btn--left img {
    transform: scaleX(-1);
}


.solutions-cta {
    display: flex;
    justify-content: center;
}

/* Specific section overrides */
.solutions-section--liquidity {
    background-color: var(--white);
}

.solution-card--grey {
    background-color: var(--warm-grey);
}

.tag-cloud--white {
    background-color: var(--white);
}

.expert-card--white {
    background-color: var(--white);
}

/* Case Block */
.case-block {
    background-color: var(--warm-grey);
    border-radius: 36px;
    padding: 40px;
    margin-bottom: 60px;
}

.case-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.badge-tag {
    height: 32px;
    padding: 0 16px;
    background-color: var(--action-red);
    color: var(--white);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    width: fit-content;
}

.case-title {
    font-size: 36px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
    max-width: 650px;
}

.case-title--wide {
    max-width: 1000px;
    /* Increased to allow two-line layout as in design */
}

.case-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.case-image {
    width: 100%;
    height: 347px;
    border-radius: 12px;
    overflow: hidden;
}

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

.case-text {
    font-size: 18px;
    line-height: 1.46;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    letter-spacing: 0;
}

.case-text p {
    margin: 0 0 16px 0;
}

.case-text p:last-child {
    margin-bottom: 0;
}

.case-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.case-help-card {
    background-color: var(--white);
    border-radius: 24px;
    padding: 32px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.case-help-title {
    font-size: 36px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
}

.case-help-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-help-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 24px;
    line-height: 1.26;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    letter-spacing: -0.01em;
}

.case-help-list li img {
    width: 22.5px;
    height: 22.5px;
    margin-top: 4px;
}

.case-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-result-item {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.case-result-item:last-child {
    border-bottom: none;
}

.result-value {
    font-size: 48px;
    line-height: 1.02;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.result-desc {
    font-size: 18px;
    line-height: 1.26;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.case-quote {
    border-top: 1px solid var(--dark-object);
    padding-top: 60px;
}

.quote-content {
    position: relative;
    padding: 0 240px 0 196px;
    /* 196px left for icon, 240px right to clear closing icon (140+86) */
    width: 100%;
}

.quote-text-wrapper {
    width: 100%;
    max-width: 880px;
    /* Standard width for social proof */
}

/* Differentiating Implementation Case quotes - they should be a bit wider */
.case-block .quote-text-wrapper {
    max-width: 910px;
}

.quote-icon {
    position: absolute;
    width: 86px;
    height: 77px;
}

.quote-icon--left {
    left: 60px;
    top: 0;
}

.quote-icon--right {
    right: 80px;
    /* Asymmetrical offset from the design: 1352 - 1212 = 140px */
    top: 0;
    transform: rotate(180deg);
    /* Mirroring to make it a closing quote */
}

.quote-text {
    font-size: 36px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    margin: 0 0 32px 0;
    letter-spacing: -0.01em;
    text-align: left;
}

.quote-subtext {
    font-size: 24px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    margin: 0 0 32px 0;
    letter-spacing: -0.01em;
    text-align: left;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.quote-block {
    width: 100%;
}

.author-photo, .author-photo--initials {
    flex-shrink: 0; /* Preventing distortion in flex containers */
}

.author-photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 24px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--action-red);
    margin: 0 0 8px 0;
}

.author-company {
    font-size: 16px;
    line-height: 1.26;
    font-weight: 400;
    color: var(--grey-text-dark);
    margin: 0;
}

/* Reform Section */
.reform-image-container {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 60px;
}

.reform-image {
    width: 100%;
    height: auto;
    display: block;
}

.solutions-section--tax-reform {
    background-color: var(--warm-grey);
}

/* Methodologists Section */
.methodologists-section {
    background-color: var(--white);
    padding: 60px 0 80px 0;
}

.experts-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.methodologist-card {
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.methodologist-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
}

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

.methodologist-name {
    font-size: 18px;
    line-height: 1.26;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    margin: 0;
    text-align: center;
    color: var(--black);
    letter-spacing: -0.01em;
}

.methodologist-company {
    font-size: 16px;
    line-height: 1.26;
    font-weight: 400;
    margin: -15px 0 0 0;
    text-align: center;
    color: #9e9e9e;
    letter-spacing: -0.01em;
}

/* Expert Support Section */
.expert-support-section {
    background-color: var(--warm-grey);
    padding: 60px 0 80px 0;
}

.support-slider-wrapper {
    position: relative;
    margin-bottom: 60px;
}

.support-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.support-mockup {
    border-radius: 24px;
    overflow: hidden;
}

.support-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

/* Logic for slider controls in support section */
.support-slider[data-count="1"] .slider-controls,
.support-slider[data-count="2"] .slider-controls {
    display: none;
}

.btn--black {
    background-color: #454341;
    color: var(--white);
}

.solutions-section--nafd {
    background-color: var(--warm-grey);
}

.nafd-grid {
    display: grid;
    grid-template-columns: 646px 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.nafd-image-container {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.nafd-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nafd-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nafd-card {
    background-color: var(--white);
    border-radius: 24px;
    padding: 32px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nafd-card__icon img {
    width: 32px;
    height: 32px;
}

.nafd-card__title {
    font-size: 24px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    margin: 0;
    color: var(--black);
    letter-spacing: -0.01em;
}

.nafd-card__text {
    font-size: 18px;
    line-height: 1.26;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.solutions-section--ai-practice {
    background-color: var(--white);
}

/* Original AI Section (Now acts as the 3rd AI block) */
.solutions-section--ai {
    background-color: var(--white);
}

.ai-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.ai-card {
    background-color: var(--warm-grey);
    border-radius: 24px;
    padding: 32px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-card__icon img {
    width: 32px;
    height: 32px;
}

.ai-card__title {
    font-size: 24px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    /* Graphik Medium */
    margin: 0;
    letter-spacing: -0.01em;
}

.ai-card__text {
    font-size: 18px;
    line-height: 1.26;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    /* Graphik Medium */
    color: var(--grey-text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

/* Hot Topics Section */
.hot-topics-section {
    background-color: var(--warm-grey);
    padding: 60px 0 80px 0;
}

.hot-topics-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.badge--white {
    background-color: var(--white);
    color: var(--grey-text-dark);
    font-weight: 400;
}

.hot-topics-title {
    font-size: 48px;
    line-height: 1.02;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--black);
    margin: 0;
    letter-spacing: -0.01em;
}

.hot-topic-image-container {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 60px;
    /* 60px gap from mockup to grid */
}

.hot-topic-image {
    width: 100%;
    height: auto;
    display: block;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    /* 40px gap between cards */
}

.topic-card {
    background-color: var(--white);
    border-radius: 24px;
    padding: 32px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.topic-card__title {
    font-size: 24px;
    line-height: 1.12;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
}

.topic-card__meta {
    display: flex;
    gap: 12px;
}

.topic-meta-item {
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    /* Graphik Regular */
    color: var(--black);
}

.topic-meta-item img {
    width: 14px;
    /* Scaled icon */
    height: 14px;
}

.topic-card__text {
    font-size: 16px;
    line-height: 1.46;
    font-weight: 400;
    /* Graphik Regular */
    color: var(--grey-text-dark);
    margin: 0;
    letter-spacing: 0;
}

.topic-card__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--action-red);
    text-decoration: none;
    margin-top: auto;
}

.topic-card__link img {
    width: 16px;
    height: 16px;
}

/* Companies Section */
.companies-section {
    background-color: var(--warm-grey);
    padding: 60px 0 80px 0;
    overflow: hidden;
    /* Hide overflow from logo track */
}

.companies-title {
    font-size: 48px;
    line-height: 1.02;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--black);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.01em;
}

.companies-slider-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 80px;
    overflow: hidden;
}

.companies-track {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
    animation: scroll 40s linear infinite;
    mix-blend-multiply;
}

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

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

.company-logo {
    flex-shrink: 0;
}

.company-logo img {
    height: 80px;
    width: auto;
    opacity: 1;
    transition: opacity 0.3s;
}

.company-logo:hover img {
    opacity: 0.8;
}

.quote-slider-wrapper {
    position: relative;
    margin-bottom: 60px;
}

.quote-slider .slider-controls {
    display: flex;
}

/* Hide if only 1 quote */
.quote-slider[data-count="1"] .slider-controls {
    display: none;
}

.quote-block--white {
    background-color: var(--white);
    border-radius: 24px;
    padding: 60px 0;
}

.author-photo--initials {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--warm-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
}

/* Form Section */
.form-section {
    background-color: var(--white);
    padding: 60px 0 80px 0;
}

.form-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-title {
    font-size: 48px;
    line-height: 1.02;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--black);
    margin: 0;
}

.form-subtitle {
    font-size: 24px;
    line-height: 1.26;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    margin: 0;
}

.lead-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 276px);
    gap: 24px;
    width: 100%;
    justify-content: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    font-size: 16px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    line-height: 24px;
    color: var(--black);
}

.form-input {
    height: 48px;
    background-color: rgba(133, 96, 60, 0.1);
    border-radius: 10px;
    border: none;
    padding: 0 16px;
    font-size: 18px;
    font-family: 'Graphik-Regular', sans-serif;
    color: var(--black);
}

.form-input::placeholder {
    color: #9e9b99;
}

.form-agreement {
    display: flex;
    justify-content: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: var(--grey-text-dark);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 24px;
    width: 24px;
    background-color: var(--white);
    border: 1.4px solid rgba(69, 50, 35, 0.22);
    border-radius: 8px;
    position: relative;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--action-red);
    border-color: var(--action-red);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.agreement-text a {
    color: inherit;
}

.btn--wide {
    width: 100%;
}

.form-btn {
    width: 888px;
}

.form-success {
    text-align: center;
    width: 100%;
    padding: 40px 0;
}

.form-success .form-title {
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: var(--black);
    padding: 80px 0;
    color: var(--grey-text-light);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    height: 28px;
}

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

.footer-logo img {
    height: 28px;
}

.footer-logo-360 {
    margin-left: 5px;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav__link {
    font-size: 18px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
}

.footer-copyright {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

/* ==========================================================================
   Responsive Design (Media Queries)
   ========================================================================== */

/* Laptop / Desktop Small (1440px) */
@media (max-width: 1440px) {
    .container {
        padding: 0 40px;
    }

    .hero-mockup {
        margin-right: -200px;
    }

    .quote-content {
        padding: 0 120px 0 160px;
    }
}

/* Tablet Landscape (1200px) */
@media (max-width: 1200px) {
    :root {
        --padding-xxl: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-cards {
        width: 600px;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-mockup {
        min-width: 500px;
        margin-right: -100px;
    }

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

    .case-main,
    .case-info {
        gap: 30px;
    }

    .quote-content {
        padding: 0 80px 0 140px;
    }

    .quote-icon {
        width: 60px;
        height: 54px;
    }

    .quote-icon--left {
        left: 30px;
    }

    .quote-icon--right {
        right: 80px;
    }

    .nafd-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Tablet Portrait (1024px) */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
    }

    .hero-cards {
        width: 100%;
        grid-template-columns: 1fr !important;
        margin-bottom: 40px;
    }

    .hero-card {
        width: 100%;
    }

    .hero-card--wide {
        grid-column: span 1 !important;
    }

    .hero-mockup {
        min-width: 0;
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }

    .hero-mockup img {
        width: 100%;
        max-width: 799px;
    }

    .slider-controls {
        left: -15px;
        right: -15px;
    }

    .quote-slider-wrapper .slider-controls {
        left: -40px;
        right: -40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 500px;
    }

    .form-btn {
        width: 100%;
        max-width: 500px;
    }
}

/* Mobile Large (768px) */
@media (max-width: 768px) {
    .hero-nav__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .brand-logo {
        font-size: 32px;
    }

    .brand-descriptor {
        font-size: 18px;
    }

    .nav-menu__link {
        font-size: 14px;
    }

    .hero-title {
        font-size: 26px;
    }

    .challenges-title,
    .solutions-main-title,
    .form-title,
    .companies-title,
    .hot-topics-title {
        font-size: 26px;
        /* Max header size as requested */
    }


    .challenges-header {
        margin-bottom: 16px;
    }

    .challenge-card__title {
        font-size: 20px;
    }

    .challenge-card__text {
        font-size: 14px;
    }

    .stat-value {
        font-size: 26px;
    }

    .stat-desc {
        font-size: 18px;
    }

    .solutions-subtitle {
        font-size: 18px;
        line-height: 1.2;
    }

    .solution-card__title {
        font-size: 22px;
    }

    .badge-row {
        justify-content: center;
        flex-wrap: wrap;
        /* Wrap tags as requested */
        gap: 8px;
        overflow: visible;
    }

    .badge {
        font-size: 14px;
        height: 32px;
        padding: 0 12px;
    }

    .tag-cloud {
        padding: 20px;
        text-align: center;
    }

    .tag {
        display: inline-block !important;
        margin: 4px 8px;
    }

    .tag--16 {
        font-size: 12px;
    }

    .tag--18 {
        font-size: 14px;
    }

    .tag--20 {
        font-size: 16px;
    }

    .tag--24 {
        font-size: 19px;
    }

    .expert-card__name {
        font-size: 18px;
    }

    .challenges-grid,
    .challenges-stats {
        grid-template-columns: 1fr !important;
    }

    .case-title {
        font-size: 22px;
        max-width: 100%;
    }


    .case-text {
        font-size: 14px;
        line-height: 1.4;
    }

    .case-help-title {
        font-size: 20px;
    }

    .case-help-list li {
        font-size: 14px;
    }

    .result-value {
        font-size: 22px;
    }

    .result-desc {
        font-size: 14px;
    }

    .quote-content {
        padding: 40px 20px 20px 20px;
        text-align: left;
    }

    .quote-text {
        text-align: left;
        font-size: 20px;
    }

    .quote-subtext {
        text-align: left;
        font-size: 14px;
    }

    .quote-icon {
        width: 44px;
        height: 40px;
    }

    .quote-icon--left {
        left: 10px;
        top: 0;
    }

    .quote-icon--right {
        display: none;
    }

    .quote-text-wrapper {
        max-width: 100%;
        padding-left: 0;
        margin-top: 20px;
        /* Gap from the icon */
    }

    .slider-btn {
        width: 44px;
        height: 44px;
    }

    .slider-controls {
        left: 0;
        right: 0;
    }

    .author-name {
        font-size: 16px;
    }

    .experts-row {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
    }

    .methodologist-card {
        width: 120px;
        flex-shrink: 0;
    }

    .methodologist-photo {
        width: 120px;
        height: 120px;
    }

    .checkmark {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px;
        /* Force minimum width */
        flex-shrink: 0;
        /* Prevent shrinking in flex container */
    }

    .topic-card__title {
        font-size: 18px;
    }

    .btn {
        font-size: 14px;
        height: 50px;
    }

    .form-label {
        font-size: 14px;
    }

    .form-input {
        font-size: 14px;
    }

    .footer-nav__link {
        font-size: 14px;
    }

    .experts-grid,
    .ai-cards-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }

    .case-main,
    .case-info,
    .nafd-grid {
        grid-template-columns: 1fr;
    }

    .case-image {
        height: auto;
    }

    .case-help-card {
        width: 100%;
        padding: 24px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        height: auto;
    }

    .footer-nav,
    .footer-links {
        justify-content: center;
    }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 24px;
    }

    .solution-card {
        padding: 16px;
        gap: 24px;
    }

    .btn {
        height: 50px;
        font-size: 15px;
        padding: 0 16px;
        border-radius: 12px;
    }

    .form-btn {
        width: 100%;
    }

    .companies-slider-full {
        margin-bottom: 40px;
    }

    .company-logo img {
        height: 32px;
    }

    .quote-slider-wrapper .slider-controls {
        position: static;
        transform: none;
        margin-top: 10px;
        justify-content: center;
        gap: 16px;
    }
}