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

:root {
    --gradient-pink: #F907FC;
    --gradient-blue: #0779FF;
    --dark-blue: #1D3253;
    --text-gray: #64748B;
    --light-gray: #F8FAFC;
    --border-gray: #E3EAF2;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-blue);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-blue);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.gradient-text {
    background: linear-gradient(72deg, var(--gradient-pink) 0%, var(--gradient-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(72deg, var(--gradient-pink) 0%, var(--gradient-blue) 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 7, 252, 0.3);
}

.btn-white {
    background: white;
    color: var(--dark-blue);
    border: none;
    padding: 14px 48px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-text .btn-white {
    background: white;
    border: 2px solid white;
    padding: 14px 48px;
}

.cta-text .btn-white span {
    background: linear-gradient(72deg, var(--gradient-pink) 0%, var(--gradient-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text .btn-white:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-text .btn-white:hover span {
    color: var(--dark-blue);
    -webkit-text-fill-color: var(--dark-blue);
    background: none;
}

/* Placeholders */
.logo-placeholder {
    background: var(--light-gray);
    border: 2px dashed var(--border-gray);
    border-radius: 8px;
    padding: 12px 24px;
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
    display: block;
    object-fit: contain;
}

.logo-placeholder.large {
    padding: 24px 48px;
    font-size: 18px;
}

.logo-placeholder.small {
    padding: 8px 16px;
    font-size: 12px;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

.photo-placeholder[src=""] {
    background: var(--light-gray);
    border: 4px dashed var(--border-gray);
}

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

.image-placeholder[src=""] {
    background: var(--light-gray);
    border: 2px dashed var(--border-gray);
    border-radius: 12px;
}

.phone-placeholder {
    width: 100%;
    max-width: 300px;
    height: 100%;
    min-height: 600px;
    display: block;
    object-fit: contain;
}

.phone-placeholder[src=""] {
    background: var(--light-gray);
    border: 2px dashed var(--border-gray);
    border-radius: 40px;
}

/* ==================== HEADER ==================== */
.header {
    background: white;
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header .btn-primary {
    font-family: 'Roboto', sans-serif;
}

.logo .logo-placeholder,
.logo svg {
    width: auto;
    height: 30px;
    display: inline-block;
}

.nav-desktop {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.nav-desktop a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: var(--gradient-pink);
}

.menu-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-burger span {
    width: 24px;
    height: 3px;
    background: var(--dark-blue);
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: var(--dark-blue);
    line-height: 1;
    z-index: 2;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 80px;
    align-items: flex-start;
    flex: 1;
}

.mobile-nav a {
    color: var(--dark-blue);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
}

.mobile-nav .btn-primary {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 18px;
    color: white;
}

/* ==================== HERO ==================== */
.hero {
    padding: 120px 0 60px;
    text-align: center;
    background: white;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.logo-hero {
    margin-bottom: 40px;
}

.logo-hero svg {
    width: auto;
    height: 90px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    color: var(--dark-blue);
    margin-bottom: 40px;
    opacity: 0.85;
}

/* ==================== STATS ==================== */
.stats {
    padding: 60px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    background: white;
    border: 2px solid var(--border-gray);
    border-radius: 32px;
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1.5px;
    background: linear-gradient(72deg, var(--gradient-pink) 0%, var(--gradient-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.stat-label {
    color: var(--dark-blue);
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

/* ==================== INTRO ==================== */
.intro {
    padding: 60px 0;
    background: white;
}

.section-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    text-align: left;
    line-height: 1.2;
    scroll-margin-top: 100px;
}

.intro .section-title {
    text-align: left;
}

.section-subtitle {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 32px;
    line-height: 1.6;
    opacity: 0.85;
    text-align: left;
    max-width: 800px;
}

.intro .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.intro-content {
    display: grid;
    grid-template-columns: 4fr 1.75fr;
    gap: 32px;
    align-items: stretch;
    min-height: 600px;
}

.intro-text-card {
    background: white;
    border: 2px solid var(--border-gray);
    border-radius: 32px;
    padding: 65px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.intro-text-card>*:not(.btn-primary) {
    flex-shrink: 0;
}

.intro-text-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    margin-bottom: 24px;
    color: #1D3254;
    font-weight: 600;
}

.intro-text-card p {
    margin-bottom: 24px;
    color: #1D3254;
    font-size: 18px;
    line-height: 1.7;
}

.intro-text-card strong {
    color: #1D3253;
    font-size: 24px;
    font-weight: 500;
}

.intro-text-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.intro-text-card li {
    color: #1D3253;

    font-size: 18px;

    font-weight: 500;
}

.intro-text-card .btn-primary {
    margin-top: auto;
    width: fit-content;
    max-width: 280px;
    padding: 16px 40px;
    font-size: 18px;
}

.intro-logo-card {
    background: white;
    border: 2px solid #EFEFEF;
    border-radius: 32px;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
    min-height: 600px;
}

.intro-logo-card .logo-placeholder {
    width: 100%;
    max-width: 200px;
}

.intro-logo-card svg {
    width: 100%;
    height: auto;
}

/* ==================== TEAM ==================== */
.team {
    padding: 60px 0;
    background: white;
}

.team .section-title {
    text-align: left;
}

.team-grid {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.team-grid::-webkit-scrollbar {
    display: none;
}

.team-member {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.member-photo {
    width: 100%;
    max-width: 280px;
    height: 280px;
    margin: 0 0 20px 0;
    border-radius: 50% !important;
    border: 6px solid #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden;
}

.member-photo img {
    border-radius: 50%;
}

.member-name {
    color: var(--Bleu-fonc, #1D3253);
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 8px;
}

.member-title {
    color: var(--Bleu-fonc, #1D3253);
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    margin-bottom: 8px;
}

.member-bio {
    color: var(--Bleu-fonc, #1D3253);
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    line-height: 24px;
    text-align: left;
}

/* ==================== IMPACT ==================== */
.impact {
    padding: 60px 0;
    background: white;
}

.impact-button-wrapper {
    text-align: left;
    margin-bottom: 5px;
}

.impact-button-wrapper .btn-primary {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.impact-button-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 7, 252, 0.3);
}

.impact-staircase {
    position: relative;
    min-height: 800px;
    margin-top: -240px;
}

.impact-item {
    position: absolute;
}

.impact-item .impact-image {
    margin-bottom: 24px;
    display: inline-block;
}

/* Width and height constraints for first item (map) */
.impact-item.item-1 .impact-image {
    width: 540px;
    height: 304px;
}

/* CO2 image - larger to match map size visually */
.impact-item.item-2 .impact-image {
    width: 600px;
    height: 338px;
}

/* Width constraint for last item */
.impact-item.item-3 .impact-image {
    width: 320px;
}

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

.impact-item .impact-text {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.impact-item .impact-text p {
    margin-bottom: 8px;
    color: var(--dark-blue);
    font-size: 15px;
    line-height: 1.6;
}

.impact-item .impact-text p strong {
    font-size: 18px;
    display: block;
    margin-bottom: 12px;
}

/* Inverted staircase: bottom left to top right */
.impact-item.item-1 {
    left: 0;
    bottom: 0;
}

.impact-item.item-1 .impact-text {
    margin-left: 20px;
    width: 540px;
}

.impact-item.item-2 {
    left: 350px;
    bottom: 150px;
}

.impact-item.item-2 .impact-text {
    margin-left: 220px;
    margin-top: -10px;
    width: 480px;
}

.impact-item.item-3 {
    left: 950px;
    bottom: 300px;
}

.impact-item.item-3 .impact-text {
    margin-left: 20px;
    width: 400px;
}

/* ==================== TRUST ==================== */
.trust {
    padding: 60px 0;
    background: white;
}

.trust .section-title {
    margin-bottom: 16px;
    text-align: left;
}

.trust .section-subtitle {
    margin-bottom: 60px;
    text-align: left;
}

.trust-zigzag {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    min-height: 300px;
}

.trust-card {
    flex: 1;
    max-width: 300px;
    background: white;
    border: 2px solid var(--border-gray);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* 8:5 aspect ratio */
    aspect-ratio: 8 / 5;
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.trust-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--dark-blue);
    line-height: 1.5;
}

.trust-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.trust-logo {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.trust-logo {
    position: relative;
}

.trust-logo .logo-placeholder {
    width: 100%;
    max-width: 300px;
    height: 180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 24px;
    position: relative;
    background: white;
    border: none;
}

.trust-logo .logo-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(72deg, var(--gradient-pink) 0%, var(--gradient-blue) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.trust-logo svg {
    width: auto;
    height: auto;
    max-width: 150%;
    max-height: 150%;
}

.trust-logo .logo-placeholder img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
}

/* Horizontal zigzag: alternating up/down */
.trust-card.card-1 {
    margin-top: 0;
}

.trust-card.card-2 {
    margin-top: 100px;
}

.trust-card.card-3 {
    margin-top: 0;
}

.trust-card.card-4 {
    margin-top: 100px;
}

/* ==================== ECONOMIC ==================== */
.economic {
    padding: 60px 0;
    background: white;
}

.economic .container {
    position: relative;
}

.economic .section-title {
    margin-bottom: 16px;
    text-align: left;
}

.economic .section-subtitle {
    margin-bottom: 24px;
    text-align: left;
}

.economic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

.economic-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.economic-phone {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    position: absolute;
    top: -60px;
    right: 0;
    bottom: 0;
    width: calc(50% - 40px);
}

.economic-phone .phone-placeholder {
    height: 100%;
    align-self: stretch;
}

.phone-mockup-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    width: 100%;
    max-width: 540px;
    height: 100%;
    min-height: 1080px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.phone-screen {
    position: absolute;
    width: 93.5%;
    max-width: 506px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-52%, -51.25%);
}

.economic-item {
    background: white;
    border: 3px solid var(--border-gray);
    border-radius: 32px;
    padding: 20px 40px;
    padding-left: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    width: fit-content;
    max-width: 100%;
    transform: rotate(-1.5deg);
}

.economic-item:nth-child(2) {
    transform: rotate(1deg);
}

.economic-item:nth-child(3) {
    transform: rotate(-0.5deg);
}

.economic-item h3 {
    font-size: 32px;
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    background: linear-gradient(72deg, var(--gradient-pink) 0%, var(--gradient-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.economic-item h3 .number {
    font-size: 36px;
}

.economic-item p {
    color: var(--text-gray);
    font-size: 19px;
    line-height: 1.5;
}

.economic-phone {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}


/* ==================== DOCUMENTS ==================== */
.documents {
    padding: 60px 0;
    background: white;
}

.documents .section-title {
    margin-bottom: 16px;
    text-align: left;
}

.documents .section-subtitle {
    margin-bottom: 60px;
    text-align: left;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.document-card {
    border-radius: 50px;
    border: 2px solid #EFEFEF;
    background: #FFF;
    padding: 42px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.document-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.document-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.document-card p {
    color: var(--text-gray);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
}

.document-preview {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.document-card .btn-primary {
    width: 100%;
    text-align: center;
}

.btn-disabled {
    background: #9CA3AF !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}

.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ==================== CTA FINAL ==================== */
.cta-final {
    padding: 60px 0 200px;
    background: white;
}

.cta-content {
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 3px, transparent 3px),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 3px, transparent 3px),
        linear-gradient(to top right, #F907FC 0%, #0779FF 100%);
    background-size: 24px 24px, 24px 24px, 100%;
    background-position: 0 0, 12px 12px, 0 0;
    border-radius: 48px;
    padding: 100px 60px 60px 100px;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-text {
    position: relative;
    z-index: 1;
    max-width: 50%;
}

.cta-text h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
    font-weight: 600;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
}

.cta-text .btn-white {
    margin-top: 160px;
}

.cta-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-dashed-circle {
    width: 640px;
    height: 448px;
    display: block;
    position: absolute;
    bottom: -10px;
    right: -30px;
}

.cta-full-circle {
    width: 576px;
    height: 403px;
    display: block;
    position: absolute;
    bottom: -10px;
    right: -30px;
}

.cta-center-image {
    position: absolute;
    bottom: 0px;
    right: 20px;
    width: 428px;
    height: 428px;
    object-fit: cover;
}

.cta-center-image[src=""] {
    background: var(--light-gray);
    border: 2px dashed var(--border-gray);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

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

    .intro-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .intro-logo-card {
        order: -1;
    }

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

    .economic-content {
        grid-template-columns: 1fr;
        gap: 40px;
        display: flex;
        flex-direction: column;
    }

    .economic-phone {
        order: 2;
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        justify-content: center;
    }

    .economic-list {
        order: 1;
        width: 100%;
        margin-top: 0;
    }

    .economic-item {
        width: 100%;
        max-width: none;
        margin-bottom: 8px;
    }

    .economic-item:nth-child(1) {
        transform: rotate(-0.88deg) !important;
    }

    .economic-item:nth-child(2) {
        transform: rotate(0.08deg) !important;
    }

    .economic-item:nth-child(3) {
        transform: rotate(-1.32deg) !important;
    }

    .economic-item h3 {
        font-size: 24px;
    }

    .economic-item h3 .number {
        font-size: 24px;
    }

    .economic-item p {
        font-size: 16px;
    }

    .phone-frame {
        min-height: auto;
        max-height: 400px;
    }

    .cta-image {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav-desktop {
        display: none;
    }

    .header .btn-primary {
        display: none;
    }

    .menu-burger {
        display: flex;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .logo-hero svg {
        width: 125px;
        height: auto;
    }

    .logo-hero,
    .hero-title,
    .hero-subtitle {
        margin-bottom: 16px;
    }

    .stats,
    .intro,
    .team,
    .impact,
    .trust,
    .economic,
    .documents {
        padding: 40px 0;
    }

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

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

    .stat-number {
        font-size: 36px;
    }

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

    .section-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .intro-text-card {
        padding: 32px 24px;
    }

    .intro-text-card h3 {
        font-size: 24px;
    }

    .intro-text-card strong {
        font-size: 20px;
    }

    .intro-logo-card {
        display: none;
    }

    .team-member {
        flex: 0 0 166px;
    }

    .member-photo {
        width: 165px;
        height: 165px;
        margin-bottom: 8px;
    }

    .member-name {
        font-size: 20px;
        line-height: 32px;
        margin-bottom: 8px;
    }

    .member-title {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 8px;
    }

    .member-bio {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 8px;
    }

    .impact-staircase {
        margin-top: 0;
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .impact .section-title {
        font-size: 32px;
        line-height: 110%;
        margin-bottom: 16px;
    }

    .impact .section-subtitle {
        font-size: 16px;
        line-height: 160%;
        margin-bottom: 24px;
    }

    .impact-button-wrapper {
        margin-bottom: 24px;
    }

    .impact-item {
        position: relative;
        left: auto !important;
        bottom: auto !important;
        display: flex;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .impact-item.item-1 {
        order: 2;
    }

    .impact-item.item-2 {
        order: 3;
    }

    .impact-item.item-3 {
        order: 1;
    }

    .impact-item .impact-image {
        width: 168px !important;
        height: 200px !important;
        flex-shrink: 0;
        margin-bottom: 0;
        border-radius: 24px;
        overflow: hidden;
    }

    .impact-item .impact-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Force item 2 image specifically */
    .impact-item.item-2 .impact-image {
        width: 168px !important;
        height: 200px !important;
    }

    .impact-item.item-2 .impact-image img {
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        transform: scale(1.5);
    }

    .impact-item .impact-text {
        margin: 0 !important;
        width: auto !important;
        text-align: left;
    }

    .impact-item .impact-text p strong {
        font-size: 16px;
        color: var(--dark-blue);
        font-weight: 500;
        line-height: 160%;
        margin-bottom: 0;
    }

    .impact-item .impact-text p {
        font-size: 14px;
        color: var(--text-gray);
    }

    .trust .section-subtitle {
        margin-bottom: 32px;
    }

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

    .trust-zigzag {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 24px;
        gap: 16px;
        margin: 0 -24px;
        /* Negative margin to allow full-width scroll */
        padding-left: 24px;
        /* Compensate for negative margin */
        padding-right: 24px;
        /* Hide scrollbar */
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .trust-zigzag::-webkit-scrollbar {
        display: none;
    }

    .trust-card {
        min-width: 280px;
        width: 280px;
        scroll-snap-align: center;
        margin-top: 0 !important;
        /* Reset zigzag margins */
        aspect-ratio: auto;
        /* Reset desktop aspect ratio */
        height: auto;
        min-height: 400px;
        /* Ensure portrait look */
        display: flex;
        flex-direction: column;
    }

    .documents .section-subtitle {
        margin-bottom: 32px;
    }

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

    .cta-final {
        padding: 40px 0;
    }

    .cta-content {
        padding: 32px 24px;
        text-align: left;
    }

    .cta-text {
        max-width: 100%;
    }

    .cta-text h2 {
        font-size: 32px;
    }

    .cta-text p {
        font-size: 16px;
        line-height: 160%;
    }

    .cta-text .btn-white {
        margin-top: 40px;
        width: 100%;
        display: block;
        padding: 16px 24px;
    }

    .cta-decoration {
        display: none;
    }
}

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

    .stats-grid {
        gap: 12px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 32px;
    }

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

    .section-title {
        font-size: 32px;
    }



    .member-photo {
        width: 165px;
        height: 165px;
    }

    .trust-zigzag {
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}