:root {
    --white: #f5efdf;
    --off-white: #f5efdf;
    --charcoal: #1a1a1a;
    --text: #333;
    --text-light: #777;
    --border: #e5e3de;

    /* Euro banknote palette — muted, desaturated */
    --euro-500: #7a6893;   /* purple  — logo, premium */
    --euro-200: #b09840;   /* ochre   — gold, value */
    --euro-100: #5d7a53;   /* green   — growth, trust */
    --euro-50:  #b07040;   /* copper  — warmth */
    --euro-20:  #5a7ea0;   /* blue    — stability */

    /* Default accent inherits €200 ochre (the "gold") */
    --gold: var(--euro-200);

    /* Title accent cycle — rouge, bleu, orange, vert, jaune, violet */
    --title-rouge:  #a6423a;
    --title-bleu:   var(--euro-20);
    --title-orange: var(--euro-50);
    --title-vert:   var(--euro-100);
    --title-jaune:  var(--euro-200);
    --title-violet: var(--euro-500);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* Euro spectrum bar — thin strip at page top */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1001;
    background: linear-gradient(to right,
        var(--euro-20),
        var(--euro-100),
        var(--euro-200),
        var(--euro-500)
    );
}

/* ── Typography ── */

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.15;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

/* Section titles — black and bold */
.about h2,
.why-us h2,
.team h2,
.testimonials h2,
.partners h2,
.contact-info h2 {
    color: var(--charcoal);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    margin-bottom: 0.5rem;
}

h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

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

/* ── Navigation ── */

nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: var(--white);
    border-bottom-color: var(--border);
}

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

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-mark {
    height: 28px;
    width: auto;
    display: block;
}

.logo span { color: var(--gold); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold); }

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    list-style: none;
    min-width: 220px;
    padding: 0.75rem 0;
    margin-top: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--gold);
    z-index: 200;
}

/* The dropdown's open/closed state is controlled by JS (mouseenter/mouseleave
   with a short close-delay, see main.js) via the .nav-dropdown--open class.
   This is more reliable than pure CSS :hover, which closes the instant the
   cursor leaves the link text before it reaches the menu below. */
.nav-dropdown.nav-dropdown--open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu li { padding: 0; }

.nav-dropdown-menu a {
    display: block;
    padding: 0.65rem 1.5rem;
    color: var(--text);
    font-size: 0.75rem;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover { color: var(--gold); background: var(--off-white); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    margin: 5px 0;
}

/* ── Buttons ── */

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--euro-500);
    color: #fff;
    text-decoration: none;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn:hover { opacity: 0.85; }

.btn-dark {
    background: var(--charcoal);
    color: #fff;
}

.btn-dark:hover { opacity: 0.85; }

.hero-link {
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin-left: 2rem;
    transition: color 0.3s;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
}

.hero-link:hover { color: var(--charcoal); border-color: var(--charcoal); }

/* ── Hero ── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Reserve room at the top so the vertically-centered content never
       drifts up underneath the fixed navbar — this can otherwise happen
       when the page is zoomed in and the viewport's effective height
       shrinks relative to the (unshrinking, in CSS px) hero text. */
    padding: 7rem 0 3rem;
    background: #fbf8f1;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 100%;
    margin: 0;
    padding-left: max(2rem, calc((100vw - 1100px) / 2));
    pointer-events: none;
}

.hero .container a,
.hero .container button {
    pointer-events: auto;
}

.hero-content {
    max-width: 680px;
    color: var(--charcoal);
}

.hero-label {
    display: block;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    color: var(--charcoal);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.8s 0.15s ease forwards;
}

.hero h1 em {
    color: var(--gold);
    font-style: italic;
}

.hero-description {
    font-size: 1.05rem;
    color: #383c3f;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 440px;
    text-align: justify;
    text-justify: inter-word;
    opacity: 0;
    animation: fadeIn 0.8s 0.3s ease forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.8s 0.45s ease forwards;
}

/* ── Shared Section ── */

section { padding: 7rem 2rem; }

.container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.section-header.center { text-align: center; }

/* ── Section accent colors (Euro palette) ── */

.about h4                   { color: var(--euro-200); }
.why-us .section-header h4  { color: var(--euro-100); }
.team .section-header h4    { color: var(--euro-20); }
.testimonials .section-header h4 { color: var(--euro-50); }
.partners h4                { color: var(--euro-100); }
.contact-info h4            { color: var(--euro-500); }

