:root {
    --primary: #2f7a43;
    --primary-light: #57b26c;
    --primary-dark: #215732;
    --accent: #b8ff7a;
    --accent-soft: #e5ffd1;

    --text-main: #0f1b14;
    --text-soft: #5a6b60;
    --text-white: #f8fff9;
    --text-muted: #7a8b80;

    --bg-1: #f8fcf8;
    --bg-2: #eef6ef;
    --bg-3: #e7f0e8;
    --bg-dark: #0f1912;

    --glass: rgba(255, 255, 255, 0.62);
    --glass-strong: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.5);
    --border: rgba(16, 30, 20, 0.08);

    --shadow-soft: 0 16px 35px rgba(15, 27, 20, 0.08);
    --shadow-medium: 0 22px 55px rgba(15, 27, 20, 0.12);
    --shadow-strong: 0 35px 90px rgba(10, 18, 14, 0.18);

    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --radius-xl: 42px;
    --radius-round: 999px;

    --container: 1200px;
    --transition: 0.35s ease;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text-main);
    background:
            radial-gradient(circle at top left, rgba(87, 178, 108, 0.12), transparent 25%),
            radial-gradient(circle at top right, rgba(184, 255, 122, 0.12), transparent 22%),
            linear-gradient(180deg, var(--bg-1), var(--bg-2), var(--bg-3));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
a,
input,
textarea {
    font: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

ul,
ol {
    list-style: none;
}

::selection {
    background: rgba(87, 178, 108, 0.22);
    color: var(--text-main);
}

/* ACCESSIBILITY */
.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;
    background: var(--primary);
    color: #fff;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-medium);
    transition: top 0.25s ease;
}

.skip-link:focus {
    top: 18px;
}

:focus-visible {
    outline: 3px solid rgba(87, 178, 108, 0.35);
    outline-offset: 3px;
}

/* CONTAINER */
.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

/* LOADER */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
            radial-gradient(circle at center, rgba(184, 255, 122, 0.12), transparent 28%),
            linear-gradient(180deg, #fbfefb, #edf6ee);
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-wrap {
    text-align: center;
}

.loader-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 4px solid rgba(47, 122, 67, 0.12);
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
    box-shadow: 0 0 36px rgba(87, 178, 108, 0.18);
}

