:root {
    --bg-color: #f5f5f7;
    --text-color: #1d1d1f;
    --accent-color: #ff3c00;
    --card-bg: #FFFFFF;
    --nested-card-bg: #f5f5f7;
    --grey-color: #86868b;
    --font-main: 'Manrope', sans-serif;
    --font-tech: 'Roboto Mono', monospace;
    --padding-base: max(5vw, 24px);
    --header-height: 80px;
    --border-radius-main: 32px;
    --border-radius-large: 48px;
    --white-color: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-main);
    font-weight: 800;
    letter-spacing: -0.015em;
}

button,
a {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 var(--padding-base);
    z-index: 2100;
    /* Stays above everything */
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.header-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-tech);
    font-size: 13px;
    font-weight: 700;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    opacity: 0.4;
}

.lang-btn.active {
    opacity: 1;
    color: var(--accent-color);
}

.lang-selector.desktop-only {
    display: none !important;
}

/* Mobile Menu Toggle (Now Universal) */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2200;
    /* Above header */
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: var(--padding-base);
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-tech);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    opacity: 0.8;
}

.mobile-menu-close:hover {
    opacity: 1;
    color: var(--accent-color);
}

.close-icon {
    font-size: 28px;
    line-height: 1;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px;
    text-align: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav .nav-link {
    font-size: 24px;
    opacity: 1;
}

.mobile-lang-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-tech);
    font-size: 18px;
    margin-top: 20px;
}

.lang-btn-mobile {
    background: none;
    border: none;
    padding: 10px;
    font-weight: 700;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.lang-btn-mobile.active {
    opacity: 1;
    color: var(--accent-color);
}

/* Responsiveness - Header */
@media (max-width: 768px) {

    .header-nav,
    .lang-selector.desktop-only {
        display: none !important;
    }
}

/* Hero Section */
.section-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 var(--padding-base);
}

.hero-huge-text {
    max-width: 1100px;
    text-align: center;
    color: #000000;
    font-family: var(--font-main);
    font-size: clamp(2.5rem, 6.5vw, 4.5rem);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.hero-sub-text {
    display: block;
    width: 100%;
    max-width: 800px;
    text-align: center;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 400;
    color: #86868b;
    font-family: var(--font-tech);
    margin-top: 1.5rem;
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
}

/* Common Section Styles */
section:not(.section-hero) {
    padding: 60px var(--padding-base);
    max-width: 1440px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 40px;
    text-align: center;
    color: #ff3c00;
    font-family: var(--font-main);
}

.orange-headline {
    color: var(--accent-color);
}

/* Manifesto Section */
.section-manifesto {
    margin-bottom: 100px !important;
}

.manifesto-container {
    padding: 0;
}

.manifesto-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.manifesto-row-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.manifesto-row-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Responsive Polishing (v5.11) */
@media (max-width: 992px) {

    .manifesto-row-top,
    .manifesto-row-bottom {
        grid-template-columns: 1fr;
    }

    .section-hero {
        min-height: 70vh;
        /* Adjust for mobile viewports */
    }
}

.manifesto-group {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-large);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manifesto-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.manifesto-group h3 {
    font-size: 2.2rem;
    color: #000000;
    font-family: var(--font-main);
    margin-bottom: 5px;
}

.manifesto-card,
.nested-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.manifesto-row-top .manifesto-card {
    min-height: auto;
}

.manifesto-row-top .manifesto-card p {
    font-size: 1rem;
    color: #86868b;
    font-family: var(--font-tech);
    line-height: 1.5;
}

.manifesto-card p {
    font-size: 1rem;
    color: #86868b;
    font-family: var(--font-tech);
    line-height: 1.6;
}

.nested-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 10px;
}

/* Consistent sub-cards */
.nested-card {
    background-color: var(--nested-card-bg);
    padding: 24px;
    border-radius: 20px;
    height: 100%;
}

.nested-card {
    border-radius: 20px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.nested-card strong {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-family: var(--font-main);
    font-size: 1.5rem;
    line-height: 1.2;
}

.nested-card span {
    font-size: 1rem;
    color: #86868b;
    font-family: var(--font-tech);
}

/* Initiatives Section */
.section-initiatives {
    margin-bottom: 80px;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.initiative-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-large);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.initiative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.initiative-card h3 {
    font-size: 2rem;
    color: #000000;
    font-family: var(--font-main);
}

.initiative-card p {
    font-size: 1rem;
    color: #86868b;
    font-family: var(--font-tech);
    line-height: 1.6;
}

/* Framework Section */
.section-framework {
    margin-bottom: 100px;
}

.framework-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.phase-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-large);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.phase-step {
    font-family: var(--font-tech);
    font-size: 14px;
    font-weight: 700;
    color: var(--grey-color);
    letter-spacing: 1px;
}

.phase-card h3 {
    font-size: 1.8rem;
    color: #000000;
    font-family: var(--font-main);
    line-height: 1.2;
}

.phase-subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--grey-color);
    margin-top: 4px;
}

.phase-body-rest {
    display: block;
    margin-top: 8px;
}

.phase-card p {
    font-size: 1rem;
    color: #86868b;
    font-family: var(--font-tech);
    line-height: 1.6;
}

.framework-svg-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-main);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    width: 100%;
    overflow-x: auto;
    display: flex;
    justify-content: center;
}

.framework-svg-container svg {
    max-width: 100%;
    height: auto;
    /* Removed min-width to allow full responsive scaling on mobile */
    display: block;
}
}

/* Contact Section */
.contact-card-container {
    padding: 0;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-large);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    overflow: hidden;
}

.contact-left {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-branding {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-email {
    font-size: 1.8rem;
    font-weight: 700;
}

.socials {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    padding: 4px;
    /* Increases touch target area */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.location-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-photo {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 16px;
    background-color: var(--nested-card-bg);
}

.location-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.location-info p {
    font-size: 0.9rem;
    color: var(--grey-color);
    margin-bottom: 8px;
}

.map-link {
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
}

.contact-right {
    background-color: var(--card-bg);
    padding: 80px 60px;
    border-left: 1px solid var(--nested-card-bg);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 30px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
    color: var(--grey-color);
    text-transform: uppercase;
}

.input-group input,
.input-group select,
.input-group textarea {
    background-color: var(--nested-card-bg);
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-family: var(--font-main);
    font-size: 16px;
    outline: none;
}

.input-group textarea {
    min-height: 120px;
    resize: none;
}

.orange-btn {
    background-color: var(--accent-color);
    color: #FFFFFF;
    border: none;
    border-radius: 16px;
    padding: 20px;
    font-weight: 800;
    font-size: 1.2rem;
    margin-top: 10px;
}

.orange-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Footer */
.premium-footer {
    padding: 80px var(--padding-base);
    background-color: #000000;
    color: #FFFFFF;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

.footer-links a {
    font-weight: 700;
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.copyright {
    font-size: 0.9rem;
    color: var(--white-color);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {

    .manifesto-container,
    .contact-left,
    .contact-right {
        padding: 40px;
    }

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

    .contact-right {
        border-left: none;
        border-top: 1px solid var(--nested-card-bg);
    }
}

@media (max-width: 768px) {
    .hero-huge-text {
        text-align: left;
    }

    .manifesto-row-bottom {
        grid-template-columns: 1fr;
    }

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