/* Feature numbers — each a different Euro tone */
.feature:nth-child(1) .feature-num { color: var(--title-rouge); }
.feature:nth-child(2) .feature-num { color: var(--title-bleu); }
.feature:nth-child(3) .feature-num { color: var(--title-orange); }
.feature:nth-child(4) .feature-num { color: var(--title-vert); }

/* ── About ── */

.about { background: var(--white); }

.about-title { margin-bottom: 2.5rem; }

.about-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 5rem;
    align-items: center;
}

.about-content h4 { color: var(--gold); }

.about-content p {
    font-size: 1.02rem;
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-word;
}

.about-content p:last-child { margin-bottom: 0; }

.about-image { position: relative; }

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--charcoal);
    color: #fff;
    padding: 1.5rem 2rem;
}

.about-image--no-photo {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.75)),
        url('../images/stats-bg.jpg') center/cover no-repeat;
    background-color: var(--charcoal);
    border: 1px solid var(--gold);
}

.about-image--no-photo .about-stats {
    position: static;
    background: transparent;
    text-align: center;
    padding: 0;
}

.about-image--no-photo .about-stats .number {
    font-size: 6rem;
}

.about-image--no-photo .about-stats .label {
    font-size: 0.85rem;
}

.about-stats .number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.about-stats .label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.6;
    display: block;
    margin-top: 0.25rem;
}

/* ── Features (Why Us) ── */

.why-us { background: #fbf8f1; }

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature {
    padding: 0 2rem;
    border-left: 1px solid var(--border);
}

.feature:first-child {
    border-left: none;
    padding-left: 0;
}

.feature:last-child { padding-right: 0; }

.feature-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--border);
    display: block;
    line-height: 1;
    margin-bottom: 1.5rem;
}

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

.feature p {
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
}

/* ── Philosophy ── */

.philosophy {
    background:
        linear-gradient(rgba(26, 26, 26, 0.82), rgba(26, 26, 26, 0.82)),
        url('../images/methode-bg.jpg') center/cover no-repeat;
    background-color: var(--charcoal);
    color: #fff;
    text-align: center;
}