.loader-wrap p {
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* BACKGROUND DECORATION */
.ambient {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: -5;
    animation: ambientFloat 14s ease-in-out infinite;
}

.ambient-1 {
    width: 300px;
    height: 300px;
    top: 80px;
    left: -80px;
    background: rgba(87, 178, 108, 0.18);
}

.ambient-2 {
    width: 320px;
    height: 320px;
    top: 22%;
    right: -70px;
    background: rgba(184, 255, 122, 0.14);
    animation-delay: 2s;
}

.ambient-3 {
    width: 280px;
    height: 280px;
    bottom: 80px;
    left: 45%;
    background: rgba(123, 219, 190, 0.14);
    animation-delay: 5s;
}

.noise-layer {
    position: fixed;
    inset: 0;
    z-index: -6;
    opacity: 0.04;
    pointer-events: none;
    background-image:
            radial-gradient(circle at 20% 20%, #000 0.7px, transparent 0.9px),
            radial-gradient(circle at 70% 60%, #000 0.6px, transparent 0.9px),
            radial-gradient(circle at 50% 85%, #000 0.8px, transparent 1px);
    background-size: 120px 120px, 150px 150px, 180px 180px;
}

.grid-layer {
    position: fixed;
    inset: 0;
    z-index: -7;
    pointer-events: none;
    background-image:
            linear-gradient(rgba(15, 27, 20, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(15, 27, 20, 0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
}

/* HEADER */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 3000;
    padding: 18px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 12px 0;
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px;
    border-radius: var(--radius-round);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.site-header.scrolled .navbar {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-medium);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
    max-width: 280px;
}

.logo-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: white;
    box-shadow: 0 10px 24px rgba(47, 122, 67, 0.14);
    flex-shrink: 0;
    overflow: hidden;
    padding: 0;
}

.logo-image-wrap {
    background: white;
}

.site-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.nav-menu-desktop .nav-link {
    padding: 12px 14px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link {
    position: relative;
    border-radius: var(--radius-round);
    color: var(--text-soft);
    font-weight: 700;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(87, 178, 108, 0.08);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: var(--radius-round);
    background: rgba(87, 178, 108, 0.08);
    border: 1px solid rgba(47, 122, 67, 0.08);
    flex-shrink: 0;
}

.lang-btn {
    min-width: 44px;
    height: 38px;
    padding: 0 14px;
    border-radius: var(--radius-round);
    color: var(--text-soft);
    font-size: 0.85rem;
    font-weight: 800;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.7);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 10px 22px rgba(47, 122, 67, 0.18);
}

.desktop-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: rgba(87, 178, 108, 0.08);
    transition: var(--transition);
    flex-shrink: 0;
}

.desktop-toggle:hover {
    background: rgba(87, 178, 108, 0.14);
}

.desktop-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
    transition: var(--transition);
}

.desktop-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.desktop-toggle.active span:nth-child(2) {
    opacity: 0;
}

.desktop-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 30, 20, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 58px rgba(15, 35, 20, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: var(--transition);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    z-index: 4000;
}

.nav-menu-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.nav-menu-dropdown .nav-link {
    padding: 14px 16px;
    border-radius: 16px;
}

/* HERO */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 155px 0 90px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 54px;
    align-items: center;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(24px);
    pointer-events: none;
    animation: orbDrift 12s ease-in-out infinite;
}

.hero-orb-1 {
    width: 200px;
    height: 200px;
    left: 7%;
    top: 18%;
    background: rgba(87, 178, 108, 0.18);
}

.hero-orb-2 {
    width: 260px;
    height: 260px;
    right: 10%;
    top: 10%;
    background: rgba(184, 255, 122, 0.16);
    animation-delay: 2s;
}

.hero-orb-3 {
    width: 220px;
    height: 220px;
    right: 14%;
    bottom: 12%;
    background: rgba(120, 205, 170, 0.14);
    animation-delay: 4s;
}

.hero-content {
    max-width: 710px;
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-tag::before {
    content: "";
    width: 38px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.hero-title {
    font-size: clamp(3.1rem, 8vw, 6.2rem);
    line-height: 0.93;
    font-weight: 900;
    letter-spacing: -0.07em;
    margin-bottom: 22px;
}

.title-shift {
    display: inline-block;
    background: linear-gradient(120deg, var(--text-main), var(--primary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 6s ease-in-out infinite;
}

.hero-description {
    max-width: 620px;
    font-size: 1.08rem;
    color: var(--text-soft);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* BUTTONS */
.btn {
    position: relative;
    min-height: 58px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-round);
    font-size: 0.97rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.72s ease;
}

.btn:hover::before {
    transform: translateX(120%);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) scale(0.985);
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), #86d85d);
    box-shadow: 0 18px 42px rgba(47, 122, 67, 0.26);
}

.btn-primary:hover {
    box-shadow: 0 24px 52px rgba(47, 122, 67, 0.34);
}

.btn-secondary {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 122, 67, 0.1);
    box-shadow: var(--shadow-soft);
}

/* GLASS UI */
.glass-card,
.glass-panel,
.glass-chip {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.74), rgba(255,255,255,0.54));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.glass-card::before,
.glass-panel::before,
.glass-chip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255,255,255,0.28), transparent 38%, transparent 64%, rgba(255,255,255,0.16));
    pointer-events: none;
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-card {
    width: min(100%, 610px);
    padding: 14px;
    border-radius: 36px;
    box-shadow: var(--shadow-strong);
    will-change: transform;
}

.hero-image {
    width: 100%;
    border-radius: 26px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.floating-chip {
    position: absolute;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-main);
    box-shadow: var(--shadow-medium);
    will-change: transform;
    z-index: 2;
    white-space: nowrap;
}

.chip-1 {
    top: 24px;
    left: 8px;
    animation: floatY 5s ease-in-out infinite;
}

.chip-2 {
    right: -10px;
    top: 110px;
    animation: floatY 6s ease-in-out infinite 0.8s;
}

