:root {
    --primary-blue: #4169e1;
    --primary-purple: #9b59b6;
    --primary-pink: #e91e63;
    --primary-yellow: #ffd700;
    --ink: #111827;
    --muted: #5d6677;
    --white: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.94);
    --panel-bg: rgba(255, 255, 255, 0.9);
    --panel-dark: rgba(12, 18, 38, 0.74);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: #0f172a;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: var(--nav-bg);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
    backdrop-filter: blur(16px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.nav-brand img {
    width: 54px;
    height: 46px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    list-style: none;
}

.nav-links a {
    color: #243044;
    font-size: 0.94rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--primary-blue);
}

.language-switcher {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid rgba(36, 48, 68, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.language-btn {
    min-width: 2.25rem;
    padding: 0.35rem 0.55rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #445066;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
}

.language-btn.active {
    background: var(--primary-blue);
    color: var(--white);
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(36, 48, 68, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.section {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 7rem 1.5rem 5rem;
}

.section-bg,
.section-shade {
    position: absolute;
    inset: 0;
}

.section-bg {
    z-index: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.section-shade {
    z-index: 1;
    pointer-events: none;
}

.hero-section .section-bg {
    background-image: url("assets/images/hero-earth.jpg");
    background-position: center 52%;
}

.hero-section .section-shade {
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.22), transparent 28rem),
        linear-gradient(90deg, rgba(8, 12, 30, 0.84), rgba(8, 12, 30, 0.58));
}

.who-section .section-bg {
    background-image: url("assets/images/who-we-are.jpg");
    background-position: center;
}

.who-section .section-shade {
    background: linear-gradient(90deg, rgba(8, 12, 30, 0.34), rgba(8, 12, 30, 0.72));
}

.what-section .section-bg {
    background-image: url("assets/images/what-we-do.jpg");
    background-position: center;
}

.what-section .section-shade {
    background: linear-gradient(90deg, rgba(8, 12, 30, 0.82), rgba(8, 12, 30, 0.38));
}

.contact-section .section-bg {
    background-image: url("assets/images/contact.jpg");
    background-position: center;
}

.contact-section .section-shade {
    background: linear-gradient(90deg, rgba(8, 12, 30, 0.7), rgba(8, 12, 30, 0.28));
}

.hero-content,
.content-panel,
.contact-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    width: min(780px, 100%);
    margin-right: auto;
    margin-left: max(0px, calc((100vw - 1180px) / 2));
    color: var(--white);
}

.eyebrow {
    margin-bottom: 0.85rem;
    color: var(--primary-yellow);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2 {
    max-width: 760px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
}

h1 {
    font-size: clamp(2.55rem, 6vw, 5.8rem);
}

h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 4.15rem);
}

.hero-subheadline {
    max-width: 650px;
    margin-top: 1.35rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.primary-link,
.email-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    margin-top: 2rem;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-link {
    padding: 0.85rem 1.3rem;
    background: var(--white);
    color: #12204a;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
}

.primary-link:hover,
.email-link:hover {
    transform: translateY(-2px);
}

.content-panel {
    width: min(650px, 100%);
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: var(--panel-dark);
    box-shadow: var(--shadow);
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
}

.content-panel-right {
    margin-right: max(0px, calc((100vw - 1180px) / 2));
    margin-left: auto;
}

.content-panel p:not(.eyebrow) {
    margin-top: 1.35rem;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.services-panel {
    width: min(960px, 100%);
    margin-right: auto;
    margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.service-item {
    min-height: 11rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.service-item h3 {
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.25;
}

.service-item p {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
}

.contact-content {
    width: min(720px, 100%);
    margin-right: auto;
    margin-left: max(0px, calc((100vw - 1180px) / 2));
    color: var(--white);
}

.contact-content p:not(.eyebrow) {
    max-width: 560px;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.email-link {
    padding: 0.9rem 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    color: #12204a;
    font-size: clamp(1rem, 2.4vw, 1.45rem);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
    transform: translateX(-50%);
}

.arrow-down {
    width: 18px;
    height: 18px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    animation: bounce 2s infinite;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-9px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

.footer {
    background: #080c1e;
    color: rgba(255, 255, 255, 0.78);
    padding: 1.4rem 1.5rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1180px;
    margin: 0 auto;
    font-size: 0.92rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.footer a {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.info-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(120deg, rgba(8, 12, 30, 0.92), rgba(18, 32, 74, 0.82)),
        url("assets/images/hero-earth.jpg") center / cover fixed;
    color: var(--white);
}

.legal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.94);
}

.legal-header .nav-container {
    justify-content: space-between;
}

.legal-content {
    flex: 1;
    width: min(920px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 5rem 0;
}

.legal-card {
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.legal-card h1 {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.legal-card h2 {
    margin-top: 2rem;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1.25;
}

.legal-card p,
.legal-card li {
    color: #394256;
}

.legal-card p {
    margin-top: 0.85rem;
}

.legal-card ul {
    margin-top: 0.85rem;
    padding-left: 1.25rem;
}

.legal-card a {
    color: var(--primary-blue);
    font-weight: 750;
}

.legal-note {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(17, 24, 39, 0.14);
    font-size: 0.94rem;
}

@media (max-width: 900px) {
    .nav-container {
        padding: 0.65rem 1rem;
    }

    .nav-brand span {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.25rem 1rem 1.5rem;
        background: #ffffff;
        box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    .language-switcher {
        align-self: flex-start;
    }

    .section {
        min-height: 100svh;
        padding: 6rem 1rem 4.5rem;
    }

    .hero-content,
    .content-panel,
    .content-panel-right,
    .services-panel,
    .contact-content {
        margin-right: 0;
        margin-left: 0;
    }

    .content-panel {
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        min-height: auto;
    }

    .who-section .section-shade,
    .what-section .section-shade,
    .contact-section .section-shade {
        background: rgba(8, 12, 30, 0.68);
    }

    .what-section .section-bg {
        background-position: 58% center;
    }

    .contact-section .section-bg {
        background-position: 42% center;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }

    .email-link {
        width: 100%;
        font-size: 1rem;
    }

    .scroll-indicator {
        display: none;
    }
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: rgba(12, 18, 38, 0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(65, 105, 225, 0.3);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    animation: slideUp 0.35s ease;
}

#cookie-banner p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

#cookie-banner a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-actions button {
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.cookie-actions button:hover {
    opacity: 0.85;
}

#cookie-accept {
    background: var(--primary-blue);
    color: var(--white);
}

#cookie-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.cookie-actions .cookie-policy-link {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    text-decoration: underline;
    white-space: nowrap;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }

    .navbar {
        opacity: 1 !important;
        transform: none !important;
    }
}