.philosophy h2 { color: #fff; font-weight: 700; }

.philosophy blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    color: #fff;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}

.pillar {
    padding: 0 2.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar:first-child {
    border-left: none;
    padding-left: 0;
}

.pillar:last-child { padding-right: 0; }

.pillar h3 {
    color: var(--euro-200);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.pillar p {
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
    text-align: center;
}

/* ── Team ── */

.team { background: #fbf8f1; }

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

.team-new-row {
    display: contents;
}

.team-member { text-align: center; }

.team-member-image {
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.team-member-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(100%);
    transition: filter 0.6s ease;
}

.team-member:hover .team-member-image img { filter: grayscale(0%); }

.team-member-info h3 { margin-bottom: 0.25rem; }

.team-member-role {
    display: block;
    color: var(--euro-20);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.team-member-info > p:last-child {
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
}

/* ── Testimonials ── */

.testimonials { background: var(--white); }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.testimonial-card {
    padding: 0 2.5rem;
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.testimonial-card:first-child {
    border-left: none;
    padding-left: 0;
}

.testimonial-card:last-child { padding-right: 0; }

.testimonial-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: var(--euro-50);
    line-height: 1;
    margin-bottom: -0.5rem;
    opacity: 0.4;
}

.testimonial-quote--end {
    text-align: right;
    margin-top: -1.5rem;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.5rem;
    flex: 1;
    text-align: justify;
}

.testimonial-author { padding-top: 1rem; }

.testimonial-name {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.88rem;
    margin: 0;
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0.15rem 0 0;
}

/* ── Partners ── */

.partners {
    background: #fbf8f1;
    text-align: center;
}

.partners > .container > p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 0.95rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.partner-logo {
    background: #ffffff;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 45px;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

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

/* ── Contact ── */

.contact { background: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info h4 { color: var(--gold); }

.contact-info > p {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-details { margin-top: 3rem; }

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h5 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--euro-500);
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
    color: var(--charcoal);
    font-size: 1rem;
}

.contact-item p a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.contact-item p a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.contact-form {
    padding: 2.5rem;
    background: #fdfcf9;
}

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

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    border: none;
    border-bottom: 1px solid var(--border);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    background: transparent;
    color: var(--charcoal);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--euro-500);
}

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

.contact-form .btn {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    background: var(--charcoal);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
}

.form-status--success { color: var(--euro-100); }
.form-status--error { color: var(--title-rouge, #a6423a); }

/* ── Footer ── */

footer {
    background: var(--charcoal);
    color: #fff;
    padding: 4rem 2rem 2rem;
}

footer.cookie-banner-visible {
    padding-bottom: 120px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand h3 {
    font-family: 'Cormorant Garamond', serif;
    color: #fff;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-brand h3 span { color: var(--gold); }

.footer-brand p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.88rem;
}

.footer-links h5 {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: rgba(255, 255, 255, 0.7); }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.5;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--gold);
}

.legal-mentions {
    margin-top: 0.5rem;
}

.legal-mentions summary {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: underline;
    cursor: pointer;
    list-style: none;
}

.legal-mentions summary::-webkit-details-marker {
    display: none;
}

.legal-mentions summary:hover {
    color: var(--gold);
}

.legal-mentions-content {
    margin-top: 1rem;
    padding: 1.5rem;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 2px solid var(--gold);
}

.legal-mentions-content h5 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 1.5rem 0 0.5rem;
}

.legal-mentions-content h5:first-child {
    margin-top: 0;
}

.legal-mentions-content p,
.legal-mentions-content li {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

.legal-mentions-content ul {
    margin: 0 0 0.75rem;
    padding-left: 1.2rem;
}

.legal-mentions-content li {
    margin-bottom: 0.4rem;
}

.legal-mentions-content a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
}

.legal-mentions-content a:hover {
    color: var(--gold);
}

.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s, border-color 0.3s;
}

.social-links a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* ── Animations ── */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Cookie Banner ── */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--charcoal);
    padding: 1.5rem 2rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-cookie {
    background: var(--gold);
    color: var(--charcoal);
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.btn-cookie:hover {
    background: var(--white);
    color: var(--charcoal);
}

.cookie-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-link:hover {
    color: var(--gold);
}

/* ── Responsive ── */

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

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

    .feature { padding: 0 1.5rem; }
    .feature:nth-child(3) { border-left: none; padding-left: 0; }

    .pillars { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
    .pillar { padding: 0 1.5rem; border-left: 1px solid rgba(255,255,255,0.08); }
    .pillar:nth-child(odd) { border-left: none; padding-left: 0; }

    .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 0 auto; }

    .testimonial-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .testimonial-card { padding: 0; border-left: none; padding-top: 2.5rem; border-top: 1px solid var(--border); }
    .testimonial-card:first-child { border-top: none; padding-top: 0; }

    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

    /* Switch to the mobile hamburger menu here already: with all 6 tabs plus
       the dropdown, the full inline nav starts overlapping/overflowing the
       navbar well before 768px (e.g. as soon as the page is zoomed in), so
       the breakpoint is raised to 1024px to stay ahead of that. */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active { display: flex; }
    .nav-links a { color: var(--text); }

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

    .nav-dropdown-menu {
        display: block;
        position: static;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: transparent;
        margin: 0.5rem 0 0;
        padding: 0 0 0 1rem;
    }

    .nav-dropdown-menu a { padding: 0.4rem 0; color: var(--text-light); }
}

@media (max-width: 768px) {
    section { padding: 5rem 1.5rem; }
    .nav-container { padding: 1rem 1.5rem; }

    .hero .container { padding-left: 1.5rem; padding-right: 1.5rem; }
    .hero-content { max-width: 100%; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .hero-link { margin-left: 0; }

    .features { grid-template-columns: 1fr; }
    .feature { padding: 0; border-left: none; padding-top: 2rem; border-top: 1px solid var(--border); }
    .feature:first-child { border-top: none; padding-top: 0; }

    .pillars { grid-template-columns: 1fr; gap: 2rem; }
    .pillar { padding: 2rem 0 0; border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
    .pillar:first-child { border-top: none; padding-top: 0; }

    .team-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .team-new-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .team-new-row .team-member-image img { height: 280px; }
    .team-member-image img { height: 400px; }

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

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