.chip-3 {
    bottom: -8px;
    left: 44px;
    animation: floatY 5.5s ease-in-out infinite 1.1s;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.stat-card {
    min-width: 150px;
    padding: 18px 20px;
    border-radius: 24px;
}

.stat-number {
    display: block;
    font-size: 1.42rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 0.92rem;
    color: var(--text-soft);
    font-weight: 700;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 36px;
    height: 60px;
    border: 2px solid rgba(47, 122, 67, 0.22);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-indicator span {
    width: 7px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    animation: scrollDot 1.8s infinite;
}

/* SECTIONS */
.section {
    padding: 115px 0;
    position: relative;
}

.section-heading {
    max-width: 860px;
    margin: 0 auto 58px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.07;
    letter-spacing: -0.04em;
    font-weight: 900;
    margin-bottom: 16px;
}

.section-text {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.03rem;
    color: var(--text-soft);
}

/* COMMON GRIDS */
.about-grid,
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-layout,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* CARDS */
.info-card,
.project-card,
.highlight-item,
.timeline-card,
.news-card,
.output-card,
.gallery-card,
.faq-item,
.contact-form {
    border-radius: 30px;
}

.info-card,
.project-card,
.highlight-item {
    padding: 30px 26px;
    transition: transform 0.34s ease, box-shadow 0.34s ease;
    will-change: transform;
}

.info-card:hover,
.project-card:hover,
.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.info-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(87,178,108,0.16), rgba(184,255,122,0.18));
    font-size: 1.45rem;
}

.info-card h3,
.project-card h3,
.highlight-item h3,
.timeline-card h3,
.news-card h3,
.output-card h3,
.contact-form h3,
.mission-item h3 {
    font-size: 1.24rem;
    line-height: 1.14;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.info-card p,
.project-card p,
.highlight-item p,
.timeline-card p,
.news-card p,
.output-card p,
.mission-item p,
.contact-form p,
.faq-item p {
    color: var(--text-soft);
    font-size: 0.97rem;
}

.project-card p + p,
.footer-contact p + p {
    margin-top: 8px;
}

.project-section {
    background: linear-gradient(180deg, rgba(236,244,238,0.55), rgba(248,252,248,0.8));
}

/* MISSION */
.mission-strip {
    margin-top: 28px;
    padding: 18px;
    border-radius: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mission-item {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.35);
}

/* TIMELINE */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.timeline-card {
    position: relative;
    padding: 30px 26px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.timeline-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    margin-bottom: 18px;
    font-size: 1rem;
    font-weight: 900;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 16px 30px rgba(47, 122, 67, 0.22);
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-card {
    padding: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 14px;
}

.gallery-card figcaption {
    padding: 0 6px 6px;
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 700;
}

/* NEWS */
.news-grid,
.outputs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card,
.output-card {
    padding: 28px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover,
.output-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.news-date {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(87, 178, 108, 0.12);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.news-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 800;
}

.news-link:hover {
    text-decoration: underline;
}

/* OUTPUTS */
.output-card .btn {
    margin-top: 18px;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    padding: 24px 60px 24px 24px;
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-main);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
    background: rgba(87, 178, 108, 0.1);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 24px 24px;
}

/* CONTACT */
.contact-grid {
    align-items: start;
}

.contact-form {
    padding: 30px 26px;
}

.form-group + .form-group {
    margin-top: 18px;
}

.form-group label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(16, 30, 20, 0.12);
    background: rgba(255,255,255,0.72);
    color: var(--text-main);
    border-radius: 18px;
    padding: 15px 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(47, 122, 67, 0.45);
    box-shadow: 0 0 0 4px rgba(87, 178, 108, 0.12);
    background: rgba(255,255,255,0.9);
}

.contact-form .btn {
    margin-top: 22px;
}

.form-note {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* LINKS */
.project-card a,
.footer-contact a {
    color: var(--primary);
    font-weight: 700;
    word-break: break-word;
}

.project-card a:hover,
.footer-contact a:hover {
    text-decoration: underline;
}

/* DISCLAIMER */
.eu-disclaimer {
    padding: 0 0 28px;
}

.disclaimer-card {
    padding: 22px 24px;
    border-radius: 28px;
}

.disclaimer-card p {
    color: var(--text-soft);
    font-size: 0.94rem;
    text-align: center;
}

/* FOOTER */
.site-footer {
    position: relative;
    margin-top: 0;
    padding: 38px 0 44px;
    background:
            radial-gradient(circle at top center, rgba(87,178,108,0.08), transparent 30%),
            linear-gradient(180deg, #101b13 0%, #0b140e 100%);
    color: rgba(248, 255, 249, 0.94);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.03) 45%, transparent 100%);
    animation: footerSweep 8s linear infinite;
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.footer-brand h3 {
    font-size: 1.42rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.footer-brand p,
.footer-contact p,
.footer-bottom p {
    color: rgba(248, 255, 249, 0.72);
}

.footer-logos {
    position: relative;
    z-index: 1;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.94);
    padding: 10px 14px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.footer-logo-wide {
    height: 68px;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    text-align: center;
}

/* REVEAL */
.reveal-item {
    opacity: 0;
    transform: translateY(36px) scale(0.985);
    filter: blur(8px);
    transition:
            opacity 0.8s ease,
            transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
            filter 0.8s ease;
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* ANIMATIONS */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ambientFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(16px, -18px, 0);
    }
}

@keyframes orbDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(10px, -12px, 0) scale(1.04);
    }
}

@keyframes shimmerText {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes scrollDot {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(18px);
    }
}

@keyframes footerSweep {
    0% {
        transform: translateX(-110%);
    }
    100% {
        transform: translateX(110%);
    }
}

/* RESPONSIVE */
@media (max-width: 1180px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        min-height: 460px;
    }

    .chip-1 {
        left: 10px;
    }

    .chip-2 {
        right: 10px;
        top: 90px;
    }

    .chip-3 {
        left: 24px;
        bottom: 0;
    }

    .about-grid,
    .highlights-grid,
    .timeline-grid,
    .gallery-grid,
    .news-grid,
    .outputs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-strip {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .nav-menu-desktop .nav-link {
        padding: 10px 10px;
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 960px) {
    .site-header {
        padding: 14px 0;
    }

    .navbar {
        min-height: 74px;
        padding: 0 14px;
        border-radius: 24px;
    }

    .nav-menu-desktop {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .nav-menu-dropdown {
        left: 0;
        right: 0;
        width: 100%;
    }

    .hero-section {
        padding: 140px 0 82px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 11vw, 4.8rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .about-grid,
    .project-layout,
    .highlights-grid,
    .timeline-grid,
    .gallery-grid,
    .news-grid,
    .outputs-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 95px 0;
    }
}

@media (max-width: 760px) {
    .logo-text {
        display: none;
    }

    .hero-image-card {
        width: 100%;
        padding: 10px;
        border-radius: 24px;
    }

    .hero-image {
        border-radius: 18px;
    }

    .floating-chip {
        font-size: 0.82rem;
        padding: 12px 14px;
    }

    .chip-1 {
        top: -8px;
        left: 0;
    }

    .chip-2 {
        top: auto;
        right: 0;
        bottom: 18px;
    }

    .chip-3 {
        left: 14px;
        bottom: 84px;
    }

    .contact-form,
    .info-card,
    .project-card,
    .highlight-item,
    .timeline-card,
    .news-card,
    .output-card {
        padding: 24px 20px;
    }

    .faq-item summary {
        padding: 20px 54px 20px 20px;
    }

    .faq-item p {
        padding: 0 20px 20px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .hero-section {
        min-height: auto;
        padding: 130px 0 76px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-card {
        flex: 1 1 100%;
    }

    .hero-visual {
        min-height: 340px;
    }

    .section-heading {
        margin-bottom: 44px;
    }

    .section-heading h2 {
        font-size: clamp(1.7rem, 8vw, 2.7rem);
    }

    .section-text {
        font-size: 0.98rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logos {
        gap: 14px;
        margin-top: 26px;
        padding-top: 18px;
    }

    .footer-logo {
        height: 52px;
        padding: 8px 10px;
        border-radius: 12px;
    }

    .footer-logo-wide {
        height: 56px;
    }

    .scroll-indicator {
        display: none;
    }

    .logo-mark {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .language-switcher {
        padding: 4px;
        gap: 4px;
    }

    .lang-btn {
        min-width: 40px;
        height: 34px;
        padding: 0 10px;
        font-size: 0.78rem;
    }

    .desktop-toggle {
        width: 44px;
        height: 44px;
    }

    .disclaimer-card {
        padding: 18px 16px;
    }
}

@media (max-width: 520px) {
    .navbar {
        gap: 10px;
        padding: 0 10px;
    }

    .lang-btn {
        min-width: 36px;
        height: 32px;
        padding: 0 8px;
        font-size: 0.76rem;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: clamp(2.3rem, 13vw, 3.4rem);
    }

    .eyebrow,
    .section-tag {
        letter-spacing: 0.12em;
        font-size: 0.74rem;
    }

    .chip-1,
    .chip-2,
    .chip-3 {
        position: static;
        margin-top: 10px;
        display: inline-flex;
    }

    .hero-visual {
        display: block;
        min-height: auto;
    }

    .hero-image-card {
        margin-bottom: 14px;
    }

    .footer-logo {
        height: 46px;
        width: calc(50% - 10px);
        min-width: 120px;
    }

    .footer-logo-wide {
        width: min(100%, 240px);
        height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal-item,
    .reveal-item.visible {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}